]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update de.po from Translation Project (bug 4404).
[thirdparty/glibc.git] / ChangeLog
1 2015-09-16 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #4404]
4 * po/de.po: Update from Translation Project.
5
6 [BZ #16415]
7 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8 (__expm1l): Remove code to handle positive infinity and overflow.
9 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
10 variable.
11 (__expm1l): Remove code to handle positive infinity and overflow.
12
13 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
14 Paul Pluzhnikov <ppluzhnikov@google.com>
15
16 [BZ #18872]
17 * stdio-common/Makefile (tst-printf-bz18872): New test.
18 (tst-printf-bz18872-mem.out): Likewise.
19 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20 * stdio-common/vfprintf.c: Fix memory leaks.
21
22 2015-09-16 Andreas Schwab <schwab@suse.de>
23
24 [BZ #17244]
25 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
26 Remove extra va_start/va_end calls.
27
28 [BZ #17243]
29 * posix/execl.c (execl): Add missing va_end.
30 * posix/execle.c (execle): Likewise.
31 * posix/execlp.c (execlp): Likewise.
32
33 2015-09-15 Roland McGrath <roland@hack.frob.com>
34
35 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
36 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
37
38 2015-09-15 Joseph Myers <joseph@codesourcery.com>
39
40 [BZ #18967]
41 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
42 undefine around includes of <bits/mathcalls.h>.
43 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
44 not declare function.
45 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
46 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
47 (scalb): Likewise.
48 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
49 not define macro.
50 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
51 variable.
52 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
54 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55
56 [BZ #18857]
57 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
58 return non-finite argument without doing ordered comparisons on
59 it.
60
61 [BZ #16296]
62 * math/fenv.h (fegetround): Use __attribute_pure__.
63 * include/fenv.h (__fegetround): Likewise.
64
65 [BZ #18595]
66 * math/s_ctan.c (__ctan): Force underflow exception for results
67 whose real or imaginary part has small absolute value.
68 * math/s_ctanf.c (__ctanf): Likewise.
69 * math/s_ctanh.c (__ctanh): Likewise.
70 * math/s_ctanhf.c (__ctanhf): Likewise.
71 * math/s_ctanhl.c (__ctanhl): Likewise.
72 * math/s_ctanl.c (__ctanl): Likewise.
73 * math/auto-libm-test-in: Do not allow missing underflow for ctan
74 and ctanh. Add more tests of ctan and ctanh.
75
76 [BZ #15918]
77 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
78 handling of cases where one argument is an infinity.
79
80 [BZ #18875]
81 [BZ #18966]
82 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
83 (MO): New macro.
84 (__ieee754_exp10): For small results, force underflow exception
85 and remove excess range and precision from return value.
86 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
87 (MO): New macro.
88 (__ieee754_exp10f): For small results, force underflow exception
89 and remove excess range and precision from return value.
90 * math/auto-libm-test-in: Add more tests of exp10.
91 * math/auto-libm-test-out: Regenerated.
92
93 2015-09-14 Joseph Myers <joseph@codesourcery.com>
94
95 [BZ #18875]
96 [BZ #18961]
97 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
98 (MO): New macro.
99 (__ieee754_exp): For small results, force underflow exception and
100 remove excess range and precision from return value.
101 (__exp_finite): Likewise.
102 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
103 (MO): New macro.
104 (__ieee754_expf): For small results, force underflow exception and
105 remove excess range and precision from return value.
106 (__expf_finite): Likewise.
107 * math/auto-libm-test-in: Add more tests of exp.
108 * math/auto-libm-test-out: Regenerated.
109
110 [BZ #16521]
111 [BZ #18875]
112 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
113 small results.
114 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
115 (MO): New macro.
116 (__ieee754_exp2): For small results, force underflow exception and
117 remove excess range and precision from return value.
118 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
119 (MO): New macro.
120 (__ieee754_exp2f): For small results, force underflow exception
121 and remove excess range and precision from return value.
122 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
123 (MO): New macro.
124 (__ieee754_exp2l): Force underflow exception for small results.
125 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
126 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
127 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
128 (MO): New macro.
129 (__ieee754_exp2l): Force underflow exception for small results.
130 * math/auto-libm-test-in: Add more tests or exp2.
131 * math/auto-libm-test-out: Regenerated.
132
133 2015-09-14 Carlos O'Donell <carlos@redhat.com>
134
135 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
136
137 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
138 /dev/null.
139
140 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
141
142 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
143 io fs process)): Drop spurious backslash.
144
145 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
146
147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
148 Use sysinfo system call instead of parsing /proc/meminfo.
149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
150 Likewise.
151
152 2015-09-11 Mike Frysinger <vapier@gentoo.org>
153
154 [BZ #16985]
155 * programs/localedef.c (main): Display argv[remaining] when
156 output_path is NULL.
157
158 2015-09-11 Joseph Myers <joseph@codesourcery.com>
159
160 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
161 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
162 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
163 tanh.
164 * math/auto-libm-test-out: Regenerated.
165 * sysdeps/i386/fpu/libm-test-ulps: Update.
166 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
167 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
169
170 2015-09-11 Roland McGrath <roland@hack.frob.com>
171
172 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
173 Use 'override' keyword to freeze the value here, preventing
174 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
175
176 2015-09-11 Joseph Myers <joseph@codesourcery.com>
177
178 [BZ #14912]
179 * sysdeps/aarch64/bits/atomic.h: Move to ...
180 * sysdeps/aarch64/atomic-machine.h: ...here.
181 (_AARCH64_BITS_ATOMIC_H): Rename macro to
182 _AARCH64_ATOMIC_MACHINE_H.
183 * sysdeps/alpha/bits/atomic.h: Move to ...
184 * sysdeps/alpha/atomic-machine.h: ...here.
185 * sysdeps/arm/bits/atomic.h: Move to ...
186 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
187 * bits/atomic.h: Move to ...
188 * sysdeps/generic/atomic-machine.h: ...here.
189 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
190 * sysdeps/i386/bits/atomic.h: Move to ...
191 * sysdeps/i386/atomic-machine.h: ...here.
192 * sysdeps/ia64/bits/atomic.h: Move to ...
193 * sysdeps/ia64/atomic-machine.h: ...here.
194 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
195 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
196 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
197 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
198 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
199 * sysdeps/microblaze/bits/atomic.h: Move to ...
200 * sysdeps/microblaze/atomic-machine.h: ...here.
201 * sysdeps/mips/bits/atomic.h: Move to ...
202 * sysdeps/mips/atomic-machine.h: ...here.
203 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
204 * sysdeps/powerpc/bits/atomic.h: Move to ...
205 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
206 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
207 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
208 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
209 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
210 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
211 <atomic-machine.h> instead of <bits/atomic.h>.
212 * sysdeps/s390/bits/atomic.h: Move to ...
213 * sysdeps/s390/atomic-machine.h: ...here.
214 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
215 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
216 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
217 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
218 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
219 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
220 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
221 * sysdeps/tile/bits/atomic.h: Move to ...
222 * sysdeps/tile/atomic-machine.h: ...here.
223 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
224 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
225 <sysdeps/tile/atomic-machine.h> instead of
226 <sysdeps/tile/bits/atomic.h>.
227 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
228 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
229 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
230 <sysdeps/tile/atomic-machine.h> instead of
231 <sysdeps/tile/bits/atomic.h>.
232 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
233 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
234 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
235 <sysdeps/arm/atomic-machine.h> instead of
236 <sysdeps/arm/bits/atomic.h>.
237 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
238 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
239 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
240 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
241 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
242 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
243 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
244 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
245 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
246 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
247 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
248 * sysdeps/x86_64/bits/atomic.h: Move to ...
249 * sysdeps/x86_64/atomic-machine.h: ...here.
250 * include/atomic.h: Include <atomic-machine.h> instead of
251 <bits/atomic.h>.
252
253 * sysdeps/mips/mips32/libm-test-ulps: Update.
254 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
255
256 [BZ #18952]
257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
258 not convert non-integer negative arguments to int to determine the
259 value of signgam.
260 * math/auto-libm-test-in: Add more tests of lgamma.
261 * math/auto-libm-test-out: Regenerated.
262
263 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
264 cosh, csqrt, erfc, expm1 and lgamma.
265 * math/auto-libm-test-out: Regenerated.
266 * sysdeps/i386/fpu/libm-test-ulps: Update.
267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
268
269 2015-09-10 Joseph Myers <joseph@codesourcery.com>
270
271 [BZ #2542]
272 [BZ #2543]
273 [BZ #2558]
274 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
275 __lgamma_neg for arguments from -28.0 to -2.0.
276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
277 __lgamma_negf for arguments from -15.0 to -2.0.
278 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
279 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
280 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
281 Call __lgamma_negl for arguments from -33.0 to -2.0.
282 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
283 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
284 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
285 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
286 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
287 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
290 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
291 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
292 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
293 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
294 (__lgamma_neg): Likewise.
295 (__lgamma_negl): Likewise.
296 (__lgamma_product): Likewise.
297 (__lgamma_productl): Likewise.
298 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
299 * math/auto-libm-test-in: Add more tests of lgamma.
300 * math/auto-libm-test-out: Regenerated.
301 * sysdeps/i386/fpu/libm-test-ulps: Update.
302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
303
304 2015-09-09 Justin Maggard <jmaggard@netgear.com>
305
306 [BZ #18675]
307 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
308
309 2015-09-08 Joseph Myers <joseph@codesourcery.com>
310
311 [BZ #14912]
312 * bits/libc-lock.h: Move to ...
313 * sysdeps/generic/libc-lock.h: ...here.
314 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
315 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
316 * sysdeps/mach/hurd/libc-lock.h: ...here.
317 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
318 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
319 * sysdeps/mach/bits/libc-lock.h: Move to ...
320 * sysdeps/mach/libc-lock.h: ...here.
321 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
322 * sysdeps/nptl/bits/libc-lock.h: Move to ...
323 * sysdeps/nptl/libc-lock.h: ...here.
324 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
325 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
326 * sysdeps/nptl/libc-lockP.h: ...here.
327 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
328 * crypt/crypt_util.c: Include <libc-lock.h> instead of
329 <bits/libc-lock.h>.
330 * dirent/scandir-tail.c: Likewise.
331 * dlfcn/dlerror.c: Likewise.
332 * elf/dl-close.c: Likewise.
333 * elf/dl-iteratephdr.c: Likewise.
334 * elf/dl-lookup.c: Likewise.
335 * elf/dl-open.c: Likewise.
336 * elf/dl-support.c: Likewise.
337 * elf/dl-writev.h: Likewise.
338 * elf/rtld.c: Likewise.
339 * grp/fgetgrent.c: Likewise.
340 * gshadow/fgetsgent.c: Likewise.
341 * gshadow/sgetsgent.c: Likewise.
342 * iconv/gconv_conf.c: Likewise.
343 * iconv/gconv_db.c: Likewise.
344 * iconv/gconv_dl.c: Likewise.
345 * iconv/gconv_int.h: Likewise.
346 * iconv/gconv_trans.c: Likewise.
347 * include/link.h: Likewise.
348 * inet/getnameinfo.c: Likewise.
349 * inet/getnetgrent.c: Likewise.
350 * inet/getnetgrent_r.c: Likewise.
351 * intl/bindtextdom.c: Likewise.
352 * intl/dcigettext.c: Likewise.
353 * intl/finddomain.c: Likewise.
354 * intl/gettextP.h: Likewise.
355 * intl/loadmsgcat.c: Likewise.
356 * intl/localealias.c: Likewise.
357 * intl/textdomain.c: Likewise.
358 * libidn/idn-stub.c: Likewise.
359 * libio/libioP.h: Likewise.
360 * locale/duplocale.c: Likewise.
361 * locale/freelocale.c: Likewise.
362 * locale/newlocale.c: Likewise.
363 * locale/setlocale.c: Likewise.
364 * login/getutent_r.c: Likewise.
365 * login/getutid_r.c: Likewise.
366 * login/getutline_r.c: Likewise.
367 * login/utmp-private.h: Likewise.
368 * login/utmpname.c: Likewise.
369 * malloc/mtrace.c: Likewise.
370 * misc/efgcvt.c: Likewise.
371 * misc/error.c: Likewise.
372 * misc/fstab.c: Likewise.
373 * misc/getpass.c: Likewise.
374 * misc/mntent.c: Likewise.
375 * misc/syslog.c: Likewise.
376 * nis/nis_call.c: Likewise.
377 * nis/nis_callback.c: Likewise.
378 * nis/nss-default.c: Likewise.
379 * nis/nss_compat/compat-grp.c: Likewise.
380 * nis/nss_compat/compat-initgroups.c: Likewise.
381 * nis/nss_compat/compat-pwd.c: Likewise.
382 * nis/nss_compat/compat-spwd.c: Likewise.
383 * nis/nss_nis/nis-alias.c: Likewise.
384 * nis/nss_nis/nis-ethers.c: Likewise.
385 * nis/nss_nis/nis-grp.c: Likewise.
386 * nis/nss_nis/nis-hosts.c: Likewise.
387 * nis/nss_nis/nis-network.c: Likewise.
388 * nis/nss_nis/nis-proto.c: Likewise.
389 * nis/nss_nis/nis-pwd.c: Likewise.
390 * nis/nss_nis/nis-rpc.c: Likewise.
391 * nis/nss_nis/nis-service.c: Likewise.
392 * nis/nss_nis/nis-spwd.c: Likewise.
393 * nis/nss_nisplus/nisplus-alias.c: Likewise.
394 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
395 * nis/nss_nisplus/nisplus-grp.c: Likewise.
396 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
397 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
398 * nis/nss_nisplus/nisplus-network.c: Likewise.
399 * nis/nss_nisplus/nisplus-proto.c: Likewise.
400 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
401 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
402 * nis/nss_nisplus/nisplus-service.c: Likewise.
403 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
404 * nis/ypclnt.c: Likewise.
405 * nptl/libc_pthread_init.c: Likewise.
406 * nss/getXXbyYY.c: Likewise.
407 * nss/getXXent.c: Likewise.
408 * nss/getXXent_r.c: Likewise.
409 * nss/nss_db/db-XXX.c: Likewise.
410 * nss/nss_db/db-netgrp.c: Likewise.
411 * nss/nss_db/nss_db.h: Likewise.
412 * nss/nss_files/files-XXX.c: Likewise.
413 * nss/nss_files/files-alias.c: Likewise.
414 * nss/nsswitch.c: Likewise.
415 * posix/regex_internal.h: Likewise.
416 * posix/wordexp.c: Likewise.
417 * pwd/fgetpwent.c: Likewise.
418 * resolv/res_hconf.c: Likewise.
419 * resolv/res_libc.c: Likewise.
420 * shadow/fgetspent.c: Likewise.
421 * shadow/lckpwdf.c: Likewise.
422 * shadow/sgetspent.c: Likewise.
423 * socket/opensock.c: Likewise.
424 * stdio-common/reg-modifier.c: Likewise.
425 * stdio-common/reg-printf.c: Likewise.
426 * stdio-common/reg-type.c: Likewise.
427 * stdio-common/vfprintf.c: Likewise.
428 * stdio-common/vfscanf.c: Likewise.
429 * stdlib/abort.c: Likewise.
430 * stdlib/cxa_atexit.c: Likewise.
431 * stdlib/fmtmsg.c: Likewise.
432 * stdlib/random.c: Likewise.
433 * stdlib/setenv.c: Likewise.
434 * string/strsignal.c: Likewise.
435 * sunrpc/auth_none.c: Likewise.
436 * sunrpc/bindrsvprt.c: Likewise.
437 * sunrpc/create_xid.c: Likewise.
438 * sunrpc/key_call.c: Likewise.
439 * sunrpc/rpc_thread.c: Likewise.
440 * sysdeps/arm/backtrace.c: Likewise.
441 * sysdeps/generic/ldsodefs.h: Likewise.
442 * sysdeps/generic/stdio-lock.h: Likewise.
443 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
444 * sysdeps/i386/backtrace.c: Likewise.
445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
446 * sysdeps/m68k/backtrace.c: Likewise.
447 * sysdeps/mach/hurd/cthreads.c: Likewise.
448 * sysdeps/mach/hurd/dirstream.h: Likewise.
449 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
450 * sysdeps/nptl/malloc-machine.h: Likewise.
451 * sysdeps/nptl/stdio-lock.h: Likewise.
452 * sysdeps/posix/dirstream.h: Likewise.
453 * sysdeps/posix/getaddrinfo.c: Likewise.
454 * sysdeps/posix/system.c: Likewise.
455 * sysdeps/pthread/aio_suspend.c: Likewise.
456 * sysdeps/s390/s390-32/backtrace.c: Likewise.
457 * sysdeps/s390/s390-64/backtrace.c: Likewise.
458 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
459 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
460 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
461 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
462 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
463 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
464 * sysdeps/unix/sysv/linux/system.c: Likewise.
465 * sysdeps/x86_64/backtrace.c: Likewise.
466 * time/alt_digit.c: Likewise.
467 * time/era.c: Likewise.
468 * time/tzset.c: Likewise.
469 * wcsmbs/wcsmbsload.c: Likewise.
470 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
471 instead of <bits/libc-lock.h> in comment.
472
473 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
474
475 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
476 Only use .set mips2 if the current ISA is below mips2.
477 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
478 Likewise.
479 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
480 mips32r2 if the current ISA is below mips32r2.
481 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
482 (TLS_IE): Updated to use the TLD_RDHWR macro.
483 (TLS_LE): Likewise.
484 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
485 __ASSEMBLER__ condition.
486
487 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
488
489 Fix parallel build of before-compile targets.
490
491 * sysdeps/mach/Makefile ($(patsubst
492 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
493 mach-before-compile target.
494 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
495 io fs process)): Move rule to dedicated hurd-before-compile target.
496
497 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
498
499 Fix rules generating headers in hurd/ and mach/ when initial make call
500 has subdir= explicitly set.
501
502 * sysdeps/mach/Makefile ($(patsubst
503 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
504 calling $(MAKE).
505 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
506 io fs process)): Force subdir to hurd when calling $(MAKE).
507 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
508 subdir to mach when calling $(MAKE).
509
510 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
511
512 Check sysheaders when looking for Mach and Hurd headers
513
514 * sysdeps/mach/configure.ac: Add sysheaders check.
515 * sysdeps/mach/configure: Regenerate.
516 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
517 * sysdeps/mach/hurd/configure: Regenerate.
518
519 2015-09-04 Roland McGrath <roland@hack.frob.com>
520
521 [BZ #18921]
522 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
523 Fix inverted sense of test of 'o_directory_works' value.
524 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
525 Bernhard Voelker <mail@bernhard-voelker.de>.
526
527 2015-09-04 Joseph Myers <joseph@codesourcery.com>
528
529 [BZ #14912]
530 * bits/linkmap.h: Move to ...
531 * sysdeps/generic/linkmap.h: ...here.
532 * sysdeps/aarch64/bits/linkmap.h: Move to ...
533 * sysdeps/aarch64/linkmap.h: ...here.
534 * sysdeps/arm/bits/linkmap.h: Move to ...
535 * sysdeps/arm/linkmap.h: ...here.
536 * sysdeps/hppa/bits/linkmap.h: Move to ...
537 * sysdeps/hppa/linkmap.h: ...here.
538 * sysdeps/ia64/bits/linkmap.h: Move to ...
539 * sysdeps/ia64/linkmap.h: ...here.
540 * sysdeps/mips/bits/linkmap.h: Move to ...
541 * sysdeps/mips/linkmap.h: ...here.
542 * sysdeps/s390/bits/linkmap.h: Move to ...
543 * sysdeps/s390/linkmap.h: ...here.
544 * sysdeps/sh/bits/linkmap.h: Move to ...
545 * sysdeps/sh/linkmap.h: ...here.
546 * sysdeps/x86/bits/linkmap.h: Move to ...
547 * sysdeps/x86/linkmap.h: ...here.
548 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
549
550 2015-09-04 Andreas Schwab <schwab@suse.de>
551
552 [BZ #18635]
553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
554 (__makecontext): Terminate FDE before return label.
555 (__novec_makecontext): Likewise.
556
557 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
558
559 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
560 first member of struct sv in syscall macro.
561
562 2015-09-04 Joseph Myers <joseph@codesourcery.com>
563
564 [BZ #14912]
565 * bits/stdio-lock.h: Move to ...
566 * sysdeps/generic/stdio-lock.h: ...here.
567 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
568 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
569 * sysdeps/nptl/stdio-lock.h: ...here.
570 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
571 * include/libio.h: Include <stdio-lock.h> instead of
572 <bits/stdio-lock.h>.
573 * sysdeps/nptl/fork.c: Likewise.
574 * sysdeps/pthread/flockfile.c: Likewise.
575 * sysdeps/pthread/ftrylockfile.c: Likewise.
576 * sysdeps/pthread/funlockfile.c: Likewise.
577
578 [BZ #14912]
579 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
580 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
581 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
582 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
583 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
584 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
585 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
586
587 2015-09-03 Roland McGrath <roland@hack.frob.com>
588
589 * elf/Makefile (test-xfail-tst-protected1a): New variable.
590 (test-xfail-tst-protected1b): New variable.
591
592 2015-09-03 Joseph Myers <joseph@codesourcery.com>
593
594 [BZ #14912]
595 * bits/libc-tsd.h: Move to ...
596 * sysdeps/generic/libc-tsd.h: ...here.
597 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
598 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
599 * sysdeps/mach/hurd/libc-tsd.h: ...here.
600 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
601 * include/ctype.h: Include <libc-tsd.h> instead of
602 <bits/libc-tsd.h>.
603 * include/rpc/rpc.h: Likewise.
604 * locale/localeinfo.h: Likewise.
605 * sunrpc/rpc_thread.c: Likewise.
606 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
607 * sysdeps/nptl/malloc-machine.h: Likewise.
608
609 * Makefile (headers): Remove bits/libc-lock.h.
610 * libio/Makefile (headers): Remove bits/stdio-lock.h.
611
612 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
613 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
614 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
615 <bits/stdio-lock.h>.
616 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
617 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
618
619 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
620
621 [BZ #18757]
622 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
623 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
624 BZ #18757.
625
626 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
627
628 * malloc/mtrace.pl: Filter out NULL entries.
629
630 2015-09-01 Joseph Myers <joseph@codesourcery.com>
631
632 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
633 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
634 macro.
635
636 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
637 (TCP_CC_INFO): Likewise.
638 (TCP_SAVE_SYN): Likewise.
639 (TCP_SAVED_SYN): Likewise.
640
641 2015-08-31 Brett Neumeier <brett@neumeier.us>
642
643 [BZ #18870]
644 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
645
646 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
647
648 [BZ #18873]
649 Fix broken overflow check in posix_fallocate
650 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
651 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
652 Fix parenthesization typo.
653
654 2015-08-28 Mike Frysinger <vapier@gentoo.org>
655
656 [BZ #18887]
657 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
658 tst-mntent-blank-passno.
659 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
660 * misc/tst-mntent-blank-corrupt.c: New test.
661 * misc/tst-mntent-blank-passno.c: New test ripped from ...
662 * misc/tst-mntent.c (do_test): ... here.
663
664 2015-08-29 Mike Frysinger <vapier@gentoo.org>
665
666 [BZ #4404]
667 * po/de.po: Fix SIGALRM typo.
668
669 2015-08-28 James Perkins <james@loowit.net>
670
671 * time/tst-strptime2.c (tests): Replace short list of test
672 strings for strptime %z specifier with code which exhaustively
673 tests every combination of sign and 0 to 5 digits. Tests for
674 rejection of invalid strings.
675
676 2015-08-28 James Perkins <james@loowit.net>
677
678 [BZ #16141]
679 * time/strptime_l.c (__strptime_internal): Fix %z minutes
680 calculation, removing incorrect decimal time rounding, so that
681 all minute values result in a valid seconds value.
682 * time/strptime_l.c (__strptime_internal): Extend %z time zone
683 offset range limits to UTC-99:59 through UTC+99:59 to parse
684 current and historical use cases.
685 * time/tst-strptime2.c (tests): Modify and add tests for the
686 strptime %z input field descriptor, specifically conversion of
687 minutes to seconds and validating an offset range of -9959 to
688 +9959.
689
690 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
691 Dmitry V. Levin <ldv@altlinux.org>
692
693 [BZ #18877]
694 * posix/Makefile (tests): Add tst-mmap-offset.
695 * posix/tst-mmap.c: New file.
696 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
697 offset calculation for negative values.
698
699 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
700
701 * sysdeps/i386/init-arch.h: New file.
702 * sysdeps/i386/i586/init-arch.h: Likewise.
703 * sysdeps/i386/i686/init-arch.h: Likewise.
704 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
705 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
706 * sysdeps/x86/cpu-features.h (bit_I586): New.
707 (bit_I686): Likewise.
708 (bit_CX8): Likewise.
709 (bit_CMOV): Likewise.
710 (index_CX8): Likewise.
711 (index_CMOV): Likewise.
712 (index_I586): Likewise.
713 (index_I686): Likewise.
714 (reg_CX8): Likewise.
715 (reg_CMOV): Likewise.
716 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
717 available at compile-time.
718 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
719 available at compile-time.
720 * sysdeps/x86/init-arch.h (USE_I586): New macro.
721 (USE_I686): Likewise.
722
723 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
724
725 * sysdeps/i386/bcopy.S: New file.
726 * sysdeps/i386/bzero.S: Likewise.
727 * sysdeps/i386/memcpy.S: Likewise.
728 * sysdeps/i386/memmove.S: Likewise.
729 * sysdeps/i386/mempcpy.S: Likewise.
730 * sysdeps/i386/memset.S: Likewise.
731 * sysdeps/i386/bzero.c: Removed.
732 * sysdeps/i386/memset.c: Likewise.
733 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
734 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
735 * sysdeps/i386/i586/memset_chk.S: Likewise.
736 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
737 * sysdeps/i386/memcpy_chk.S: Here.
738 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
739 * sysdeps/i386/memmove_chk.S: Here.
740 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
741 * sysdeps/i386/mempcpy_chk.S: Likewise.
742 * sysdeps/i386/i686/memset_chk.S: Moved to ...
743 * sysdeps/i386/memset_chk.S: Likewise.
744
745 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
746
747 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
748 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
749 file, move DIAG_POP_NEEDS_COMMENT to end of file.
750 * soft-fp/fmadf4.c: Ditto.
751 * soft-fp/fmatf4.c: Ditto.
752
753 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
754
755 * sysdeps/i386/i586/Implies: Removed.
756 * sysdeps/i386/i686/Implies: Likewise.
757
758 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
759
760 * sysdeps/i386/i486/strlen.S: Moved to ...
761 * sysdeps/i386/strlen.S: Here.
762
763 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
764
765 * sysdeps/i386/i486/strcat.S: Moved to ...
766 * sysdeps/i386/strcat.S: Here.
767
768 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
769
770 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
771 * sysdeps/i386/pthread_spin_trylock.S: Here.
772 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
773 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
774
775 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
776
777 * sysdeps/i386/i486/string-inlines.c: Moved to ...
778 * sysdeps/i386/string-inlines.c: Here.
779
780 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
781
782 * sysdeps/i386/i486/htonl.S: Moved ...
783 * sysdeps/i386/htonl.S: here.
784
785 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
786
787 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
788 * sysdeps/i386/bits/atomic.h: Here.
789
790 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
791
792 * sysdeps/i386/i486/Versions: Removed.
793
794 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
795
796 [BZ #2898]
797 * misc/mktemp.c: Add mkdtemp to the link_warning message.
798 Based on patch by Aurelien Jarno.
799
800 2015-08-26 Stan Shebs <stanshebs@google.com>
801
802 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
803 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
804
805 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
806
807 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
808 * sysdeps/powerpc/dl-procinfo.c:
809 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
810 feature so it shows when LD_SHOW_AUXV=1.
811
812 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
813
814 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
815 (__arch_compare_and_exchange_val_32_acq): Remove and use common
816 definition. ISA 2.07B no longer requires full sync.
817
818 2015-08-26 Mike Frysinger <vapier@gentoo.org>
819
820 [BZ #18863]
821 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
822 (si_call_addr): Define.
823 (si_syscall): Define.
824 (si_arch): Define.
825
826 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
827
828 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
829 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
830 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
831 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
832 (__memset_zero_constant_len_parameter): New.
833 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
834 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
835 (__memset_zero_constant_len_parameter): Don't define if
836 __memset_chk or USE_AS_BZERO are defined.
837
838 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
839 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
840 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
841
842 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
843 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
844 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
845 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
846 comments.
847 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
848 -mno-mmx for $(all-rtld-routines).
849 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
850 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
851 i386.
852
853 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
854
855 * sysdeps/generic/unwind.h
856 (_Unwind_Word): Use __mode__(__unwind_word__)
857 instead of __mode__(__word__).
858 (_Unwind_Sword): Likewise.
859
860 * sysdeps/s390/s390-64/utf8-utf16-z9.c
861 (MAX_NEEDED_INPUT): New define.
862 (MAX_NEEDED_OUTPUT): New define.
863
864 * NEWS: New item for IBM z13 string optimizations.
865
866 * sysdeps/s390/multiarch/memrchr-c.c: New File.
867 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
868 * sysdeps/s390/multiarch/memrchr.c: Likewise.
869 * sysdeps/s390/multiarch/Makefile
870 (sysdep_routines): Add memrchr functions.
871 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
872 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
873
874 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
875 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
876 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
877 * sysdeps/s390/multiarch/Makefile
878 (sysdep_routines): Add wmemcmp functions.
879 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
880 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
881 * benchtests/bench-wmemcmp.c: New File.
882 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
883
884 * sysdeps/s390/multiarch/wmemset-c.c: New File.
885 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
886 * sysdeps/s390/multiarch/wmemset.c: Likewise.
887 * sysdeps/s390/multiarch/Makefile
888 (sysdep_routines): Add wmemset functions.
889 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
890 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
891 * wcsmbs/wmemset.c: Use WMEMSET if defined.
892 * string/test-memset.c: Add wmemset support.
893 * wcsmbs/test-wmemset.c: New File.
894 * wcsmbs/Makefile (strop-tests): Add wmemset.
895 * benchtests/bench-memset.c: Add wmemset support.
896 * benchtests/bench-wmemset.c: New File.
897 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
898
899 * sysdeps/s390/multiarch/memccpy-c.c: New File.
900 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
901 * sysdeps/s390/multiarch/memccpy.c: Likewise.
902 * sysdeps/s390/multiarch/Makefile
903 (sysdep_routines): Add memccpy functions.
904 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
905 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
906 * string/memccpy.c: Use MEMCCPY if defined.
907
908 * sysdeps/s390/multiarch/memchr-vx.S: New File.
909 * sysdeps/s390/multiarch/memchr.c: Likewise.
910 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
911 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
912 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
913 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
914 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
915 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
916 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
917 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
918 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
919 and rawmemchr functions.
920 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
921 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
922 and wmemchr.
923 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
924 * string/test-memchr.c: Add wmemchr support.
925 * wcsmbs/test-wmemchr.c: New File.
926 * wcsmbs/Makefile (strop-tests): Add wmemchr.
927 * benchtests/bench-memchr.c: Add wmemchr support.
928 * benchtests/bench-wmemchr.c: New File.
929 * benchtests/Makefile (wcsmbs-bench): wmemchr.
930
931 * sysdeps/s390/multiarch/strcspn-c.c: New File.
932 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
933 * sysdeps/s390/multiarch/strcspn.c: Likewise.
934 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
935 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
936 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
937 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
938 wcscspn functions.
939 * sysdeps/s390/multiarch/ifunc-impl-list.c
940 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
941 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
942 * string/test-strcspn.c: Add wcscspn support.
943 * wcsmbs/test-wcscspn.c: New File.
944 * wcsmbs/Makefile (strop-tests): Add wcscspn.
945 * benchtests/bench-strcspn.c: Add wcscspn support.
946 * benchtests/bench-wcscspn.c: New File.
947 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
948
949 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
950 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
951 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
952 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
953 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
954 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
955 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
956 wcspbrk functions.
957 * sysdeps/s390/multiarch/ifunc-impl-list.c
958 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
959 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
960 * string/test-strpbrk.c: Add wcspbrk support.
961 * wcsmbs/test-wcspbrk.c: New File.
962 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
963 * benchtests/bench-strpbrk.c: Add wcspbrk support.
964 * benchtests/bench-wcspbrk.c: New File.
965 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
966
967 * sysdeps/s390/multiarch/strspn-c.c: New File.
968 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
969 * sysdeps/s390/multiarch/strspn.c: Likewise.
970 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
971 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
972 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
973 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
974 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
975 wcsspn functions.
976 * sysdeps/s390/multiarch/ifunc-impl-list.c
977 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
978 * string/test-strspn.c: Add wcsspn support.
979 * wcsmbs/test-wcsspn.c: New File.
980 * wcsmbs/Makefile (strop-tests): Add wcsspn.
981 * benchtests/bench-strspn.c: Add wcsspn support.
982 * benchtests/bench-wcsspn.c: New File.
983 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
984
985 * sysdeps/s390/multiarch/strrchr-c.c: New File.
986 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
987 * sysdeps/s390/multiarch/strrchr.c: Likewise.
988 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
989 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
990 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
991 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
992 wcsrchr functions.
993 * sysdeps/s390/multiarch/ifunc-impl-list.c
994 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
995 * benchtests/bench-wcsrchr.c: New File.
996 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
997
998 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
999 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1000 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1001 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1002 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1003 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1004 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1005 wcschrnul functions.
1006 * sysdeps/s390/multiarch/ifunc-impl-list.c
1007 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1008 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1009 * string/test-strchr.c: Add wcschrnul support.
1010 * wcsmbs/test-wcschrnul.c: New File.
1011 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1012 * benchtests/bench-strchr.c: Add wcschrnul support.
1013 * benchtests/bench-wcschrnul.c: New File.
1014 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1015
1016 * sysdeps/s390/multiarch/strchr-c.c: New File.
1017 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1018 * sysdeps/s390/multiarch/strchr.c: Likewise.
1019 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1020 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1021 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1022 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1023 wcschr functions.
1024 * sysdeps/s390/multiarch/ifunc-impl-list.c
1025 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1026 * string/strchr.c (STRCHR): Define and use macro.
1027 * benchtests/bench-wcschr.c: New File.
1028 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1029
1030 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1031 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1032 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1033 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1034 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1035 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1036 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1037 wcsncmp functions.
1038 * sysdeps/s390/multiarch/ifunc-impl-list.c
1039 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1040 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1041 * benchtests/bench-strncmp.c: Add wcsncmp support.
1042 * benchtests/bench-wcsncmp.c: New File.
1043 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1044
1045 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1046 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1047 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1048 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1049 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1050 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1051 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1052 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1053 wcscmp functions.
1054 * sysdeps/s390/multiarch/ifunc-impl-list.c
1055 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1056 * string/strcmp.c (STRCMP): Define and use macro.
1057 * benchtests/bench-wcscmp.c: New File.
1058 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1059 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1060 instead of _HAVE_STRING_ARCH_memchr.
1061
1062 * sysdeps/s390/multiarch/strncat-c.c: New File.
1063 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1064 * sysdeps/s390/multiarch/strncat.c: Likewise.
1065 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1066 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1067 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1068 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1069 wcsncat functions.
1070 * sysdeps/s390/multiarch/ifunc-impl-list.c
1071 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1072 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1073 * string/test-strncat.c: Add wcsncat support.
1074 * wcsmbs/test-wcsncat.c: New File.
1075 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1076 * benchtests/bench-strncat.c: Add wcsncat support.
1077 * benchtests/bench-wcsncat.c: New File.
1078 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1079
1080 * sysdeps/s390/multiarch/strcat-c.c: New File.
1081 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1082 * sysdeps/s390/multiarch/strcat.c: Likewise.
1083 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1084 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1085 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1086 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1087 wcscat functions.
1088 * sysdeps/s390/multiarch/ifunc-impl-list.c
1089 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1090 * string/strcat.c (STRCAT): Define and use macro.
1091 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1092 * string/test-strcat.c: Add wcscat support.
1093 * wcsmbs/test-wcscat.c: New File.
1094 * wcsmbs/Makefile (strop-tests): Add wcscat.
1095 * benchtests/bench-strcat.c: Add wcscat support.
1096 * benchtests/bench-wcscat.c: New File.
1097 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1098
1099 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1100 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1101 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1102 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1103 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1104 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1105 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1106 wcpncpy functions.
1107 * sysdeps/s390/multiarch/ifunc-impl-list.c
1108 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1109 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1110 * string/test-stpncpy.c: Add wcpncpy support.
1111 * wcsmbs/test-wcpncpy.c: New File.
1112 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1113 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1114 * benchtests/bench-wcpncpy.c: New File.
1115 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1116
1117 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1118 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1119 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1120 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1121 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1122 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1123 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1124 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1125 wcsncpy functions.
1126 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1127 * sysdeps/s390/multiarch/ifunc-impl-list.c
1128 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1129 * string/test-strncpy.c: Add wcsncpy support.
1130 * wcsmbs/test-wcsncpy.c: New File.
1131 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1132 * benchtests/bench-strncpy.c: Add wcsncpy support.
1133 * benchtests/bench-wcsncpy.c: New File.
1134 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1135
1136 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1137 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1138 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1139 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1140 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1141 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1142 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1143 wcpcpy functions.
1144 * string/stpcpy.c: Use STPCPY if defined.
1145 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1146 * sysdeps/s390/multiarch/ifunc-impl-list.c
1147 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1148 * string/test-stpcpy.c: Add wcpcpy support.
1149 * wcsmbs/test-wcpcpy.c: New File.
1150 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1151 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1152 * benchtests/bench-wcpcpy.c: New File.
1153 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1154
1155 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1156 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1157 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1158 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1159 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1160 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1161 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1162 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1163 wcscpy functions.
1164 * sysdeps/s390/multiarch/ifunc-impl-list.c
1165 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1166 * benchtests/bench-wcscpy.c: New File.
1167 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1168
1169 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1170 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1171 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1172 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1173 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1174 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1175 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1176 wcsnlen functions.
1177 * sysdeps/s390/multiarch/ifunc-impl-list.c
1178 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1179 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1180 * string/test-strnlen.c: Add wcsnlen support.
1181 * wcsmbs/test-wcsnlen.c: New File.
1182 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1183 * benchtests/bench-strnlen.c: Add wcsnlen support.
1184 * benchtests/bench-wcsnlen.c: New File.
1185 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1186
1187 * sysdeps/s390/multiarch/Makefile: New File.
1188 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1189 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1190 * sysdeps/s390/multiarch/strlen.c: Likewise.
1191 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1192 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1193 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1194 * string/strlen.c (STRLEN): Define and use macro.
1195 * sysdeps/s390/multiarch/ifunc-impl-list.c
1196 (IFUNC_VX_IMPL): New macro function.
1197 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1198 * benchtests/Makefile (wcsmbs-bench): New variable.
1199 (string-bench-all): Added wcsmbs-bench.
1200 * benchtests/bench-wcslen.c: New File.
1201
1202 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1203 s390_vx_libc_ifunc2): New macro function.
1204
1205 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1206 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1207 assembler support.
1208 * sysdeps/s390/configure: Regenerated.
1209
1210 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1211 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1212
1213 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1214 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1215 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1216
1217 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1218 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1219 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1220 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1221 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1222 (memcmp, bcmp): Use __memcmp_default as alias source.
1223 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1224 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1225 Rename to __memcmp_default.
1226 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1227 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1228 (memcpy): Use __memcpy_default as alias source.
1229 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1230 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1231 Rename to __memcpy_default.
1232 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1233 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1234 (memset): Use __memset_default as alias source.
1235 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1236 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1237 Rename to __memset_default.
1238 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1239 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1240 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1241 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1242 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1243 (memcmp, bcmp): Use __memcmp_default as alias source.
1244 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1245 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1246 Rename to __memcmp_default.
1247 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1248 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1249 (memcpy): Use __memcpy_default as alias source.
1250 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1251 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1252 Rename to __memcpy_default.
1253 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1254 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1255 (memset): Use __memset_default as alias source.
1256 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1257 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1258 Rename to __memset_default.
1259 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1260 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1261
1262 [BZ #18610]
1263 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1264 __ieee_instruction_pointer to __unused.
1265 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1266 __ieee_instruction_pointer.
1267 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1268 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1269 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1270 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1271 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1272 Mark dxc-field as reserved.
1273
1274 2015-08-25 Roland McGrath <roland@hack.frob.com>
1275
1276 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1277 if the weak reference is not null.
1278
1279 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1280
1281 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1282
1283 [BZ #11214]
1284 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1285
1286 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1287
1288 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1289 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1290 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1291 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1292 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1293 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1294 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1295 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1296 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1297 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1298 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1299 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1300 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1301 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1302 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1303 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1304 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1305 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1306
1307 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1308
1309 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1310 register other than r0 for tabort, it has special meaning.
1311 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1312 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1313 transaction before starting syscall.
1314
1315 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1316
1317 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1318
1319 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1322
1323 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1324 * sysdeps/x86_64/rtld-memset.S: Likewise.
1325 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1326 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1327 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1328 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1329
1330 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1331
1332 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1333
1334 * debug/strcpy_chk.c: Improve performance.
1335 * debug/stpcpy_chk.c: Likewise.
1336 * sysdeps/x86_64/strcpy_chk.S: Remove.
1337 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1338
1339 [BZ #18240]
1340 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1341
1342 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1343
1344 [BZ #15128]
1345 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1346 ifuncmain8.
1347 (modules-names): Add ifuncmod8.
1348 ($(objpfx)ifuncmain8): New rule.
1349 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1350 <cpuid.h>.
1351 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1352 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1353 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1354 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1355 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1356 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1357 * sysdeps/x86_64/ifuncmain8.c: New file.
1358 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1359 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1360 Removed.
1361 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1362 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1363 Change rtld_savespace_sse to __glibc_unused2.
1364 (RTLD_CHECK_FOREIGN_CALL): Removed.
1365 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1366 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1367 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1368
1369 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1370
1371 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1372
1373 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1374
1375 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1376 Unconditionally set __fpcr to avoid uninialized warning.
1377 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1378
1379 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1380
1381 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1382 is corrupt.
1383
1384 * malloc/arena.c (arena_get2): Drop unused argument.
1385 (arena_lock): Adjust.
1386 (arena_get_retry): Likewise.
1387
1388 2015-08-24 Andreas Schwab <schwab@suse.de>
1389
1390 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1391 Don't define.
1392 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1393 (__ASSUME_IPC64): Don't undef.
1394 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1395 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1396 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1397 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1398 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1399 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1400 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1401 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1402 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1403 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1404 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1405 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1406 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1407 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1408 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1409 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1410 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1411 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1412 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1413 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1414 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1415
1416 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1417
1418 * manual/Makefile (install): Only build manual when perl is available.
1419
1420 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1421
1422 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1423 '#undef memcpy' by '#undef memchr'.
1424
1425 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1426
1427 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1428 memchr not point to the internal __GI_memchr implementation.
1429
1430 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1431
1432 * timezone/Makefile (CFLAGS-zdump.c): Remove
1433 -Wno-strict-prototypes.
1434 (CFLAGS-zic.c): Likewise.
1435 (CFLAGS-ialloc.c): Likewise.
1436 (CFLAGS-scheck.c): Likewise.
1437
1438 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1439 -Wno-error=undef.
1440
1441 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1442
1443 * i386/i686/multiarch/strcasestr-c.c: Removed.
1444 * x86_64/multiarch/strcasestr.c: Likewise.
1445 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1446 Remove strcasestr.
1447
1448 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1449
1450 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1451
1452 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1453 variables for high and low parts before possibly modifying them.
1454
1455 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1456
1457 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1458 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1459 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1460 of "multiarch/init-arch.h".
1461 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1462 * sysdeps/x86/init-arch.h: This.
1463
1464 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1465
1466 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1467 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1468
1469 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1470
1471 [BZ #17787]
1472 * manual/macros.texi: Add twoexp macro.
1473 * manual/filesys.texi: Fix exponents.
1474 * manual/llio.texi: Likewise.
1475 * manual/stdio.texi: Likewise.
1476
1477 2015-08-20 Florian Weimer <fweimer@redhat.com>
1478
1479 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1480 incorrect use.
1481
1482 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1483
1484 [BZ #18370]
1485 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1486 whose real or imaginary part has small absolute value.
1487 * math/s_csqrtf.c (__csqrtf): Likewise.
1488 * math/s_csqrtl.c (__csqrtl): Likewise.
1489 * math/auto-libm-test-in: Add more tests of csqrt.
1490 * math/auto-libm-test-out: Regenerated.
1491 * sysdeps/i386/fpu/libm-test-ulps: Update.
1492
1493 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1494
1495 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1496 __ppc_set_ppr_very_low): New functions.
1497 * manual/platform.texi: Add documentation about
1498 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1499
1500 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1501
1502 * string/stpncpy.c (stpncpy): Improve performance using
1503 __strnlen/memcpy/memset.
1504
1505 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1506
1507 [BZ #18796]
1508 * scripts/test-installation.pl: Don't add -lmvec to build options if
1509 libmvec wasn't built.
1510
1511 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1512
1513 [BZ #14341]
1514 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1515 case when there is a gap between DT_REL and DT_JMPREL sections.
1516 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1517 (LDFLAGS-tst-split-dynreloc): New.
1518 (tst-split-dynreloc-ENV): Likewise.
1519 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1520 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1521
1522 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 [BZ #18822]
1525 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1526 attribute_hidden.
1527 (__xstat64_conv): Likewise.
1528 (__xstat32_conv): Likewise.
1529
1530 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 [BZ #18822]
1533 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1534 Don't load %ebx when calling __setcontext. Call __setcontext
1535 with HIDDEN_JUMPTARGET.
1536 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1537 libc_hidden_def.
1538
1539 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * sysdeps/i386/i686/Makefile
1542 [$(subdir) == string] (sysdep_routines): Moved to ...
1543 * sysdeps/i386/Makefile: Here.
1544 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1545 * sysdeps/i386/cacheinfo.c: Here.
1546 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1547 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1548 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1549 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1550
1551 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1552
1553 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1554 __i586__ is defined.
1555 (HAS_I686): Defined to 1 if __i686__ is defined.
1556
1557 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1558
1559 * elf/Makefile [$(have-z-execstack) = yes]
1560 (CPPFLAGS-tst-execstack.c): New variable.
1561
1562 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1563 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1564 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1565 UTMPX || _HAVE_UT_TV].
1566 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1567 UTMPX || _HAVE_UT_TV - 0].
1568
1569 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1570
1571 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1572 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1573 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1574
1575 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1576
1577 * sysdeps/powerpc/dl-procinfo.c:
1578 (_dl_powerpc_cap_flags): Added missing strings for some
1579 hwcap features.
1580 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1581
1582 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1583
1584 Port the 0x7efe...feff pattern to GCC 6.
1585 See Steve Ellcey's bug report in:
1586 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1587 * string/memrchr.c (MEMRCHR):
1588 * string/rawmemchr.c (RAWMEMCHR):
1589 * string/strchr.c (strchr):
1590 * string/strchrnul.c (STRCHRNUL):
1591 Rewrite code to avoid issues with signed shift overflow.
1592
1593 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1596 whether cpuid is available only if HAS_CPUID is 0.
1597 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1598 (HAS_I586): Likewise.
1599 (HAS_I686): Likewise.
1600
1601 2015-08-18 Zack Weinberg <zackw@panix.com>
1602
1603 * misc/Versions (libc): Add GLIBC_2.23.
1604
1605 2015-08-18 Alan Modra <amodra@gmail.com>
1606
1607 [BZ #18421]
1608 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1609 .Lp__global.
1610 (_start): Load %dp via .Lp__global.
1611 [!SHARED]: Use .section .rodata.
1612
1613 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1614
1615 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1616 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1617
1618 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1619
1620 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1621 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1622
1623 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1624
1625 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1626 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1627
1628 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1629
1630 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1631 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1632
1633 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1634
1635 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1636 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1637
1638 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1639
1640 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1641 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1642
1643 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1644
1645 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1646
1647 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1648
1649 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1650 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1651 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1652 (__ASSUME_LWS_CAS): Delete.
1653
1654 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1655
1656 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1657 * sysdeps/hppa/configure: Regenerated.
1658 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1659 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1660 * sysdeps/hppa/nptl/tls.h: Likewise.
1661
1662 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1663
1664 [BZ #18823]
1665 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1666 for scaling up small arguments.
1667 * math/s_csqrtf.c (__csqrtf): Likewise.
1668 * math/s_csqrtl.c (__csqrtl): Likewise.
1669 * math/auto-libm-test-in: Add more tests of csqrt.
1670 * math/auto-libm-test-out: Regenerated.
1671
1672 2015-08-17 Andreas Schwab <schwab@suse.de>
1673
1674 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1675 version set GLIBC_2.19.
1676
1677 2015-08-16 Zack Weinberg <zackw@panix.com>
1678
1679 [BZ #18681]
1680 * misc/regexp.h: This interface is no longer supported.
1681 Remove all contents, leaving only an #error directive.
1682 * misc/regexp.c (loc1, loc2, locs, step, advance):
1683 Demote to compatibility symbols.
1684
1685 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1686
1687 [BZ #18084]
1688 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1689 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1690 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1691 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1692 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1693 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1694 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1695 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1696 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1697
1698 2015-08-15 Zack Weinberg <zackw@panix.com>
1699
1700 [BZ #18795]
1701 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1702 buffer length is known to be too large, not if it's known to be
1703 small enough.
1704 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1705 overflow at runtime, involving a length parameter, twice: once
1706 with a compile-time constant length parameter, once without.
1707
1708 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1709
1710 [BZ #18824]
1711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1712 scaling x * y up instead of down.
1713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1714 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1715 * math/auto-libm-test-in: Add more tests of fma.
1716 * math/auto-libm-test-out: Regenerated.
1717
1718 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1719
1720 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1721
1722 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1723
1724 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1725 unnecessary movq.
1726 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1727 Likewise.
1728
1729 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1730
1731 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1732 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1733 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1734 and tgamma.
1735 * math/auto-libm-test-out: Regenerated.
1736 * sysdeps/i386/fpu/libm-test-ulps: Update.
1737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1738
1739 [BZ #16520]
1740 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1741 (__tanh): Force underflow exception for arguments with small
1742 absolute value.
1743 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1744 (__tanhf): Force underflow exception for arguments with small
1745 absolute value.
1746 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1747 (__tanhl): Force underflow exception for arguments with small
1748 absolute value.
1749 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1750 (__tanhl): Force underflow exception for arguments with small
1751 absolute value.
1752 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1753 (__tanhl): Force underflow exception for arguments with small
1754 absolute value.
1755 * math/auto-libm-test-in: Add more tests of tanh.
1756 * math/auto-libm-test-out: Regenerated.
1757 * sysdeps/i386/fpu/libm-test-ulps: Update.
1758
1759 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1760
1761 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1762 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1763
1764 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1765
1766 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1767 <cpuid.h>.
1768
1769 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1770
1771 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1772 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1773
1774 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1775
1776 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1777 Remove $(objpfx)init-arch.o.
1778 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1779 init-arch.
1780 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1781 (INIT_ARCH_EXT): Defined as empty.
1782 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1783 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1784 __init_cpu_features call. Replace HAS_XXX with
1785 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1786 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1787 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1788 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1789 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1790 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1791 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1792 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1793 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1794 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1795 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1796 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1797 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1798 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1799 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1800 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1801 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1802 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1803 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1804 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1805 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1806 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1807 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1808 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1809 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1810 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1811 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1812 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1813 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1814 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1815 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1816 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1817 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1818 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1819 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1820 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1821
1822 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1823
1824 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1825 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1826 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1827 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1828 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1829 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1830 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1831 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1832 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1833 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1834 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1835 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
1836 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1837 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1838 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1839 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1840 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1841 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1842 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1843 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1844 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1845 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1846 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1847 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1848 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1849 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1850 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1851 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1852 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1853 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1854 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1855 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1856 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1857 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1858 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1859 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1860 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1861 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1862 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1863 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1864 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1865 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1866 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1867
1868 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1869
1870 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1871 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1875 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1877 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1878 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1879 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1880 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1881 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1882 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1883 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1884 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1885 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1886 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1887 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1888 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1889 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1890 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1891 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1892 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1893 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1894 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1895 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1896 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1897 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
1898 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1899 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1900 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1901 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1902 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1903 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1904 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1905 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1906 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1907 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1908 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1909 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1910 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1911 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1912 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1913
1914 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1915
1916 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1917 (dl_platform_init): Call init_cpu_features.
1918 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1919 * sysdeps/i386/i686/cacheinfo.c
1920 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1921 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1922 * sysdeps/i386/i686/multiarch/Versions: Removed.
1923 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1924 Removed.
1925 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1926 * sysdeps/unix/sysv/linux/x86/Makefile
1927 (libpthread-sysdep_routines): Remove init-arch.
1928 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1929 <sysdeps/x86_64/dl-procinfo.c> instead of
1930 sysdeps/generic/dl-procinfo.c>.
1931 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1932 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1933 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1934 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1935 [$(subdir) == elf] (tests-static): Add
1936 tst-get-cpu-features-static.
1937 * sysdeps/x86/Versions: New file.
1938 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1939 * sysdeps/x86/cpu-features.c: Likewise.
1940 * sysdeps/x86/cpu-features.h: Likewise.
1941 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1942 * sysdeps/x86/libc-start.c: Likewise.
1943 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1944 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1945 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1946 * sysdeps/x86_64/dl-procinfo.c: Likewise.
1947 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1948 Assume USE_MULTIARCH is defined and don't check it.
1949 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1950 (is_amd): Likewise.
1951 (max_cpuid): Likewise.
1952 (intel_check_word): Likewise.
1953 (__cache_sysconf): Don't call __init_cpu_features.
1954 (__x86_preferred_memory_instruction): Removed.
1955 (init_cacheinfo): Don't call __init_cpu_features. Replace
1956 __cpu_features with GLRO(dl_x86_cpu_features).
1957 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1958 (dl_platform_init): Call init_cpu_features.
1959 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1960 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1961 * sysdeps/x86_64/multiarch/Versions: Removed.
1962 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1963 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1964 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1965 Removed.
1966 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1967
1968 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1969
1970 [BZ #18820]
1971 * libio/Makefile (test-fmemopen-mem): New test.
1972 * libio/test-fmemopen.c (do_bz18820): New test.
1973 * libio/fmemopen.c (__fmemopen): Fix memory leak.
1974 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1975
1976 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1977
1978 [BZ #16734]
1979 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1980 (FREE_BUF): Delete.
1981 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1982 * libio/genops.c (_IO_setb): Use malloc and free directly.
1983 (_IO_default_doallocate, _IO_default_finish): Likewise.
1984 ( _IO_unbuffer_all): Likewise.
1985 ( libc_freeres_fn): Likewise.
1986 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1987 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1988 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1989 (_IO_wdefault_doallocate): Likewise.
1990
1991 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1992
1993 [BZ #18086]
1994 * sysdeps/posix/nice.c (nice): Restore old errno.
1995 * posix/tst-nice.c (do_test): Add test for BZ #18086.
1996
1997 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
1998
1999 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2000
2001 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2002
2003 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2004 __bcopy and add a weak_alias to bcopy.
2005 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2006 for static build.
2007
2008 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2009 cleanup macro usage.
2010 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2011 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2012 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2013 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2014 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2015 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2016 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2017 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2018 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2019 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2020 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2021 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2022 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2023 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2024 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2025 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2026 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2027 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2028 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2029
2030 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2031 libc_hidden_def.
2032 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2033
2034 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2035 (sysdep_routines): Add strstr-ppc64.
2036 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2037
2038 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2039
2040 [BZ #18778]
2041 * elf/Makefile (tests): Add Add tst-nodelete2.
2042 (modules-names): Add tst-nodelete2mod.
2043 (tst-nodelete2mod.so-no-z-defs): New.
2044 ($(objpfx)tst-nodelete2): Likewise.
2045 ($(objpfx)tst-nodelete2.out): Likewise.
2046 (LDFLAGS-tst-nodelete2): Likewise.
2047 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2048 out of loop through all loaded libraries.
2049 * elf/tst-nodelete2.c: New file.
2050 * elf/tst-nodelete2mod.c: Likewise.
2051 * elf/tst-znodelete-zlib.cc: Delete.
2052
2053 2015-08-11 Andreas Schwab <schwab@suse.de>
2054
2055 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2056 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2057 (__openat64_nocancel): Likewise.
2058
2059 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2060
2061 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2062 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2063 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2064 * math/auto-libm-test-out: Regenerated.
2065 * sysdeps/i386/fpu/libm-test-ulps: Update.
2066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2067
2068 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2069
2070 [BZ #18790]
2071 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2072 threshold for returning +/- 1.
2073 * math/auto-libm-test-in: Add more tests of tanh.
2074 * math/auto-libm-test-out: Regenerated.
2075 * sysdeps/i386/fpu/libm-test-ulps: Update.
2076
2077 2015-08-10 Andreas Schwab <schwab@suse.de>
2078
2079 [BZ #18781]
2080 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2081 MORE_OFLAGS to oflag.
2082 * io/test-lfs.c (do_test): Test openat64.
2083
2084 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2085
2086 [BZ #18789]
2087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2088 smaller threshold for returning the argument.
2089 * math/auto-libm-test-in: Add more tests of sinh.
2090 * math/auto-libm-test-out: Regenerated.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092
2093 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2094
2095 [BZ #18674]
2096 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2097 break.
2098
2099 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2100
2101 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2102 (generated): Don't add $(addprefix z.,$(tzfiles)).
2103
2104 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2105
2106 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2107 * scripts/sysd-rules.awk: Likewise.
2108
2109 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2110
2111 * iconvdata/tst-tables.sh: Change echo -n to printf.
2112 * nss/db-Makefile: Likewise.
2113 * posix/tst-getconf.sh: Likewise.
2114 * stdio-common/tst-unbputc.sh: Likewise.
2115
2116 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2117
2118 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2119 MADV_*_PAGES defines behind this feature check.
2120
2121 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2122
2123 [BZ #18480]
2124 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2125 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2126 Define.
2127 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2128 LOAD_REGS_5, LOAD_REGS_6): Update.
2129 (INTERNAL_SYSCALL): Update using new LOAD defines.
2130 (INTERNAL_SYSCALL_NCS): Likewise.
2131 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2132
2133 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2134
2135 [BZ #16734]
2136 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2137
2138 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2139
2140 [BZ #17905]
2141 * catgets/Makefile (tst-catgets-mem): New test.
2142 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2143 * catgets/open_catalog.c (__open_catalog): Likewise.
2144 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2145
2146 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2147
2148 [BZ #18787]
2149 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2150 clobber registers.
2151 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2152 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2153 Cast return to __typeof (oldval).
2154
2155 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2156
2157 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2158 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2159 and delete sys/syscall.h include.
2160
2161 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2162
2163 [BZ #16517]
2164 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2165 (tan): Force underflow exception for arguments with small absolute
2166 value.
2167 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2168 (__kernel_tanf): Force underflow exception for arguments with
2169 small absolute value.
2170 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2171 (__kernel_tanl): Force underflow exception for arguments with
2172 small absolute value.
2173 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2174 (__kernel_tanl): Force underflow exception for arguments with
2175 small absolute value.
2176 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2177 (__kernel_tanl): Force underflow exception for arguments with
2178 small absolute value.
2179 * math/auto-libm-test-in: Add more tests of tan.
2180 * math/auto-libm-test-out: Regenerated.
2181
2182 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2183
2184 Fix sysdeps/i386/fpu/s_scalbn.S build
2185
2186 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2187
2188 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2189
2190 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2191
2192 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2193
2194 Fix gcrt0.o compilation
2195
2196 When static-start-installed-name is different from
2197 start-installed-name, we must not use the shared objects.
2198
2199 * csu/Makefile
2200 (extra-objs): Add gmon-start.o when building shared library and
2201 $(static-start-installed-name) is different from
2202 $(start-installed-name).
2203 $(objpfx)g$(static-start-installed-name): When building shared
2204 library and $(static-start-installed-name) is different from
2205 $(static-start-installed-name), revert to non-shared rule,
2206 i.e. using $(objpfx)% and gmon-start.o.
2207
2208 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2209
2210 [BZ #16519]
2211 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2212 (__ieee754_sinh): Force underflow exception for arguments with
2213 small absolute value.
2214 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2215 (__ieee754_sinhf): Force underflow exception for arguments with
2216 small absolute value.
2217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2218 (__ieee754_sinhl): Force underflow exception for arguments with
2219 small absolute value.
2220 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2221 (__ieee754_sinhl): Force underflow exception for arguments with
2222 small absolute value.
2223 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2224 (__ieee754_sinhl): Force underflow exception for arguments with
2225 small absolute value.
2226 * math/auto-libm-test-in: Add more tests of sinh.
2227 * math/auto-libm-test-out: Regenerated.
2228 * sysdeps/i386/fpu/libm-test-ulps: Update.
2229
2230 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2231
2232 * libio/oldfileops.c: Include unistd.h.
2233
2234 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2235
2236 * stdlib/isomac.c: Include ctype.h.
2237
2238 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2239
2240 * dirent/tst-seekdir.c (main): Converted to ...
2241 (do_test): ... this.
2242 (TEST_FUNCTION): New macro.
2243 Include test-skeleton.c.
2244 * elf/tst-dlmodcount.c (main): Converted to ...
2245 (do_test): ... this.
2246 (TEST_FUNCTION): New macro.
2247 Include test-skeleton.c.
2248 * elf/tst-order-main.c (main): Converted to ...
2249 (do_test): ... this.
2250 (TEST_FUNCTION): New macro.
2251 Include test-skeleton.c.
2252 * elf/tst-pie2.c (main): Converted to ...
2253 (do_test): ... this.
2254 (TEST_FUNCTION): New macro.
2255 Include test-skeleton.c.
2256 * inet/tst-ether_aton.c (main): Converted to ...
2257 (do_test): ... this.
2258 (TEST_FUNCTION): New macro.
2259 Include test-skeleton.c.
2260 * misc/tst-mntent.c (main): Converted to ...
2261 (do_test): ... this.
2262 (TEST_FUNCTION): New macro.
2263 Include test-skeleton.c.
2264 * misc/tst-tsearch.c (main): Converted to ...
2265 (do_test): ... this.
2266 (TEST_FUNCTION): New macro.
2267 Include test-skeleton.c.
2268 * posix/tst-regexloc.c (main): Converted to ...
2269 (do_test): ... this.
2270 (TEST_FUNCTION): New macro.
2271 Include test-skeleton.c.
2272 * resolv/tst-aton.c (main): Converted to ...
2273 (do_test): ... this.
2274 (TEST_FUNCTION): New macro.
2275 Include test-skeleton.c.
2276 * stdio-common/test-fwrite.c (main): Converted to ...
2277 (do_test): ... this.
2278 (TEST_FUNCTION): New macro.
2279 Include test-skeleton.c.
2280 * stdio-common/tst-ferror.c (main): Converted to ...
2281 (do_test): ... this.
2282 (TEST_FUNCTION): New macro.
2283 Include test-skeleton.c.
2284 * stdio-common/tst-printf.c (main): Converted to ...
2285 (do_test): ... this.
2286 (TEST_FUNCTION): New macro.
2287 Include test-skeleton.c.
2288 * stdio-common/tst-printfsz.c (main): Converted to ...
2289 (do_test): ... this.
2290 (TEST_FUNCTION): New macro.
2291 Include test-skeleton.c.
2292 * stdlib/tst-strtod.c (main): Converted to ...
2293 (do_test): ... this.
2294 (TEST_FUNCTION): New macro.
2295 Include test-skeleton.c.
2296 * string/tst-strlen.c (main): Converted to ...
2297 (do_test): ... this.
2298 (TEST_FUNCTION): New macro.
2299 Include test-skeleton.c.
2300 * string/tst-svc.c (main): Converted to ...
2301 (do_test): ... this.
2302 (TEST_FUNCTION): New macro.
2303 Include test-skeleton.c.
2304 * time/tst-strptime.c (main): Converted to ...
2305 (do_test): ... this.
2306 (TEST_FUNCTION): New macro.
2307 Include test-skeleton.c.
2308 * timezone/tst-timezone.c (main): Converted to ...
2309 (do_test): ... this.
2310 (TEST_FUNCTION): New macro.
2311 Include test-skeleton.c.
2312
2313 2015-08-05 Zack Weinberg <zackw@panix.com>
2314
2315 * misc/regexp.h: Update comments.
2316
2317 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2318
2319 [BZ #18635]
2320 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2321 before return label.
2322
2323 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2324
2325 [BZ #18661]
2326 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2327 when calling __errno_location.
2328 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2329 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2330
2331 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2332
2333 [BZ #18661]
2334 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2335 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2336 __gettimeofday.
2337
2338 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2339
2340 [BZ #18661]
2341 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2342 (__start_context): Don't use pop to restore %rdi so that stack
2343 is aligned to 16 bytes when calling __setcontext.
2344
2345 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2346
2347 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2348 only for libc.
2349 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2350
2351 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2352
2353 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2354 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2355 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2356
2357 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2358
2359 * string/memccpy.c (memccpy):
2360 Improve performance by using memchr/memcpy/__mempcpy.
2361
2362 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2363
2364 * string/strncpy.c (strncpy):
2365 Improve performance by using __strnlen/memcpy.
2366
2367 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2368
2369 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2370 Optimize to avoid an unnecessary FPCR read.
2371
2372 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2373
2374 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2375 Optimize to reduce FPCR/FPSR accesses.
2376
2377 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2378
2379 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2380 dead->data[category] != NULL.
2381
2382 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2383
2384 [BZ #18647]
2385 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2386 and |x| close to 1, use absolute value of x when computing log.
2387 * math/auto-libm-test-in: Add more tests of pow.
2388 * math/auto-libm-test-out: Regenerated.
2389
2390 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2391
2392 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2393 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2394 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2395
2396 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2397
2398 [BZ #18525]
2399 * locales/km_KH: Remove timezone definition.
2400 * locales/lo_LA: Likewise.
2401 * locales/my_MM: Likewise.
2402 * locales/nan_TW@latin: Likewise.
2403 * locales/th_TH: Likewise.
2404 * locales/uk_UA: Likewise.
2405
2406 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2407
2408 [BZ #18265]
2409 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2410 (wcsncat): Likewise.
2411 (wcscmp): Likewise.
2412 (wcsncmp): Likewise.
2413
2414 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2415
2416 * test-skeleton.c (usage): New function.
2417 (main): Call usage when opt is '?'.
2418
2419 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2420
2421 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2422 before first use.
2423
2424 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2425
2426 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2427 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2428 in there too.
2429
2430 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2431
2432 * version.h (RELEASE): Set to "development".
2433 (VERSION): Set to "2.22.90"
2434
2435 * version.h (RELEASE): Set to "stable".
2436 (VERSION): Set to "2.22"
2437 * include/features.h (__GLIBC_MINOR__): Set to 22.
2438
2439 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2440
2441 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2442 Restructure macro to avoid "value computed is not used" warning.
2443 (atomic_compare_and_exchange_val_acq): Likewise.
2444
2445 2015-08-04 Andreas Schwab <schwab@suse.de>
2446
2447 [BZ #18635]
2448 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2449 ret.
2450 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2451
2452 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2453
2454 * po/pl.po: Updated translation.
2455 * po/uk.po: Likewise.
2456 * po/fi.po: Likewise.
2457 * po/ko.po: Likewise.
2458 * po/ru.po: Likewise.
2459 * po/vi.po: Likewise.
2460
2461 2015-07-31 Zack Weinberg <zackw@panix.com>
2462
2463 [BZ #18681]
2464 * regexp.h: Add unconditional #warning stating that this header
2465 will be removed soon. Revise banner comment to match.
2466 (compile): Consistently use ERROR instead of RETURN to report
2467 errors (partial fix for bz#18681).
2468 * regexp.c: Don't include regexp.h. Remove some unnecessary
2469 declarations.
2470
2471 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2472
2473 * po/libc.pot: Regenerated.
2474
2475 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2476
2477 [BZ #18740]
2478 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2479 float-vlen4-arch-ext-cflags): Removed.
2480 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2481 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2482
2483 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2484
2485 [BZ #14113]
2486 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2487 aligned to __aligned__.
2488 (pthread_cond_t, pthread_rwlock_t): Likewise.
2489
2490 2015-07-30 Torvald Riegel <triegel@redhat.com>
2491
2492 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2493
2494 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2495
2496 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2497 (struct sigaction): Change sa_flags from a long to an int, and add
2498 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2499
2500 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2501
2502 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2503 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2504 sysdeps/generic/sysdep.h include.
2505 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2506 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2507 sysdeps/hppa/sysdep.h.
2508 (ENTRY, PSEUDO): Undefine before defining.
2509
2510 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2511
2512 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2513 from scratch to use INTERNAL_SYSCALL.
2514
2515 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2516
2517 [BZ #18078]
2518 * scripts/check-localplt.awk: Support alternate relocations.
2519 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2520 sections.
2521 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2522 malloc entries with + REL R_386_GLOB_DAT.
2523 * sysdeps/x86_64/localplt.data: New file.
2524
2525 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2526
2527 [BZ #18731]
2528 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2529 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2530 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2531
2532 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2533
2534 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2535
2536 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2537
2538 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2539 directly in terms of __sync_fetch_and_add and delete (int) cast.
2540
2541 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2542
2543 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2544 the -D_ASM_IA64_CURRENT_H flag.
2545
2546 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2547
2548 [BZ #18641]
2549 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2550
2551 2015-07-27 Andreas Schwab <schwab@suse.de>
2552
2553 * conform/conformtest.pl (checknamespace): Filter out string
2554 literals while tokenizing.
2555
2556 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2557
2558 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2559 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2560 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2561
2562 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2563
2564 * nptl/tst-join7mod.c: Add #include <string.h>.
2565
2566 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2567
2568 * sysdeps/nios2/libm-test-ulps: Update.
2569
2570 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2571
2572 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2573 Fix order of arguments to the rt_sigprocmask syscall.
2574 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2575 Likewise.
2576
2577 2015-07-24 Roland McGrath <roland@hack.frob.com>
2578
2579 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2580
2581 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2582
2583 [BZ #18457]
2584 * nptl/Makefile (tests): New test case tst-join7.
2585 (modules-names): New test case module tst-join7mod.
2586 * nptl/tst-join7.c: New file.
2587 * nptl/tst-join7mod.c: New file.
2588 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2589 all translation units in libc.so, libpthread.so and rtld.
2590
2591 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2592
2593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2594
2595 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2596
2597 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2598 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2599 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2600 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2601 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2602 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2603 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2604 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2605 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2606 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2607 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2608 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2609 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2610 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2611 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2612 implementation.
2613
2614 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2615
2616 [BZ #17711]
2617 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2618 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2619 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2620 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2621 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2622 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2623
2624 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2625
2626 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2627 instead of just saying load lock in the comments.
2628
2629 2015-07-23 Roland McGrath <roland@hack.frob.com>
2630
2631 * sysdeps/unix/Subdirs: Moved ...
2632 * sysdeps/posix/Subdirs: ... here.
2633 * login/pty.h (struct termios, struct winsize): Add forward decls.
2634 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2635 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2636 * sysdeps/arm/nacl/libc.abilist: Updated.
2637 * sysdeps/nacl/libutil.abilist: New file.
2638
2639 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2640 (SIGWINCH): New macro.
2641
2642 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2643 * sysdeps/arm/nacl/libc.abilist: Add it.
2644
2645 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2646
2647 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2648
2649 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2650
2651 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2652 Swap __glibc_reserved0 and sa_flags order.
2653
2654 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2655
2656 [BZ #18657]
2657 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2658 are pending TLS destructor calls.
2659 * include/link.h (struct link_map): Add concurrency note for
2660 L_TLS_DTOR_COUNT.
2661 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2662 Don't touch the link map flag. Atomically increment
2663 l_tls_dtor_count.
2664 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2665 Avoid taking the load lock and don't touch the link map flag.
2666 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2667 * stdlib/Makefile (tests): Use it.
2668 * stdlib/tst-tls-atexit.c (do_test): dlopen
2669 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2670 to allow tst-tls-atexit-nodelete test case to use it.
2671
2672 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2673
2674 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2675 to bits/types.h.
2676 (msgqnum_t): New typedef.
2677 (msglen_t): Likewise.
2678 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2679 and msg_qbytes type to msglen_t.
2680
2681 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2682
2683 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2684 pad0 to __glibc_reserved0.
2685 (struct stat64): Likewise.
2686
2687 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2688
2689 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2690 Change sa_flags from a long to an int and add __glibc_reserved0 before
2691 it for padding.
2692
2693 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2694
2695 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2696 anonymous by deleting "siginfo" name.
2697
2698 2015-07-21 Roland McGrath <roland@hack.frob.com>
2699
2700 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2701 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2702 rather than __nacl_irt_filename.
2703 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2704
2705 * NEWS: New item for arm-nacl port.
2706 * sysdeps/arm/nacl/libc.abilist: New file.
2707 * sysdeps/nacl/ld.abilist: New file.
2708 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2709 * sysdeps/nacl/libanl.abilist: New file.
2710 * sysdeps/nacl/libcrypt.abilist: New file.
2711 * sysdeps/nacl/libdl.abilist: New file.
2712 * sysdeps/nacl/libm.abilist: New file.
2713 * sysdeps/nacl/libpthread.abilist: New file.
2714 * sysdeps/nacl/libresolv.abilist: New file.
2715 * sysdeps/nacl/librt.abilist: New file.
2716
2717 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2718
2719 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2720 __startcontext to initialize the new context.
2721 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2722 up CFI directive to forbid further backtracing.
2723
2724 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2725
2726 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2727 reference.
2728 * charmaps/ANSI_X3.4-1968: Likewise.
2729 * charmaps/BS_4730: Likewise.
2730 * charmaps/BS_VIEWDATA: Likewise.
2731 * charmaps/CP1250: Likewise.
2732 * charmaps/CP1251: Likewise.
2733 * charmaps/CP1252: Likewise.
2734 * charmaps/CP1253: Likewise.
2735 * charmaps/CP1254: Likewise.
2736 * charmaps/CP1255: Likewise.
2737 * charmaps/CP1256: Likewise.
2738 * charmaps/CSN_369103: Likewise.
2739 * charmaps/EBCDIC-DK-NO: Likewise.
2740 * charmaps/GB_1988-80: Likewise.
2741 * charmaps/GREEK-CCITT: Likewise.
2742 * charmaps/GREEK7: Likewise.
2743 * charmaps/INIS-8: Likewise.
2744 * charmaps/ISIRI-3342: Likewise.
2745 * charmaps/ISO_2033-1983: Likewise.
2746 * charmaps/ISO_5427-EXT: Likewise.
2747 * locales/POSIX: Likewise.
2748 * locales/ar_SA: Likewise.
2749 * locales/be_BY: Likewise.
2750 * locales/be_BY@latin: Likewise.
2751 * locales/ca_ES: Likewise.
2752 * locales/cs_CZ: Likewise.
2753 * locales/da_DK: Likewise.
2754 * locales/de_BE: Likewise.
2755 * locales/de_CH: Likewise.
2756 * locales/de_LU: Likewise.
2757 * locales/en_AU: Likewise.
2758 * locales/en_BW: Likewise.
2759 * locales/en_CA: Likewise.
2760 * locales/en_DK: Likewise.
2761 * locales/en_GB: Likewise.
2762 * locales/en_IE: Likewise.
2763 * locales/en_NZ: Likewise.
2764 * locales/en_ZA: Likewise.
2765 * locales/en_ZW: Likewise.
2766 * locales/es_AR: Likewise.
2767 * locales/es_BO: Likewise.
2768 * locales/es_CL: Likewise.
2769 * locales/es_CO: Likewise.
2770 * locales/es_DO: Likewise.
2771 * locales/es_EC: Likewise.
2772 * locales/es_ES: Likewise.
2773 * locales/es_HN: Likewise.
2774 * locales/es_MX: Likewise.
2775 * locales/es_PA: Likewise.
2776 * locales/es_PE: Likewise.
2777 * locales/es_PY: Likewise.
2778 * locales/es_SV: Likewise.
2779 * locales/es_US: Likewise.
2780 * locales/es_UY: Likewise.
2781 * locales/es_VE: Likewise.
2782 * locales/et_EE: Likewise.
2783 * locales/fa_IR: Likewise.
2784 * locales/fo_FO: Likewise.
2785 * locales/fr_CA: Likewise.
2786 * locales/fr_CH: Likewise.
2787 * locales/gv_GB: Likewise.
2788 * locales/he_IL: Likewise.
2789 * locales/hr_HR: Likewise.
2790 * locales/id_ID: Likewise.
2791 * locales/is_IS: Likewise.
2792 * locales/it_CH: Likewise.
2793 * locales/iw_IL: Likewise.
2794 * locales/kl_GL: Likewise.
2795 * locales/ko_KR: Likewise.
2796 * locales/kw_GB: Likewise.
2797 * locales/lg_UG: Likewise.
2798 * locales/lt_LT: Likewise.
2799 * locales/lv_LV: Likewise.
2800 * locales/mi_NZ: Likewise.
2801 * locales/nhn_MX: Likewise.
2802 * locales/nl_BE: Likewise.
2803 * locales/pl_PL: Likewise.
2804 * locales/sk_SK: Likewise.
2805 * locales/sl_SI: Likewise.
2806 * locales/sv_FI: Likewise.
2807 * locales/tl_PH: Likewise.
2808 * locales/tr_TR: Likewise.
2809 * locales/vi_VN: Likewise.
2810
2811 2015-07-21 Khem Raj <raj.khem@gmail.com>
2812
2813 [BZ #17475]
2814 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2815 of tu_IN and bh_IN.
2816
2817 2015-07-21 Mike Frysinger <vapier@gentoo.org>
2818
2819 [BZ #18694]
2820 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2821 bits/wordsize.h.
2822 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2823
2824 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2825
2826 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2827 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2828 (spawn_thread): New function.
2829 (load): Rename to reg_dtor_and_close. Move dlopen to...
2830 (do_test): ... here. Use IS_LOADED to test for its
2831 availability.
2832
2833 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
2834
2835 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2836
2837 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
2838
2839 [BZ #18696]
2840 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2841 si_addr_bnd.
2842 (si_lower): New.
2843 (si_upper): Likewise.
2844
2845 2015-07-16 David S. Miller <davem@davemloft.net>
2846
2847 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2848
2849 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2850
2851 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2852 buffer.
2853 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2854 fail output information.
2855
2856 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2857
2858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2859 and strstr-ppc64..
2860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2861 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2862 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2863 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2864 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2865
2866 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2867
2868 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2869 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2870 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2871 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2872
2873 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2874
2875 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2876 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2877 rtld_hidden_proto.
2878 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2879
2880 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2881
2882 * tst-nodelete-opened.c (do_test): Add comment to clarify how
2883 the test can fail.
2884
2885 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2886
2887 [BZ #18676]
2888 * elf/tst-nodelete-opened.c: New test case.
2889 * elf/tst-nodelete-opened-lib.c: New test case module.
2890 * elf/Makefile (tests, modules-names): Use them.
2891 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2892 early.
2893
2894 2015-07-15 David S. Miller <davem@davemloft.net>
2895
2896 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2897 futex-intenal.h
2898 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2899 * sysdeps/sparc/sparc64/Makefile: Likewise.
2900 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2901 Remove space from macro define.
2902 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2903
2904 2015-07-15 Pravin Satpute <psatpute@redhat.com>
2905
2906 [BZ #17475]
2907 * locale/iso-639.def: Update Bhili and Tulu language codes as
2908 per iso639-3.
2909
2910 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
2911
2912 * elf/tst-leaks1.c (main): Converted to ...
2913 (do_test): ... this.
2914 (TEST_FUNCTION): New macro.
2915 Include test-skeleton.c.
2916 * localedata/tst-langinfo.c (main): Converted to ...
2917 (do_test): ... this.
2918 (TEST_FUNCTION): New macro.
2919 Include test-skeleton.c.
2920 * math/test-fpucw.c (main): Converted to ...
2921 (do_test): ... this.
2922 (TEST_FUNCTION): New macro.
2923 Include test-skeleton.c.
2924 * math/test-tgmath.c (main): Converted to ...
2925 (do_test): ... this.
2926 (TEST_FUNCTION): New macro.
2927 Include test-skeleton.c.
2928 * math/test-tgmath2.c (main): Converted to ...
2929 (do_test): ... this.
2930 (TEST_FUNCTION): New macro.
2931 Include test-skeleton.c.
2932 * setjmp/tst-setjmp.c (main): Converted to ...
2933 (do_test): ... this.
2934 (TEST_FUNCTION): New macro.
2935 Include test-skeleton.c.
2936 * stdio-common/tst-sscanf.c (main): Converted to ...
2937 (do_test): ... this.
2938 (TEST_FUNCTION): New macro.
2939 Include test-skeleton.c.
2940 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2941 (do_test): ... this.
2942 (TEST_FUNCTION): New macro.
2943 Include test-skeleton.c.
2944
2945 * elf/tst-audit9.c (main): Converted to ...
2946 (do_test): ... this.
2947 (TEST_FUNCTION): New macro.
2948 Include test-skeleton.c.
2949
2950 2015-07-15 Mike Frysinger <vapier@gentoo.org>
2951
2952 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2953
2954 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2955
2956 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2957 New variable.
2958
2959 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2960
2961 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2962
2963 2015-07-14 Roland McGrath <roland@hack.frob.com>
2964
2965 * sysdeps/generic/dl-fileid.h: New file.
2966 * sysdeps/posix/dl-fileid.h: New file.
2967 * sysdeps/nacl/dl-fileid.h: New file.
2968 * include/link.h: Include <dl-fileid.h>.
2969 (struct link_map): Replace l_dev and l_ino with l_file_id.
2970 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2971 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
2972 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
2973
2974 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2975
2976 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2977
2978 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2979
2980 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2981 Add iff $CXX is set.
2982 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2983 Likewise.
2984 (tst-nodelete-zmodiff): Likewise.
2985 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2986
2987 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2988
2989 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2990
2991 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2992
2993 * sysdeps/aarch64/fpu/math_private.h
2994 (define math_opt_barrier): Add AArch64 version.
2995 (math_force_eval): Likewise.
2996
2997 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2998
2999 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3000
3001 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3002
3003 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3004 %ld with %jd and cast to intmax_t.
3005 (do_test_length_zero): Likewise.
3006
3007 2015-07-10 Roland McGrath <roland@hack.frob.com>
3008
3009 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3010
3011 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3012
3013 * sysdeps/tile/libm-test-ulps: Regenerated.
3014
3015 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3016 Comment out the whole function, not just its body.
3017
3018 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3019
3020 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3021 locks.
3022
3023 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3024
3025 2015-07-10 Torvald Riegel <triegel@redhat.com>
3026
3027 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3028 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3029
3030 2015-07-10 Torvald Riegel <triegel@redhat.com>
3031
3032 * sysdeps/nptl/futex-internal.h: New file.
3033 * sysdeps/nacl/futex-internal.h: New file.
3034 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3035 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3036 error checking.
3037 (setxid_unmark_thread): Likewise.
3038 (__nptl_setxid): Likewise.
3039 (__wait_lookup_done): Likewise.
3040 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3041 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3042 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3043 * nptl/pthread_once.c (clear_once_control): Likewise.
3044 (__pthread_once_slow): Likewise.
3045 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3046 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3047 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3048 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3049 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3050 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3051 Likewise.
3052 (__pthread_rwlock_rdlock): Likewise.
3053 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3054 Likewise.
3055 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3056 Likewise.
3057 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3058 Likewise.
3059 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3060 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3061 Likewise.
3062 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3063 __ASSUME_PRIVATE_FUTEX check.
3064 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3065 Check that shared futexes are supported.
3066 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3067 wrappers with error checking.
3068 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3069 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3070 * nptl/pthread_barrierattr_setpshared.c
3071 (pthread_barrierattr_setpshared): Check that shared futexes are
3072 supported.
3073 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3074 Likewise.
3075 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3076 Likewise.
3077 * nptl/sem_init.c (futex_private_if_supported): Remove.
3078 (__new_sem_init): Adapt and check that shared futexes are supported.
3079 * nptl/sem_open.c (sem_open): Likewise.
3080 * nptl/sem_post.c (futex_wake): Remove.
3081 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3082 (do_futex_wait): Use futex wrappers with error checking.
3083 * nptl/sem_wait.c: Include lowlevellock.h.
3084 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3085 Use futex_supports_pshared.
3086 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3087 Use futex wrappers with error checking.
3088 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3089 Likewise.
3090 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3091 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3092 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3093 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3094 (futex_wake): Likewise.
3095 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3096 (do_futex_wait): Use futex wrappers with error checking.
3097 (__new_sem_wait_slow): Update EINTR handling.
3098 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3099
3100 2015-07-09 Martin Sebor <msebor@redhat.com>
3101
3102 [BZ #18435]
3103 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3104 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3105 * nptl/Makefile (test-xfail-tst-once5): Define.
3106
3107 2015-07-09 Roland McGrath <roland@hack.frob.com>
3108
3109 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3110 * elf/dl-minimal.c: For readability, reorder some definitions and
3111 introduce more page breaks. Include <stdio.h>.
3112 (__libc_fatal): New function.
3113
3114 * include/unistd.h: Add rtld_hidden_proto for _exit.
3115 * posix/_exit.c: Add rtld_hidden_def.
3116 * sysdeps/mach/hurd/_exit.c: Likewise.
3117 * sysdeps/nacl/_exit.c: Likewise.
3118 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3119 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3120
3121 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3122
3123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3124 bndmov encoding with zero displacement.
3125
3126 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3127 H.J. Lu <hongjiu.lu@intel.com>
3128
3129 [BZ #18134]
3130 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3131 * sysdeps/i386/configure: Regenerated.
3132 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3133 (_dl_runtime_profile): Save and restore Intel MPX return bound
3134 registers when calling _dl_call_pltexit. Add
3135 PRESERVE_BND_REGS_PREFIX before return.
3136 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3137 (LRV_BND1_OFFSET): Likewise.
3138 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3139 lrv_bnd1.
3140 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3141 typo in bndmov encoding.
3142 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3143 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3144 branch instructions to preserve bounds.
3145
3146 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3147
3148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3149 [GLIBC_2.22]: Add fmemopen.
3150
3151 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3152
3153 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3154 returns an error, also try to use host port from __mach_host_self for
3155 the __vm_wire call.
3156 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3157
3158 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3159
3160 [BZ #18400]
3161 [BZ #18648]
3162 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3163 Fix pr_uid and pr_gid members.
3164 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3165 definition to elf_greg_t.
3166
3167 2015-07-08 Roland McGrath <roland@hack.frob.com>
3168
3169 [BZ #18383]
3170 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3171 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3172 * sysdeps/arm/configure: Regenerated.
3173 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3174 (test-xfail-tst-tlsalign-static): Variable removed.
3175
3176 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3177 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3178 rather than explicit 'ln -s'.
3179
3180 * resolv/rpc/netdb.h: New file.
3181 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3182
3183 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3184
3185 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3186 length buffers.
3187 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3188 test-skeleton.c.
3189
3190 [BZ #6544]
3191 [BZ #11216]
3192 [BZ #12836]
3193 [BZ #13151]
3194 [BZ #13152]
3195 [BZ #14292]
3196 * include/stdio.h (fmemopen): Remove hidden prototype.
3197 (__fmemopen): Add new hidden prototype.
3198 * libio/Makefile: Add oldfmemopen object.
3199 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3200 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3201 compliance.
3202 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3203 symbol compatibility.
3204 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3205 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3206 fmemopen.
3207 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3208 on append and read mode.
3209 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3210 fmemopen.
3211 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3212 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3213 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3214 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3215 Likewise.
3216 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3217 [GLIBC_2.22]: Likewise.
3218 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3219 Likewise.
3220 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3221 Likewise.
3222 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3223 [GLIBC_2.22]: Likewise.
3224 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3225 [GLIBC_2.22]: Likewise.
3226 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3227 [GLIBC_2.22]: Likewise.
3228 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3229 [GLIBC_2.22]: Likewise.
3230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3231 [GLIBC_2.22]: Likewise.
3232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3233 [GLIBC_2.22]: Likewise.
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3235 [GLIBC_2.22]: Likewise.
3236 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3237 Likewise.
3238 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3239 Likewise.
3240 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3242 [GLIBC_2.22]: Likewise.
3243 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3244 [GLIBC_2.22]: Likewise.
3245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3246 [GLIBC_2.22]: Likewise.
3247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3248 [GLIBC_2.22]: Likewise.
3249 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3250 Likewise.
3251 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3252 Likewise.
3253 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3254 Likewise.
3255 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3256 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3257
3258 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3259
3260 [BZ #18643]
3261 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3262 IPV6_PATHMTU, and IPV6_DONTFRAG.
3263
3264 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3265
3266 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3267 and _IO_UNBUFFERED.
3268 * libio/oldfileops.c: Likewise.
3269 * libio/wfileops.c: Likewise.
3270
3271 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3272
3273 * nscd/selinux.c: Delete selinux/flask.h include.
3274
3275 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3276
3277 [BZ #18641]
3278 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3279 (putpwent): Likewise.
3280 (getpwnam): Likewise.
3281 (getpwent_r): Likewise.
3282 (getpwuid_r): Likewise.
3283 (getpwnam_r): Likewise.
3284 (fgetpwent_r): Likewise.
3285
3286 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3287
3288 [BZ #18557]
3289 * inet/rcmd.c (__validuser2_sa): Check user first to
3290 short-circuit host check.
3291
3292 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3293 Mikhail Ilin <m.ilin@samsung.com>
3294
3295 [BZ #17833]
3296 * elf/Makefile (tests): Add tst-nodelete.
3297 (modules-names): Add tst-nodelete-uniquemod.
3298 (tst-nodelete-uniquemod.so-no-z-defs): New.
3299 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3300 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3301 ($(objpfx)tst-nodelete): Likewise.
3302 ($(objpfx)tst-nodelete.out): Likewise.
3303 (LDFLAGS-tst-nodelete): Likewise.
3304 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3305 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3306 implement forced object deletion.
3307 (_dl_close): Pass false to _dl_close_worker.
3308 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3309 * elf/tst-nodelete.cc: New file.
3310 * elf/tst-nodeletelib.cc: Likewise.
3311 * elf/tst-znodeletelib.cc: Likewise.
3312 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3313
3314 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3315
3316 [BZ #18508]
3317 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3318 Depend on $(libdl).
3319 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3320 is not called infinitely times.
3321 (backtrace_helper): New function.
3322 (trace_arg): New struct.
3323 (st1): Enlarge stack size.
3324 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3325 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3326 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3327 Likewise.
3328
3329 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3330
3331 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3332
3333 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3334
3335 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3336 Include sys/types.h instead of bits/types.h.
3337 Remove inclusion of bits/wordsize.h.
3338
3339 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3340
3341 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3342 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3343 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3344 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3345 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3346 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3347
3348 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3351 link-defines.sym.
3352 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3353 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3354 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3355 and LR_SIZE.
3356 * sysdeps/i386/link-defines.sym: New file.
3357
3358 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3359
3360 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3361 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3362 ($(objpfx)tst-audit3): New rule.
3363 ($(objpfx)tst-audit3.out): Likewise.
3364 * sysdeps/i386/tst-audit3.c: New file.
3365 * sysdeps/i386/tst-audit3.h: Likewise.
3366 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3367 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3368
3369 2015-07-07 Torvald Riegel <triegel@redhat.com>
3370
3371 [BZ #18633]
3372 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3373 pointer in C code.
3374 (__strcat_c): Likewise.
3375 (__strcat_g): Likewise.
3376
3377 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3378
3379 [BZ #18592]
3380 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3381
3382 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3383
3384 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3385 New function. (__ieee754_sqrtf): New function.
3386 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3387 New function.
3388 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3389 New function.
3390
3391 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3392
3393 * sysdeps/ieee754/support.c: Remove unused file.
3394
3395 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3396
3397 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3398 registers instead of d ones so the layout is kernel abi compatible.
3399 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3400 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3401 Likewise.
3402
3403 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3404
3405 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3406
3407 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3408
3409 [BZ #18619]
3410 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3411 and return argument in case of subnormal argument.
3412
3413 2015-07-01 Martin Sebor <msebor@redhat.com>
3414
3415 [BZ #18435]
3416 * nptl/Makefile: Add tst-once5.cc.
3417 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3418 Remove macro redefinitions.
3419 * nptl/tst-once5.cc: New test.
3420
3421 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3422
3423 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3424
3425 * sysdeps/arm/libm-test-ulps: Regenerated.
3426
3427 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3428 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3429
3430 2015-06-30 Torvald Riegel <triegel@redhat.com>
3431
3432 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3433 lll_lock_wait_private and lll_futex_wake probes.
3434
3435 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3436 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3437 Likewise.
3438 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3439 atomic_spin_nop.
3440 * sysdeps/x86_64/bits/atomic.h: Likewise.
3441 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3442 to atomic_spin_nop and move ...
3443 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3444 ... here and ...
3445 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3446 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3447 atomic_spin_nop instead of BUSY_WAIT_NOP.
3448 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3449 Likewise.
3450 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3451 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3452 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3453 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3454 instead of atomic_delay.
3455
3456 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3457
3458 [BZ #18613]
3459 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3460 X_ADJ not X when adjusting exponent.
3461 (__ieee754_gamma_r): Do intermediate computations in
3462 round-to-nearest then adjust overflowing and underflowing results
3463 as needed.
3464 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3465 of X_ADJ not X when adjusting exponent.
3466 (__ieee754_gammaf_r): Do intermediate computations in
3467 round-to-nearest then adjust overflowing and underflowing results
3468 as needed.
3469 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3470 log of X_ADJ not X when adjusting exponent.
3471 (__ieee754_gammal_r): Do intermediate computations in
3472 round-to-nearest then adjust overflowing and underflowing results
3473 as needed. Use 1.0L not 1.0f as numerator of division.
3474 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3475 log of X_ADJ not X when adjusting exponent.
3476 (__ieee754_gammal_r): Do intermediate computations in
3477 round-to-nearest then adjust overflowing and underflowing results
3478 as needed. Use 1.0L not 1.0f as numerator of division.
3479 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3480 of X_ADJ not X when adjusting exponent.
3481 (__ieee754_gammal_r): Do intermediate computations in
3482 round-to-nearest then adjust overflowing and underflowing results
3483 as needed. Use 1.0L not 1.0f as numerator of division.
3484 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3485 to auto-libm-test-in.
3486 (tgamma_test): Use ALL_RM_TEST.
3487 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3488 tests of tgamma with spurious-overflow.
3489 * math/auto-libm-test-out: Regenerated.
3490 * math/gen-libm-have-vector-test.sh: Do not check for START.
3491 * sysdeps/i386/fpu/libm-test-ulps: Update.
3492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3493
3494 [BZ #18612]
3495 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3496 arguments, just return 0.5 times the argument, with underflow
3497 forced as needed.
3498 * math/auto-libm-test-in: Add more tests of j1.
3499 * math/auto-libm-test-out: Regenerated.
3500
3501 [BZ #16559]
3502 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3503 (__ieee754_j1): Force underflow exception for small results.
3504 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3505 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3506 (__ieee754_j1f): Force underflow exception for small results.
3507 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3508 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3510 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3511 (__ieee754_j1l): Force underflow exception for small results.
3512 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3513 * math/auto-libm-test-in: Add more tests of j1 and jn.
3514 * math/auto-libm-test-out: Regenerated.
3515
3516 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3517 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3518 (PF_MPLS): Likewise.
3519 (AF_IB): Likewise.
3520 (AF_MPLS): Likewise.
3521 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3522 value and macro.
3523 (MS_RMT_MASK): Include MS_LAZYTIME.
3524
3525 2015-06-26 Mel Gorman <mgorman@suse.de>
3526
3527 [BZ #18502]
3528 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3529 already minimal.
3530
3531 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3532
3533 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3534 (DT_MIPS_NUM): Update.
3535 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3536 DT_MIPS_RLD_MAP_REL.
3537
3538 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3539
3540 [BZ #16559]
3541 [BZ #18602]
3542 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3543 round-to-nearest internally then recompute results that
3544 underflowed to zero in the original rounding mode.
3545 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3546 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3547 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3548 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3549 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3550 * sysdeps/i386/fpu/libm-test-ulps: Update.
3551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3552
3553 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3554
3555 * NEWS: Fixed description of link with vector math library.
3556
3557 2015-06-25 Andreas Schwab <schwab@suse.de>
3558
3559 [BZ #18549]
3560 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3561 * libio/test-fmemopen.c (do_test): Add test for it.
3562
3563 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3564
3565 [BZ #17841]
3566 * Makeconfig (no-pie-ldflag): New.
3567 (+link): Set to $(+link-pie) if default to PIE.
3568 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3569 * config.make.in (build-pie-default): New.
3570 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3571 is default. AC_SUBST.
3572 * configure: Regenerated.
3573 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3574
3575 2015-06-24 Roland McGrath <roland@hack.frob.com>
3576
3577 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3578 to 'unsigned int'.
3579
3580 * resolv/gai_misc.h (struct waitlist): Change type of field
3581 counterp to 'volatile unsigned int *'.
3582 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3583 FUTEXADDR and OLDVAL.
3584 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3585 Give local variable TOTAL type 'volatile unsigned int'.
3586 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3587 * resolv/gai_suspend.c (gai_suspend):
3588 Give local variable CNTR type 'unsigned int'.
3589
3590 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3591 counterp to 'volatile unsigned int *'.
3592 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3593 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3594 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3595 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3596 Give local variable TOTAL type 'volatile unsigned int'.
3597 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3598
3599 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3600
3601 [BZ #18383]
3602 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3603 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3604 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3605 comment for i386/x86-64.
3606 (test-xfail-tst-tlsalign-extern-static): Removed.
3607
3608 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3609
3610 * math/test-double.h: New file.
3611 * math/test-float.h: Likewise.
3612 * math/test-ldouble.h: Likewise.
3613 * math/test-math-inline.h: Likewise.
3614 * math/test-math-no-inline.h: Likewise.
3615 * math/test-math-scalar.h: Likewise.
3616 * math/test-math-vector.h: Likewise.
3617 * math/test-vec-loop.h: Remove file. Contents moved into
3618 test-math-vector.h.
3619 * math/libm-test.inc (MATHCONST): Do not document macro.
3620 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3621 and test-math-scalar.h.
3622 (FUNC): Remove macro.
3623 (FUNC_TEST): Likewise.
3624 (FLOAT): Likewise.
3625 (MATHCONST): Likewise.
3626 (PRINTF_EXPR): Likewise.
3627 (PRINTF_XEXPR): Likewise.
3628 (PRINTF_NEXPR): Likewise.
3629 (TEST_DOUBLE): Likewise.
3630 (TEST_MATHVEC): Likewise.
3631 (__NO_MATH_INLINES): Likewise.
3632 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3633 and test-math-scalar.h.
3634 (FUNC): Remove macro.
3635 (FUNC_TEST): Likewise.
3636 (FLOAT): Likewise.
3637 (MATHCONST): Likewise.
3638 (PRINTF_EXPR): Likewise.
3639 (PRINTF_XEXPR): Likewise.
3640 (PRINTF_NEXPR): Likewise.
3641 (TEST_FLOAT): Likewise.
3642 (TEST_MATHVEC): Likewise.
3643 (__NO_MATH_INLINES): Likewise.
3644 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3645 and test-math-scalar.h.
3646 (FUNC): Remove macro.
3647 (FUNC_TEST): Likewise.
3648 (FLOAT): Likewise.
3649 (MATHCONST): Likewise.
3650 (PRINTF_EXPR): Likewise.
3651 (PRINTF_XEXPR): Likewise.
3652 (PRINTF_NEXPR): Likewise.
3653 (TEST_DOUBLE): Likewise.
3654 (TEST_MATHVEC): Likewise.
3655 (TEST_INLINE): Likewise.
3656 (__NO_MATH_INLINES): Likewise.
3657 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3658 test-math-scalar.h.
3659 (FUNC): Remove macro.
3660 (FUNC_TEST): Likewise.
3661 (FLOAT): Likewise.
3662 (MATHCONST): Likewise.
3663 (PRINTF_EXPR): Likewise.
3664 (PRINTF_XEXPR): Likewise.
3665 (PRINTF_NEXPR): Likewise.
3666 (TEST_FLOAT): Likewise.
3667 (TEST_MATHVEC): Likewise.
3668 (TEST_INLINE): Likewise.
3669 (__NO_MATH_INLINES): Likewise.
3670 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3671 and test-math-scalar.h.
3672 (FUNC): Remove macro.
3673 (FUNC_TEST): Likewise.
3674 (FLOAT): Likewise.
3675 (MATHCONST): Likewise.
3676 (PRINTF_EXPR): Likewise.
3677 (PRINTF_XEXPR): Likewise.
3678 (PRINTF_NEXPR): Likewise.
3679 (TEST_LDOUBLE): Likewise.
3680 (TEST_MATHVEC): Likewise.
3681 (TEST_INLINE): Likewise.
3682 (__NO_MATH_INLINES): Likewise.
3683 * math/test-ldouble.c: Include test-ldouble.h,
3684 test-math-no-inline.h and test-math-scalar.h.
3685 (FUNC): Remove macro.
3686 (FUNC_TEST): Likewise.
3687 (FLOAT): Likewise.
3688 (MATHCONST): Likewise.
3689 (PRINTF_EXPR): Likewise.
3690 (PRINTF_XEXPR): Likewise.
3691 (PRINTF_NEXPR): Likewise.
3692 (TEST_LDOUBLE): Likewise.
3693 (TEST_MATHVEC): Likewise.
3694 (__NO_MATH_INLINES): Likewise.
3695 * math/test-double-vlen2.h: Include test-double.h,
3696 test-math-no-inline.h and test-math-vector.h.
3697 (FLOAT): Remove macro.
3698 (FUNC): Likewise.
3699 (MATHCONST): Likewise.
3700 (PRINTF_EXPR): Likewise.
3701 (PRINTF_XEXPR): Likewise.
3702 (PRINTF_NEXPR): Likewise.
3703 (TEST_DOUBLE): Likewise.
3704 (TEST_MATHVEC): Likewise.
3705 (__NO_MATH_INLINES): Likewise.
3706 (CNCT): Likewise.
3707 (CONCAT): Likewise.
3708 (WRAPPER_NAME): Likewise.
3709 (WRAPPER_DECL): Likewise.
3710 (WRAPPER_DECL_ff): Likewise.
3711 (WRAPPER_DECL_fFF): Likewise.
3712 (VECTOR_WRAPPER): Likewise.
3713 (VECTOR_WRAPPER_ff): Likewise.
3714 (VECTOR_WRAPPER_fFF): Likewise.
3715 (VEC_LEN): New macro.
3716 * math/test-double-vlen4.h: Include test-double.h,
3717 test-math-no-inline.h and test-math-vector.h.
3718 (FLOAT): Remove macro.
3719 (FUNC): Likewise.
3720 (MATHCONST): Likewise.
3721 (PRINTF_EXPR): Likewise.
3722 (PRINTF_XEXPR): Likewise.
3723 (PRINTF_NEXPR): Likewise.
3724 (TEST_DOUBLE): Likewise.
3725 (TEST_MATHVEC): Likewise.
3726 (__NO_MATH_INLINES): Likewise.
3727 (CNCT): Likewise.
3728 (CONCAT): Likewise.
3729 (WRAPPER_NAME): Likewise.
3730 (WRAPPER_DECL): Likewise.
3731 (WRAPPER_DECL_ff): Likewise.
3732 (WRAPPER_DECL_fFF): Likewise.
3733 (VECTOR_WRAPPER): Likewise.
3734 (VECTOR_WRAPPER_ff): Likewise.
3735 (VECTOR_WRAPPER_fFF): Likewise.
3736 (VEC_LEN): New macro.
3737 * math/test-double-vlen8.h: Include test-double.h,
3738 test-math-no-inline.h and test-math-vector.h.
3739 (FLOAT): Remove macro.
3740 (FUNC): Likewise.
3741 (MATHCONST): Likewise.
3742 (PRINTF_EXPR): Likewise.
3743 (PRINTF_XEXPR): Likewise.
3744 (PRINTF_NEXPR): Likewise.
3745 (TEST_DOUBLE): Likewise.
3746 (TEST_MATHVEC): Likewise.
3747 (__NO_MATH_INLINES): Likewise.
3748 (CNCT): Likewise.
3749 (CONCAT): Likewise.
3750 (WRAPPER_NAME): Likewise.
3751 (WRAPPER_DECL): Likewise.
3752 (WRAPPER_DECL_ff): Likewise.
3753 (WRAPPER_DECL_fFF): Likewise.
3754 (VECTOR_WRAPPER): Likewise.
3755 (VECTOR_WRAPPER_ff): Likewise.
3756 (VECTOR_WRAPPER_fFF): Likewise.
3757 (VEC_LEN): New macro.
3758 * math/test-float-vlen4.h: Include test-float.h,
3759 test-math-no-inline.h and test-math-vector.h.
3760 (FLOAT): Remove macro.
3761 (FUNC): Likewise.
3762 (MATHCONST): Likewise.
3763 (PRINTF_EXPR): Likewise.
3764 (PRINTF_XEXPR): Likewise.
3765 (PRINTF_NEXPR): Likewise.
3766 (TEST_FLOAT): Likewise.
3767 (TEST_MATHVEC): Likewise.
3768 (__NO_MATH_INLINES): Likewise.
3769 (CNCT): Likewise.
3770 (CONCAT): Likewise.
3771 (WRAPPER_NAME): Likewise.
3772 (WRAPPER_DECL): Likewise.
3773 (WRAPPER_DECL_ff): Likewise.
3774 (WRAPPER_DECL_fFF): Likewise.
3775 (VECTOR_WRAPPER): Likewise.
3776 (VECTOR_WRAPPER_ff): Likewise.
3777 (VECTOR_WRAPPER_fFF): Likewise.
3778 (VEC_LEN): New macro.
3779 * math/test-float-vlen8.h: Include test-float.h,
3780 test-math-no-inline.h and test-math-vector.h.
3781 (FLOAT): Remove macro.
3782 (FUNC): Likewise.
3783 (MATHCONST): Likewise.
3784 (PRINTF_EXPR): Likewise.
3785 (PRINTF_XEXPR): Likewise.
3786 (PRINTF_NEXPR): Likewise.
3787 (TEST_FLOAT): Likewise.
3788 (TEST_MATHVEC): Likewise.
3789 (__NO_MATH_INLINES): Likewise.
3790 (CNCT): Likewise.
3791 (CONCAT): Likewise.
3792 (WRAPPER_NAME): Likewise.
3793 (WRAPPER_DECL): Likewise.
3794 (WRAPPER_DECL_ff): Likewise.
3795 (WRAPPER_DECL_fFF): Likewise.
3796 (VECTOR_WRAPPER): Likewise.
3797 (VECTOR_WRAPPER_ff): Likewise.
3798 (VECTOR_WRAPPER_fFF): Likewise.
3799 (VEC_LEN): New macro.
3800 * math/test-float-vlen16.h: Include test-float.h,
3801 test-math-no-inline.h and test-math-vector.h.
3802 (FLOAT): Remove macro.
3803 (FUNC): Likewise.
3804 (MATHCONST): Likewise.
3805 (PRINTF_EXPR): Likewise.
3806 (PRINTF_XEXPR): Likewise.
3807 (PRINTF_NEXPR): Likewise.
3808 (TEST_FLOAT): Likewise.
3809 (TEST_MATHVEC): Likewise.
3810 (__NO_MATH_INLINES): Likewise.
3811 (CNCT): Likewise.
3812 (CONCAT): Likewise.
3813 (WRAPPER_NAME): Likewise.
3814 (WRAPPER_DECL): Likewise.
3815 (WRAPPER_DECL_ff): Likewise.
3816 (WRAPPER_DECL_fFF): Likewise.
3817 (VECTOR_WRAPPER): Likewise.
3818 (VECTOR_WRAPPER_ff): Likewise.
3819 (VECTOR_WRAPPER_fFF): Likewise.
3820 (VEC_LEN): New macro.
3821 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3822 test-vec-loop.h.
3823 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3824 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3825 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3826 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3827 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3828 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3829 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3830
3831 2015-06-24 Roland McGrath <roland@hack.frob.com>
3832
3833 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3834 (__getlogin_r): ... this.
3835
3836 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3837
3838 [BZ #18594]
3839 * math/s_ccosh.c (__ccosh): Compare with least normal value
3840 instead of comparing class with FP_SUBNORMAL.
3841 * math/s_ccoshf.c (__ccoshf): Likewise.
3842 * math/s_ccoshl.c (__ccoshl): Likewise.
3843 * math/s_cexp.c (__cexp): Likewise.
3844 * math/s_cexpf.c (__cexpf): Likewise.
3845 * math/s_cexpl.c (__cexpl): Likewise.
3846 * math/s_csin.c (__csin): Likewise.
3847 * math/s_csinf.c (__csinf): Likewise.
3848 * math/s_csinh.c (__csinh): Likewise.
3849 * math/s_csinhf.c (__csinhf): Likewise.
3850 * math/s_csinhl.c (__csinhl): Likewise.
3851 * math/s_csinl.c (__csinl): Likewise.
3852 * math/s_ctan.c (__ctan): Likewise.
3853 * math/s_ctanf.c (__ctanf): Likewise.
3854 * math/s_ctanh.c (__ctanh): Likewise.
3855 * math/s_ctanhf.c (__ctanhf): Likewise.
3856 * math/s_ctanhl.c (__ctanhl): Likewise.
3857 * math/s_ctanl.c (__ctanl): Likewise.
3858 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3859 csin, csinh, ctan and ctanh.
3860 * math/auto-libm-test-out: Regenerated.
3861 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3862 * sysdeps/i386/fpu/libm-test-ulps: Update.
3863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3864
3865 2015-06-24 Roland McGrath <roland@hack.frob.com>
3866
3867 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3868 return value is wrong, print the expected value too.
3869
3870 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 [BZ #18585]
3873 * elf/readlib.c (is_gdb_python_file): New.
3874 (process_file): Don't issue errors on filenames with -gdb.py
3875 suffix.
3876
3877 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3878
3879 * math/auto-libm-test-in: Add more tests of csin and csinh.
3880 * math/auto-libm-test-out: Regenerated.
3881 * math/libm-test.inc (csin_test_data): Remove tests moved to
3882 auto-libm-test-in.
3883 (csinh_test_data): Likewise.
3884
3885 [BZ #18593]
3886 * math/s_csin.c (__csin): Negate before rather than after possibly
3887 overflowing multiplication.
3888 * math/s_csinf.c (__csinf): Likewise.
3889 * math/s_csinh.c (__csinh): Likewise.
3890 * math/s_csinhf.c (__csinhf): Likewise.
3891 * math/s_csinhl.c (__csinhl): Likewise.
3892 * math/s_csinl.c (__csinl): Likewise.
3893 * math/auto-libm-test-in: Add some tests of csin and csinh.
3894 * math/auto-libm-test-out: Regenerated.
3895 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3896 (csinh_test_data): Likewise.
3897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3898
3899 [BZ #18586]
3900 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3901 underflow exception for small results.
3902
3903 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
3904
3905 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3906 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3907 variable and included header.
3908 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3909 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3910 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3911 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3912 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3913 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3914 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3915 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3916 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3917 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3918 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3919 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3920 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3921 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3922 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3923 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3924
3925 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3926
3927 [BZ #16526]
3928 [BZ #16538]
3929 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3930 (__sin): Force underflow exception for arguments with small
3931 absolute value.
3932 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3933 (__kernel_sinf): Force underflow exception for arguments with
3934 small absolute value.
3935 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3936 (__kernel_sincosl): Force underflow exception for arguments with
3937 small absolute value.
3938 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3939 (__kernel_sinl): Force underflow exception for arguments with
3940 small absolute value.
3941 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3942 (__kernel_sincosl): Force underflow exception for arguments with
3943 small absolute value.
3944 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3945 (__kernel_sinl): Force underflow exception for arguments with
3946 small absolute value.
3947 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3948 (__kernel_sinl): Force underflow exception for arguments with
3949 small absolute value.
3950 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3951 (__kernel_sinf): Force underflow exception for arguments with
3952 small absolute value.
3953 * math/auto-libm-test-in: Add more tests of sin and sincos.
3954 * math/auto-libm-test-out: Regenerated.
3955
3956 [BZ #18245]
3957 [BZ #18583]
3958 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3959 (__kernel_standard_l): Use feholdexcept and fesetenv around
3960 conversion to double instead of special-casing overflow and
3961 underflow.
3962 * math/libm-test.inc (fmod_test_data): Add more tests.
3963 (remainder_test_data): Likewise.
3964 (sqrt_test_data): Likewise.
3965
3966 2015-06-23 Torvald Riegel <triegel@redhat.com>
3967
3968 [BZ #17403]
3969 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3970 atomic_read_barrier, atomic_write_barrier): Define.
3971 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3972 atomic_read_barrier, atomic_write_barrier): Define.
3973
3974 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3975
3976 * math/Makefile [$(PERL) != no]
3977 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3978 dependency on libm-test.stmp below the inclusion of Rules.
3979
3980 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
3981
3982 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3983 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3984 and included header.
3985 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3986 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3987 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3988 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3989 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3991 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3993 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3994 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3995 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3996 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3997 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3998 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3999 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4000 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4001 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4002 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4003 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4004
4005 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4006
4007 [BZ #18371]
4008 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4009 intermediate but not final result might underflow.
4010 * math/s_csqrtf.c (__csqrtf): Likewise.
4011 * math/s_csqrtl.c (__csqrtl): Likewise.
4012 * math/auto-libm-test-in: Add more tests of csqrt.
4013 * math/auto-libm-test-out: Regenerated.
4014 * sysdeps/i386/fpu/libm-test-ulps: Update.
4015
4016 [BZ #18219]
4017 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4018 threshold on absolute value of exponent for which scaling is used.
4019 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4020 * math/auto-libm-test-in: Add more tests of exp2.
4021 * math/auto-libm-test-out: Regenerated.
4022
4023 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4024
4025 [BZ #17977]
4026 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4027 when initializing interface list, based on the bug analysis
4028 and the patch proposed by Eric Newton.
4029 * resolv/tst-res_hconf_reorder.c: New test.
4030 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4031 tst-res_hconf_reorder.
4032 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4033 and $(shared-thread-library).
4034 (tst-res_hconf_reorder-ENV): New variable.
4035
4036 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4037 in comment.
4038
4039 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4040
4041 [BZ #16353]
4042 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4043 (__expm1): Force underflow exception for arguments with small
4044 absolute value.
4045 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4046 (__expm1f): Force underflow exception for arguments with small
4047 absolute value.
4048 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4049 (__expm1): Force underflow exception for arguments with small
4050 absolute value.
4051 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4052 (__expm1f): Force underflow exception for arguments with small
4053 absolute value.
4054 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4055 Check for small arguments before calling __expm1.
4056 * math/auto-libm-test-in: Do not mark underflow exceptions as
4057 possibly missing for bug 16353.
4058 * math/auto-libm-test-out: Regenerated.
4059
4060 2015-06-22 Andreas Schwab <schwab@suse.de>
4061
4062 [BZ #18513]
4063 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4064 PTR queries.
4065
4066 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4067
4068 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4069
4070 * string/strcoll_l.c: Remove unused struct element idxnow.
4071
4072 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4073
4074 [BZ #18569]
4075 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4076 underflow and return argument in case of subnormal argument.
4077 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4078 Likewise.
4079 * math/auto-libm-test-in: Add more tests of expm1.
4080 * math/auto-libm-test-out: Regenerated.
4081
4082 [BZ #16361]
4083 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4084 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4085 tiny results.
4086 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4087 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4088 tiny results.
4089 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4090 mark underflow exceptions as possibly missing for bug 16361.
4091 * math/auto-libm-test-out: Regenerated.
4092
4093 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4094
4095 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4096 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4097 Remove variable.
4098 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4099 (test-xfail-XOPEN2K8/utmpx.h/conform).
4100
4101 * conform/conformtest.pl ($xerrors): New variable.
4102 (note_error): New function.
4103 (compiletest): New argument $xfail. Use not_error.
4104 (runtest): Likewise.
4105 (top level): Handle xfail- lines. Update calls to compiletest and
4106 runtest. Handle xfail- and optional- in headers listed with
4107 allow-header.
4108 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4109 (O_EXEC): Likewise.
4110 (O_SEARCH): Likewise.
4111 * conform/data/stropts.h-data (ioctl): Likewise.
4112 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4113 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4114 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4115 (msghdr.msg_controllen): Likewise.
4116 (cmsghdr.cmsg_len): Likewise.
4117 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4118 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4119 variable.
4120 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4121 (test-xfail-XPG4/stropts.h/conform): Likewise.
4122 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4123 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4124 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4125 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4126 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4127 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4128 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4129 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4130 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4131 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4132 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4133 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4134 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4135 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4136 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4137 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4138 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4139 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4140 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4141
4142 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4143
4144 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4145 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4146 definitions for proper unfolding of __MATHDECL_VEC.
4147
4148 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4149
4150 * benchtests/bench-strcoll.c:
4151 Include string.h.
4152 (main): Remove unused variable res.
4153
4154 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4155
4156 * timezone/Makefile (%/UTC %/Universal):
4157 Generate test-result files for UTC and Universal.
4158
4159 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4160
4161 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4162
4163 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4164
4165 [BZ #16350]
4166 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4167 for arguments with small absolute value.
4168 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4169 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4170 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4171 (__asinh): Force underflow exception for arguments with small
4172 absolute value.
4173 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4174 (__asinhf): Force underflow exception for arguments with small
4175 absolute value.
4176 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4177 (__asinhl): Force underflow exception for arguments with small
4178 absolute value.
4179 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4180 (__asinhl): Force underflow exception for arguments with small
4181 absolute value.
4182 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4183 (__asinhl): Force underflow exception for arguments with small
4184 absolute value.
4185 * math/auto-libm-test-in: Do not mark underflow exceptions as
4186 possibly missing for bug 16350.
4187 * math/auto-libm-test-out: Regenerated.
4188
4189 * include/bits/ipc.h: Remove file.
4190 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4191 variable.
4192 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4193 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4194 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4195 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4196 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4197 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4198 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4199 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4200 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4201
4202 * math/auto-libm-test-in: Remove spurious underflow allowance for
4203 tests of cexp.
4204 * math/auto-libm-test-out: Regenerated.
4205
4206 [BZ #18558]
4207 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4208 unconditional definition.
4209 (MCAST_BLOCK_SOURCE): Likewise.
4210 (MCAST_UNBLOCK_SOURCE): Likewise.
4211 (MCAST_LEAVE_GROUP): Likewise.
4212 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4213 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4214 (MCAST_MSFILTER): Likewise.
4215 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4216 Remove variable.
4217 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4218 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4219 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4220 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4221 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4222
4223 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4224
4225 * NEWS: Mention addition of x86_64 vector sincosf.
4226 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4227 * math/test-float-vlen4.h: Likewise.
4228 * math/test-float-vlen8.h: Likewise.
4229 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4230 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4231 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4232 * sysdeps/x86_64/fpu/Versions: New versions added.
4233 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4234 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4235 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4236 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4237 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4238 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4239 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4240 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4241 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4242 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4243 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4244 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4245 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4246 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4247 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4248 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4249 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4250 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4251 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4252 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4253 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4254 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4255 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4256 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4257
4258 * NEWS: Mention addition of x86_64 vector sincos.
4259 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4260 * math/math.h (__MATHDECL_VEC): New macro.
4261 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4262 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4263 declaration under condition.
4264 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4265 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4266 TEST_VEC_LOOP change.
4267 * math/test-double-vlen4.h: Likewise.
4268 * math/test-double-vlen8.h: Likewise.
4269 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4270 * math/test-float-vlen4.h: Likewise.
4271 * math/test-float-vlen8.h: Likewise.
4272 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4273 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4274 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4275 * sysdeps/x86_64/fpu/Versions: New versions added.
4276 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4277 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4278 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4279 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4281 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4282 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4283 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4284 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4285 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4286 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4287 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4288 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4289 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4290 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4291 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4292 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4293 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4294 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4295 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4296 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4297 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4298 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4299 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4300
4301 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4302 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4303 redirections for powf.
4304 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4305 * sysdeps/x86_64/fpu/Versions: New versions added.
4306 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4307 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4308 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4309 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4310 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4311 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4312 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4313 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4314 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4315 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4316 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4317 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4318 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4319 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4320 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4321 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4322 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4323 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4324 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4325 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4326 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4327 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4328 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4329 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4330 * math/test-float-vlen16.h: Fixed 2 argument macro.
4331 * math/test-float-vlen4.h: Likewise.
4332 * math/test-float-vlen8.h: Likewise.
4333 * NEWS: Mention addition of x86_64 vector powf.
4334
4335 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4336
4337 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4338 and redefine.
4339 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4340 and redefine.
4341 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4342 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4344
4345 [BZ #18553]
4346 * resource/getpriority.c (getpriority): Rename to __getpriority
4347 and define as weak alias of __getpriority.
4348 * resource/setpriority.c (setpriority): Rename to __setpriority
4349 and define as weak alias of __setpriority.
4350 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4351 __getpriority and define as weak alias of __getpriority.
4352 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4353 __setpriority and define as weak alias of __setpriority.
4354 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4355 strong name.
4356 (setpriority): Use __setpriority as strong name.
4357 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4358 __getpriority and define as weak alias of __getpriority.
4359 * include/sys/resource.h (__getpriority): Declare. Use
4360 libc_hidden_proto.
4361 (__setpriority): Likewise.
4362 (getpriority): Don't use libc_hidden_proto.
4363 (setpriority): Likewise.
4364 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4365 getpriority. Call __setpriority instead of setpriority.
4366 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4367 Remove variable.
4368
4369 [BZ #18547]
4370 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4371 as weak alias of __getttynam. Use prototype function definition.
4372 Call __setttyent, __getttyent and __endttyent instead of
4373 setttyent, getttyent and endttyent.
4374 (getttyent): Rename to __getttyent and define as weak alias of
4375 __getttyent. Call __setttyent instead of setttyent. Call
4376 __fgets_unlocked instead of fgets_unlocked.
4377 (setttyent): Rename to __setttyent and define as weak alias of
4378 __setttyent.
4379 (endttyent): Rename to __endttyent and define as weak alias of
4380 __endttyent.
4381 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4382 (__setttyent): Likewise.
4383 (__endttyent): Likewise.
4384 (getttyent): Don't use libc_hidden_proto.
4385 (setttyent): Likewise.
4386 (endttyent): Likewise.
4387 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4388 __endttyent instead of setttyent, getttyent and endttyent.
4389 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4390 Remove variable.
4391
4392 [BZ #18546]
4393 * socket/recv.c (__recv): Use libc_hidden_def.
4394 * socket/socket.c (__socket): Likewise.
4395 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4396 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4397 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4398 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4399 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4400 libc_hidden_def.
4401 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4402 libc_hidden_weak.
4403 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4404 Use libc_hidden_proto.
4405 (__recv): Likewise.
4406 * socket/Versions (libc): Export __recv and __socket at version
4407 GLIBC_PRIVATE.
4408 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4409 instead of recv.
4410 (init_mq_netlink): Call __socket instead of socket.
4411 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4412 Remove variable.
4413
4414 [BZ #18545]
4415 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4416 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4417 hidden_weak.
4418 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4419 define as alias of __mq_timedsend. Use hidden_weak.
4420 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4421 __mq_timedsend as strong name.
4422 (mq_timedreceive): Use __mq_timedreceive as strong name.
4423 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4424 (__mq_timedreceive): Likewise.
4425 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4426 __mq_timedreceive instead of mq_timedreceive.
4427 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4428 instead of mq_timedsend.
4429 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4430 Remove variable.
4431
4432 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4433 hidden_def and hidden_weak instead of libc_hidden_def and
4434 libc_hidden_weak.
4435 (top level): Refer to hidden_def in comment.
4436 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4437 macro. Use it instead of libc_hidden_def.
4438 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4439 specify __GI_* name explicitly.
4440 (mq_timedreceive): Likewise.
4441 (mq_setattr): Likewise.
4442
4443 [BZ #18544]
4444 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4445 __pthread_barrier_init and define as weak alias of
4446 __pthread_barrier_init.
4447 * sysdeps/sparc/nptl/pthread_barrier_init.c
4448 (pthread_barrier_init): Likewise.
4449 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4450 __pthread_barrier_wait and define as weak alias of
4451 __pthread_barrier_wait.
4452 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4453 (pthread_barrier_wait): Likewise.
4454 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4455 (pthread_barrier_wait): Likewise.
4456 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4457 (pthread_barrier_wait): Likewise.
4458 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4459 (pthread_barrier_wait): Likewise.
4460 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4461 __pthread_barrier_wait at version GLIBC_PRIVATE.
4462 * include/pthread.h (__pthread_barrier_init): Declare.
4463 (__pthread_barrier_wait): Likewise.
4464 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4465 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4466 (helper_thread): Likewise.
4467 (init_mq_netlink): Call __pthread_barrier_init instead of
4468 pthread_barrier_init.
4469
4470 [BZ #18542]
4471 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4472 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4473 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4474 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4475 vswscanf.
4476 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4477 Remove variable.
4478
4479 [BZ #18540]
4480 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4481 strong alias of _IO_fflush. Use libc_hidden_def.
4482 * libio/iofflush_u.c (fflush_unlocked): Rename to
4483 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4484 Use libc_hidden_weak.
4485 * include/stdio.h (__fflush_unlocked): Declare. Use
4486 libc_hidden_proto.
4487 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4488 fflush_unlocked.
4489 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4490 Remove variable.
4491
4492 [BZ #18539]
4493 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4494 define as weak alias of __addseverity.
4495 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4496 Remove variable.
4497 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4498 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4499 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4500
4501 [BZ #18536]
4502 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4503 (__tfind): Likewise.
4504 (__tdelete): Likewise.
4505 (__twalk): Likewise.
4506 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4507 __twalk to GLIBC_PRIVATE.
4508 * include/search.h (__tsearch): Use libc_hidden_proto.
4509 (__tfind): Likewise.
4510 (__tdelete): Likewise.
4511 (__twalk): Likewise.
4512 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4513 Call __tdelete instead of tdelete.
4514 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4515 tfind. Call __tsearch instead of tsearch.
4516 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4517 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4518 Remove variable.
4519 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4520
4521 [BZ #18534]
4522 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4523 (dprintf): Define as a weak alias of __dprintf, not a strong
4524 alias.
4525 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4526 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4527 dprintf.
4528 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4529 Remove variable.
4530 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4531 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4532
4533 [BZ #18533]
4534 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4535 not a strong alias.
4536 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4537 Remove variable.
4538
4539 [BZ #18532]
4540 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4541 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4542 (in6addr_loopback): Rename to __in6addr_loopback and define as
4543 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4544 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4545 libc_hidden_proto.
4546 (__in6addr_any): Likewise.
4547 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4548 in6addr_any.
4549 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4550 variable.
4551 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4552
4553 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4554
4555 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4556 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4557 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4558 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4559 redirections for pow.
4560 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4561 * sysdeps/x86_64/fpu/Versions: New versions added.
4562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4563 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4564 build of SSE, AVX2 and AVX512 IFUNC versions.
4565 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4566 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4567 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4568 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4569 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4570 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4571 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4572 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4573 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4574 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4575 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4576 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4577 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4578 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4579 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4580 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4581 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4582 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4583 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4584 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4585 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4586 * NEWS: Mention addition of x86_64 vector pow.
4587
4588 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4589 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4590 redirections for expf.
4591 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4592 * sysdeps/x86_64/fpu/Versions: New versions added.
4593 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4594 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4595 build of SSE, AVX2 and AVX512 IFUNC versions.
4596 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4597 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4598 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4599 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4600 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4601 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4602 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4603 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4604 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4605 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4606 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4607 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4608 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4609 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4610 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4611 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4612 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4613 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4614 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4615 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4616 * NEWS: Mention addition of x86_64 vector expf.
4617
4618 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4619 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4620 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4621 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4622 redirections for exp.
4623 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4624 * sysdeps/x86_64/fpu/Versions: New versions added.
4625 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4626 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4627 build of SSE, AVX2 and AVX512 IFUNC versions.
4628 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4629 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4630 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4631 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4632 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4633 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4634 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4635 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4636 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4637 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4638 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4639 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4640 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4641 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4642 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4643 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4644 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4645 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4646 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4647 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4648 * NEWS: Mention addition of x86_64 vector exp.
4649
4650 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4651 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4652 redirections for logf.
4653 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4654 * sysdeps/x86_64/fpu/Versions: New versions added.
4655 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4656 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4657 build of SSE, AVX2 and AVX512 IFUNC versions.
4658 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4659 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4660 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4661 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4662 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4663 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4664 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4665 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4666 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4667 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4668 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4669 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4670 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4671 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4672 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4673 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4674 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4675 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4676 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4677 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4678 * NEWS: Mention addition of x86_64 vector logf.
4679
4680 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4681 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4682 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4683 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4684 redirections for log.
4685 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4686 * sysdeps/x86_64/fpu/Versions: New versions added.
4687 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4688 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4689 build of SSE, AVX2 and AVX512 IFUNC versions.
4690 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4691 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4692 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4693 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4694 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4695 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4696 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4697 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4698 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4699 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4700 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4701 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4702 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4703 test.
4704 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4705 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4706 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4707 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4708 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4709 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4710 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4711 * NEWS: Mention addition of x86_64 vector log.
4712
4713 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4714
4715 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4716 cfi_adjust_cfa_offset argument.
4717 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4718 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4719
4720 [BZ #18034]
4721 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4722 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4723 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4724 ordering using ldar.
4725 (_dl_tlsdesc_dynamic): Likewise.
4726 (_dl_tlsdesc_return_lazy): Likewise.
4727 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4728 relaxed atomics instead of volatile and synchronize with release store.
4729 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4730 volatile.
4731 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4732
4733 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4734
4735 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4736 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4737 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4738 * sysdeps/x86_64/fpu/Versions: New versions added.
4739 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4740 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4741 build of SSE, AVX2 and AVX512 IFUNC versions.
4742 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4743 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4744 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4745 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4746 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4747 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4748 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4749 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4750 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4751 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4752 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4753 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4754 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4755 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4756 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4757 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4758 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4759 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4760 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4761 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4762 * NEWS: Mention addition of x86_64 vector sinf.
4763
4764 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4765
4766 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4767 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4768 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4769 Remove variable.
4770 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4771 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4772
4773 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4774
4775 [BZ #18530]
4776 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4777 strong alias of _IO_fputs. Use libc_hidden_def.
4778 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4779 and define as weak alias of __fputs_unlocked. Use
4780 libc_hidden_weak.
4781 * include/stdio.h (__fputs_unlocked): Declare. Use
4782 libc_hidden_proto.
4783 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4784 fputs_unlocked.
4785
4786 [BZ #18529]
4787 * resolv/netdb.h [__USE_POSIX]: Change condition to
4788 [__USE_XOPEN2K].
4789 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4790 not expect.
4791 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4792 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4793 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4794 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4795 [XPG4 || UNIX98] (AI_ALL): Likewise.
4796 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4797 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4798 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4799 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4800 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4801 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4802 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4803 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4804 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4805 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4806 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4807 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4808 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4809 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4810 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4811 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4812 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4813 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4814 [XPG4 || UNIX98] (gai_strerror): Likewise.
4815 [XPG4 || UNIX98] (getaddrinfo): Likewise.
4816 [XPG4 || UNIX98] (getnameinfo): Likewise.
4817
4818 [BZ #18528]
4819 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4820 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4821 __USE_XOPEN2K8].
4822 (getgrent): Likewise.
4823 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4824 expect.
4825 [XPG3 || POSIX2008] (endgrent): Likewise.
4826 [XPG3] (setgrent): Likewise.
4827 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4828 variable.
4829 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4830
4831 [BZ #18527]
4832 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4833 define as weak alias of __getlogin_r. Use libc_hidden_weak.
4834 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4835 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4836 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4837 * include/unistd.h (__getlogin_r): Declare. Use
4838 libc_hidden_proto.
4839 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4840 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4841 variable.
4842 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4843 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4844 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4845
4846 2015-06-12 Martin Sebor <msebor@redhat.com>
4847
4848 [BZ #18512]
4849 * Makerules (check-install-supported): New target.
4850 (install): Add check-install-supported as a dependency.
4851 * manual/install.texi (Installing the C Library): Document
4852 that overriding prefix and exec_prefix is not supported.
4853 Mention DESTDIR.
4854 * INSTALL: Regenerate from the above.
4855
4856 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4857
4858 [BZ #18519]
4859 * posix/Versions (libc): Export __libc_pread at version
4860 GLIBC_PRIVATE.
4861 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4862 instead of pread.
4863 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4864 variable.
4865
4866 [BZ #18522]
4867 * misc/efgcvt_r.c
4868 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4869 (cvt_symbol): Use weak_alias instead of strong_alias.
4870 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4871 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4872 Remove variable.
4873 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4874 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4875
4876 [BZ #18520]
4877 * inet/herrno.c (h_errno): Rename to __h_errno.
4878 (__libc_h_errno): Define as alias of __h_errno not h_errno.
4879 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4880 to __h_errno instead of h_errno.
4881 * nptl/herrno.c (h_errno): Rename to __h_errno.
4882 (__h_errno_location): Refer to __h_errno not h_errno.
4883 * resolv/Versions (h_errno): Rename to __h_errno.
4884 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4885 Remove variable.
4886 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4887
4888 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
4889
4890 * configure.ac: More strict check for AVX512 assembler support.
4891 * configure: Regenerated.
4892
4893 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4894 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4895 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4896 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4897 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4898 * sysdeps/x86_64/fpu/Versions: New versions added.
4899 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4900 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4901 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4902 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4903 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4904 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4905 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4906 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4907 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4908 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4909 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4910 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4911 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4912 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4913 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4914 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4915 test.
4916 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4917 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4918 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4919 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4920 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4921 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4922 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4923 * NEWS: Mention addition of x86_64 vector sin.
4924
4925 2015-06-11 Florian Weimer <fweimer@redhat.com>
4926
4927 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4928 comment.
4929
4930 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
4931
4932 [BZ #18479]
4933 * nptl/pt-interp.c: New file.
4934 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4935 Add pt-interp.
4936 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4937 $(common-objpfx)runtime-linker.h.
4938
4939 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
4940
4941 * Makeconfig (+interp): Remove unused variable.
4942 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4943 only. Depend on $(common-objpfx)runtime-linker.h instead of
4944 $(elf-objpfx)runtime-linker.h.
4945 ($(elf-objpfx)runtime-linker.h): Rename to
4946 $(common-objpfx)runtime-linker.h and move ...
4947 * Makerules [$(build-shared) = yes]: ... here.
4948 * elf/interp.c: Include <runtime-linker.h> instead of
4949 <elf/runtime-linker.h>.
4950
4951 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4952
4953 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4954 (__gettimeofday_syscall): Remove vsyscall fallback.
4955 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4956 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4957 Add syscall fallback function.
4958 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4959 if vDSO is not present.
4960 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4961 fallback function.
4962 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4963 present.
4964 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4965 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4966
4967 2015-06-09 Joseph Myers <joseph@codesourcery.com>
4968
4969 [BZ #18497]
4970 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4971 of wcscmp.
4972 (wcscmp): Define as weak alias of WCSCMP.
4973 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4974 wcscoll.
4975 (USE_HIDDEN_DEF): Define.
4976 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4977 __wcscoll. Don't use libc_hidden_weak.
4978 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4979 wcscmp.
4980 * sysdeps/i386/i686/multiarch/wcscmp-c.c
4981 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4982 __GI_wcscmp.
4983 (weak_alias): Undefine and redefine.
4984 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4985 __wcscmp and define as weak alias of __wcscmp.
4986 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4987 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
4988 (__wcscoll): Likewise.
4989 (wcscmp): Don't use libc_hidden_proto.
4990 (wcscoll): Likewise.
4991 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4992 wcscoll.
4993 * posix/regexec.c (check_node_accept_bytes): Likewise.
4994 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4995 variable.
4996 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4997 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4998
4999 [BZ #18507]
5000 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5001 __fstatvfs and define as weak alias of __fstatvfs. Use
5002 libc_hidden_weak.
5003 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5004 and define as weak alias of __statvfs. Use libc_hidden_weak.
5005 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5006 Define as alias of __fstatvfs, not fstatvfs.
5007 (fstatvfs64): Likewise.
5008 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5009 Define as alias of __statvfs, not statvfs.
5010 (statvfs64): Likewise.
5011 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5012 Remove variable.
5013
5014 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5015
5016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5017 (HAVE_GETCPU_VSYSCALL): Define.
5018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5019 (HAVE_GETCPU_VSYSCALL): Likewise.
5020 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5021 * sysdeps/unix/sysv/linux/sched_getcpu.c
5022 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5023 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5024 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5025 prototype.
5026 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5027 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5028 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5029 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5030 Define.
5031 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5032 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5033 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5034 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5035
5036 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5037
5038 * sysdeps/x86_64/fpu/Makefile: New file.
5039 * sysdeps/x86_64/fpu/Versions: New file.
5040 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5041 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5042 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5043 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5044 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5045 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5046 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5047 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5048 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5049 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5050 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5051 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5052 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5053 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5054 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5055 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5056 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5057 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5058 * sysdeps/x86_64/configure: Regenerated.
5059 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5060 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5061 * manual/install.texi (Configuring and compiling): Document
5062 --disable-mathvec.
5063 * INSTALL: Regenerated.
5064 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5065
5066 * math/Makefile: Added rules for vector tests.
5067 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5068 declaration under condition.
5069 * math/test-double-vlen2.h: New file.
5070 * math/test-double-vlen4.h: New file.
5071 * math/test-double-vlen8.h: New file.
5072 * math/test-vec-loop.h: Added initialization macro.
5073 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5074 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5075 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5076 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5077 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5078 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5079 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5080 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5081 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5082 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5083 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5084
5085 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5086 * sysdeps/x86_64/fpu/Versions: New versions added.
5087 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5088 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5089 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5090 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5091 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5092 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5093 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5094 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5095 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5096 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5097 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5098 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5099 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5100 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5101 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5102 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5103 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5104 * NEWS: Mention addition of x86_64 vector cosf.
5105
5106 * math/Makefile: Added CFLAGS for new tests.
5107 * math/test-float-vlen16.h: New file.
5108 * math/test-float-vlen4.h: New file.
5109 * math/test-float-vlen8.h: New file.
5110 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5111 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5112 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5113 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5114 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5115 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5116 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5117 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5118 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5119 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5120 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5121
5122 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5123
5124 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5125 * locale/programs/ld-ctype.c: Likewise.
5126
5127 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5128
5129 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5130 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5131 bit_ZMM16_31_state): New macro.
5132 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5133 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5134
5135 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5136
5137 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5138
5139 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5140
5141 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5142
5143 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5144
5145 [BZ #18498]
5146 * libio/memstream.c (open_memstream): Rename to __open_memstream
5147 and define as weak alias of __open_memstream.
5148 * include/stdio.h (__open_memstream): Declare. Use
5149 libc_hidden_proto.
5150 (open_memstream): Don't use libc_hidden_proto.
5151 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5152 open_memstream.
5153 * posix/getopt.c (_getopt_internal_r): Likewise.
5154 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5155 variable.
5156 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5157 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5158 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5159
5160 [BZ #18496]
5161 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5162 instead of wcrtomb.
5163
5164 [BZ #18483]
5165 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5166 [__USE_XOPEN2K8]. Remove redundant #endif.
5167 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5168 Remove redundant #if.
5169 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5170 Remove variable.
5171 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5172 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5173
5174 [BZ #18495]
5175 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5176 (__iswlower): Likewise.
5177 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5178 (__iswlower): Likewise.
5179 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5180 instead of towlower.
5181 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5182 instead of iswlower. Call __towupper instead of towupper.
5183 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5184 instead of iswalnum.
5185
5186 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5187
5188 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5189 errors to stderr.
5190
5191 2015-06-05 Florian Weimer <fweimer@redhat.com>
5192
5193 [BZ #15661]
5194 [BZ #17322]
5195 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5196 Check for overflow properly. Check for O_APPEND. Ignore large
5197 file system block sizes. Add comments about problems.
5198 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5199 * manual/filesys.texi (Storage Allocation): New node.
5200
5201 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5202
5203 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5204 cancellable syscalls.
5205 (SYS_ify): Add guard to no redefine it.
5206 (INLINE_SYSCALL): Likewise.
5207 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5208 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5209 SYSCALL_CANCEL instead.
5210 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5211 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5212 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5213 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5214 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5215 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5216 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5217 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5218 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5219 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5220 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5221 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5222 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5223 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5224 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5225 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5226 Likewise.
5227 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5228 (__libc_pread64): Likewise.
5229 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5230 (__libc_preadv): Likewise.
5231 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5232 (__libc_readv64): Likewise.
5233 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5234 (__libc_pwrite): Likewise.
5235 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5236 (__libc_pwrite64): Likewise.
5237 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5238 (__libc_pwritev): Likewise.
5239 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5240 (__libc_pwritev64): Likewise.
5241 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5242 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5243 (sync_file_range): Likewise.
5244 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5245 Likewise.
5246 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5247 Likewise.
5248 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5249 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5250 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5251 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5252 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5253 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5254 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5255 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5257 Likewise.
5258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5259 (__libc_read64): Likewise.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5261 Likewise.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5263 Likewise.
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5265 Likewise.
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5267 Likewise.
5268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5269 (__libc_pread64): Likewise.
5270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5271 Likewise.
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5273 (__libc_pwrite64): Likewise.
5274 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5275 (sync_file_range): Likewise.
5276 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5277 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5278 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5279 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5280 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5281 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5282 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5283 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5284 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5285 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5286 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5287 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5288 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5289 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5290 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5291 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5292 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5293 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5295 Likewise.
5296 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5297 Likewise.
5298 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5299 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5300 Likewise.
5301 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5302 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5303 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5304 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5305 Likewise.
5306 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5307 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5308 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5309 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5310 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5311
5312 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5313
5314 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5315 Include dl-vdso.
5316 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5317 Use VDSO routines for gettimeofday, clock_gettime if
5318 available.
5319 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5320 Declare VDSO symbols.
5321 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5322 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5323 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5324 * sysdeps/unix/sysv/linux/arm/Versions: Add
5325 __vdso_clock_gettime.
5326
5327 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5328
5329 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5330 be an inline implementation regardless of library is built within.
5331 (open_not_cancel_2): Likewise.
5332 (__read_nocancel): Likewise.
5333 (__write_nocancel): Likewise.
5334 (openat_not_cancel): Likewise.
5335 (openat_not_cancel_3): Likewise.
5336 (openat64_not_cancel): Likewise.
5337 (openat64_not_cancel_3): Likewise.
5338 (__close_nocancel): Likewise.
5339 (pause_not_cancel): Likewise.
5340 (nanosleep_not_cancel): Likewise.
5341 (sigsuspend_not_cancel): Likewise.
5342
5343 2015-06-04 Torvald Riegel <triegel@redhat.com>
5344
5345 [BZ #14958]
5346 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5347 wake-up.
5348 (__pthread_rwlock_rdlock_slow): Likewise.
5349 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5350 Likewise.
5351 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5352 Likewise.
5353 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5354 * nptl/tst-rwlock16.c: New file.
5355 * nptl/Makefile (tests): Add new test.
5356
5357 2015-06-04 Torvald Riegel <triegel@redhat.com>
5358
5359 [BZ #18324]
5360 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5361 missing wake-up of readers.
5362 * nptl/tst-rwlock15.c: New file.
5363 * nptl/Makefile (tests): Add new test.
5364
5365 2015-06-03 Roland McGrath <roland@hack.frob.com>
5366
5367 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5368 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5369 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5370 and __nacl_supply_interface_rtld.
5371 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5372 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5373 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5374 Add __nacl_supply_interface_rtld.
5375 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5376
5377 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5378
5379 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5380 isfinite.
5381 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5382 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5383
5384 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5385
5386 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5387 __signbit* with standard C99 macros.
5388 * math/e_exp10l.c: Likewise.
5389 * math/e_exp2l.c: Likewise.
5390 * math/e_scalb.c: Likewise.
5391 * math/e_scalbf.c: Likewise.
5392 * math/e_scalbl.c: Likewise.
5393 * math/s_ldexp.c: Likewise.
5394 * math/s_ldexpf.c: Likewise.
5395 * math/s_ldexpl.c: Likewise.
5396 * math/w_atan2.c: Likewise.
5397 * math/w_atan2f.c: Likewise.
5398 * math/w_atan2l.c: Likewise.
5399 * math/w_cosh.c: Likewise.
5400 * math/w_coshf.c: Likewise.
5401 * math/w_coshl.c: Likewise.
5402 * math/w_exp10.c: Likewise.
5403 * math/w_exp10f.c: Likewise.
5404 * math/w_exp10l.c: Likewise.
5405 * math/w_exp2.c: Likewise.
5406 * math/w_exp2f.c: Likewise.
5407 * math/w_exp2l.c: Likewise.
5408 * math/w_fmod.c: Likewise.
5409 * math/w_fmodf.c: Likewise.
5410 * math/w_fmodl.c: Likewise.
5411 * math/w_hypot.c: Likewise.
5412 * math/w_hypotf.c: Likewise.
5413 * math/w_hypotl.c: Likewise.
5414 * math/w_jnl.c: Likewise.
5415 * math/w_lgamma.c: Likewise.
5416 * math/w_lgamma_r.c: Likewise.
5417 * math/w_lgammaf.c: Likewise.
5418 * math/w_lgammaf_r.c: Likewise.
5419 * math/w_lgammal.c: Likewise.
5420 * math/w_lgammal_r.c: Likewise.
5421 * math/w_pow.c: Likewise.
5422 * math/w_powf.c: Likewise.
5423 * math/w_powl.c: Likewise.
5424 * math/w_remainder.c: Likewise.
5425 * math/w_remainderf.c: Likewise.
5426 * math/w_remainderl.c: Likewise.
5427 * math/w_scalb.c: Likewise.
5428 * math/w_scalbf.c: Likewise.
5429 * math/w_scalbl.c: Likewise.
5430 * math/w_scalbln.c: Likewise.
5431 * math/w_scalblnf.c: Likewise.
5432 * math/w_scalblnl.c: Likewise.
5433 * math/w_sinh.c: Likewise.
5434 * math/w_sinhf.c: Likewise.
5435 * math/w_sinhl.c: Likewise.
5436 * math/w_tgamma.c: Likewise.
5437 * math/w_tgammaf.c: Likewise.
5438 * math/w_tgammal.c: Likewise.
5439 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5440 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5441 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5442 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5443 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5445 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5446 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5447 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5448 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5449 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5463 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5464 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5465 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5466 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5467 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5468 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5469 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5470 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5471 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5472 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5473 * stdio-common/printf_fp.c: Likewise.
5474 * stdio-common/printf_fphex.c: Likewise.
5475 * stdio-common/printf_size.c: Likewise.
5476
5477 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5478
5479 [BZ #18470]
5480 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5481 strnlen.
5482 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5483 Remove variable.
5484 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5485 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5486 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5487 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5488 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5489 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5490 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5491 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5492 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5493 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5494
5495 [BZ #18468]
5496 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5497 weak alias of __wmemchr. Use libc_hidden_weak.
5498 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5499 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5500 instead of wmemchr.
5501
5502 2015-06-02 Roland McGrath <roland@hack.frob.com>
5503
5504 [BZ #18383]
5505 * elf/tst-tlsalign-extern.c: New file.
5506 * elf/tst-tlsalign-extern-static.c: New file.
5507 * elf/tst-tlsalign-vars.c: New file.
5508 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5509 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5510 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5511 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5512 (test-xfail-tst-tlsalign-extern-static): New variable.
5513
5514 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5515
5516 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5517 Use variable name _sc_err instead of err.
5518 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5519 instead of ret.
5520 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5521 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5522 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5523 (INLINE_SYSCALL): Likewise.
5524
5525 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5526 * include/string.h (__strnlen): Use libc_hidden_proto.
5527 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5528 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5529 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5530 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5531 (libc_hidden_def): Undefine and redefine.
5532 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5533 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5534 __GI_strnlen.
5535 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5536 libc_hidden_def.
5537 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5538
5539 [BZ #18469]
5540 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5541 weak alias of __towlower. Use libc_hidden_weak.
5542 (towupper): Rename to __towupper and define as weak alias of
5543 __towupper. Use libc_hidden_weak.
5544 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5545 (__towupper): Likewise.
5546 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5547 __towlower instead of towlower.
5548
5549 2015-06-02 Roland McGrath <roland@hack.frob.com>
5550
5551 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5552 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5553
5554 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5555
5556 * sysdeps/aarch64/libm-test-ulps: Update.
5557
5558 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5559
5560 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5561 Define.
5562 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5564 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5565 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5566 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5567 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5568 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5569
5570 2015-06-01 Martin Sebor <msebor@redhat.com>
5571
5572 [BZ #18116]
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5574 (__setcontext): Use extended four-operand version of mtsf whenever
5575 possible.
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5577 (__novec_swapcontext): Likewise.
5578
5579 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5580
5581 * benchtests/scripts/compare_bench.py: New file.
5582 * benchtests/scripts/import_bench.py (mean): New function.
5583 (split_list): Likewise.
5584 (do_for_all_timings): Likewise.
5585 (compress_timings): Likewise.
5586
5587 * benchtests/scripts/import_bench.py: New file.
5588 * benchtests/scripts/validate_benchout.py: Import import_bench
5589 instead of jsonschema.
5590 (validate_bench): Remove function.
5591 (main): Use import_bench.
5592
5593 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5594
5595 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5596 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5597
5598 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5599
5600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5601
5602 2015-05-28 Roland McGrath <roland@hack.frob.com>
5603
5604 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5605 set THREAD_SELF->tid to a magic value and futex-wake it.
5606 Pass its address to the thread_exit system call.
5607 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5608 bit is clear.
5609 * sysdeps/nacl/lowlevellock.h: New file.
5610 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5611
5612 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5613 Add TIMEOUT to current time, don't subtract it.
5614
5615 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5616
5617 [BZ #2981]
5618 [BZ #18422]
5619 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5620 ($(objpfx)tst-audit2.out): Also depend on
5621 $(objpfx)tst-auditmod9b.so.
5622 * elf/tst-audit2.c: Include <dlfcn.h>.
5623 (calloc_called): New.
5624 (calloc): Allow to be called more than once.
5625 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5626
5627 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5628
5629 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5630 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5631
5632 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5633
5634 * stdlib/monetary.h: Fix comment.
5635
5636 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5637
5638 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5639 Avoid using variables in #defines that might cause shadowing.
5640 (INTERNAL_VSYSCALL_CALL): Likewise.
5641
5642 2015-05-26 Roland McGrath <roland@hack.frob.com>
5643
5644 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5645
5646 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5647 * nptl/lll_timedlock_wait.c: ... to this new file.
5648 * nptl/Makefile (libpthread-routines): Add it.
5649 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5650 * nptl/lll_timedwait_tid.c: ... to this new file.
5651 * nptl/Makefile (libpthread-routines): Add it.
5652 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5653 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5654 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5655 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5656 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5657 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5658 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5659 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5660 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5661 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5662
5663 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5664
5665 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5666 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5667 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5668 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5669 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5671 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5673 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5674 * sysdeps/unix/sysv/linux/tile/sysdep.h
5675 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5676 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5677 using vDSO syscall macro.
5678
5679 2015-05-26 Andriy Rysin <arysin@gmail.com>
5680
5681 [BZ #17293]
5682 * uk_UA: Fix sorting order for Ukrainian locale
5683
5684 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5685
5686 * stdlib/monetary.h: Fix comment.
5687
5688 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5689
5690 [BZ #18234]
5691 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5692 st_mtim and st_ctim members.
5693 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5694 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5695 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5696 (struct stat64): Likewise.
5697 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5698 (struct stat64): Likewise.
5699 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5700 (struct stat64): Likewise.
5701
5702 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5703
5704 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5705 Define and include sysdep-vdso.h.
5706 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5707 Likewise.
5708 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5709 Likewise.
5710 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5711 Define with VDSO_SYMBOL and use PTR_MANGLE.
5712 (__vdso_clock_gettime): Likewise.
5713 (__vdso_clock_getres): Likewise.
5714 (_libc_vdso_platform_setup): Likewise.
5715 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5716 Likewise.
5717 (_libc_vdso_platform_setup): Likewise.
5718 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5719 Likewise.
5720 (__vdso_clock_gettime): Likewise.
5721 (__vdso_clock_getres): Likewise.
5722 (__vdso_get_tbfreq): Likewise.
5723 (__vdso_getcpu): Likewise.
5724 (__vdso_time): Likewise.
5725 (__vdso_sigtramp_rt64): Likewise.
5726 (__vdso_signtramp32): Likewise.
5727 (__vdso_sigtramp_rt32): Likewise.
5728 (_libc_vdso_platform_setup): Likewise.
5729 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5730 Likewise.
5731 (__vdso_clock_gettime): Likewise.
5732 (__vdso_clock_getres): Likewise.
5733 (_libc_vdso_platform_setup): Likewise.
5734 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5735 Likewise.
5736 (__vdso_clock_gettime): Likewise.
5737 (_libc_vdso_platform_setup): Likewise.
5738 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5739 Likewise.
5740 (__vdso_getcpu): Likewise.
5741 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5742 Use VDSO_SYMBOL macro to define.
5743 (__vdso_clock_gettime): Likewise.
5744 (__vdso_clock_getres): Likewise.
5745 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5746 Likewise.
5747 (__vdso_clock_gettime): Likewise.
5748 (__vdso_clock_getres): Likewise.
5749 (__vdso_get_tbfreq): Likewise.
5750 (__vdso_getcpu): Likewise.
5751 (__vdso_time): Likewise.
5752 (__vdso_sigtramp_rt64): Likewise.
5753 (__vdso_signtramp32): Likewise.
5754 (__vdso_sigtramp_rt32): Likewise.
5755 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5756 Likewise.
5757 (__vdso_clock_gettime): Likewise.
5758 (__vdso_clock_getres): Likewise.
5759 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5760 Likewise.
5761 (__vdso_clock_gettime): Likewise.
5762 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5763 Likewise.
5764 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5765 macro.
5766 (INTERNAL_VSYSCALL): Likewise.
5767 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5768 Remove macro.
5769 (INTERNAL_VSYSCALL): Likewise.
5770 (INTERNAL_VSYSCALL_NCS): Likewise.
5771 (INTERNAL_VSYSCALL_CALL): New macro.
5772 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5774 Likewise.
5775 (INTERNAL_VSYSCALL): Likewise.
5776 (INTERNAL_VSYSCALL_NCS): Likewise.
5777 (INTERNAL_VSYSCALL_CALL): New macro.
5778 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5780 (INLINE_VSYSCALL): Remove macro.
5781 (INTERNAL_VSYSCALL): Remove macro.
5782 (INTERNAL_VSYSCALL_NCS): Remove macro.
5783 (INTERNAL_VSYSCALL_CALL): New macro.
5784 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5785 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5786 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5787 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5788 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5790 (INLINE_VSYSCALL): Remove macro.
5791 (INTERNAL_VSYSCALL): Likewise.
5792 (INTERNAL_VSYSCALL_NCS): Likewise.
5793 (INTERNAL_VSYSCALL_CALL): New macro.
5794 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5795 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5796 PTR_DEMANGLE on vDSO pointer.
5797 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5798 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5799 macro.
5800 (INTERNAL_SYSCALL): Likewise.
5801 (INTERNAL_VSYSCALL_NCS): Remove macro.
5802 (INTERNAL_VSYSCALL_CALL): New macro.
5803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5804 Remove macro.
5805 (INTERNAL_VSYSCALL): Likewise.
5806 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5807 sysdep-vdso.h instead of libc-vdso.h.
5808 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5809 definition.
5810 (INLINE_VSYSCALL): Likewise.
5811 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5812 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5813 definition.
5814 (INLINE_VSYSCALL): Likewise.
5815 (INTERNAL_VSYSCALL): Likewise.
5816 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5817 * sysdeps/unix/sysv/linux/timespec_get.c
5818 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5819 (timespec_get): Use ANSI prototype.
5820 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5821 and definition for Linux.
5822
5823 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
5824
5825 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5826 * include/libc-symbols.h: libmvec_hidden_* macro series added.
5827
5828 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
5829
5830 [BZ #2981]
5831 [BZ #18410]
5832 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5833 for missing DT_PLTRELSZ.
5834
5835 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
5836
5837 Remove obsolete aliases that broke 'locale -a'
5838 [BZ #18412]
5839 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5840 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5841 breaking some applications that use 'locale -a' output.
5842 Change the encoding of this file from Latin-1 to ASCII to avoid
5843 other potential problems with people grepping this file.
5844
5845 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5846
5847 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5848 -fasynchronous-unwind-tables.
5849 (CFLAGS-sendto.c): Likewise.
5850 (CFLAGS-sendmsg.c): Likewise.
5851 (CFLAGS-connect.c): Likewise.
5852 (CFLAGS-recvmsg.c): Likewise.
5853 (CFLAGS-recvfrom.c): Likewise.
5854 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5855 (SOCKETCALL): New macro: non-cancellable socketcall.
5856 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5857 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5858 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5859 * sysdeps/unix/sysv/linux/accept.c: New file.
5860 * sysdeps/unix/sysv/linux/bind.c: Likewise.
5861 * sysdeps/unix/sysv/linux/connect.c: Likewise.
5862 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5863 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5864 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5865 * sysdeps/unix/sysv/linux/listen.c: Likewise.
5866 * sysdeps/unix/sysv/linux/recv.c: Likewise.
5867 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5868 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5869 * sysdeps/unix/sysv/linux/send.c: Likewise.
5870 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5871 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5872 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5873 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5874 * sysdeps/unix/sysv/linux/socket.c: Likewise.
5875 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5876 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5877 prototype.
5878 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5879 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5880 instead of __internal_xxx function.
5881 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5882 prototype.
5883 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5884 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5885 instead of __internal_xxx function.
5886 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5887 prototype.
5888 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5889 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5890 instead of __internal_xxx function.
5891 * sysdeps/unix/sysv/linux/accept.S: Remove file.
5892 * sysdeps/unix/sysv/linux/bind.S: Likewise.
5893 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5894 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5895 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5896 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5897 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5898 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5899 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5900 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5901 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5902 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5903 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5904 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5905 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5906 * sysdeps/unix/sysv/linux/listen.S: Likewise.
5907 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5908 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5909 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5910 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5913 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5914 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5915 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5916 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5917 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5918 * sysdeps/unix/sysv/linux/send.S: Likewise.
5919 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5920 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5921 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5922 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5923 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5924 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5925 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5926 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5927 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5928 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5929 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5930 socketcall is implemented in GLIBC.
5931
5932 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5933
5934 * soft-fp/fmadf4.c: Include <libc-internal.h>.
5935 (__fma): Ignore uninitialized warnings around packing.
5936 * soft-fp/fmasf4.c: Include <libc-internal.h>.
5937 (__fmaf): Ignore uninitialized warnings around packing.
5938 * soft-fp/fmatf4.c: Include <libc-internal.h>.
5939 (__fmal): Ignore uninitialized warnings around packing.
5940
5941 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5942 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5943 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5944 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5945
5946 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5947 switch statement into default case.
5948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5949
5950 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5951 a conditional in forcing "inexact".
5952 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5953 Likewise.
5954
5955 2015-05-22 Roland McGrath <roland@hack.frob.com>
5956
5957 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5958 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5959 for each INTERNAL_SYSCALL use.
5960
5961 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5962
5963 [BZ #438]
5964 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5965 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5966 variable.
5967
5968 [BZ #18444]
5969 * string/basename.c (basename): Rename to __basename and define as
5970 weak alias of __basename. Use libc_hidden_weak.
5971 * include/string.h (__basename): Declare. Use libc_hidden_proto.
5972 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5973 __basename instead of basename.
5974 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5975 Remove variable.
5976 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5977
5978 2015-05-18 Florian Weimer <fweimer@redhat.com>
5979
5980 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5981 (_IO_JUMPS_FILE_plus): New.
5982 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5983 _IO_CAST_FIELD_ACCESS.
5984 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5985 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5986 * libio/freopen.c (freopen): Likewise.
5987 * libio/freopen64.c (freopen64): Likewise.
5988 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5989 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5990 * libio/iofwide.c (_IO_fwide): Likewise.
5991 * libio/memstream.c (open_memstream): Likewise.
5992 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5993 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5994 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5995
5996 2015-05-21 Joseph Myers <joseph@codesourcery.com>
5997
5998 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5999 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6000 NADJ.
6001 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6002 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6003 NADJ.
6004 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6005 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6006 NADJ.
6007
6008 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6009 (p == 4) case.
6010
6011 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6012 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6013 Remove variable.
6014 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6015 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6016 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6017
6018 2015-05-21 Florian Weimer <fweimer@redhat.com>
6019
6020 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6021 Adjust jump table label generation macros.
6022
6023 2015-05-21 Florian Weimer <fweimer@redhat.com>
6024
6025 * stdio-common/vfprintf.c (vfprintf): Move local variables
6026 args_malloced, specs, specs_malloced, and the code after
6027 do_positional to the printf_positional function.
6028 (printf_positional): New function.
6029
6030 2015-05-21 Florian Weimer <fweimer@redhat.com>
6031
6032 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6033 function.
6034 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6035 STEP4_TABLE, process_arg): Move macro definitions
6036 out of the vfprintf function. (Cosmetic change only.)
6037
6038 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6039
6040 * benchtests/Makefile (stdio-common-bench): Define.
6041 (benchset): Add stdio-common-bench.
6042 * sprintf-inputs: New file.
6043 * sprintf-source.c: New file.
6044
6045 2015-05-21 Andreas Schwab <schwab@suse.de>
6046
6047 [BZ #13028]
6048 [BZ #17053]
6049 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6050 of struct __res_state.
6051 * resolv/res_send.c (__libc_res_nsend): Likewise.
6052 (get_nsaddr): New function.
6053 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6054 statp directly.
6055
6056 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6057
6058 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6059 -D_POSIX_C_SOURCE=199506L.
6060
6061 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6062
6063 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6064 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6065 Do not mention otherwise.
6066 [POSIX] (_XOPEN_VERSION): Do not expect.
6067 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6068 [POSIX] (_POSIX2_C_BIND): Likewise.
6069 [POSIX] (_POSIX2_VERSION): Likewise.
6070 [POSIX] (_XOPEN_XPG2): Likewise.
6071 [POSIX] (_XOPEN_XPG3): Likewise.
6072 [POSIX] (_XOPEN_XPG4): Likewise.
6073 [POSIX] (_XOPEN_UNIX): Likewise.
6074 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6075 [POSIX] (_POSIX_BARRIERS): Likewise.
6076 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6077 [POSIX] (_POSIX_CPUTIME): Likewise.
6078 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6079 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6080 [POSIX] (_POSIX_SHELL): Likewise.
6081 [POSIX] (_POSIX_SPAWN): Likewise.
6082 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6083 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6084 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6085 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6086 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6087 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6088 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6089 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6090 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6091 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6092 [POSIX] (_POSIX2_PBS): Likewise.
6093 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6094 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6095 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6096 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6097 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6098 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6099 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6100 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6101 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6102 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6103 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6104 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6105 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6106 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6107 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6108 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6109 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6110 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6111 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6112 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6113 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6114 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6115 [POSIX] (_SC_2_C_BIND): Likewise.
6116 [POSIX] (_SC_2_C_VERSION): Likewise.
6117 [POSIX] (_SC_2_PBS): Likewise.
6118 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6119 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6120 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6121 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6122 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6123 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6124 [POSIX] (_SC_BARRIERS): Likewise.
6125 [POSIX] (_SC_BASE): Likewise.
6126 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6127 [POSIX] (_SC_DEVICE_IO): Likewise.
6128 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6129 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6130 [POSIX] (_SC_FD_MGMT): Likewise.
6131 [POSIX] (_SC_FIFO): Likewise.
6132 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6133 [POSIX] (_SC_FILE_LOCKING): Likewise.
6134 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6135 [POSIX] (_SC_IOV_MAX): Likewise.
6136 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6137 [POSIX] (_SC_NETWORKING): Likewise.
6138 [POSIX] (_SC_PAGE_SIZE): Likewise.
6139 [POSIX] (_SC_PASS_MAX): Likewise.
6140 [POSIX] (_SC_PIPE): Likewise.
6141 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6142 [POSIX] (_SC_REGEXP): Likewise.
6143 [POSIX] (_SC_SHELL): Likewise.
6144 [POSIX] (_SC_SIGNALS): Likewise.
6145 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6146 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6147 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6148 [POSIX] (_SC_USER_GROUPS): Likewise.
6149 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6150 [POSIX] (_SC_STREAMS): Likewise.
6151 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6152 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6153 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6154 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6155 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6156 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6157 [POSIX] (_PC_FILESIZEBITS): Likewise.
6158 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6159 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6160 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6161 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6162 [POSIX] (uid_t): Likewise.
6163 [POSIX] (gid_t): Likewise.
6164 [POSIX] (off_t): Likewise.
6165 [POSIX] (pid_t): Likewise.
6166 [POSIX] (cuserid): Allow.
6167 (_SC_2_CHAR_TERM): Require constant.
6168 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6169 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6170 variable.
6171
6172 2015-05-20 Roland McGrath <roland@hack.frob.com>
6173
6174 * sysdeps/nacl/pthread-pids.h: New file.
6175 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6176 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6177
6178 * nptl/pthread-pids.h: New file.
6179 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6180 * nptl/nptl-init.c: Include <pthread-pids.h>.
6181 (__pthread_initialize_minimal_internal):
6182 Call __pthread_initialize_pids instead of set_tid_address syscall.
6183
6184 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6185 * sysdeps/posix/usleep.c: ... here.
6186
6187 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6188
6189 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6190 call_pselect6 object.
6191 [$(subdir) = io]: Remove call_sync_file_range object.
6192 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6193 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6194 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6195 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6196
6197 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6198
6199 * math/s_cproj.c: Add include "math_private.h".
6200 * math/s_cprojf.c: Likewise.
6201 * math/s_cprojl.c: Likewise.
6202
6203 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6204
6205 [BZ #18244]
6206 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6207 high mantissa bit when testing whether P is a NaN.
6208 * math/libm-test.inc (remainder_test_data): Add more tests.
6209 (remquo_test_data): Likewise.
6210
6211 [BZ #18049]
6212 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6213 below -32, return the argument, with underflow if subnormal.
6214 * math/auto-libm-test-in: Add more tests of atanh.
6215 * math/auto-libm-test-out: Regenerated.
6216
6217 2015-05-19 Roland McGrath <roland@hack.frob.com>
6218
6219 [BZ #18434]
6220 * nptl/tst-sem15.c: New file.
6221 * nptl/Makefile (tests): Add it.
6222 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6223 s/<</>>/ to fix typo in EOVERFLOW check.
6224 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6225
6226 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6227
6228 * manual/strings.texi (envz_remove): Fix typo in safety
6229 annotations.
6230
6231 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6232 Steve Ellcey <sellcey@imgtec.com>
6233
6234 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6235 in order to avoid strict alias warnings.
6236 (iruserok_af): Ditto for ra.
6237
6238 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6239
6240 [BZ #17581]
6241 * malloc/hooks.c
6242 (magicbyte): Convert to a function and avoid returning 0x01.
6243 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6244 (mem2chunk_check): Fix unsigned comparisons to zero.
6245 Hoist defs of sz and magic.
6246
6247 2015-05-19 Richard Henderson <rth@redhat.com>
6248
6249 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6250
6251 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6252
6253 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6254
6255 [BZ #16159]
6256 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6257 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6258 (reused_arena): Find a non-corrupt arena.
6259 (heap_trim): Pass arena to unlink.
6260 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6261 malloc_printerr.
6262 (top_check): Likewise.
6263 (free_check): Likewise.
6264 (realloc_check): Likewise.
6265 * malloc/malloc.c (malloc_printerr): Add arena argument.
6266 (unlink): Likewise.
6267 (munmap_chunk): Adjust.
6268 (ARENA_CORRUPTION_BIT): New macro.
6269 (arena_is_corrupt): Likewise.
6270 (set_arena_corrupt): Likewise.
6271 (sysmalloc): Use mmap if there are no usable arenas.
6272 (_int_malloc): Likewise.
6273 (__libc_malloc): Don't fail if arena_get returns NULL.
6274 (_mid_memalign): Likewise.
6275 (__libc_calloc): Likewise.
6276 (__libc_realloc): Adjust for additional argument to
6277 malloc_printerr.
6278 (_int_free): Likewise.
6279 (malloc_consolidate): Likewise.
6280 (_int_realloc): Likewise.
6281 (_int_memalign): Don't touch corrupt arenas.
6282 * malloc/tst-malloc-backtrace.c: New test case.
6283
6284 * Makefile (summarize-tests): Fix return value on success.
6285
6286 * manual/string.texi (Envz Functions): Add envz_remove.
6287
6288 2015-05-18 Roland McGrath <roland@hack.frob.com>
6289
6290 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6291 (invalid_name): New function, broken out of ...
6292 (__opendirat): ... here. Call it.
6293 (need_isdir_precheck): New function, broken out of ...
6294 (__opendirat): ... here. Call it.
6295 Use __fxstatat64, not __xstatat64.
6296 (opendir_oflags): New function, broken out of ...
6297 (__opendirat): ... here. Call it.
6298 (opendir_tail): New function, broken out of ...
6299 (__opendirat): ... here. Call it.
6300 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6301 opendir_tail, rather than punting to __opendirat.
6302 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6303
6304 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6305
6306 * .gitignore: Ignore generated *.pyc.
6307
6308 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6309
6310 * include/stdio.h: Define __need_wint_t.
6311 * test-skeleton.c: Avoid `for' loop initial declaration.
6312 * nptl/tst-initializers1.c: Use test-skeleton.c.
6313
6314 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6315
6316 [BZ #18418]
6317 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6318
6319 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6320
6321 [BZ #16352]
6322 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6323 (__ieee754_atanh): Force underflow exception for results with
6324 small absolute value.
6325 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6326 (__ieee754_atanhf): Force underflow exception for results with
6327 small absolute value.
6328 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6329 (__ieee754_atanh): Force underflow exception for results with
6330 small absolute value.
6331 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6332 (__ieee754_atanhf): Force underflow exception for results with
6333 small absolute value.
6334 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6335 (__ieee754_atanhl): Force underflow exception for results with
6336 small absolute value.
6337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6338 (__ieee754_atanhl): Force underflow exception for results with
6339 small absolute value.
6340 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6341 (__ieee754_atanhl): Force underflow exception for results with
6342 small absolute value.
6343 * math/auto-libm-test-in: Do not allow missing underflow
6344 exceptions from atanh.
6345 * math/auto-libm-test-out: Regenerated.
6346
6347 [BZ #18221]
6348 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6349 2**-28 as threshold for returning x or +/- 1/x.
6350 * math/auto-libm-test-in: Add more tests of tan.
6351 * math/auto-libm-test-out: Regenerated.
6352
6353 [BZ #18220]
6354 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6355 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6356 * math/auto-libm-test-in: Add another test of lgamma.
6357 * math/auto-libm-test-out: Regenerated.
6358
6359 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6360
6361 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6362 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6363 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6364 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6365 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6366 (ADD2A): Use fabs. (SUB2A): Use fabs.
6367 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6368 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6369 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6370 (log1): Use fabs. (my_log2): Use fabs.
6371 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6372 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6373 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6374 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6376 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6377 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6378 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6379 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6380 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6381 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6382
6383 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6384
6385 [BZ #18217]
6386 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6387 as threshold for returning 1 - x.
6388 * math/auto-libm-test-in: Add more tests of erfc.
6389 * math/auto-libm-test-out: Regenerated.
6390
6391 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6392
6393 [BZ #18196]
6394 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6395 threshold for large arguments.
6396 * math/auto-libm-test-in: Add another test of atan.
6397 * math/auto-libm-test-out: Regenerated.
6398
6399 [BZ #16339]
6400 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6401 (__log1p): Force underflow exception for results with small
6402 absolute value.
6403 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6404 (__log1pf): Force underflow exception for results with small
6405 absolute value.
6406 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6407 (__log1p): Force underflow exception for results with small
6408 absolute value.
6409 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6410 (__log1pf): Force underflow exception for results with small
6411 absolute value.
6412 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6413 (__log1pl): Force underflow exception for results with small
6414 absolute value.
6415 * math/auto-libm-test-in: Do not allow missing underflow
6416 exceptions from log1p.
6417 * math/auto-libm-test-out: Regenerated.
6418
6419 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6420 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6421
6422 [BZ #16704]
6423 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6424
6425 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6426
6427 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6428 (libmvec): New variable.
6429 * configure.ac: Added option for mathvec build.
6430 * configure: Regenerated.
6431 * mathvec/Depend: New file.
6432 * mathvec/Makefile: New file.
6433 * shlib-versions: Added libmvec.
6434 * math/Makefile: Added rule for libm.so installation.
6435
6436 * bits/math-vector.h: New file.
6437 * bits/libm-simd-decl-stubs.h: New header.
6438 * math/Makefile (headers): Added new header
6439 libm-simd-decl-stubs.h.
6440 * math/math.h (__MATHCALL_VEC): New macro.
6441
6442 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6443 for conditions in testing functions.
6444 * math/Makefile: Added call of libm-have-vector-test.sh.
6445 * math/libm-test.inc (HAVE_VECTOR): New macros.
6446
6447 * math/libm-test.inc: START refactored.
6448 * math/test-double.c (TEST_MATHVEC): Add define.
6449 * math/test-float.c: Likewise.
6450 * math/test-idouble.c: Likewise.
6451 * math/test-ifloat.c: Likewise.
6452 * math/test-ildoubl.c: Likewise.
6453 * math/test-ldouble.c: Likewise.
6454 * sysdeps/generic/math-tests-arch.h
6455 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6456 architecture check.
6457
6458 * math/test-double.c (FUNC_TEST): New macro.
6459 * math/test-float.c: Likewise.
6460 * math/test-idouble.c: Likewise.
6461 * math/test-ifloat.c: Likewise.
6462 * math/test-ildoubl.c: Likewise.
6463 * math/test-ldouble.c: Likewise.
6464 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6465
6466 2015-05-13 Roland McGrath <roland@hack.frob.com>
6467
6468 * sysdeps/nacl/fdopendir.c: New file.
6469
6470 * dirent/scandir-tail.c: New file.
6471 * dirent/scandir64-tail.c: New file.
6472 * dirent/Makefile (routines): Add them.
6473 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6474 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6475 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6476 [!SCANDIR] (SCANDIR_TAIL): New macro.
6477 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6478 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6479 (SCANDIRAT): Macro removed.
6480 (SCANDIR_TAIL): New macro.
6481 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6482 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6483 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6484 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6485 (READDIR): Macro removed.
6486 (SCANDIR_TAIL): New macro.
6487 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6488 (SCANDIR_TAIL): New macro.
6489
6490 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6491 * dirent/scandir-cancel.c: ... to this new file.
6492 * dirent/Makefile (routines): Add it.
6493 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6494 * sysdeps/unix/sysv/linux/i386/scandir64.c
6495 (SKIP_SCANDIR_CANCEL): Macro removed.
6496 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6497
6498 * dirent/tst-scandir.c: New file.
6499 * dirent/tst-scandir64.c: New file.
6500 * dirent/Makefile (tests): Add them.
6501
6502 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6503
6504 [BZ #18409]
6505 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6506
6507 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6508
6509 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6510 list.
6511
6512 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6513
6514 * benchtests/bench-strcoll.c: New benchmark.
6515 * benchtests/Makefile: Generate locales and run benchmark.
6516 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6517 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6518 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6519 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6520 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6521 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6522 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6523 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6524 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6525 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6526 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6527 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6528 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6529 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6530 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6531 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6532 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6533 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6534 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6535 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6536 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6537 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6538 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6539 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6540
6541 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6542
6543 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6544 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6545
6546 2015-05-12 Roland McGrath <roland@hack.frob.com>
6547
6548 * posix/uname-values.h: New file.
6549 * posix/uname.c: Include that instead of <config-name.h>.
6550 * sysdeps/nacl/uname-values.h: New file.
6551 * sysdeps/arm/nacl/uname-values.h: New file.
6552
6553 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6554
6555 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6556 splitting into fields.
6557
6558 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6559
6560 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6561 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6562 * locale/localeinfo.h: Add enum collation_encoding_type.
6563 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6564 * programs/ld-collate.c (collate_output): Add encoding type info.
6565 * string/strcoll_l.c (STRDIFF): New function.
6566 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6567 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6568
6569 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6570
6571 [BZ #18397]
6572 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6573 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6574 <fpu_control.h> instead of <math/fpu_control.c>.
6575 * sysdeps/mips/mips32/fpu/Makefile: New file.
6576
6577 2015-05-11 Andreas Schwab <schwab@suse.de>
6578
6579 [BZ #18007]
6580 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6581 nss_endgrent.
6582 (_nss_compat_endgrent): Call nss_endgrent.
6583 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6584 nss_endpwent.
6585 (_nss_compat_endpwent): Call nss_endpwent.
6586 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6587 needent, call nss_setspent only if non-zero.
6588 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6589 (internal_endspent): Don't call nss_endspent.
6590 (_nss_compat_endspent): Call nss_endspent.
6591 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6592 Remove. All uses removed.
6593 (internal_setent): Remove parameter stayopen, add parameter
6594 stream. Use it instead of global variable.
6595 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6596 (internal_endent, internal_getent): Add parameter stream. Use it
6597 instead of global variable.
6598 (CONCAT(_nss_files_end,ENTNAME))
6599 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6600 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6601 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6602 uses removed.
6603 (internal_setent, internal_endent): Add parameter stream. Use it
6604 instead of global variable.
6605 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6606 stream.
6607 (get_next_alias): Add parameter stream.
6608 (_nss_files_getaliasent_r): Pass global stream.
6609 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6610 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6611 (_nss_files_gethostbyname4_r): Pass local stream to
6612 internal_setent, internal_getent and internal_endent. Remove
6613 locking.
6614
6615 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6616
6617 * tst-strfmon1.c (tests): Update expected currency symbol.
6618
6619 2015-05-08 Roland McGrath <roland@hack.frob.com>
6620
6621 * sysdeps/nacl/gethostname.c: New file.
6622
6623 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6624
6625 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6626 and sinh.
6627 * math/auto-libm-test-out: Regenerated.
6628 * sysdeps/i386/fpu/libm-test-ulps: Update.
6629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6630
6631 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6632
6633 [BZ #18125]
6634 * stdlib/tst-setcontext3.c: New file.
6635 * stdlib/tst-setcontext3.sh: New file.
6636 * stdlib/Makefile (tests): Add tst-setcontext3.
6637 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6638 to verify test program created output file.
6639 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6640 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6641 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6642 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6643
6644 2015-05-06 Roland McGrath <roland@hack.frob.com>
6645
6646 [BZ #18383]
6647 * elf/tst-tlsalign.c: New file.
6648 * elf/tst-tlsalign-static.c: New file.
6649 * elf/tst-tlsalign-lib.c: New file.
6650 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6651 (tests-static): Add tst-tlsalign-static.
6652 (modules-names): Add tst-tlsalign-lib.
6653 (test-xfail-tst-tlsalign): New variable.
6654 (test-xfail-tst-tlsalign-static): New variable.
6655
6656 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6657 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6658
6659 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6660
6661 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6662 csqrt, erfc, sin and sincos.
6663 * math/auto-libm-test-out: Regenerated.
6664 * sysdeps/i386/fpu/libm-test-ulps: Update.
6665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6666
6667 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6668
6669 * sysdeps/aarch64/libm-test-ulps: Update.
6670
6671 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6672
6673 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6674 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6675 * math/auto-libm-test-out: Regenerated.
6676 * sysdeps/i386/fpu/libm-test-ulps: Update.
6677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6678
6679 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6680
6681 [BZ #18265]
6682 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6683 (wcsncpy): Likewise.
6684
6685 2015-05-05 Florian Weimer <fweimer@redhat.com>
6686
6687 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6688 Assume __ASSUME_FALLOCATE is always true.
6689 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6690 (__posix_fallocate64_l64): Likweise.
6691 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6692 (posix_fallocate): Likewise.
6693 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6694 (__posix_fallocate64_l64): Likewise.
6695 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6696 [!__ASSUME_FALLOCATE]: Add comment.
6697
6698 2015-05-05 Florian Weimer <fweimer@redhat.com>
6699
6700 * sysdeps/unix/sysv/linux/i386/Makefile
6701 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6702 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6703 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6704 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6705 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6706 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6707 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6708
6709 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6710
6711 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6712 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6713 tgamma.
6714 * math/auto-libm-test-out: Regenerated.
6715 * sysdeps/i386/fpu/libm-test-ulps: Update.
6716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6717
6718 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6719
6720 * math/auto-libm-test-in: Add more tests of tgamma.
6721 * math/auto-libm-test-out: Regenerated.
6722 * sysdeps/i386/fpu/libm-test-ulps: Update.
6723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6724
6725 * math/auto-libm-test-in: Add more tests of tanh.
6726 * math/auto-libm-test-out: Regenerated.
6727 * sysdeps/i386/fpu/libm-test-ulps: Update.
6728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6729
6730 * math/auto-libm-test-in: Add more tests of tan.
6731 * math/auto-libm-test-out: Regenerated.
6732 * sysdeps/i386/fpu/libm-test-ulps: Update.
6733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6734
6735 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6736 * math/auto-libm-test-out: Regenerated.
6737 * sysdeps/i386/fpu/libm-test-ulps: Update.
6738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6739
6740 * math/auto-libm-test-in: Add another test of pow.
6741 * math/auto-libm-test-out: Regenerated.
6742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6743
6744 * math/auto-libm-test-in: Add more tests of lgamma.
6745 * math/auto-libm-test-out: Regenerated.
6746 * sysdeps/i386/fpu/libm-test-ulps: Update.
6747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6748
6749 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6750 log1p.
6751 * math/auto-libm-test-out: Regenerated.
6752 * sysdeps/i386/fpu/libm-test-ulps: Update.
6753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6754
6755 2015-05-01 Mark Wielaard <mjw@redhat.com>
6756
6757 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6758 Elf64_Chdr structs and ELFCOMPRESS constants.
6759
6760 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6761
6762 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6763 expm1.
6764 * math/auto-libm-test-out: Regenerated.
6765 * sysdeps/i386/fpu/libm-test-ulps: Update.
6766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6767
6768 * math/auto-libm-test-in: Add more tests of erf and erfc.
6769 * math/auto-libm-test-out: Regenerated.
6770 * sysdeps/i386/fpu/libm-test-ulps: Update.
6771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6772
6773 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6774
6775 * config.h.in (HAVE_AARCH64_BE): Add.
6776
6777 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6778
6779 * math/auto-libm-test-in: Add more tests of csqrt.
6780 * math/auto-libm-test-out: Regenerated.
6781 * sysdeps/i386/fpu/libm-test-ulps: Update.
6782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6783
6784 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6785 * math/auto-libm-test-out: Regenerated.
6786 * sysdeps/i386/fpu/libm-test-ulps: Update.
6787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6788
6789 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6790
6791 2015-04-29 Roland McGrath <roland@hack.frob.com>
6792
6793 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6794 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6795
6796 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6797 (euidaccess, eaccess): Define as weak aliases.
6798
6799 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6800 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
6801 but __suseconds_t is often 'long int' so some sources assume that
6802 type is being used (e.g. they use %ld to print tv_usec).
6803
6804 2015-04-29 Florian Weimer <fweimer@redhat.com>
6805
6806 [BZ #18007]
6807 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6808 (CVE-2014-8121)
6809 * nss/tst-nss-getpwent.c: New file.
6810 * nss/Makefile (tests): Add new test.
6811
6812 2015-04-28 Joseph Myers <joseph@codesourcery.com>
6813
6814 [BZ #18346]
6815 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6816 exponents less than 48 as cases where high part of mantissa needs
6817 examining to determine whether argument is integral.
6818 * math/libm-test.inc (round_test_data): Add more tests.
6819
6820 2015-04-28 Mark Wielaard <mjw@redhat.com>
6821
6822 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6823
6824 2015-04-27 David S. Miller <davem@davemloft.net>
6825
6826 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6827 __tls_get_addr.
6828 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6829
6830 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
6831
6832 [BZ#18333]
6833 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6834
6835 2015-04-27 Florian Weimer <fweimer@redhat.com>
6836
6837 [BZ#18333]
6838 * time/tzset.c (parse_tzname): Return error on memory allocation
6839 failure.
6840 * test-skeleton.c (struct temp_name_list): Change type of name
6841 member to non-const.
6842 (add_temp_file): Create a copy of the file name.
6843 (delete_temp_files): Deallocate memory.
6844 (create_temp_file): Add comment.
6845
6846 2015-04-24 Florian Weimer <fweimer@redhat.com>
6847
6848 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6849 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6850
6851 2015-04-24 Roland McGrath <roland@hack.frob.com>
6852
6853 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6854 * sysdeps/arm/configure: Regenerated.
6855
6856 2015-04-24 Florian Weimer <fweimer@redhat.com>
6857
6858 [BZ #17715]
6859 * time/tzfile.c (__tzfile_read): Check for large values of
6860 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
6861 * time/tzset.c (__tzstring_len): New function, based on the old
6862 __tzstring function.
6863 (__tzstring): Call __tzstring_len.
6864 (parse_tzname): New helper function extracted from
6865 __tzset_parse_tz. Call __tzstring_len, without making a copy of
6866 the input string.
6867 (parse_offset): New helper function extracted from
6868 __tzset_parse_tz. Replace switch with fallthrough with
6869 initialization before sscanf.
6870 (parse_rule): Likewise.
6871 (__tzset_parse_tz): Rewrite using the new helper functions. Use
6872 new-style function definition.
6873 * timezone/Makefile (tests): Add tst-tzset.
6874 (tst-tzset.out): Dependencies on time zone files.
6875 (tst-tzset-ENV): Set TZDIR.
6876 (testdata/XT%): Copy crafted time zone files.
6877 * timezone/README: Mention crafted time zone files.
6878 * timezone/testdata/XT1, timezone/testdata/XT2,
6879 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6880 files.
6881 * timezone/tst-tzset.c: New test.
6882
6883 2015-04-24 Florian Weimer <fweimer@redhat.com>
6884
6885 * Makeconfig (+gccwarn): Remove -Winline.
6886
6887 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6888
6889 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6890
6891 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6892
6893 * NEWS: Mention sysconf() cache information support for s390.
6894 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6895
6896 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
6897
6898 * math/k_casinh.c (__kernel_casinh): Use __copysign.
6899 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6900 (__nearbyint): Likewise.
6901 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6902 (copysignl): Likewise.
6903
6904 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
6905
6906 [BZ #18287]
6907 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6908 based on padding. (CVE-2015-1781)
6909
6910 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6911
6912 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6913 libc-vdso.h.
6914 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6915 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6916 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6917 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6918 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6919 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6920 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6921 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6922 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6923 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6924 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6925 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6926 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6927 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6928 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6929 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6930 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6931 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6932 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6933 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6934 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6935 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6936 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6937
6938 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
6939
6940 * stdlib/setenv.c (__add_to_environ):
6941 Dump core quickly if setenv (..., NULL, ...) is called.
6942 This time, do it the right way, and pacify GCC with a pragma.
6943
6944 2015-04-17 Roland McGrath <roland@hack.frob.com>
6945
6946 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6947 IMAP->l_prev cannot be null, and #if out the code for the contrary
6948 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6949 believe that NS (&_dl_ns[NSID]) could point outside the array.
6950
6951 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6952 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6953 before using NSID as an index.
6954
6955 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
6956
6957 [BZ #17825]
6958 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6959 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6960 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6961
6962 2015-04-17 Roland McGrath <roland@hack.frob.com>
6963
6964 Add preliminary port to Google Native Client on ARM.
6965 * abi-tags (.*-.*-nacl.*): New entry.
6966 * sysdeps/arm/nacl: New directory.
6967 * sysdeps/nacl: New directory.
6968
6969 2015-04-16 David S. Miller <davem@davemloft.net>
6970
6971 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6972 lowlevellock-futex.h
6973
6974 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
6975
6976 * sysdeps/tile/configure.ac: New file.
6977 * sysdeps/tile/configure: Regenerated.
6978
6979 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6980
6981 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
6982 conditionals for weak_alias and libc_hidden_weak.
6983 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6984 libc_hidden_weak and weak_alias.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6986 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6987 and weak_alias for static one.
6988
6989 2015-04-15 David S. Miller <davem@davemloft.net>
6990
6991 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6992
6993 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6994
6995 [BZ #18206]
6996 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6997 Use signed comparision instead of substraction to avoid
6998 overflow bug.
6999 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7000 Take the sign of ret.
7001 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7002 Do not expect precise return values. Only the sign matters.
7003 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7004 * wcsmbs/test-wcsncmp.c: New File.
7005 * string/test-strncmp.c: Add wcsncmp support.
7006
7007 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7008
7009 [BZ #6792]
7010 * math/w_log1p.c: New file.
7011 * math/w_log1pf.c: Likewise.
7012 * math/w_log1pl.c: Likewise.
7013 * math/Makefile (libm-calls): Add w_log1p.
7014 * math/s_log1pl.c (log1pl): Remove weak_alias.
7015 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7016 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7017 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7018 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7019 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7020 [NO_LONG_DOUBLE] (log1pl): Likewise.
7021 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7022 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7023 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7024 (log1p): Remove long_double_symbol.
7025 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7026 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7027 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7028 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7029 remove weak_alias for corresponding log1p function.
7030 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7031 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7032 * sysdeps/ia64/fpu/w_log1p.c: New file.
7033 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7034 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7035 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7036
7037 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7038
7039 [BZ #18247]
7040 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7041 decimal exponent by 1.
7042 * stdlib/tst-strtod-round-data: Add more tests.
7043 * stdlib/tst-strtod-round.c (tests): Regenerated.
7044
7045 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7046
7047 * math/auto-libm-test-in: Add more tests of clog and clog10.
7048 * math/auto-libm-test-out: Regenerated.
7049 * sysdeps/i386/fpu/libm-test-ulps: Update.
7050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7051
7052 2015-04-09 Roland McGrath <roland@hack.frob.com>
7053
7054 * Makeconfig (module-cppflags): Exclude all .v.i files.
7055 (skip-module-cppflags): Variable removed.
7056
7057 * configure.ac (libc_config_ok): Initialize before reading
7058 preconfigure scripts, not after.
7059 * configure: Regenerated.
7060
7061 * test-skeleton.c (TIMEOUT): Move #define to top level.
7062 (main): Grok environment variable TEST_DIRECT. If set, print
7063 test expectation details into that file and then behave as if
7064 given --direct.
7065
7066 2015-04-09 Florian Weimer <fweimer@redhat.com>
7067
7068 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7069 warning on 32-bit.
7070
7071 2015-04-08 David S. Miller <davem@davemloft.net>
7072
7073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7074
7075 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7076
7077 * math/auto-libm-test-in: Add more tests of atanh.
7078 * math/auto-libm-test-out: Regenerated.
7079 * sysdeps/i386/fpu/libm-test-ulps: Update.
7080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7081
7082 * math/auto-libm-test-in: Add more tests of atan.
7083 * math/auto-libm-test-out: Regenerated.
7084 * sysdeps/i386/fpu/libm-test-ulps: Update.
7085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7086
7087 2015-04-08 Florian Weimer <fweimer@redhat.com>
7088
7089 * elf/pldd.c (main): Rewrite to use struct
7090 scratch_buffer instead of extend_alloca.
7091 * elf/pldd-xx.c (find_maps): Likewise.
7092 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7093 <alloca.h>.
7094 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7095 scratch_buffer instead of extend_alloca.
7096 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7097 grp/compat-initgroups.c.
7098 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7099 Rewrite to use struct scratch_buffer instead of extend_alloca.
7100 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7101 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7102
7103 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7104
7105 * math/auto-libm-test-in: Add more tests of cbrt.
7106 * math/auto-libm-test-out: Regenerated.
7107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7108
7109 * math/auto-libm-test-in: Add more tests of cabs.
7110 * math/auto-libm-test-out: Regenerated.
7111 * sysdeps/i386/fpu/libm-test-ulps: Update.
7112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7113
7114 [BZ #18210]
7115 [BZ #18211]
7116 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7117 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7118 computations.
7119 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7120 clog10.
7121 * math/auto-libm-test-out: Regenerated.
7122 * sysdeps/i386/fpu/libm-test-ulps: Update.
7123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7124
7125 [BZ #18197]
7126 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7127 (atan): Set FE_TONEAREST mode for internal computations.
7128 * math/auto-libm-test-in: Add more tests of atan.
7129 * math/auto-libm-test-out: Regenerated.
7130
7131 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7132
7133 [BZ #17930]
7134 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7135
7136 2015-04-07 Florian Weimer <fweimer@redhat.com>
7137
7138 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7139
7140 2015-04-07 Florian Weimer <fweimer@redhat.com>
7141
7142 * include/scratch_buffer.h: New file.
7143 * malloc/scratch_buffer_grow.c: Likewise.
7144 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7145 * malloc/scratch_buffer_set_array_size.c: Likewise.
7146 * malloc/tst-scratch_buffer.c: Likewise.
7147 * malloc/Makefile (routines): Add scratch_buffer_grow.
7148 (tests): Add test case.
7149 * malloc/Versions (GLIBC_PRIVATE): Export
7150 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7151 __libc_scratch_buffer_set_array_size.
7152
7153 2015-04-06 Richard Henderson <rth@redhat.com>
7154
7155 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7156 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7157
7158 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7159 unsigned int before printing.
7160
7161 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7162
7163 [BZ #17596]
7164 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7165 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7166
7167 2015-04-02 Florian Weimer <fweimer@redhat.com>
7168
7169 * include/libc-internal.h (libc_max_align_t): Define.
7170
7171 2015-04-02 Andreas Schwab <schwab@suse.de>
7172
7173 [BZ #16850]
7174 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7175
7176 2015-04-02 Mel Gorman <mgorman@suse.de>
7177
7178 [BZ #17195]
7179 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7180 as well as the main arena.
7181
7182 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7183
7184 [BZ #18185]
7185 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7186 sharing L2 cache to 2 for Silvermont/Knights Landing.
7187
7188 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7189
7190 [BZ #17711]
7191 * config.make.in (have-protected-data): New.
7192 * configure.ac: Check linker support for protected data symbol.
7193 * configure: Regenerated.
7194 * elf/Makefile (modules-names): Add tst-protected1moda and
7195 tst-protected1modb if $(have-protected-data) is yes.
7196 (tests): Add tst-protected1a and tst-protected1b if
7197 $(have-protected-data) is yes.
7198 ($(objpfx)tst-protected1a): New.
7199 ($(objpfx)tst-protected1b): Likewise.
7200 (tst-protected1modb.so-no-z-defs): Likewise.
7201 * elf/tst-protected1a.c: New file.
7202 * elf/tst-protected1b.c: Likewise.
7203 * elf/tst-protected1mod.h: Likewise.
7204 * elf/tst-protected1moda.c: Likewise.
7205 * elf/tst-protected1modb.c: Likewise.
7206
7207 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7208
7209 [BZ #17711]
7210 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7211 indicates it is called from do_lookup_x on relocation against
7212 protected data, skip the data definion in the executable from
7213 copy reloc.
7214 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7215 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7216 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7217 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7218 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7219 otherwise to 0.
7220 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7221 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7222 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7223 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7224 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7225 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7226
7227 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7228
7229 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7230 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7231
7232 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7233
7234 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7235 THREAD_SETMEM_NC.
7236 * sysdeps/x86_64/nptl/tls.h: Ditto.
7237
7238 2015-03-27 Roland McGrath <roland@hack.frob.com>
7239
7240 * dlfcn/tststatic.c (main): Converted to ...
7241 (do_test): ... this.
7242 (TEST_FUNCTION): New macro.
7243 Include test-skeleton.c.
7244
7245 2015-03-26 Alan Modra <amodra@gmail.com>
7246
7247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7248 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7249 zero for undefined weak.
7250 (elf_machine_plt_conflict): Similarly.
7251
7252 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7253
7254 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7255 atanh.
7256 * math/auto-libm-test-out: Regenerated.
7257 * sysdeps/i386/fpu/libm-test-ulps: Update.
7258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7259
7260 * math/auto-libm-test-in: Add another test of asin.
7261 * math/auto-libm-test-out: Regenerated.
7262 * sysdeps/i386/fpu/libm-test-ulps: Update.
7263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7264
7265 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7266 Remove macro.
7267 (LLL_EBX_REG): Likewise.
7268 (LLL_ENTER_KERNEL): Likewise.
7269
7270 * math/auto-libm-test-in: Add more tests of asin.
7271 * math/auto-libm-test-out: Regenerated.
7272 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7274
7275 [BZ #18138]
7276 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7277 libc_do_syscall_args): New structure.
7278 (INTERNAL_SYSCALL_MAIN_0): New macro.
7279 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7280 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7281 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7282 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7283 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7284 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7285 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7286 Replace conditional definitions by conditional definitions of ....
7287 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7288 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7289 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7290 (libpthread-sysdep_routines): Add libc-do-syscall.
7291 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7292 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7293 to __NR_futex not 240.
7294
7295 2015-03-25 Alan Modra <amodra@gmail.com>
7296
7297 * NEWS: Advertise TLS optimization.
7298 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7299 (DT_PPC_NUM): Increment.
7300 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7301 (CHECK_STATIC_TLS): Use here.
7302 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7303 TLS descriptors.
7304 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7305 * sysdeps/powerpc/dl-tls.c: New file.
7306 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7307 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7308 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7309 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7313
7314 2015-03-25 Alan Modra <amodra@gmail.com>
7315
7316 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7317 for overlapping .opd entries" to "support...".
7318 * sysdeps/powerpc/powerpc64/configure: Regenerate
7319
7320 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7321
7322 * math/auto-libm-test-in: Add more tests of acos.
7323 * math/auto-libm-test-out: Regenerated.
7324 * sysdeps/i386/fpu/libm-test-ulps: Update.
7325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7326
7327 * math/auto-libm-test-in: Add more tests of expm1.
7328 * math/auto-libm-test-out: Regenerated.
7329 * sysdeps/i386/fpu/libm-test-ulps: Update.
7330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7331
7332 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7333
7334 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7335 * math/auto-libm-test-out: Regenerated.
7336 * sysdeps/i386/fpu/libm-test-ulps: Update.
7337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7338
7339 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7341
7342 * math/auto-libm-test-in: Add more tests of log2.
7343 * math/auto-libm-test-out: Regenerated.
7344 * sysdeps/i386/fpu/libm-test-ulps: Update.
7345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7346
7347 2015-03-23 Roland McGrath <roland@hack.frob.com>
7348
7349 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7350 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7351 _IO_IS_APPENDING bit in READ_WRITE instead.
7352
7353 2015-03-23 Florian Weimer <fweimer@redhat.com>
7354
7355 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7356 (__determine_cpumask_size): Replace extend_alloca with a
7357 variable-length array. Do not treat res == 0 as an error.
7358
7359 2015-03-23 Florian Weimer <fweimer@redhat.com>
7360
7361 [BZ #18100]
7362 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7363 and integer overflow.
7364 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7365 (main): Add integer overflow tests.
7366 * manual/pattern.texi (Calling Wordexp): Document additional use
7367 for WRDE_SYNTAX.
7368
7369 2015-03-23 Alan Modra <amodra@gmail.com>
7370
7371 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7372 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7373 and false branch of conditional.
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7375 Likewise.
7376
7377 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7378
7379 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7380 libc-modules.h
7381 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7382 unused declaration of _hurd_intr_rpc_msg_in_trap.
7383 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7384 defined instead of whether it is non-zero.
7385 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7386 input constraint instead of both input and output constraint. Use ecx
7387 clobber instead of %ecx.
7388 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7389 mutex_unlock): Use a statement expression instead of an expression list.
7390 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7391 type to vm_size_t instead of vm_address_t.
7392 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7393 defined instead of whether it is non-zero.
7394 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7395 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7396 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7397 comparisons with mapaddr.
7398 * nscd/nscd-client.h: Include <time.h>.
7399 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7400 9th parameter to __vm_region instead of int.
7401 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7402 * scripts/check-local-headers.sh (exclude): Add device/,
7403 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7404 cthreads.h.
7405
7406 2015-03-19 Roland McGrath <roland@hack.frob.com>
7407
7408 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7409 to account for alignment padding.
7410 * sysdeps/arm/memmove.S: Likewise.
7411
7412 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7413
7414 * sysdeps/unix/sysv/linux/generic/README: New file.
7415
7416 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7417
7418 [BZ #18138]
7419 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7420 (futex_abstimed_wait)
7421 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7422 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7423 of lll_futex_timed_wait.
7424
7425 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7426
7427 [BZ #17542]
7428 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7429
7430 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7431
7432 [BZ #17090]
7433 [BZ #17620]
7434 [BZ #17621]
7435 [BZ #17628]
7436 * NEWS: Update.
7437 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7438 entries with Static TLS too. Skip entries past the end of the
7439 allocated DTV, from Alan Modra.
7440 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7441 Static TLS DTV entry set up from...
7442 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7443 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7444 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7445 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7446 for Static TLS.
7447 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7448 that the slot we find is associated with the given map before
7449 using its generation count.
7450 * nptl_db/db_info.c: Include ldsodefs.h.
7451 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7452 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7453 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7454 (link_map::l_tls_offset): New struct field.
7455 (dtv_t::counter): Likewise.
7456 (rtld_global): New struct.
7457 (_rtld_global): New rtld variable.
7458 (dl_tls_dtv_slotinfo_list): New rtld global field.
7459 (dtv_slotinfo_list): New struct.
7460 (dtv_slotinfo): Likewise.
7461 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7462 (td_lookup): Rename to...
7463 (td_mod_lookup): ... this. Use new mod parameter instead of
7464 LIBPTHREAD_SO.
7465 * nptl_db/td_thr_tlsbase.c: Include link.h.
7466 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7467 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7468 addresses even if the DTV is out of date or missing them.
7469 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7470 index zero-length arrays.
7471 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7472 (td_lookup): Make it a macro implemented in terms of...
7473 (td_mod_lookup): ... this declaration.
7474 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7475 (DB_MAIN_VARIABLE): Likewise.
7476
7477 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7478
7479 [BZ #18134]
7480 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7481
7482 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7483
7484 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7485
7486 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7487
7488 [BZ #18128]
7489 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7490 (atomic_add, atomic_increment_and_test)
7491 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7492
7493 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7494
7495 * stdlib/setenv.c (__add_to_environ):
7496 Dump core quickly if setenv (..., NULL, ...) is called.
7497
7498 2015-03-13 Roland McGrath <roland@hack.frob.com>
7499
7500 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7501 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7502 all the necessary asm magic in one place.
7503 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7504 using those.
7505
7506 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7507
7508 [BZ #14906]
7509 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7510 traced file mtime. Use consistent log message.
7511 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7512 (register_traced_file): Call install_watches. Always set mtime.
7513 (invalidate_cache): Iterate over all trace files. Call install_watches.
7514 (inotify_check_files): Don't inline. Handle watching parent
7515 directories and configuration file movement in and out.
7516 (handle_inotify_events): New function.
7517 (main_loop_poll): Call handle_inotify_events.
7518 (main_loop_epoll): Likewise.
7519 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7520 (struct traced_file): Use array of inotify fds. Add parent directory,
7521 and basename.
7522 (struct database_dyn): Remove unused file_mtime.
7523 (init_traced_file): New inline function.
7524 (define_traced_file): New macro.
7525 * nss/nss_db/db-init.c: Use define_traced_file.
7526 (_nss_db_init): Use init_traced_file.
7527 * nss/nss_files/files-init.c: Use define_traced_file.
7528 (_nss_files_init): Use init_traced_file.
7529
7530 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7531
7532 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7533 [_LIBC]: Do not include <stdlib.h>.
7534 [!_LIBC] (abort): Remove declaration.
7535 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7536 _FP_STATIC_ASSERT instead of conditionally calling abort.
7537 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7538 (_FP_EXTEND_CNAN): Likewise.
7539 (FP_TRUNC): Likewise.
7540 (__FP_CLZ): Likewise.
7541 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7542
7543 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7544
7545 * manual/string.texi (XPG basename): Fix prototype.
7546
7547 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7548
7549 [BZ #18080]
7550 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7551 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7552 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7553 (__setcontext): Likewise.
7554 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7555 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7556 Call rt_sigprocmask syscall one time to set new signal mask
7557 and retrieve the current signal mask instead of two calls.
7558 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7559 (__swapcontext): Likewise.
7560 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7561 * stdlib/tst-setcontext2.c: New file.
7562
7563 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7564
7565 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7566
7567 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7568
7569 [BZ #18093]
7570 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7571 the wrong size.
7572
7573 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7574
7575 [BZ #18043]
7576 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7577
7578 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7579
7580 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7581 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7582 Remove define.
7583 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7584 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7585 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7586 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7587 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7588 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7589 define.
7590 * nptl_db/td_symbol_list.c (td_lookup): Remove
7591 HAVE_ASM_GLOBAL_DOT_NAME code.
7592 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7593 HAVE_ASM_GLOBAL_DOT_NAME check.
7594 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7595 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7596 (DOT_LABEL): Remove define.
7597 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7598 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7599 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7600 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7601 (__TLS_GET_ADDR): Likewise.
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7603 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7604
7605 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7606
7607 [BZ #18111]
7608 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7609 (_FPU_SETCW): Initialize cw from fpsr before storing.
7610 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7611 (fesetexceptflag): Rewrite using fpu_control.h.
7612 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7613
7614 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7615
7616 [BZ #18110]
7617 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7618 asms.
7619 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7620
7621 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7622
7623 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7624 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7625 abort.
7626 (_FP_FMA): Likewise.
7627 (_FP_DIV): Likewise.
7628
7629 2015-03-10 Roland McGrath <roland@hack.frob.com>
7630
7631 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7632 with 0 in that case.
7633 * Makefile (summarize-tests): New canned sequence, factored out of
7634 commands for targets tests and xtests. Display summary lines that
7635 don't start with PASS: or XFAIL: rather than ones that do start with
7636 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7637 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7638 do start with ERROR: or FAIL:.
7639 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7640 (except for [$(build-shared) = yes]).
7641 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7642 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7643 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7644 * nptl/Makefile: Revert 2015-03-04 changes.
7645 [$(CXX) empty] (tests-unsupported): New variable.
7646 * debug/Makefile: Likewise.
7647
7648 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7649 gnulib file. Replace __attribute with __attribute__ throughout.
7650
7651 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7652
7653 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7654
7655 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7656
7657 [BZ #18104]
7658 * math/auto-libm-test-in: Add another test of pow.
7659 * math/auto-libm-test-out: Regenerated.
7660
7661 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7662
7663 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7664 $(config-cflags-nofma).
7665
7666 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7667
7668 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7669 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7670 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7671 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7672 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7673 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7674 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7675 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7676 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7677 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7678 Add comment on closing #endif.
7679
7680 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7681
7682 * posix/wordexp.c (CHAR_IN_SET): New macro.
7683 (parse_param): Use it.
7684
7685 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7686
7687 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7688
7689 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7690
7691 [BZ #18043]
7692 * posix/wordexp.c (parse_param): Fix buffer overflow.
7693 * posix/wordexp-test.c (test_case): Add test case.
7694
7695 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7696
7697 [BZ #18042]
7698 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7699 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7700
7701 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7702
7703 [BZ #18043]
7704 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7705 (do_bz18043): Delete.
7706 (at_page_end): New.
7707 (testit): Refactor to have words at the edge of unreadable page.
7708
7709 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7710
7711 [BZ #16734]
7712 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7713 Cleanup read-only streams as well.
7714 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7715
7716 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7717
7718 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7719 <bits/libc-lockP.h>
7720
7721 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7722
7723 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7724 on [__KERNEL__].
7725 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7726 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7727 * soft-fp/op-common.h (_FP_DECL): Likewise.
7728
7729 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7730
7731 * elf/ifuncdep2.c (global): Replace
7732 __attribute__((visibility("protected"))) with
7733 asm (".protected global").
7734 * elf/ifuncmod1.c (global): Likewise.
7735 * elf/ifuncmod5.c (global): Likewise.
7736
7737 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7738
7739 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7740 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7741
7742 2015-03-06 Roland McGrath <roland@hack.frob.com>
7743
7744 * manual/install.texi (Configuring and compiling):
7745 Document test-wrapper-env-only.
7746 * INSTALL: Regenerated.
7747
7748 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7749
7750 [BZ #18043]
7751 * posix/wordexp.c (parse_param): Fix buffer overflow.
7752 * posix/wordexp-test.c (do_bz18043): Add test case.
7753
7754 2015-03-06 Vincent Bernat <vincent@bernat.im>
7755
7756 * time/tst-strptime2.c (do_test): Ensure failing tests are
7757 reported correctly.
7758 * time/tst-strptime3.c (do_test): Likewise.
7759
7760 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7761
7762 Fix aio_error thread-safety.
7763 * sysdeps/pthread/aio_error.c: New file
7764 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7765 synchronization.
7766
7767 2015-03-06 Florian Weimer <fweimer@redhat.com>
7768
7769 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7770 (group_number, vfprintf): Use it.
7771 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7772 (JUMP, REF): Use it.
7773 (WORK_BUFFER_SIZE): New enum constant.
7774 (process_arg, vfprintf): Use it.
7775
7776 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7777
7778 * manual/errno.texi (Error Messages): Complete example function
7779 by adding missing #define.
7780 (program_invocation_name): Add statement indicating GNU
7781 extension and reference which header file declares the variable.
7782 (program_invocation_short_name): Likewise.
7783
7784 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7785
7786 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7787 compatibility note.
7788
7789 2015-03-05 Roland McGrath <roland@hack.frob.com>
7790
7791 * Makeconfig (test-wrapper-env-only): New variable.
7792 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7793 then use that with $(test-wrapper-env-only) rather than using
7794 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7795
7796 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7797
7798 [BZ #18082]
7799 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7800 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7801 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7802 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7803 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7804 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7805 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7806 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7807 Likewise.
7808 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7809 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7810 Likewise.
7811 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7812 Likewise.
7813 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7814 Likewise.
7815 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7816 Likewise.
7817 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7819 Likewise.
7820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7821 Likewise.
7822 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7823 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7824
7825 2015-03-04 Roland McGrath <roland@hack.frob.com>
7826
7827 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7828 (ETH_ALEN): New macro.
7829 (struct ether_addr): Use it for length of ether_addr_octet.
7830
7831 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7832 (setdb): Don't call __nss_configure_lookup for "rpc".
7833 (do_test): Don't call test_rpc.
7834 (output_rpcent, test_rpc): Functions moved ...
7835 * sunrpc/test-rpcent.c: ... to this new file.
7836 * sunrpc/Makefile (tests): Add it.
7837
7838 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7839 __xpg_sigpause.
7840 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7841 * nptl/tst-signal6.c: Likewise.
7842 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7843 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7844
7845 * configure.ac (libc_cv_cxx_link_ok): New check.
7846 Reset CXX to empty if it fails to link.
7847 * configure: Regenerated.
7848 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7849 bug-atexit3-lib only if $(CXX) is nonempty.
7850 * nptl/Makefile (tests): Likewise for tst-cancel24.
7851 (tests, tests-static): Likewise for tst-cancel24-static.
7852 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7853 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7854 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7855 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7856
7857 2015-03-04 Andreas Schwab <schwab@suse.de>
7858
7859 [BZ #17631]
7860 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7861 for non-GCC compilers.
7862 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7863 Likewise.
7864
7865 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7866
7867 [BZ #17776]
7868 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7869 integer before bitwise and assembly operations.
7870 (feclearexcept): Likewise.
7871 * math/test-fenvinline.c: New file.
7872 * math/Makefile: Add test-fenvinline test.
7873
7874 2015-03-03 Alan Modra <amodra@gmail.com>
7875
7876 [BZ #16512]
7877 * scripts/localplt.awk: Strip off symbol version.
7878 * NEWS: Mention bug fix.
7879
7880 2015-03-02 Roland McGrath <roland@hack.frob.com>
7881
7882 * sysdeps/pthread/timer_routines.c
7883 (timer_free_list, thread_free_list, thread_active_list): Make static.
7884
7885 2015-03-02 Joseph Myers <joseph@codesourcery.com>
7886
7887 [BZ #17779]
7888 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7889 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7890 Undefine.
7891 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7892 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7893 Likewise.
7894 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7895 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7896 Likewise.
7897
7898 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7899
7900 [BZ #18036]
7901 * posix/fnmatch_loop.c (END): Detect invalid pattern.
7902 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7903
7904 2015-03-02 Andreas Schwab <schwab@suse.de>
7905
7906 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7907 variable name.
7908
7909 2015-03-02 Florian Weimer <fweimer@redhat.com>
7910
7911 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7912 Return error status.
7913
7914 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
7915
7916 [BZ #15969]
7917 * locale/findlocale.c (_nl_find_locale): Introduce const
7918 version of loc_name and drop unsafe type casts.
7919
7920 2015-02-27 Roland McGrath <roland@hack.frob.com>
7921
7922 * dlfcn/tststatic2.c (main): Converted to ...
7923 (do_test): ... this.
7924 (TEST_FUNCTION): New macro.
7925 Include test-skeleton.c.
7926
7927 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
7928
7929 [BZ #17711]
7930 * elf/Makefile (tests): Add vismain only if PIE is enabled.
7931 (tests-pie): Add vismain.
7932 (CFLAGS-vismain.c): New.
7933 * elf/vismain.c: Add comments for PIE requirement.
7934
7935 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7936
7937 [BZ #18046]
7938 [BZ #18047]
7939 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7940 0x1p-56L as threshold for just returning the argument.
7941 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7942 0x1p-32L as threshold for just returning the argument.
7943 * math/auto-libm-test-in: Add more tests of atanh.
7944 * math/auto-libm-test-out: Regenerated.
7945 * sysdeps/i386/fpu/libm-test-ulps: Update.
7946 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7947
7948 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7949
7950 * string/bcopy.c (bcopy): Call memmove for performance.
7951
7952 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7953
7954 * string/bzero.c (__bzero): Call memset for performance.
7955
7956 2015-02-27 John David Anglin <dave.anglin@bell.net>
7957
7958 [BZ #18068]
7959 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7960 to 00100000.
7961
7962 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7963
7964 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7965
7966 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7967
7968 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7969 (__kernel_standard): Use CSTR macro when setting exc.name.
7970 * sysdeps/ieee754/Makefile [$(subdir) = math]
7971 (CFLAGS-k_standard.c): Remove variable.
7972
7973 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7974 setting p and q from "else if" to "else".
7975 (qzero): Likewise.
7976 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7977 (qone): Likewise.
7978 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7979 (qzerof): Likewise.
7980 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7981 (qonef): Likewise.
7982 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7983 (qzero): Likewise.
7984 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7985 (qone): Likewise.
7986
7987 [BZ #18038]
7988 [BZ #18039]
7989 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7990 return pi/2 for arguments below 0x1p-113L.
7991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7992 return pi/2 for arguments below 0x1p-106L.
7993 * math/auto-libm-test-in: Add more tests of acos.
7994 * math/auto-libm-test-out: Regenerated.
7995
7996 [BZ #16351]
7997 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7998 (MO): New macro.
7999 (__ieee754_asin): Force underflow exception for results with small
8000 absolute value.
8001 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8002 (MO): New macro.
8003 (__ieee754_asinf): Force underflow exception for results with
8004 small absolute value.
8005 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8006 (__ieee754_asin): Force underflow exception for results with small
8007 absolute value.
8008 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8009 (__ieee754_asinf): Force underflow exception for results with
8010 small absolute value.
8011 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8012 (__ieee754_asinl): Force underflow exception for results with
8013 small absolute value.
8014 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8015 (__ieee754_asinl): Force underflow exception for results with
8016 small absolute value.
8017 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8018 (__ieee754_asinl): Force underflow exception for results with
8019 small absolute value.
8020 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8021 Include <math.h>.
8022 * math/auto-libm-test-in: Do not mark underflow exceptions as
8023 possibly missing for bug 16351.
8024 * math/auto-libm-test-out: Regenerated.
8025
8026 [BZ #18030]
8027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8028 of power of 2 down when low part has opposite sign.
8029 * math/libm-test.inc (logb_test_data): Add more tests.
8030
8031 2015-02-26 Andreas Schwab <schwab@suse.de>
8032
8033 [BZ #18032]
8034 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8035 over collating symbol inside a bracket expression. Minor cleanup.
8036 * posix/tst-fnmatch3.c (do_test): Add test case.
8037
8038 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8039
8040 [BZ #18029]
8041 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8042 Adjust exponent of power of 2 down when low part has opposite
8043 sign.
8044 * math/libm-test.inc (ilogb_test_data): Add more tests.
8045
8046 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8047
8048 [BZ #15969]
8049 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8050 the previous change.
8051
8052 [BZ #15969]
8053 * locale/findlocale.c (_nl_find_locale): Retry archive search
8054 after alias expansion.
8055
8056 2015-02-25 Roland McGrath <roland@hack.frob.com>
8057
8058 * iconv/tst-iconv3.c (main): Converted to ...
8059 (do_test): ... this.
8060 (TEST_FUNCTION): New macro.
8061 Include test-skeleton.c.
8062
8063 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8064 (convert): Make function static.
8065 (test_unalign): Likewise. Add const to argument pointee types.
8066 (main): Replace with static function do_test.
8067 Print "Succeeded." only if RET is zero.
8068 (TEST_FUNCTION): New macro.
8069 Include test-skeleton.c.
8070
8071 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8072 returns a null pointer.
8073
8074 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8075
8076 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8077 to __memcpy_ppc only for static builds.
8078
8079 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8080
8081 [BZ #18020]
8082 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8083 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8084 * math/auto-libm-test-in: Add more tests of asinh.
8085 * math/auto-libm-test-out: Regenerated.
8086 * sysdeps/i386/fpu/libm-test-ulps: Update.
8087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8088
8089 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8090
8091 [BZ #15850]
8092 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8093 and ip6_mtuinfo definitions here.
8094 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8095 in this define too. Update comment.
8096
8097 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8098
8099 * elf/sprof.c (load_shobj): Tweak error message to match others.
8100
8101 2015-02-24 Kevin Easton <kevin@guarana.org>
8102
8103 [BZ #16145] (partial fix)
8104 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8105 to reduce lock contention.
8106
8107 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8108
8109 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8110 (struct timex): Update time comment.
8111 (ADJ_SETOFFSET): Define.
8112
8113 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8114
8115 [BZ #18019]
8116 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8117 2**56 not 2**28 as threshold for log (2x) formula.
8118 * math/auto-libm-test-in: Add more tests of acosh.
8119 * math/auto-libm-test-out: Regenerated.
8120 * sysdeps/i386/fpu/libm-test-ulps: Update.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8122
8123 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8124
8125 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8126 parenthesis around the buf assignment.
8127 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8128
8129 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8130
8131 [BZ #16783]
8132 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8133 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8134 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8135 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8136 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8137 * math/libm-test.inc (scalb_test_data): Add more tests.
8138
8139 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8140
8141 [BZ #17916]
8142 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8143 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8144
8145 2015-02-24 Eric Rannaud <e@nanocritical.com>
8146
8147 [BZ #17523]
8148 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8149 * io/bits/fcntl2.h (open): Use it.
8150 (openat): Likewise.
8151 * io/open.c (__libc_open): Likewise.
8152 * io/open64.c (__libc_open64): Likewise.
8153 * io/open64_2.c (__open64_2): Likewise.
8154 * io/open_2.c (__open_2): Likewise.
8155 * io/openat.c (__openat): Likewise.
8156 * io/openat64.c (__openat64): Likewise.
8157 * io/openat64_2.c (__openat64_2): Likewise.
8158 * io/openat_2.c (__openat_2): Likewise.
8159 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8160 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8161 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8162 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8163 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8164 (__open_nocancel): Likewise.
8165 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8166 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8167 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8168
8169 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8170
8171 [BZ #14841]
8172 * resolv/gethnamaddr.c (getanswer): Skip logging if
8173 RES_USE_DNSSEC is set.
8174 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8175
8176 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8177
8178 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8179
8180 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8181
8182 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8183 201304L, for Unicode 7.
8184
8185 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8186
8187 [BZ #17836]
8188 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8189 shared library. Add gmon-start.os otherwise.
8190 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8191 $(objpfx)gmon-start.os if builing shared library.
8192 ($(objpfx)g$(static-start-installed-name)): Likewise.
8193
8194 2015-02-23 Andreas Schwab <schwab@suse.de>
8195
8196 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8197
8198 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8199
8200 [BZ #17269]
8201 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8202 (enlarge_userbuf): Likewise.
8203
8204 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8205
8206 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8207 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8208 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8209 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8210
8211 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8212
8213 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8214 expression inside statement expression.
8215
8216 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8217
8218 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8219 <sysdeps/nptl/lowlevellock.h> and remove macros and
8220 functions that are now defined there.
8221 (SYS_futex): Remove.
8222 (lll_compare_and_swap): Remove.
8223 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8224
8225 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8226
8227 [BZ #17999]
8228 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8229 instead of scandirat.
8230 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8231 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8232 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8233 __scandirat.
8234 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8235 (__scandirat): Declare. Use libc_hidden_proto.
8236 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8237 Remove variable.
8238 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8239
8240 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8241
8242 [BZ #15319]
8243 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8244 (MO): New macro.
8245 (__ieee754_atan2): For results with small absolute value, force
8246 underflow exception and remove excess range and precision from
8247 return value.
8248 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8249 (MO): New macro.
8250 (__ieee754_atan2f): For results with small absolute value, force
8251 underflow exception and remove excess range and precision from
8252 return value.
8253 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8254 (MO): New macro.
8255 (__atan): For results with small absolute value, force underflow
8256 exception and remove excess range and precision from return value.
8257 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8258 (MO): New macro.
8259 (__atanf): For results with small absolute value, force underflow
8260 exception and remove excess range and precision from return value.
8261 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8262 <math.h>.
8263 (__ieee754_atan2): Force underflow exception for results with
8264 small absolute value.
8265 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8266 <math_private.h>.
8267 (atan): Force underflow exception for results with small absolute
8268 value.
8269 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8270 (__atanf): Force underflow exception for results with small
8271 absolute value.
8272 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8273 <math.h>.
8274 (__atanl): Force underflow exception for results with small
8275 absolute value.
8276 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8277 (__atanl): Force underflow exception for results with small
8278 absolute value.
8279 * sysdeps/x86/fpu/bits/mathinline.h
8280 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8281 (__ieee754_atan2): Only define inline for long double.
8282 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8283 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8284 * math/auto-libm-test-in: Do not mark underflow exceptions as
8285 possibly missing for bug 15319. Add more tests of atan2.
8286 * math/auto-libm-test-out: Regenerated.
8287 * math/libm-test.inc (casin_test_data): Do not mark underflow
8288 exceptions as possibly missing for bug 15319.
8289 (casinh_test_data): Likewise.
8290 * sysdeps/i386/fpu/libm-test-ulps: Update.
8291
8292 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8293
8294 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8295 * sysdeps/mips/bits/endian.h: Fix comments.
8296
8297 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8298
8299 [BZ #17996]
8300 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8301 (hdestroy_r): Likewise.
8302 (hsearch_r): Likewise.
8303 (__hcreate_r): Declare and use libc_hidden_proto.
8304 (__hdestroy_r): Likewise.
8305 (__hsearch_r): Likewise.
8306 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8307 (hcreate): Call __hcreate_r instead of hcreate_r.
8308 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8309 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8310 as weak alias of __hcreate_r.
8311 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8312 __hdestroy_r.
8313 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8314 __hsearch_r.
8315 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8316 Remove variable.
8317 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8318 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8319 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8320 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8321
8322 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8323
8324 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8325 arena_lock into a single arena_get.
8326
8327 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8328
8329 * dl-reloc.c: Inlucde libc-internal.h.
8330 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8331 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8332 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8333 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8334 (grow_heap): Likewise.
8335 * malloc/malloc.c: Include libc-internal.h.
8336 (do_check_malloc): Call powerof2.
8337 (sysmalloc): Use pagesize. Call ALIGN_UP.
8338 (systrim): Use pagesize.
8339 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8340 (__libc_valloc): Use pagesize.
8341 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8342
8343 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8344
8345 [BZ #17991]
8346 * include/sys/resource.h (__getrlimit64): Declare. Use
8347 libc_hidden_proto.
8348 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8349 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8350 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8351 getrlimit64.
8352 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8353 __getrlimit64.
8354 [!getrlimit64] (getrlimit64): Define as weak alias of
8355 __getrlimit64. Use libc_hidden_weak.
8356 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8357 using __getrlimit64 not __new_getrlimit64.
8358 (__GI_getrlimit64): Likewise.
8359 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8360 Likewise.
8361 (__GI_getrlimit64): Likewise.
8362 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8364 (getrlimit): Add __getrlimit64 alias.
8365 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8366 Likewise.
8367 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8368 Remove variable.
8369 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8370 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8371
8372 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8373
8374 * libio/fileops.c: Add missing sys/mman.h
8375 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8376
8377 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8378
8379 * manual/math.texi (Errors in Math Functions): Clarify goals
8380 regarding inexact and underflow exceptions.
8381
8382 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8383
8384 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8385 * sysdeps/mips/memset.S: Ditto.
8386
8387 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8388
8389 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8390
8391 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8392
8393 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8394 (__v1longjmp): Remove versioned symbol.
8395 (__v1siglongjmp): Remove alias and versioned symbol.
8396 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8397 (__v2siglongjmp): Likewise.
8398
8399 2015-02-16 Torvald Riegel <triegel@redhat.com>
8400
8401 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8402
8403 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8404
8405 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8406
8407 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8408
8409 [BZ #17987]
8410 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8411 zero result does not depend on the sign resulting from
8412 subtraction.
8413 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8414 Likewise.
8415 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8416 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8417 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8418 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8419 * math/libm-test.inc (remquo_test_data): Add more tests.
8420
8421 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8422
8423 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8424 Problem reported by J William Piggott.
8425
8426 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8427
8428 [BZ #17978]
8429 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8430 products 4 * y and 2 * y where those would overflow.
8431 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8432 Likewise.
8433 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8434 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8435 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8436 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8437 * math/libm-test.inc (remquo_test_data): Add more tests.
8438
8439 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8440
8441 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8442 [defined _COMPILING_NEWLIB].
8443 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8444 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8445
8446 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8447 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8448
8449 2015-02-16 Torvald Riegel <triegel@redhat.com>
8450
8451 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8452 acquired.
8453
8454 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8455
8456 [BZ #17792]
8457 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8458 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8459 HOST_STACK_END_ADDR): Likewise.
8460
8461 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8462
8463 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8464 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8465 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8466
8467 2015-02-13 Roland McGrath <roland@hack.frob.com>
8468
8469 * sysdeps/generic/c++-types.data: New file.
8470 * sysdeps/generic/ld.abilist: New file.
8471 * sysdeps/generic/libBrokenLocale.abilist: New file.
8472 * sysdeps/generic/libanl.abilist: New file.
8473 * sysdeps/generic/libc.abilist: New file.
8474 * sysdeps/generic/libcrypt.abilist: New file.
8475 * sysdeps/generic/libdl.abilist: New file.
8476 * sysdeps/generic/libm.abilist: New file.
8477 * sysdeps/generic/libpthread.abilist: New file.
8478 * sysdeps/generic/libresolv.abilist: New file.
8479 * sysdeps/generic/librt.abilist: New file.
8480
8481 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8482
8483 [BZ #17569]
8484 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8485 Compute absolute value of x as modified by fmod, not original
8486 value of x.
8487 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8488 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8489 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8490 RUN_TEST_ffI_f1_mod8.
8491 (remquo_test_data): Add more tests.
8492
8493 2015-02-13 Roland McGrath <roland@hack.frob.com>
8494
8495 * sysdeps/init_array/pt-crti.S: New file.
8496
8497 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8498
8499 [BZ #17967]
8500 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8501 __builtin_fmaf instead of relying on contraction of a * b + c.
8502
8503 2015-02-12 J William Piggott <elseifthen@gmx.com>
8504
8505 [BZ #17969]
8506 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8507 node.
8508
8509 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8510
8511 [BZ #17964]
8512 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8513 __builtin_fma instead of relying on contraction of a * b + c.
8514
8515 2015-02-12 Roland McGrath <roland@hack.frob.com>
8516
8517 * Makeconfig (ASFLAGS): Add -Werror=undef.
8518 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8519 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8520 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8521
8522 * Makeconfig (after-link): New variable.
8523 (+link-pie, +link-pie-tests): Use it.
8524 (+link-static, +link-static-tests): Likewise.
8525 (+link, +link-tests): Likewise.
8526 * Makerules (build-module, build-module-asneeded): Likewise.
8527 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8528 Likewise.
8529 * elf/Makefile ($(objpfx)ld.so): Likewise.
8530
8531 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8532
8533 [BZ #17965]
8534 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8535 both struct timeval and struct timespec.
8536
8537 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8538
8539 [BZ #16560]
8540 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8541 and redefine.
8542 (__ieee754_exp2l): Do not multiply small fractional parts by
8543 M_LN2l.
8544 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8545 small argument.
8546 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8547 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8548 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8549 * math/auto-libm-test-in: Add more tests of exp2.
8550 * math/auto-libm-test-out: Regenerated.
8551
8552 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8553
8554 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8555 unaligned path.
8556
8557 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8558
8559 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8560 little endian.
8561
8562 2015-02-12 Andreas Schwab <schwab@suse.de>
8563
8564 [BZ #15790]
8565 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8566 Filter out elision flags from value returned in kind.
8567 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8568 * nptl/tst-pthread-mutexattr.c: New file.
8569
8570 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8571
8572 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8573 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8574 into gnu-gnu, and update comment to refer to abi-tags.
8575
8576 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8577
8578 [BZ #15467]
8579 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8580 (__sincos): Set errno to EDOM for infinite argument.
8581 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8582 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8583 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8584 (__sincosl): Set errno to EDOM for infinite argument.
8585 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8586 (__sincosl): Set errno to EDOM for infinite argument.
8587 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8588 (__sincosl): Set errno to EDOM for infinite argument.
8589 * math/libm-test.inc (sincos_test_data): Test errno setting.
8590
8591 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8592
8593 * string/strxfrm_l.c: Remove #define STRCMP.
8594 * string/strcoll_l.c: Remove #define STRLEN.
8595 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8596 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8597
8598 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8599
8600 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8601 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8602 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8603 * sysdeps/mips/mips64/Makefile: ... here.
8604 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8605 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8606 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8607 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8608 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8609 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8610 * sysdeps/mips/mips64/n64/Implies: Likewise.
8611
8612 2015-02-10 Roland McGrath <roland@hack.frob.com>
8613
8614 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8615 <sys/time.h>, <string.h>, and <errno.h>.
8616 (dest_offset, dest_address, value, zero): Remove unused variables.
8617 (ldouble): Remove typedef.
8618 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8619 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8620 1). Fix code style.
8621 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8622 (check): Function removed.
8623 (CHECK): New macro.
8624 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8625 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8626 Don't call set_sigaction_FP and remove_sigaction_FP here.
8627 (ldouble_test): Just use 'long double' as macro argument, no need for
8628 the 'ldouble' typedef.
8629 (do_test): Set up SIGFPE handler at start, using plain signal rather
8630 than sigaction. Fix code style.
8631
8632 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8633
8634 [BZ #17949]
8635 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8636 jump label.
8637
8638 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8639
8640 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8641 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8642
8643 * sysdeps/powerpc/configure.ac: Remove file.
8644 * sysdeps/powerpc/configure: Likewise.
8645
8646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8647 [sysdep_routines]: Remove wordcopy-power6 object.
8648 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8649 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8650 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8651 (__memmove_ppc32): Likewise.
8652 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8653 file.
8654 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8655 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8656 Remove preprocessor.
8657
8658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8659 [sysdep_routines]: Remove wide chars objects.
8660 [wcsmbs]: New rule for wide char objects.
8661
8662 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8663 Remove wordcopy-power6 obejct.
8664 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8665 Use local call for wordcopy and memcpy symbols.
8666 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8667 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8668 implementation for loader.
8669 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8670
8671 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8672 Remove wordcopy-power7 object.
8673 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8674 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8675 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8676 (_wordcopy_fwd_dest_aligned): Likewise.
8677 (_wordcopy_bwd_aligned): Likewise.
8678 (_wordcopy_bwd_dest_aligned): Likewise.
8679
8680 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8681 Rewrite to call __memmove_ppc instead of include default
8682 implementation.
8683
8684 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8685 Remove wide chars objects.
8686 [wcsmbs]: New rule for wide char objects.
8687
8688 2015-02-09 Andreas Schwab <schwab@suse.de>
8689
8690 [BZ #17912]
8691 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8692 in terms of __O_DIRECTORY.
8693
8694 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8695
8696 * time/getdate.c: Include <stdbool.h>.
8697 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8698 call PTR_MANGLE.
8699 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8700 PTR_DEMANGLE.
8701
8702 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8703
8704 Add ersatz _Static_assert on older C hosts
8705 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8706 pre-C11 C platform that is not known to support _Static_assert.
8707
8708 2015-02-07 Richard Braun <rbraun@sceen.net>
8709
8710 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8711 sigstate.
8712 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8713
8714 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8715
8716 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8717 priority against unexistent AIO_PRIO_DELTA_MAX.
8718 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8719 instead of int.
8720 * misc/fchflags.c (fchflags): Likewise.
8721 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8722 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8723 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8724 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8725 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8726 Declare macros.
8727 [__USE_MISC] (chflags, fchflags): Declare functions.
8728 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8729 EINVAL when nfds is greater than FD_SETSIZE.
8730 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8731 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8732 45.
8733 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8734 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8735 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8736 MACH_RCV_TIMED_OUT.
8737 * hurd/hurd/signal.h (_hurd_self_sigstate,
8738 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8739 Explicit casts from void *.
8740 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8741 * abi-tags: Rename gnu-gnu os into gnu.
8742
8743 [BZ #4719]
8744 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8745 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8746 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8747 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8748 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8749 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8750
8751 [BZ #17944]
8752 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8753 duplicates ADDR->sun_path with sockaddr LEN limitation.
8754 * sysdeps/mach/hurd/connect.c: Include <string.h>
8755 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8756 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8757 * sysdeps/mach/hurd/sendto.c: Likewise.
8758 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8759 implementing it by hand.
8760
8761 2015-02-06 Roland McGrath <roland@hack.frob.com>
8762
8763 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8764 Use sfi_breg on ldr.
8765 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8766 Likewise.
8767
8768 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8769 it's defined.
8770 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8771 Test SIGSETXID only if it's defined.
8772
8773 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8774
8775 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8776 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8777
8778 * nptl/tst-align2.c: Moved ...
8779 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8780 * nptl/Makefile (tests): Remove tst-align2.
8781 * sysdeps/unix/sysv/linux/Makefile
8782 [$(subdir) = nptl] (tests): Add tst-align-clone.
8783 * nptl/tst-getpid1.c: Moved ...
8784 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8785 * nptl/tst-getpid2.c: Moved ...
8786 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8787 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8788 * sysdeps/unix/sysv/linux/Makefile
8789 [$(subdir) = nptl] (tests): ... here.
8790 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8791 * sysdeps/unix/sysv/linux/Makefile
8792 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8793
8794 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8795 Drop trailing \n from perror argument. Use return rather than exit.
8796
8797 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8798 on [SA_SIGINFO].
8799 * nptl/tst-cancel21.c (do_test): Likewise.
8800 * debug/tst-backtrace6.c: Include <signal.h> first thing.
8801 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8802 [!SA_SIGINFO]: Make it a stub test.
8803
8804 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8805 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8806
8807 * posix/tst-getlogin.c: Move to ...
8808 * login/tst-getlogin.c: ... here.
8809 * posix/Makefile (tests): Move tst-getlogin to ...
8810 * login/Makefile (tests): ... here.
8811
8812 * libio/tst-atime.c (do_test): Move local variables SV and E
8813 inside [ST_NOATIME] conditional.
8814
8815 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8816
8817 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8818
8819 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8820 (wait_code): New function replaces macro.
8821 Call nanosleep rather than syscall.
8822
8823 * nptl/pt-system.c: Rewritten. Put everything under
8824 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8825 Use IFUNC to redirect when possible.
8826
8827 * nptl/pt-longjmp.c: Rewritten. Put everything under
8828 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8829 Use IFUNC to redirect when possible.
8830
8831 * nptl/pt-fork.c: Rewritten. Put everything under
8832 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8833 Use IFUNC to redirect when possible.
8834 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8835
8836 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8837 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8838 unconditionally nowadays. This included the only reference to
8839 __vdso_clock_gettime that appears outside libc proper.
8840 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8841 Remove version set (containing only __vdso_clock_gettime).
8842 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8843 Add attribute_hidden.
8844 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8845 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8846 libc_hidden_data_def.
8847 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8848 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8849
8850 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8851 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8852 setrpcent, and getrpcport to ...
8853 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8854 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8855 getrpcbynumber_r, and getrpcent_r to ...
8856 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8857 * inet/getrpcbyname.c: Moved ...
8858 * sunrpc/getrpcbyname.c: ... here.
8859 * inet/getrpcbyname_r.c: Moved ...
8860 * sunrpc/getrpcbyname_r.c: ... here.
8861 * inet/getrpcbynumber.c: Moved ...
8862 * sunrpc/getrpcbynumber.c: ... here.
8863 * inet/getrpcbynumber_r.c: Moved ...
8864 * sunrpc/getrpcbynumber_r.c: ... here.
8865 * inet/getrpcent.c: Moved ...
8866 * sunrpc/getrpcent.c: ... here.
8867 * inet/getrpcent_r.c: Moved ...
8868 * sunrpc/getrpcent_r.c: ... here.
8869 * inet/Makefile (routines): Move those to ...
8870 * sunrpc/Makefile (routines): ... here.
8871 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8872 the $(subdirs) list.
8873 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
8874 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8875 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8876 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8877
8878 * elf/Makefile (routines): Include $(all-dl-routines), not just
8879 $(dl-routines).
8880 (rtld-routines): Likewise. Use = rather than :=.
8881 * sysdeps/aarch64/Makefile [$(subdir) = elf]
8882 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8883 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8884 * sysdeps/arm/Makefile: Likewise.
8885 * sysdeps/i386/Makefile: Likewise.
8886 * sysdeps/x86_64/Makefile: Likewise.
8887 * sysdeps/hppa/Makefile [$(subdir) = elf]
8888 (sysdep_routines, sysdep-rtld-routines): Don't add
8889 $(sysdep-dl-routines) to these.
8890 * sysdeps/ia64/Makefile: Likewise.
8891 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8892 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8893 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8894 Don't add dl-static to these; sysdep-dl-routines alone is enough.
8895 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8896 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8897 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8898 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8899 * sysdeps/powerpc/Makefile [$(subdir) = elf]
8900 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8901 these; sysdep-dl-routines alone is enough.
8902
8903 2015-02-06 Joseph Myers <joseph@codesourcery.com>
8904
8905 [BZ #17932]
8906 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8907 where multiplication results in zero and third argument is finite
8908 and nonzero.
8909 * math/auto-libm-test-in: Add more tests of fma.
8910 * math/auto-libm-test-out: Regenerated.
8911
8912 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8913 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8914 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8915 (_FP_CMP_EQ): Likewise.
8916 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8917
8918 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8919 extra argument CHECK_NAN. Redefine as wrapper around
8920 _FP_EXTEND_CNAN.
8921
8922 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
8923
8924 * version.h (RELEASE): Set to "stable".
8925 (VERSION): Set to "2.21"
8926 * include/features.h (__GLIBC_MINOR__): Set to 21.
8927
8928 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8929
8930 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8931 Paul Eggert <eggert@cs.ucla.edu>
8932
8933 [BZ #16618]
8934 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8935 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8936 size in bytes. Store needed elements in wpmax. Use needed size
8937 in bytes for extend_alloca.
8938
8939 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
8940
8941 * manual/install.texi: Latest tested versions are GCC 4.9.2,
8942 binutls 2.25, and texinfo 5.2.
8943 * INSTALL: Regenerate.
8944 * sysdeps/nios2/configure: Regenerate.
8945 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8946 * manual/contrib.texi: Update.
8947 * po/be.po: Update.
8948 * po/bg.po: Update.
8949 * po/ca.po: Update.
8950 * po/cs.po: Update.
8951 * po/da.po: Update.
8952 * po/de.po: Update.
8953 * po/el.po: Update.
8954 * po/eo.po: Update.
8955 * po/es.po: Update.
8956 * po/fi.po: Update.
8957 * po/fr.po: Update.
8958 * po/gl.po: Update.
8959 * po/hr.po: Update.
8960 * po/hu.po: Update.
8961 * po/ia.po: Update.
8962 * po/id.po: Update.
8963 * po/it.po: Update.
8964 * po/ja.po: Update.
8965 * po/ko.po: Update.
8966 * po/lt.po: Update.
8967 * po/nb.po: Update.
8968 * po/nl.po: Update.
8969 * po/pl.po: Update.
8970 * po/pt_BR.po: Update.
8971 * po/ru.po: Update.
8972 * po/rw.po: Update.
8973 * po/sk.po: Update.
8974 * po/sl.po: Update.
8975 * po/sv.po: Update.
8976 * po/tr.po: Update.
8977 * po/uk.po: Update.
8978 * po/vi.po: Update.
8979 * po/zh_CN.po: Update.
8980 * po/zh_TW.po: Update.
8981
8982 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8983 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8984 * sysdeps/hppa/dl-irel.h: Remove #warning.
8985 * sysdeps/hppa/entry.h: Provide prototype for
8986 __canonicalize_funcptr_for_compare and cast argument.
8987 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8988 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8989 * sysdeps/hppa/sotruss-lib.c: New file.
8990 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8991 (atomic_compare_and_exchange_val_acq): Use __typeof__.
8992 (atomic_compare_and_exchange_bool_acq): Likewise.
8993 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8994 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8995
8996 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8997 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8998 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8999
9000 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9001
9002 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9003 called function in non-PIC case.
9004
9005 2015-01-31 David S. Miller <davem@davemloft.net>
9006
9007 * sysdeps/sparc/sparc32/bits/atomic.h
9008 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9009 unlock not after it.
9010 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9011 volatile register usage warnings from the compiler.
9012
9013 * sysdeps/sparc/nptl/sem_init.c: Delete.
9014 * sysdeps/sparc/nptl/sem_post.c: Delete.
9015 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9016 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9017 * sysdeps/sparc/sparc32/sem_init.c: New file.
9018 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9019 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9020 padding explicitly initialized.
9021 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9022 padding for in-semaphore spinlock.
9023 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9024 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9025 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9026 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9027 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9028 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9029 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9030 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9031 version.
9032 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9033 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9034
9035 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9036
9037 [BZ #17801]
9038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9039 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9040 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9041 New.
9042 (index_AVX_Fast_Unaligned_Load): Likewise.
9043 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9044 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9045 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9046 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9047 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9048 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9049 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9050 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9051 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9052
9053 2015-01-29 Andreas Schwab <schwab@suse.de>
9054
9055 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9056
9057 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9058
9059 [BZ #17892]
9060 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9061
9062 2015-01-28 Martin Sebor <msebor@redhat.com>
9063
9064 * math/README.libm-test: Clarify. Add "How to read the test output."
9065
9066 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9067
9068 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9069 Define to 0.
9070
9071 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9072
9073 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9074 (__HAVE_64B_ATOMICS): Define to 0.
9075
9076 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9077
9078 [BZ #17885]
9079 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9080 value to set as new flag.
9081
9082 [BZ #16576]
9083 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9084 and use _ARCH_PPCSQ instead.
9085 (__ieee754_sqrt): Likewise.
9086 (__ieee754_sqrtf): Likewise.
9087 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9088 _ARCH_PPCSQ is defined.
9089 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9090 fsqrt instruction.
9091 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9092 _ARCH_PPCSQ is defined.
9093 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9094 fsqrts instruction.
9095 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9096
9097 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9098
9099 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9100 bug (GCC BZ #64739).
9101
9102 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9103
9104 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9105 Mark _retval as used.
9106 (lll_futex_wake_unlock): Likewise.
9107 (lll_futex_timed_wait_requeue_pi): Likewise.
9108
9109 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9110 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9111 register variables.
9112
9113 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9114 libm_hidden_def.
9115
9116 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9117 (__bswap_64): Mark as __always_inline.
9118
9119 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9120
9121 [BZ #15378]
9122 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9123 when none of the search directories exist.
9124
9125 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9126
9127 [BZ #17869]
9128 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9129 power8 in .machine directive.
9130
9131 [BZ #17868]
9132 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9133 set dependency from opd value.
9134
9135 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9136
9137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9138 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9139 architecture.
9140
9141 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9142
9143 [BZ #17870]
9144 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9145 with uint64_t.
9146 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9147 (uint64_t) 1.
9148 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9149 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9150 Replace 1UL with (uint64_t) 1.
9151 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9152 int with uint64_t.
9153
9154 2015-01-23 Roland McGrath <roland@hack.frob.com>
9155
9156 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9157 (if_freenameindex): Likewise.
9158
9159 * resource/getrlimit64.c: Add missing libc_hidden_def.
9160
9161 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9162
9163 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9164 __label__.
9165 (_FP_FMA): Likewise.
9166 (_FP_TO_INT_ROUND): Likewise.
9167 (_FP_FROM_INT): Likewise.
9168
9169 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9170
9171 [BZ #16418]
9172 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9173 Make code racy and cancel safe.
9174
9175 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9176
9177 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9178 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9179 attribution.
9180
9181 * pwd/tst-getpw.c: Rewrite.
9182
9183 [BZ #17702]
9184 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9185 (modules-names): Add moddummy1 and moddummy2.
9186 ($(objpfx)tst-rec-dlopen): Define.
9187 * dlfcn/moddummy1.c: New file.
9188 * dlfcn/moddummy2.c: New file.
9189 * dlfcn/tst-rec-dlopen.c: New file.
9190 * elf/dl-cache.c (_dl_load_cache_lookup):
9191 Return char*. Copy result with alloca/strcpy/strdup.
9192 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9193 returns char*. Free cached. If not saving realname
9194 free cached.
9195 * elf/dl-open.c (dl_open_worker): Do not assert that
9196 _r_debug->r_state is RT_CONSISTENT.
9197 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9198 returns char*.
9199
9200 2015-01-21 Torvald Riegel <triegel@redhat.com>
9201 Carlos O'Donell <carlos@redhat.com>
9202
9203 [BZ #12674]
9204 * nptl/sem_waitcommon.c: New file.
9205 * nptl/sem_wait.c: Include sem_waitcommon.c.
9206 (__sem_wait_cleanup, do_futex_wait): Remove.
9207 (__new_sem_wait): Adapt.
9208 (__new_sem_trywait): New function.
9209 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9210 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9211 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9212 (sem_timedwait): Adapt.
9213 * nptl/sem_post.c (__new_sem_post): Adapt.
9214 (futex_wake): New function.
9215 (__old_sem_post): Add release MO fence.
9216 * nptl/sem_open.c (sem_open): Adapt.
9217 * nptl/sem_init.c (__new_sem_init): Adapt.
9218 (futex_private_if_supported): New function.
9219 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9220 (__old_sem_getvalue): Add using previous code.
9221 * sysdeps/nptl/internaltypes.h: Adapt.
9222 * nptl/tst-sem13.c (do_test): Adapt.
9223 * nptl/tst-sem11.c (main): Adapt.
9224 * nptl/sem_trywait.c: Remove.
9225 * nptl/DESIGN-sem.txt: Remove.
9226 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9227 (gen-as-const-headers): Remove structsem.sym.
9228 * nptl/structsem.sym: Remove.
9229 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9230 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9231 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9232 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9233 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9234 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9235 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9236 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9237 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9238 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9239 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9240 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9241 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9242 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9243 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9244 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9245 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9246 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9247 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9248 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9249 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9250 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9251
9252 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9253
9254 * INSTALL: Regenerated.
9255
9256 * po/libc.pot: Regenerated.
9257
9258 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9259 Sandra Loosemore <sandra@codesourcery.com>
9260 Andrew Jenner <andrew@codesourcery.com>
9261 Joseph Myers <joseph@codesourcery.com>
9262 Nathan Sidwell <nathan@codesourcery.com>
9263
9264 * NEWS: Mention new Nios II port.
9265 * sysdeps/nios2/Implies: New file.
9266 * sysdeps/nios2/Makefile: New file.
9267 * sysdeps/nios2/Subdirs: New file.
9268 * sysdeps/nios2/Versions: New file.
9269 * sysdeps/nios2/__longjmp.S: New file.
9270 * sysdeps/nios2/abort-instr.h: New file.
9271 * sysdeps/nios2/backtrace.c: New file.
9272 * sysdeps/nios2/bits/endian.h: New file.
9273 * sysdeps/nios2/bits/fenv.h: New file.
9274 * sysdeps/nios2/bits/link.h: New file.
9275 * sysdeps/nios2/bits/setjmp.h: New file.
9276 * sysdeps/nios2/bsd-_setjmp.S: New file.
9277 * sysdeps/nios2/bsd-setjmp.S: New file.
9278 * sysdeps/nios2/configure: New generated file.
9279 * sysdeps/nios2/configure.ac: New file.
9280 * sysdeps/nios2/crti.S: New file.
9281 * sysdeps/nios2/crtn.S: New file.
9282 * sysdeps/nios2/dl-init.c: New file.
9283 * sysdeps/nios2/dl-machine.h: New file.
9284 * sysdeps/nios2/dl-sysdep.h: New file.
9285 * sysdeps/nios2/dl-tls.h: New file.
9286 * sysdeps/nios2/dl-trampoline.S: New file.
9287 * sysdeps/nios2/gccframe.h: New file.
9288 * sysdeps/nios2/gmp-mparam.h: New file.
9289 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9290 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9291 * sysdeps/nios2/ldsodefs.h: New file.
9292 * sysdeps/nios2/libc-tls.c: New file.
9293 * sysdeps/nios2/libm-test-ulps: New file.
9294 * sysdeps/nios2/machine-gmon.h: New file.
9295 * sysdeps/nios2/math-tests.h: New file.
9296 * sysdeps/nios2/math_private.h: New file.
9297 * sysdeps/nios2/memusage.h: New file.
9298 * sysdeps/nios2/nptl/Makefile: New file.
9299 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9300 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9301 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9302 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9303 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9304 * sysdeps/nios2/nptl/tls.h: New file.
9305 * sysdeps/nios2/preconfigure: New file.
9306 * sysdeps/nios2/s_fma.c: New file.
9307 * sysdeps/nios2/s_fmaf.c: New file.
9308 * sysdeps/nios2/setjmp.S: New file.
9309 * sysdeps/nios2/sfp-machine.h: New file.
9310 * sysdeps/nios2/sotruss-lib.c: New file.
9311 * sysdeps/nios2/stackguard-macros.h: New file.
9312 * sysdeps/nios2/stackinfo.h: New file.
9313 * sysdeps/nios2/start.S: New file.
9314 * sysdeps/nios2/sysdep.h: New file.
9315 * sysdeps/nios2/tls-macros.h: New file.
9316 * sysdeps/nios2/tst-audit.h: New file.
9317 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9318 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9319 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9320 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9321 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9322 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9323 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9324 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9325 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9326 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9327 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9328 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9329 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9330 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9331 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9332 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9333 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9334 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9335 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9336 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9337 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9338 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9339 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9340 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9341 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9342 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9343 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9344 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9345 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9346 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9347 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9348 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9349 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9350 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9351 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9352 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9353 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9354 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9355 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9356 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9357 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9358 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9359 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9360 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9361
9362 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9363
9364 [BZ #17844]
9365 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9366 (getutent): Use weak_alias in non SHARED case
9367 and default_symbol_version in SHARED case.
9368 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9369 (getutent_r, pututline): Likewise.
9370 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9371 (getutid): Likewise.
9372 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9373 (getutid_r): Likewise.
9374 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9375 (getutline): Likewise.
9376 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9377 (getutline_r): Likewise.
9378 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9379 (updwtmp): Likewise.
9380
9381 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9382
9383 [BZ #17848]
9384 * sysdeps/s390/s390-32/memcmp.S
9385 (memcmp_g5): Rename to __memcmp_g5.
9386 * sysdeps/s390/s390-32/memcpy.S
9387 (memcpy_g5): Rename to __memcpy_g5.
9388 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9389 (memcpy_mvcle) Rename to __memcpy_mvcle.
9390 * sysdeps/s390/s390-32/memset.S
9391 (memset_g5): Rename to __memset_g5.
9392 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9393 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9394 and use prefixed functions.
9395 * sysdeps/s390/s390-32/multiarch/memcmp.S
9396 (memcmp_z196): Rename to __memcmp_z196.
9397 (memcmp_z10): Rename to __memcmp_z10.
9398 (memcmp): Set alias to __memcmp_g5.
9399 (bcmp): Set alias to __memcmp_g5.
9400 * sysdeps/s390/s390-32/multiarch/memcpy.S
9401 (memcpy_z196): Rename to __memcpy_z196.
9402 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9403 (memcpy_z10): Rename to __memcpy_z10.
9404 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9405 (memcpy): Set alias to __memcpy_g5.
9406 * sysdeps/s390/s390-32/multiarch/memset.S
9407 (memset_z196): Rename to __memset_z196.
9408 Jump to __memset_mvcle instead of memset_mvcle.
9409 (memset_z10): Rename to __memset_z10.
9410 Jump to __memset_mvcle instead of memset_mvcle.
9411 (memset_mvcle) Rename to __memset_mvcle.
9412 (memset): Set alias to __memset_g5.
9413 * sysdeps/s390/s390-64/memcmp.S
9414 (memcmp_z900): Rename to __memcmp_z900.
9415 * sysdeps/s390/s390-64/memcpy.S
9416 (memcpy_z900): Rename to __memcpy_z900.
9417 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9418 (memcpy_mvcle) Rename to __memcpy_mvcle.
9419 * sysdeps/s390/s390-64/memset.S
9420 (memset_z900): Rename to __memset_z900.
9421 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9422 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9423 and use prefixed functions.
9424 * sysdeps/s390/s390-64/multiarch/memcmp.S
9425 (memcmp_z196): Rename to __memcmp_z196.
9426 (memcmp_z10): Rename to __memcmp_z10.
9427 (memcmp): Set alias to __memcmp_z900.
9428 (bcmp): Set alias to __memcmp_z900.
9429 * sysdeps/s390/s390-64/multiarch/memcpy.S
9430 (memcpy_z196): Rename to __memcpy_z196.
9431 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9432 (memcpy_z10): Rename to __memcpy_z10.
9433 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9434 (memcpy): Set alias to __memcpy_z900.
9435 * sysdeps/s390/s390-64/multiarch/memset.S
9436 (memset_z196): Rename to __memset_z196.
9437 Jump to __memset_mvcle instead of memset_mvcle.
9438 (memset_z10): Rename to __memset_z10.
9439 Jump to __memset_mvcle instead of memset_mvcle.
9440 (memset_mvcle) Rename to __memset_mvcle.
9441 (memset): Set alias to __memset_z900.
9442
9443 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9444
9445 [BZ #17748]
9446 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9447 __fesetenv instead of fesetenv.
9448
9449 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9450
9451 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9452 macro.
9453
9454 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9455
9456 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9457 regression on LE.
9458
9459 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9460 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9461 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9462 strncmp-power8 object.
9463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9464 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9465 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9466 * NEWS: Update.
9467
9468 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9469 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9470
9471 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9472 trailing byte check.
9473
9474 2015-01-13 David S. Miller <davem@davemloft.net>
9475
9476 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9477
9478 2015-01-13 Roland McGrath <roland@hack.frob.com>
9479
9480 * login/logout.c (logout): Use memset rather than bzero.
9481 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9482 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9483 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9484 (_gethtbyaddr): Likewise.
9485 * locale/programs/simple-hash.c (bcopy): Macro removed.
9486
9487 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9488
9489 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9490 Add strcmp-power8 object.
9491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9492 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9493 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9494 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9495 __strcmp_power8 implementation.
9496 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9497 * NEWS: Update.
9498
9499 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9500 Add strncpy-power8 and stpncpy-power8 objects.
9501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9502 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9503 implementations.
9504 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9505 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9506 __stpncpy_power8 implementation.
9507 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9508 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9509 __strncpy_power8 implementation.
9510 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9511 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9512 * NEWS: Update.
9513
9514 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9515 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9516 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9517
9518 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9519 strncat-power8 object.
9520 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9521 __strcat_power8 implementation.
9522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9523 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9524 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9525 optimized strcat for power8.
9526
9527 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9528 strcpy-power8 and stpcpy-power8 objects.
9529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9530 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9531 implementations.
9532 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9533 multiarch stpcpy implementation for POWER8.
9534 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9535 multiarch strcpy implementation for POWER8.
9536 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9537 __strcpy_power8 function.
9538 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9539 stpcpy for POWER8.
9540 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9541 strcpy for POWER8.
9542 * NEWS: Update.
9543
9544 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9545
9546 [BZ #16009]
9547 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9548 weights and rules. Use do_xfrm_cached if data fits in cache,
9549 do_xfrm otherwise. Moved former main loop to...
9550 * (do_xfrm_cached): New function.
9551 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9552 find_idx, find_position and stack_push.
9553 * (find_idx): New function.
9554 * (find_position): Likewise.
9555 * localedata/sort-test.sh: Added test run for do_xfrm.
9556 * localedata/xfrm-test.c (main): Added command line option
9557 -nocache to run the test with strings that are too large for
9558 the STRXFRM cache.
9559
9560 2015-01-13 Torvald Riegel <triegel@redhat.com>
9561
9562 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9563 variable to lll_futex_wake call, not the value itself.
9564
9565 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9566
9567 [BZ #17803]
9568 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9569 twom64. Adjust value to 0x1p-64L.
9570 (__scalblnl): Only return standard underflowing result for K <=
9571 -64 not K <= -63; adjust exponent for underflowing result by 64
9572 not 63.
9573 * math/libm-test.inc (scalbn_test_data): Add more tests.
9574 (scalbln_test_data): Likewise.
9575
9576 [BZ #17834]
9577 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9578 0x1p63L.
9579 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9580 not HX.
9581 * math/libm-test.inc (scalbn_test_data): Add more tests.
9582 (scalbln_test_data): Likewise.
9583
9584 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9585 Stefani Seibold <stefani@seibold.net>
9586
9587 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9588 (sysdep_routines): Add dl-vdso here, ...
9589 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9590 (sysdep_routines): ... not here.
9591 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9592 fallback when vDSO is not presented.
9593 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9594 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9595 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9596 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9597 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9598 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9599 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9600 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9601 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9602 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9603 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9604 fallback configurable symbol when vDSO is not available.
9605 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9606 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9607 be able to redefine fallback symbol when vDSO is not available.
9608 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9609 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9610
9611 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9612
9613 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9614 (TLS_INIT_TP): Add tm_capable initialization.
9615 (TLS_DEFINE_INIT_TP): Likewise.
9616 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9617 TCB.
9618 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9619 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9620 calculation.
9621 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9622 transactoion is lock elision is built and TCB tm_capable is set.
9623 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9625 (INTERNAL_SYSCALL_NCS): Likewise.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9627 (INTERNAL_SYSCALL_NCS): Likewise.
9628 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9629
9630 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9631 for powerpc.
9632 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9633 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9634 and remove it for 32 bits case.
9635 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9636 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9637 initialization.
9638 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9639 Disable lock elision with rdlocks if elision is not available.
9640
9641 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9642 (sysdep_routines): Add lock elision objects.
9643 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9644 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9645 [pthread_mutex_t] (__elision): Add field.
9646 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9647 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9648 elision definitions for powerpc.
9649 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9650 implementation of lock elision for powerpc.
9651 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9652 implementation of timed lock elision for powerpc.
9653 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9654 implementation of trylock with lock elision for powerpc.
9655 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9656 implementaion of unlock for lock elision for powerpc.
9657 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9658 automatic enable lock elision for mutexes.
9659 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9660 transaction execution definitions for powerpc.
9661 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9662 definitions.
9663 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9664 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9665 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9666 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9667 * NEWS: Update.
9668
9669 2015-01-09 Roland McGrath <roland@hack.frob.com>
9670
9671 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9672 for #include of <shm-directory.h>.
9673
9674 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9675
9676 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9677 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9678
9679 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9680
9681 [BZ #17791]
9682 * NEWS: Mention bug fix.
9683 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9684 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9685 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9686
9687 2015-01-09 Torvald Riegel <triegel@redhat.com>
9688
9689 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9690
9691 2015-01-09 Torvald Riegel <triegel@redhat.com>
9692
9693 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9694
9695 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9696
9697 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9698 pointer and cast to uintptr_t.
9699
9700 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9701
9702 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9703 removed.
9704 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9705
9706 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9707
9708 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9709 of 0.
9710
9711 2015-01-08 Roland McGrath <roland@hack.frob.com>
9712
9713 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9714 <nptl/pthreadP.h> instead.
9715 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9716
9717 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9718 already defined.
9719 [__SIGRTMIN] (init): Function removed.
9720 [__SIGRTMIN] (initialized): Variable removed.
9721 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9722 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9723 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9724 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9725 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9726 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9727 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9728 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9729 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9730 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9731 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9732 * sysdeps/nptl/allocrtsig.c: New file.
9733 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9734 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9735 * sysdeps/generic/testrtsig.h: File removed.
9736
9737 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9738 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9739
9740 * nptl/nptl-init.c (pthread_functions): Conditionalize
9741 .ptr__nptl_setxid initialization on [SIGSETXID].
9742
9743 * sysdeps/nptl/sys/procfs.h: New file.
9744 * nptl_db/Makefile (headers): Add it.
9745 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9746
9747 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9748 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9749 * nptl/pthread_attr_setaffinity.c: Include it.
9750 * nptl/pthread_setattr_default_np.c: Likewise.
9751 * nptl/check-cpuset.h: New file.
9752
9753 2015-01-08 Richard Henderson <rth@redhat.com>
9754
9755 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9756 (CFLAGS-tst-execstack-prog.c): Likewise.
9757 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9758
9759 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9760 Sandra Loosemore <sandra@codesourcery.com>
9761 Andrew Jenner <andrew@codesourcery.com>
9762 Joseph Myers <joseph@codesourcery.com>
9763 Nathan Sidwell <nathan@codesourcery.com>
9764
9765 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9766 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9767 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9768 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9769 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9770 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9771 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9772 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9773 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9774 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9775 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9776 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9777 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9778 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9779 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9780 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9781 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9782
9783 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9784
9785 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9786 timespec struct member in syscall macro.
9787 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9788 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9789 first timeval struct member in syscall macro.
9790 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9791
9792 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9793
9794 [BZ #17748]
9795 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9796 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9797 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9798 __feupdateenv and define as weak alias of __feupdateenv. Use
9799 libm_hidden_weak.
9800 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9801 libm_hidden_def.
9802 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9803 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
9804 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9805 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9806 libm_hidden_def.
9807 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9808 __feupdateenv and define as weak alias of __feupdateenv. Use
9809 libm_hidden_weak.
9810 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9811 libm_hidden_def.
9812 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9813 __feupdateenv and define as weak alias of __feupdateenv. Use
9814 libm_hidden_weak.
9815 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9816 libm_hidden_def.
9817 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9818 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9819 (__feupdateenv): Likewise.
9820 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9821 __feupdateenv and define as weak alias of __feupdateenv. Use
9822 libm_hidden_weak.
9823 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9824 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9825 libm_hidden_def.
9826 * sysdeps/tile/math_private.h (__feupdateenv): New inline
9827 function.
9828 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9829 libm_hidden_def.
9830 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9831 __feupdateenv instead of feupdateenv.
9832 (default_libc_feupdateenv_test): Likewise.
9833 (libc_feresetround_ctx): Likewise.
9834
9835 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9836
9837 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9838 prototype.
9839
9840 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
9841
9842 * posix/regcomp.c (parse_bracket_exp): Initialize type to
9843 COLL_SYM in a couple of places to avoid uninitialized variable
9844 wanings on tilegx gcc 4.8.2.
9845
9846 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9847
9848 * sysdeps/aarch64/strcpy.S: New file.
9849 * sysdeps/aarch64/stpcpy.S: New file.
9850 * NEWS: Updated.
9851
9852 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9853
9854 * sysdeps/aarch64/strrchr.S: New file.
9855 * NEWS: Updated.
9856
9857 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
9858
9859 [BZ #17658]
9860 * stdlib/setenv.c: Fix memory leak when setting large,
9861 duplicate string.
9862
9863 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
9864
9865 [BZ #17273]
9866 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9867 and tabs from buffer before parsing fstab entry.
9868 * misc/tst-mntent.c (main): Add test for mount entry with
9869 trailing spaces and tabs.
9870
9871 2015-01-06 Joseph Myers <joseph@codesourcery.com>
9872
9873 [BZ #17748]
9874 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
9875 * math/fesetround.c (fesetround): Rename to __fesetround and
9876 define as weak alias of __fesetround. Use libm_hidden_weak.
9877 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9878 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9879 * sysdeps/arm/fesetround.c (fesetround): Likewise.
9880 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9881 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9882 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9883 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9884 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9885 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9886 __fesetround_inline.
9887 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9888 __fesetround_inline instead of __fesetround.
9889 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9890 __fesetround and define as weak alias of __fesetround. Use
9891 libm_hidden_weak. Call __fesetround_inline instead of
9892 __fesetround.
9893 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9894 __fesetround and define as weak alias of __fesetround. Use
9895 libm_hidden_weak.
9896 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9897 Likewise.
9898 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9899 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9900 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9901 * sysdeps/tile/math_private.h (__fesetround): New inline function.
9902 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9903 __fesetround and define as weak alias of __fesetround. Use
9904 libm_hidden_weak.
9905 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9906 __fesetround instead of fesetround.
9907 (default_libc_feholdexcept_setround): Likewise.
9908 (libc_feholdsetround_ctx): Likewise.
9909 (libc_feholdsetround_noex_ctx): Likewise.
9910
9911 [BZ #17748]
9912 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9913 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9914 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9915 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9916 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9917 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9918 define as weak alias of __fesetenv. Use libm_hidden_weak.
9919 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9920 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9921 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9922 define as weak alias of __fesetenv. Use libm_hidden_weak.
9923 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9924 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9925 define as weak alias of __fesetenv. Use libm_hidden_weak.
9926 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9927 libm_hidden_def.
9928 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9929 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9930 Likewise.
9931 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9932 define as weak alias of __fesetenv. Use libm_hidden_weak.
9933 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9934 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9935 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9936 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9937 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9938 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9939 __fesetenv instead of fesetenv.
9940 (libc_feresetround_noex_ctx): Likewise.
9941 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9942 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9943 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9944 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9945 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9946 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9947 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9948 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9949 (__feupdateenv): Likewise.
9950 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9951 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9952 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9953 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9954
9955 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9956
9957 [BZ #17806]
9958 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9959 addresses have been freed.
9960
9961 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9962
9963 * resolv/res_init.c (__res_vinit): Improve comments about nserv
9964 and nservall.
9965
9966 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
9967
9968 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9969 Clean up check_pf allocation pattern. addresses
9970
9971 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9972
9973 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9974 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9975 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9976 * nptl/pthread_exit.c (__pthread_exit): Likewise.
9977 * nptl/pthread_join.c (pthread_join): Likewise.
9978 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9979 * sysdeps/posix/waitid.c (__waitid): Likewise.
9980 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9981 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9982 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9983 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9984 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9985 Likewise.
9986 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9987 (__libc_pread64): Likewise.
9988 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9989 (__libc_pwrite): Likewise.
9990 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9991 (__libc_pwrite64): Likewsie.
9992 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9993 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9994 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9995 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9996 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9997 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9998 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10000 Likewise.
10001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10002 (__libc_pread64): Likewise.
10003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10004 Likewise.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10006 (__libc_pwrite64): Likewise.
10007 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10008 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10009 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10010 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10011 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10012 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10013 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10014 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10015 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10016 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10017 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10018 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10019 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10020 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10021 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10022 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10023 Likewise.
10024
10025 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10026
10027 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10028 (CFLAGS-test-double.c): Likewise.
10029 (CFLAGS-test-ldouble.c): Likewise.
10030 (CPPFLAGS-test-ifloat.c): Likewise.
10031 (CPPFLAGS-test-idouble.c): Likewise.
10032 (CPPFLAGS-test-ildoubl.c): Likewise.
10033 (CFLAGS-test-test-fenv.c): Remove variable.
10034 (CFLAGS-test-misc.c): Likewise.
10035
10036 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10037
10038 [BZ #17797]
10039 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10040 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10041 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10042 CLOCKS_PER_SEC == 1000000.
10043 * time/clocktest.c (main): Replace %ld with %jd and cast to
10044 intmax_t.
10045
10046 2015-01-05 Roland McGrath <roland@hack.frob.com>
10047
10048 * sysdeps/generic/unwind-resume.h: New file.
10049 * sysdeps/gnu/unwind-resume.c: Include it.
10050 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10051 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10052 argument list.
10053 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10054 global rather than static.
10055 (_Unwind_Resume): Update user.
10056 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10057 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10058 rather than static. Add __attribute__ ((cold)).
10059 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10060 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10061 * sysdeps/arm/arm-unwind-resume.S: New file.
10062 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10063 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10064 * sysdeps/arm/Makefile [$(subdir) = csu]
10065 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10066 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10067 Add rt-arm-unwind-resume.
10068 [$(subdir) = nptl]
10069 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10070 Add pt-arm-unwind-resume.
10071 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10072 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10073
10074 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10075
10076 [BZ #17748]
10077 * include/fenv.h (__feholdexcept): Declare. Use
10078 libm_hidden_proto.
10079 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10080 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10081 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10082 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10083 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10084 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10085 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10086 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10087 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10088 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10089 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10090 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10091 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10092 (feholdexcept): Likewise.
10093 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10094 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10095 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10096 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10097 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10098 __feholdexcept instead of feholdexcept.
10099 (default_libc_feholdexcept_setround): Likewise.
10100
10101 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10102
10103 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10104 to avoid using stl/str to align destination.
10105
10106 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10107
10108 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10109
10110 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10111
10112 [BZ #17796]
10113 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10114 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10115 Define as weak alias not strong alias.
10116
10117 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10118
10119 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10120 bltzal with addiupc.
10121 (RTLD_START): Ditto.
10122
10123 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10124
10125 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10126 for __vdso_* functions in declarations.
10127 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10128 definitions.
10129 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10130 INTERNAL_VSYSCALL): Use struct return types to check for error.
10131
10132 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10133 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10134 function with cast from llround().
10135 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10136 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10137 Define.
10138
10139 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10140
10141 [BZ #17793]
10142 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10143 Define as weak alias not strong alias.
10144
10145 [BZ #17635]
10146 * ctype/ctype-c99.c: New file. isblank implementation moved from
10147 ...
10148 * ctype/ctype-extn.c: ... here.
10149 (__isblank_l): Move to ...
10150 * ctype/ctype-c99_l.c: ... here. New file.
10151 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10152 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10153 Remove variable.
10154 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10155 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10156 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10157 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10158 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10159
10160 [BZ #17777]
10161 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10162 (posix_fadvise64): Define as weak alias not strong alias.
10163 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10164 (posix_fallocate64): Likewise.
10165 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10166 Remove variable.
10167 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10168 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10169 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10170 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10171 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10172
10173 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10174
10175 [BZ #16191]
10176 * NEWS: Mention bug fix.
10177 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10178 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10179 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10180 (HOST_STACK_END_ADDR): Likewise.
10181
10182 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10183
10184 [BZ #17748]
10185 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10186 * math/fegetround.c (fegetround): Rename to __fegetround and
10187 define as weak alias of __fegetround. Use libm_hidden_weak.
10188 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10189 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10190 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10191 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10192 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10193 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10194 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10195 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10196 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10197 Undefine after rather than before function definition; use
10198 parentheses around function name in definition.
10199 (__fegetround): Also undefine macro after function definition.
10200 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10201 __fegetround and define as weak alias of __fegetround. Use
10202 libm_hidden_weak. Do not undefine as macro.
10203 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10204 Likewise.
10205 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10206 __fegetround and define as weak alias of __fegetround. Use
10207 libm_hidden_weak.
10208 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10209 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10210 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10211 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10212 __fegetround and define as weak alias of __fegetround. Use
10213 libm_hidden_weak.
10214 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10215 __fegetround instead of fegetround.
10216
10217 [BZ #17782]
10218 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10219 Condition macro definition on [__USE_MISC].
10220
10221 [BZ #17781]
10222 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10223 (struct sigaction): Change type of sa_flags field to int.
10224
10225 [BZ #17780]
10226 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10227 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10228 __glibc_reserved0.
10229
10230 * nptl/version.c (banner): Use single year in copyright notice.
10231
10232 * NEWS: Update copyright dates.
10233 * catgets/gencat.c (print_version): Likewise.
10234 * csu/version.c (banner): Likewise.
10235 * debug/catchsegv.sh: Likewise.
10236 * debug/pcprofiledump.c (print_version): Likewise.
10237 * debug/xtrace.sh (do_version): Likewise.
10238 * elf/ldconfig.c (print_version): Likewise.
10239 * elf/ldd.bash.in: Likewise.
10240 * elf/pldd.c (print_version): Likewise.
10241 * elf/sotruss.sh: Likewise.
10242 * elf/sprof.c (print_version): Likewise.
10243 * iconv/iconv_prog.c (print_version): Likewise.
10244 * iconv/iconvconfig.c (print_version): Likewise.
10245 * locale/programs/locale.c (print_version): Likewise.
10246 * locale/programs/localedef.c (print_version): Likewise.
10247 * login/programs/pt_chown.c (print_version): Likewise.
10248 * malloc/memusage.sh (do_version): Likewise.
10249 * malloc/memusagestat.c (print_version): Likewise.
10250 * malloc/mtrace.pl: Likewise.
10251 * manual/libc.texinfo: Likewise.
10252 * nptl/version.c (banner): Likewise.
10253 * nscd/nscd.c (print_version): Likewise.
10254 * nss/getent.c (print_version): Likewise.
10255 * nss/makedb.c (print_version): Likewise.
10256 * posix/getconf.c (main): Likewise.
10257 * scripts/test-installation.pl: Likewise.
10258 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10259
10260 2015-01-02 Will Newton <will.newton@linaro.org>
10261
10262 * sysdeps/arm/armv7/configure: Removed.
10263 * sysdeps/arm/armv7/configure.ac: Likewise.
10264
10265 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10266
10267 * All files with FSF copyright notices: Update copyright dates
10268 using scripts/update-copyrights.
10269 * intl/plural.c: Regenerated.
10270 * locale/programs/charmap-kw.h: Likewise.
10271 * locale/programs/locfile-kw.h: Likewise.
10272
10273 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10274
10275 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10276
10277 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10278
10279 [BZ #17748]
10280 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10281 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10282 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10283 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10284 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10285 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10286 define as weak alias of __fegetenv. Use libm_hidden_weak.
10287 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10288 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10289 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10290 define as weak alias of __fegetenv. Use libm_hidden_weak.
10291 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10292 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10293 define as weak alias of __fegetenv. Use libm_hidden_weak.
10294 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10295 libm_hidden_def.
10296 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10297 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10298 Likewise.
10299 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10300 define as weak alias of __fegetenv. Use libm_hidden_weak.
10301 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10302 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10303 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10304 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10305 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10306 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10307 __fegetenv instead of fegetenv.
10308 (libc_feholdsetround_noex_ctx): Likewise.
10309
10310 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10311
10312 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10313 (Elf_MIPS_ABIFlags_v0): New structure.
10314 (EF_MIPS_FP64): Define.
10315 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10316 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10317 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10318 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10319 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10320 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10321 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10322 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10323 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10324 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10325 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10326 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10327 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10328 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10329 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10330 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10331 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10332 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10333 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10334 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10335 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10336 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10337 field.
10338 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10339 EF_MIPS_FP64.
10340 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10341 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10342 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10343 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10344 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10345 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10346 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10347 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10348 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10349 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10350 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10351 record the current FP ABI extension.
10352 (mips-mode-switch): Define to show if kernel headers support mode
10353 switching.
10354 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10355 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10356 supported SYSV ABI version to 3.
10357 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10358 feature.
10359
10360 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10361 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10362
10363 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10364 path.
10365 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10366
10367 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10368
10369 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10370 __fegetround and redefine to call __fegetround. Remove condition
10371 on [!__NO_MATH_INLINES].
10372 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10373 function.
10374 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10375 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10376 Remove macro.
10377 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10378 instead of <fenv_libc.h>.
10379 (__llrintl): Call fegetround instead of __fegetround.
10380 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10381 instead of <fenv_libc.h>.
10382 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10383 (__lrintl): Call fegetround instead of __fegetround.
10384 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10385 instead of <fenv_libc.h>.
10386 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10387 (__rintl): Call fegetround instead of __fegetround.
10388
10389 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10390
10391 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10392 arrays.
10393
10394 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10395
10396 [BZ #17775]
10397 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10398 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10399 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10400
10401 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10402
10403 * sysdeps/i386/tls-macros.h: Include <features.h>.
10404 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10405 (TLS_IE): Likewise.
10406 (TLS_LD): Likewise.
10407 (TLS_GD): Likewise.
10408 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10409 define for GCC >= 5.0.
10410
10411 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10412
10413 * math/test-fenv.c (test_single_exception, set_single_exc,
10414 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10415 feexcp_mask_test, feenable_test, fe_single_test): Add
10416 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10417 case where they are not used.
10418 * math/libm-test.inc: Likewise.
10419 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10420 unused in the absence of FP rounding/exception support.
10421 * stdio-common/tst-printf-round.c: Likewise.
10422 * stdlib/tst-strtod-round.c: Likewise.
10423 * stdlib/tst-strtod-underflow.c: Likewise.
10424
10425 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10426
10427 [BZ #17723]
10428 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10429 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10430 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10431 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10432 libm_hidden_weak.
10433 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10434 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10435 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10436 libm_hidden_def.
10437 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10438 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10439 libm_hidden_weak.
10440 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10441 Likewise.
10442 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10443 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10444 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10445 libm_hidden_weak.
10446 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10447 libm_hidden_def.
10448 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10449 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10450 (__feraiseexcept): Likewise.
10451 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10452 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10453 libm_hidden_weak.
10454 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10455 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10456 libm_hidden_def.
10457 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10458 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10459 Use libm_hidden_def.
10460 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10461 libm_hidden_def.
10462 (feraiseexcept): Define as weak not strong alias. Use
10463 libm_hidden_weak.
10464 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10465 New inline function. Factored out of ...
10466 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10467 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10468 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10469 feraiseexcept.
10470 * math/w_acos.c (__acos): Likewise.
10471 * math/w_asin.c (__asin): Likewise.
10472 * math/w_ilogb.c (__ilogb): Likewise.
10473 * math/w_j0.c (y0): Likewise.
10474 * math/w_j1.c (y1): Likewise.
10475 * math/w_jn.c (yn): Likewise.
10476 * math/w_log.c (__log): Likewise.
10477 * math/w_log10.c (__log10): Likewise.
10478 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10479 * sysdeps/aarch64/fpu/math_private.h
10480 (libc_feupdateenv_test_aarch64): Likewise.
10481 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10482 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10483 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10484 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10485 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10486 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10487 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10488 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10489 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10490 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10491
10492 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10493
10494 [BZ #17732]
10495 * io/test-utime.c (main): Replace %ld with %jd and cast to
10496 intmax_t.
10497 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10498 * nptl/tst-mutex5.c: Include <stdint.h>.
10499 (do_test): Replace %ld with %jd and cast to intmax_t.
10500 * posix/tst-regex.c (run_test): Likewise.
10501 (run_test_backwards): Likewise.
10502 * rt/tst-clock.c: Include <stdint.h>.
10503 (clock_test): Replace %ld with %jd and cast to intmax_t.
10504 * rt/tst-cpuclock1.c: Include <stdint.h>.
10505 (do_test): Replace %lu with %ju and cast to uintmax_t.
10506 * rt/tst-cpuclock2.c: Include <stdint.h>.
10507 (do_test): Replace %lu with %ju and cast to uintmax_t.
10508 * rt/tst-mqueue1.c: Include <stdint.h>.
10509 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10510 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10511 intmax_t.
10512 * rt/tst-mqueue4.c (do_test): Likewise.
10513 * rt/tst-timer4.c: Include <stdint.h>.
10514 (check_ts): Replace %ld with %jd and cast to intmax_t.
10515 (do_test): Likewise.
10516 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10517 and cast to intmax_t.
10518 * sysdeps/pthread/tst-timer.c (main): Likewise.
10519 * time/clocktest.c (main): Likewise.
10520 * time/tst-posixtz.c (do_test): Likewise.
10521 * timezone/tst-timezone.c (main): Likewise.
10522
10523 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10524 H.J. Lu <hongjiu.lu@intel.com>
10525
10526 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10527 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10528 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10529 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10530 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10531 version if bit_Fast_Unaligned_Load is set.
10532 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10533 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10534 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10535 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10536 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10537 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10539 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10540 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10541 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10542 to 4.
10543 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10544 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10545 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10546 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10547
10548 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10549
10550 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10551 instead of #if to avoid a Wundef warning.
10552 * stdlib/tst-limits.c (do_test): Likewise.
10553
10554 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10555 parallel other exception macros.
10556 (fegetenv): Convert from macro to extern inline so that it applies
10557 retroactively to inline functions already seen by the compiler.
10558 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10559
10560 * posix/Makefile (before-compile): Use $(objpfx) for
10561 posix-conf-vars-def.h.
10562
10563 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10564
10565 * posix/getconf.c (main): Use size_t for type of I.
10566 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10567 NSPEC.
10568
10569 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10570 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10571 * posix/posix-envs.def: Likewise.
10572 * sysdeps/posix/sysconf.c: Likewise.
10573 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10574 (specs): Remove array.
10575 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10576 array.
10577
10578 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10579 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10580 (__sysconf): Use CONF_IS_* macros.
10581
10582 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10583 ($(objpfx)posix-conf-vars-def.h): New target.
10584 * posix/posix-conf-vars.list: New file.
10585 * posix/posix-conf-vars.h: New file.
10586 * posix/confstr.c: Include posix-conf-vars.h.
10587 (confstr): Use CONF_IS_* macros.
10588 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10589 CONF_IS_* macros.
10590 * scripts/gen-posix-conf-vars.awk: New file.
10591
10592 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10593
10594 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10595 fegetround): Add no-op macros to avoid linknamespace issues.
10596
10597 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10598 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10599
10600 * sysdeps/unix/sysv/linux/tile/sysdep.h
10601 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10602 assembly-specific section to avoid a redefinition warning.
10603
10604 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10605 long before casting to pointer to avoid a cast warning.
10606
10607 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10608
10609 * sysdeps/tile/tilegx/Implies: New file.
10610
10611 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10612
10613 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10614
10615 2014-12-23 Florian Weimer <fweimer@redhat.com>
10616
10617 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10618
10619 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10620
10621 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10622 not define.
10623 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10624 <kernel-features.h>.
10625 (__utimes) [__NR_utimes]: Make code unconditional.
10626 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10627 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10628 (__ASSUME_UTIMES): Do not undefine.
10629 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10630 (__ASSUME_UTIMES): Likewise.
10631 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10632 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10633 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10634 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10635
10636 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10637
10638 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10639
10640 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10641
10642 [BZ #17747]
10643 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10644 alias to weak alias for j0l, y0l.
10645 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10646 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10647
10648 [BZ #17746]
10649 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10650 conversion.
10651
10652 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10653
10654 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10655 to zero if not already defined.
10656
10657 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10658
10659 [BZ #17724]
10660 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10661 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10662 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10663 (char *) casts added.
10664 * sysdeps/ieee754/k_standardf.c: New file.
10665 * sysdeps/ieee754/k_standardl.c: Likewise.
10666 * math/Makefile (libm-support): Remove k_standard.
10667 (libm-calls): Add k_standard.
10668
10669 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10670
10671 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10672 Optimize to avoid an unnecessary FPCR read.
10673
10674 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10675
10676 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10677 Optimize to reduce FPCR/FPSR accesses.
10678
10679 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10680
10681 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10682 Call libc_fetestexcept_aarch64.
10683
10684 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10685
10686 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10687 Call libc_fesetround_aarch64.
10688
10689 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10690
10691 [BZ #17733]
10692 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10693 (__bind): Do not define as weak alias.
10694 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10695 define.
10696 (__getsockname): Do not define as weak alias.
10697
10698 2014-12-22 Will Newton <will.newton@linaro.org>
10699
10700 * manual/install.texi: Document that we require bison 2.7
10701 or above.
10702 * INSTALL: Regenerate.
10703 * configure.ac: Use AC_CHECK_PROG_VER instead of
10704 AC_PATH_PROG when checking for bison and check for
10705 version 2.7 or above.
10706 * configure: Regenerate.
10707
10708 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10709
10710 [BZ #17745]
10711 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10712 * sysdeps/tile/ffsll.c (ffsll): To here.
10713
10714 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10715
10716 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10717
10718 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10719 if not defined.
10720 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10721 definition.
10722 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10723 hidden ___tls_get_addr.
10724 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10725 hidden __tls_get_addr.
10726 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10727 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10728 Likewise.
10729
10730 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10731
10732 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10733 _dl_init call.
10734
10735 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10736
10737 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10738 from "call _dl_init@PLT".
10739 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10740
10741 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10742
10743 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10744 guarantees.
10745
10746 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10747
10748 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10749
10750 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10751
10752 [BZ #17744]
10753 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10754 strnlen.
10755
10756 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10757
10758 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10759 of multu on MIPSr6.
10760 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10761 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10762 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10763 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10764 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10765
10766 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10767
10768 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10769 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10770 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10771 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10772 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10773 mips32r6/mips64r6.
10774 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10775
10776 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10777
10778 * string/strncat.c (STRNCAT): Simplify implementation.
10779
10780 2014-12-19 David S. Miller <davem@davemloft.net>
10781
10782 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10783 access the quad as both a long double and as a series of 4 words.
10784
10785 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10786 link_map->l_info array access.
10787
10788 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10789
10790 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10791
10792 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10793 * math/atest-exp2.c (TIMEOUT): Likewise.
10794 * math/atest-sincos.c (TIMEOUT): Likewise.
10795
10796 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10797
10798 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10799 -Wno-error with -fno-builtin-lround.
10800
10801 2014-12-19 Torvald Riegel <triegel@redhat.com>
10802
10803 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10804 Contains futex constants and functions moved over from ...
10805 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
10806 <lowlevellock-futex.h>.
10807 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10808 (lll_timedwait_tid): Add comments and parentheses around macro
10809 arguments.
10810
10811 2014-12-19 Torvald Riegel <triegel@redhat.com>
10812
10813 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10814 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
10815 (__lll_private_flag): Remove.
10816 (lll_futex_wait): Likewise.
10817 (lll_futex_timed_wait): Likewise.
10818 (lll_futex_wake): Likewise.
10819 (lll_futex_requeue): Likewise.
10820 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10821 (__lll_timedwait_tid): Spell out argument names.
10822 (lll_timedwait_tid): Add comments and parentheses around macro
10823 arguments.
10824 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10825 LLL_SHARED and LLL_PRIVATE usable from assembly code.
10826
10827 2014-12-19 Torvald Riegel <triegel@redhat.com>
10828
10829 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10830 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10831 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10832 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10833 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10834 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10835 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10836 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10837 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10838 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10839 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10840 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10841 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10842 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10843 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10844 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10845 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10846 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10847 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10848
10849 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10850
10851 * sysdeps/x86_64/x32/Makefile: New file.
10852
10853 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10854
10855 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10856 1L with (mp_limb_t) 1.
10857
10858 2014-12-17 Roland McGrath <roland@hack.frob.com>
10859
10860 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10861 * nptl/libc_pthread_init.c: ... here.
10862 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10863 * nptl/register-atfork.c: ... here.
10864
10865 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10866 Use pthread_sigmask rather than INTERNAL_SYSCALL.
10867 Use assert_perror to check its return value.
10868 (__gai_create_helper_thread): Likewise.
10869
10870 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10871
10872 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10873
10874 2014-12-17 Joseph Myers <joseph@codesourcery.com>
10875
10876 [BZ #17725]
10877 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10878 __profil_counter.
10879 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10880 Likewise.
10881 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10882 Likewise.
10883 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10884 Likewise.
10885 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10886 (profil_counter): Likewise.
10887 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10888 (profil_counter): Likewise.
10889 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10890 Likewise.
10891 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10892 Likewise.
10893 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10894 (profil_counter): Likewise.
10895 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10896 Likewise.
10897 [!__profil_counter] (profil_counter): Define as weak alias of
10898 __profil_counter.
10899 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10900 (profil_counter): Rename to __profil_counter.
10901 [!__profil_counter] (profil_counter): Define as weak alias of
10902 __profil_counter.
10903 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10904 (profil_counter): Rename to __profil_counter.
10905 [!__profil_counter] (profil_counter): Define as weak alias of
10906 __profil_counter.
10907 * sysdeps/posix/profil.c: Update comment referring to
10908 profil_counter.
10909 (__profil): Use __profil_counter instead of profil_counter.
10910 * sysdeps/posix/sprofil.c (profil_counter): Rename to
10911 __profil_counter. Use __profil_counter_ushort and
10912 __profil_counter_uint in definitions.
10913 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10914 instead of profil_counter_uint and profil_counter_ushort.
10915
10916 [BZ #17722]
10917 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10918 define as weak alias of __inet_makeaddr.
10919 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10920 as weak alias of __inet_addr.
10921 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10922 as weak alias of __inet_pton. Use libc_hidden_weak.
10923 * include/arpa/inet.h (__inet_pton): Declare. Use
10924 libc_hidden_proto.
10925 (inet_makeaddr): Don't use libc_hidden_proto.
10926 (__inet_makeaddr): Declare. Use libc_hidden_proto.
10927 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10928 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
10929 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10930 Remove variable.
10931 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10932 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10933
10934 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
10935
10936 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10937
10938 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10939
10940 * stdio-common/bug-vfprintf-nargs.c (do_test):
10941 Cast value to intptr_t to avoid format warning
10942 for usage with PRIdPTR printing macro.
10943
10944 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10945
10946 * libio/tst-widetext.c (do_test):
10947 Use format type %td instead of %Zd for ptrdiff_t
10948 in order to avoid format warning.
10949
10950 2014-12-17 Andreas Schwab <schwab@suse.de>
10951
10952 * nscd/mem.c (gc): Add size_t cast to match printf format.
10953
10954 2014-12-16 Roland McGrath <roland@hack.frob.com>
10955
10956 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10957 (init): Apply PTR_MANGLE to pointers before storing them.
10958 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10959 before using them.
10960
10961 2014-12-16 Joseph Myers <joseph@codesourcery.com>
10962
10963 [BZ #17719]
10964 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10965 define as weak alias of __memrchr.
10966 (__memrchr): Do not define as strong alias of memrchr.
10967 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10968 Remove variable.
10969 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10970 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10971 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10972
10973 [BZ #17717]
10974 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10975 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
10976 (if_indextoname): Rename to __if_indextoname and define as weak
10977 alias of __if_indextoname. Use libc_hidden_weak.
10978 (if_freenameindex): Rename to __if_freenameindex and define as
10979 weak alias of __if_freenameindex.
10980 (if_nameindex): Rename to __if_nameindex and define as weak alias
10981 of __if_nameindex.
10982 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10983 __if_nametoindex and define as weak alias of __if_nametoindex.
10984 Use libc_hidden_weak.
10985 (if_freenameindex): Rename to __if_freenameindex and define as
10986 weak alias of __if_freenameindex.
10987 (if_nameindex): Rename to __if_nameindex and define as weak alias
10988 of __if_nameindex.
10989 (if_indextoname): Rename to __if_indextoname and define as weak
10990 alias of __if_indextoname. Use libc_hidden_weak.
10991 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10992 __if_nametoindex and define as weak alias of __if_nametoindex.
10993 Use libc_hidden_weak.
10994 (if_freenameindex): Rename to __if_freenameindex and define as
10995 weak alias of __if_freenameindex. Use libc_hidden_weak.
10996 (if_nameindex_netlink): Use __if_freenameindex instead of
10997 if_freenameindex.
10998 (if_nameindex): Rename to __if_nameindex and define as weak alias
10999 of __if_nameindex. Use libc_hidden_weak.
11000 (if_indextoname): Rename to __if_indextoname and define as weak
11001 alias of __if_indextoname. Use libc_hidden_weak.
11002 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11003 libc_hidden_proto.
11004 [!_ISOMAC] (__if_freenameindex): Likewise.
11005 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11006 if_nametoindex.
11007 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11008 variable.
11009 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11010 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11011 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11012 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11013 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11014 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11015 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11016
11017 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11018 Remove variable.
11019 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11020 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11021
11022 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11023
11024 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11025 subscript above bounds'
11026
11027 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11028 bounds.
11029
11030 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11031
11032 * libio/tst-fopenloc.c: Use test-skeleton.c.
11033
11034 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11035 (entry): Rename to ITEM.
11036 (do_test, comp): Adjust.
11037
11038 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11039
11040 2014-12-16 Torvald Riegel <triegel@redhat.com>
11041
11042 * string/tester.c: Include <libc-internal.h>.
11043 (test_memset): Ignore -Wmemset-transposed-args.
11044
11045 2014-12-16 Torvald Riegel <triegel@redhat.com>
11046
11047 * misc/tst-mntent2.c (do_test): Fix warning.
11048
11049 2014-12-16 Torvald Riegel <triegel@redhat.com>
11050
11051 * elf/tst-unique4lib.cc(a): Mark as used.
11052
11053 2014-12-16 Florian Weimer <fweimer@redhat.com>
11054
11055 [BZ #17630]
11056 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11057 names.
11058
11059 2014-12-16 Allan McRae <allan@archlinux.org>
11060
11061 * stdio-common/Makefile (tests): Re-add bug26.
11062
11063 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11064
11065 [BZ #17657]
11066 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11067 static array.
11068
11069 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11070
11071 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11072 (__lll_lock_wait): Likewise.
11073 (__lll_timedlock_wait): Likewise.
11074 (__lll_timedwait_tid): Likewise.
11075 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11076 (__lll_robust_timedlock_wait): Likewise.
11077 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11078 (lll_cond_trylock): Likewise.
11079 (__lll_lock): Likewise.
11080 (__lll_robust_lock): Likewise.
11081 (__lll_cond_lock): Likewise.
11082 (lll_robust_cond_lock): Likewise.
11083 (__lll_timedlock): Likewise.
11084 (__lll_robust_timedlock): Likewise.
11085 (__lll_unlock): Likewise.
11086 (__lll_robust_unlock): Likewise.
11087 (lll_wait_tid): Likewise.
11088 (lll_timedwait_tid): Likewise.
11089
11090 2014-12-15 Torvald Riegel <triegel@redhat.com>
11091
11092 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11093
11094 2014-12-15 Torvald Riegel <triegel@redhat.com>
11095
11096 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11097
11098 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11099
11100 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11101 * stdio-common/tst-sprintf.c: Likewise.
11102
11103 2014-12-15 Torvald Riegel <triegel@redhat.com>
11104
11105 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11106
11107 2014-12-15 Jeff Law <law@redhat.com>
11108
11109 [BZ #16617]
11110 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11111 on the heap. (CVE-2012-3406)
11112 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11113 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11114 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11115
11116 2014-12-15 Will Newton <will.newton@linaro.org>
11117
11118 * manual/install.texi: Bump required version of texinfo
11119 to 4.7 from 4.5.
11120 * INSTALL: Regenerated.
11121 * configure.ac: Check for makeinfo version 4.7 and above.
11122 * configure: Regenerated.
11123
11124 2014-12-12 Roland McGrath <roland@hack.frob.com>
11125
11126 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11127 PREFIX, string constant to insert between directory and name.
11128 * sysdeps/posix/shm_open.c: Update caller.
11129 * sysdeps/posix/shm_unlink.c: Likewise.
11130 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11131 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11132 (SEM_SHM_PREFIX): New macro.
11133 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11134 [$(have-thread-library) = no].
11135 * nptl/Makefile (libpthread-routines): Add shm-directory.
11136 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11137 * sysdeps/nptl/shm-directory.h: New file.
11138 * sysdeps/posix/shm-directory.c
11139 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11140 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11141 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11142 INTERNAL_SYSCALL.
11143 (__where_is_shmfs): Function removed.
11144 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11145 Variables removed.
11146 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11147 Use SHM_GET_NAME.
11148 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11149
11150 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11151 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11152 unconditional for use inside libpthread.
11153 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11154
11155 2014-12-12 Roland McGrath <roland@hack.frob.com>
11156
11157 * nptl/pthread_getaffinity.c: New file.
11158 * nptl/pthread_setaffinity.c: New file.
11159 * nptl/pthread_getname.c: New file.
11160 * nptl/pthread_setname.c: New file.
11161
11162 * nptl/pthread_create.c (START_THREAD_DEFN)
11163 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11164
11165 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11166 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11167
11168 * resolv/res_send.c (send_vc): Disable warning resplen may
11169 be used uninitialized.
11170
11171 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11172
11173 * nptl/tst-mutex6.c
11174 (ATTR_NULL): New define checks ATTR against NULL.
11175 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11176 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11177
11178 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11179
11180 [BZ #17581]
11181 * malloc/hooks.c
11182 (mem2mem_check): Revert my previous change.
11183 (malloc_check_get_size): Revert my previous change.
11184 (mem2chunk_check): Revert my previous change.
11185
11186 2014-12-11 Roland McGrath <roland@hack.frob.com>
11187
11188 * sysdeps/posix/shm-directory.c: New file.
11189 * sysdeps/posix/shm-directory.h: New file.
11190 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11191 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11192 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11193 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11194 Transmute EPERM to EACCES.
11195 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11196 from ...
11197 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11198 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11199
11200 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11201
11202 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11203 pointer and cast to uintptr_t.
11204 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11205 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11206 Add cast to avoid warning.
11207 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11208
11209 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11210
11211 * nptl/semaphore.h: Move to ...
11212 * sysdeps/pthread/semaphore.h: ... here.
11213 * Makefile (installed-headers): Change nptl/semaphore.h to
11214 sysdeps/pthread/semaphore.h.
11215
11216 2014-12-11 Roland McGrath <roland@hack.frob.com>
11217
11218 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11219 generated error format strings.
11220
11221 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11222 -Wformat-extra-args warnings for scanf formats.
11223 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11224 test of zero-length format (duh).
11225 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11226 corner-case scanf format test.
11227 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11228 generated fprintf format string.
11229 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11230 corner-case sprintf format tests.
11231 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11232 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11233 -Wformat-extra-args warnings throughout.
11234 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11235 (CFLAGS-scanf4.c): Likewise.
11236 (CFLAGS-scanf7.c): Likewise.
11237 (CFLAGS-tst-sprintf.c): Likewise.
11238 (CFLAGS-tst-printf.c): Likewise.
11239 (CFLAGS-tst-printfsz.c): Likewise.
11240
11241 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11242
11243 * include/cpio.h: New file.
11244 * include/fmtmsg.h: Likewise.
11245
11246 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11247 corresponding format argument to size_t.
11248 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11249 arguments.
11250 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11251 corresponding format argument to size_t.
11252 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11253 arguments.
11254 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11255 corresponding format argument to size_t.
11256 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11257 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11258 (CFLAGS-tst-mbswcs2.c): Likewise.
11259 (CFLAGS-tst-mbswcs3.c): Likewise.
11260 (CFLAGS-tst-mbswcs4.c): Likewise.
11261 (CFLAGS-tst-mbswcs5.c): Likewise.
11262 (CFLAGS-tst-trans.c): Likewise
11263
11264 2014-12-11 Roland McGrath <roland@hack.frob.com>
11265
11266 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11267 rather than assuming they won't contain any '%'s.
11268
11269 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11270
11271 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11272 inhibit_loop_to_libcall to avoid recursive calls.
11273 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11274 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11275
11276 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11277
11278 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11279 prototype.
11280
11281 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11282
11283 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11284 integer value instead of boolean.
11285
11286 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11287
11288 * malloc/malloc.c: Fix powerof2 check.
11289
11290 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11291
11292 * locale/programs/locfile.h (maybe_swap_uint32):
11293 Remove inline and add unused attribute.
11294
11295 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11296
11297 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11298 Truncating assembler expression to a .long expression.
11299
11300 2014-12-11 Andreas Schwab <schwab@suse.de>
11301
11302 * elf/rtld.c (struct map_args): Constify str member.
11303 (do_preload): Constify fname argument.
11304
11305 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11306
11307 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11308 constants definition.
11309
11310 2014-12-11 Andreas Schwab <schwab@suse.de>
11311
11312 [BZ #16657]
11313 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11314 FORCE_ELISION instead of DO_ELISION.
11315 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11316 Remove.
11317 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11318 Likewise.
11319
11320 * iconvdata/gconv-modules: Remove duplicate entry.
11321
11322 2014-12-11 Will Newton <will.newton@linaro.org>
11323
11324 Merge gettext 0.19.3 into intl/.
11325
11326 This involves a number of cosmetic changes to comments
11327 and ANSI function definitions and prototypes throughout
11328 all the files. The gettext copyright header is used but
11329 with the date ranges taken from the glibc copy.
11330
11331 * NEWS: Add gettext merge to 2.21.
11332 * intl/bindtextdom.c: Switch to gettext copyright.
11333 Use ANSI definitions and prototypes.
11334 Use gl_* locking primitives rather than __libc_* ones.
11335 Use __builtin_expect rather than __glibc_likely/unlikely.
11336 * intl/dcgettext.c: Switch to gettext copyright.
11337 Use ANSI definitions and prototypes.
11338 * intl/dcigettext.c: Switch to gettext copyright.
11339 Use ANSI definitions and prototypes.
11340 (INTDIV0_RAISES_SIGFPE): New define.
11341 Use gl_* locking primitives rather than __libc_* ones.
11342 Include eval-plural.h instead of plural-eval.c.
11343 Use __builtin_expect rather than __glibc_likely/unlikely.
11344 * intl/dcngettext.c: Switch to gettext copyright.
11345 Use ANSI definitions and prototypes.
11346 * intl/dgettext.c: Likewise.
11347 * intl/dngettext.c: Likewise.
11348 * intl/plural-eval.c: Renamed to...
11349 * intl/eval-plural.h: ...this.
11350 * intl/explodename.c: Switch to gettext copyright.
11351 Use ANSI definitions and prototypes.
11352 (_nl_explode_name): Use strchr instead of __rawmemchr.
11353 * intl/finddomain.c: Switch to gettext copyright.
11354 Use ANSI definitions and prototypes.
11355 Use gl_* locking primitives rather than __libc_* ones.
11356 (_nl_find_domain): Use malloc rather than alloca for
11357 allocation of temporary locale name.
11358 * intl/gettext.c: Switch to gettext copyright.
11359 Use ANSI definitions and prototypes.
11360 * intl/gettextP.h: Switch to gettext copyright.
11361 Use ANSI definitions and prototypes.
11362 Use gl_* locking primitives rather than __libc_* ones.
11363 * intl/gmo.h: Switch to gettext copyright.
11364 (struct sysdep_string): Move struct segment_pair outside of
11365 struct definition.
11366 * intl/hash-string.c: Use ANSI definitions and prototypes.
11367 * intl/hash-string.h: Switch to gettext copyright.
11368 Use ANSI definitions and prototypes.
11369 * intl/l10nflist.c: Switch to gettext copyright.
11370 Use ANSI definitions and prototypes.
11371 (_nl_normalize_codeset): Avoid integer overflow.
11372 * intl/loadinfo.h: Switch to gettext copyright.
11373 Use ANSI definitions and prototypes.
11374 (LIBINTL_DLL_EXPORTED): New define.
11375 (PATH_SEPARATOR): New define.
11376 * intl/loadmsgcat.c: Switch to gettext copyright.
11377 * intl/localealias.c: Switch to gettext copyright.
11378 Use ANSI definitions and prototypes.
11379 (_nl_expand_alias): Use PATH_SEPARATOR.
11380 * intl/ngettext.c: Switch to gettext copyright.
11381 Use ANSI definitions and prototypes.
11382 * intl/plural-exp.c: Likewise.
11383 * intl/plural-exp.h: Switch to gettext copyright.
11384 Use ANSI definitions and prototypes.
11385 (struct expression): Move definition of enum operator outside
11386 of struct definition.
11387 * intl/plural.c: Regenerate.
11388 * intl/plural.y: Switch to gettext copyright.
11389 Use ANSI definitions and prototypes.
11390 Port to bison 3.0.
11391 * intl/textdomain.c: Switch to gettext copyright.
11392 Use ANSI definitions and prototypes.
11393 Use gl_* locking primitives rather than __libc_* ones.
11394
11395 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11396
11397 * debug/warning-nop.c: Add used atrribute.
11398
11399 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11400
11401 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11402
11403 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11404 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11405 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11406
11407 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11408 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11409
11410 [BZ #17634]
11411 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11412 Undefine after defining function. Define as weak alias of
11413 __wcschr. Use libc_hidden_weak.
11414 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11415 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11416 (libc_hidden_def): Also define __GI___wcschr alias.
11417 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11418 __wcschr and define as weak alias of __wcschr.
11419 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11420 __wcschr.
11421 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11422 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11423 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11424 libc_hidden_weak. Do not use libc_hidden_def.
11425 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11426 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11427 __GI___wcschr alias.
11428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11429 [IS_IN (libc)] (wcschr): Define as macro expanding to
11430 __redirect_wcschr.
11431 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11432 [IS_IN (libc)] (__wcschr_power6): Likewise.
11433 [IS_IN (libc)] (__wcschr_power7): Likewise.
11434 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11435 instead of wcschr.
11436 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11437 __libc_wcschr.
11438 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11439 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11440 __wcschr and define as weak alias of __wcschr. Use
11441 libc_hidden_builtin_def.
11442 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11443 as weak alias of __wcschr. Use libc_hidden_weak.
11444 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11445 wcschr.
11446 * time/era.c (_nl_init_era_entries): Likewise.
11447 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11448 variable.
11449 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11450 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11451
11452 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11453
11454 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11455 format for long int variable.
11456
11457 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11458
11459 [BZ #10672]
11460 * manual/search.texi: (Array Sort Function): Remove claim how to make
11461 qsort stable.
11462
11463 2014-12-10 Andreas Schwab <schwab@suse.de>
11464
11465 [BZ #12847]
11466 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11467 user-controlled locks.
11468
11469 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11470
11471 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11472 register.
11473
11474 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11475
11476 * configure.ac (--disable-werror): New configure option.
11477 (enable_werror): New AC_SUBST.
11478 * configure: Regenerated.
11479 * config.make.in (enable-werror): New variable.
11480 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11481 -Wno-error=undef.
11482 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11483 * manual/install.texi (Configuring and compiling): Document
11484 --disable-werror.
11485 * INSTALL: Regenerated.
11486 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11487 (CFLAGS-tst-chk2.c): Likewise.
11488 (CFLAGS-tst-chk3.c): Likewise.
11489 (CFLAGS-tst-chk4.cc): Likewise.
11490 (CFLAGS-tst-chk5.cc): Likewise.
11491 (CFLAGS-tst-chk6.cc): Likewise.
11492 (CFLAGS-tst-lfschk1.c): Likewise.
11493 (CFLAGS-tst-lfschk2.c): Likewise.
11494 (CFLAGS-tst-lfschk3.c): Likewise.
11495 (CFLAGS-tst-lfschk4.cc): Likewise.
11496 (CFLAGS-tst-lfschk5.cc): Likewise.
11497 (CFLAGS-tst-lfschk6.cc): Likewise.
11498
11499 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11500 (main): Disable -Wdeprecated-declarations around calls to
11501 register_printf_function.
11502
11503 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11504 (do_test): Disable -Wdiv-by-zero around some calls to
11505 fwrite_unlocked and fread_unlocked.
11506
11507 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11508 (DIAG_POP_NEEDS_COMMENT): Likewise.
11509 (_DIAG_STR1): Likewise.
11510 (_DIAG_STR): Likewise.
11511 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11512 * stdio-common/bug21.c: Include <libc-internal.h>.
11513 (do_test): Disable -Wformat around call to sscanf.
11514 * stdio-common/scanf14.c: Include <libc-internal.h>.
11515 (main): Disable -Wformat around some calls to scanf functions.
11516
11517 2014-12-09 Torvald Riegel <triegel@redhat.com>
11518
11519 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11520
11521 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11522
11523 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11524 stack variable alignment.
11525
11526 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11527
11528 [BZ #17682]
11529 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11530 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11531 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11532 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11533 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11534 __getrlimit instead of getrlimit.
11535 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11536 __gettimeofday instead of gettimeofday.
11537 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11538 Likewise.
11539 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11540 Likewise.
11541 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11542 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11543 Remove variable.
11544 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11545 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11546
11547 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11548
11549 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11550 for wide-character tests.
11551
11552 2014-12-04 Roland McGrath <roland@hack.frob.com>
11553
11554 * io/openat64.c: #include <libc-internal.h>
11555 (__openat64): Prototypify. Use ignore_value on MODE.
11556 * io/openat.c: Likewise.
11557 * misc/reboot.c: #include <libc-internal.h>
11558 (reboot): Prototypify. Use ignore_value on HOWTO.
11559 * misc/ptrace.c: #include <libc-internal.h>
11560 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11561
11562 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11563
11564 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11565 XPG4, UNIX98 and XOPEN2K.
11566 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11567 Remove variable.
11568 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11569
11570 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11571
11572 * libio/fileops.c: Use ISO C style for function definitions.
11573 * libio/iofopen.c: Likewise.
11574 * libio/wfileops.c: Likewise.
11575
11576 [BZ #17653]
11577 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11578 offset on EOF.
11579 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11580 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11581 (fgets_func): Function pointer to fgets and fgetws.
11582 (do_ftell_test): Add test to verify ftell value after read
11583 EOF.
11584 (do_test): Set fgets_func.
11585
11586 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11587 O_TRUNC flag for w and w+ modes.
11588 (do_rewind_test): Likewise.
11589 (do_ftell_test): Likewise.
11590 (do_write_test): Likewise.
11591
11592 [BZ #17647]
11593 * libio/fileops.c (do_ftell): Seek only when there are
11594 unflushed writes.
11595 * libio/wfileops.c (do_ftell_wide): Likewise.
11596 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11597 test case.
11598 (do_one_test): Call it.
11599
11600 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11601
11602 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11603 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11604 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11605 Remove variable.
11606 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11607 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11608 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11609
11610 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11611
11612 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11613 Remove variable.
11614 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11615
11616 [BZ #17668]
11617 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11618 as weak alias of __getifaddrs. Use libc_hidden_weak.
11619 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11620 __freeifaddrs. Use libc_hidden_weak.
11621 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11622 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11623 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11624 __freeifaddrs. Use libc_hidden_weak.
11625 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11626 __getifaddrs and define as weak alias of __getifaddrs. Use
11627 libc_hidden_weak.
11628 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11629 __freeifaddrs. Use libc_hidden_weak.
11630 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11631 Remove variable.
11632 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11633 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11634
11635 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11636
11637 [BZ #17601]
11638 * sysdeps/mips/start.S (__start): Use indirect jump to call
11639 __libc_start_main.
11640
11641 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11642
11643 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11644
11645 * nptl/tst-mutex1.c: Include <stdbool.h>.
11646 [!ATTR] (ATTR_NULL): New macro.
11647 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11648 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11649 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11650
11651 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11652 to char *.
11653
11654 [BZ #17665]
11655 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11656 Change conditional to [__USE_MISC].
11657
11658 [BZ #17664]
11659 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11660 fgets_unlocked.
11661 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11662 __fgets_unlocked.
11663 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11664 fgets_unlocked.
11665 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11666 Remove variable.
11667 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11668 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11669 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11670 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11671 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11672 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11673 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11674 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11675 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11676
11677 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11678
11679 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11680
11681 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11682 Remove strpbrk objects.
11683 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11684 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11685 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11686 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11687 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11688 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11689
11690 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11691 Remove strcspn objects.
11692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11693 (__libc_ifunc_impl_list): Remove strcspn implementation.
11694 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11695 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11696 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11697 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11698
11699 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11700 Remove strspn objetcs.
11701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11702 (__libc_ifunc_impl_list): Remove strspn implementation.
11703 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11704 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11705 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11706 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11707
11708 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11709
11710 [BZ #17581]
11711 * malloc/hooks.c
11712 (mem2mem_check): Add a terminator to the chain of checking blocks.
11713 (malloc_check_get_size): Use it here.
11714 (mem2chunk_check): Ditto.
11715
11716 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11717
11718 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11719 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11720
11721 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11722
11723 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11724
11725 * nptl/nptl-init.c: Include libc-internal.h.
11726 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11727
11728 * elf/ldconfig.c (search_dir): Expand comment.
11729
11730 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11731
11732 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11733 variable.
11734 (linknamespace-symlist-stdlibs-tests): Likewise.
11735 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11736 instead of $(objpfx)symlist-stdlibs.
11737 (linknamespace-libs-isoc): New variable.
11738 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11739 (linknamespace-libs-ISO): New variable.
11740 (linknamespace-libs-ISO99): Likewise.
11741 (linknamespace-libs-ISO11): Likewise.
11742 (linknamespace-libs-XPG3): Likewise.
11743 (linknamespace-libs-XPG4): Likewise.
11744 (linknamespace-libs-POSIX): Likewise.
11745 (linknamespace-libs-UNIX98): Likewise.
11746 (linknamespace-libs-XOPEN2K): Likewise.
11747 (linknamespace-libs-POSIX2008): Likewise.
11748 (linknamespace-libs-XOPEN2K8): Likewise.
11749 ($(objpfx)symlist-stdlibs): Replace by
11750 $(linknamespace-symlist-stdlibs-tests). Use
11751 $(linknamespace-libs-$*) as set of libraries.
11752 ($(linknamespace-header-tests)): Update dependencies. Use
11753 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11754 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11755 * conform/linknamespace.pl: Remove comment about considering
11756 definitions of symbols from irrelevant libraries.
11757
11758 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11759
11760 [BZ #13862]
11761 * elf/dl-tls.c: Include <atomic.h>.
11762 (oom): Remove #ifdef SHARED/#endif.
11763 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11764 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11765 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11766 big enough.
11767 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11768 * nptl/Makefile (tests): Add tst-stack4.
11769 (modules-names): Add tst-stack4mod.
11770 ($(objpfx)tst-stack4): New.
11771 (tst-stack4mod.sos): Likewise.
11772 ($(objpfx)tst-stack4.out): Likewise.
11773 ($(tst-stack4mod.sos)): Likewise.
11774 (clean): Likewise.
11775 * nptl/tst-stack4.c: New file.
11776 * nptl/tst-stack4mod.c: Likewise.
11777
11778 2014-11-27 J. Brown <jb999@gmx.de>
11779
11780 * sysdeps/x86/bits/string.h: Add recent CPUs.
11781
11782 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11783
11784 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11785 sigblock.
11786
11787 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11788 feof.
11789
11790 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11791 variable.
11792
11793 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11794
11795 * nscd/connections.c: Include libc-internal.h because of macro
11796 usage ignore_value.
11797
11798 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11799
11800 * string/bits/string3.h (__warn_memset_zero_len): Don't
11801 declare for gcc newer than 5.0.
11802 (memset): Don't test for zero-length __LEN for gcc newer than
11803 5.0.
11804
11805 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11806
11807 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11808 size_t for %zu format.
11809
11810 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11811 difference, not %ju.
11812
11813 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11814
11815 * include/libc-internal.h (ignore_value): New macro.
11816 * nscd/connections.c (restart): Wrap calls to setuid and setgid
11817 with ignore_value.
11818
11819 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11820 definition.
11821
11822 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11823 pthread_cleanup_push to void *.
11824
11825 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11826 Undefine.
11827
11828 [BZ #16619]
11829 [BZ #16740]
11830 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11831 instead of 1L << 52.
11832
11833 * libio/bug-rewind.c (do_test): Check fwscanf return values.
11834 * libio/bug-rewind2.c (do_test): Likewise.
11835
11836 * debug/test-stpcpy_chk-ifunc.c: Remove file.
11837 * debug/test-strcpy_chk-ifunc.c: Likewise.
11838 * wcsmbs/test-wcschr-ifunc.c: Likewise.
11839 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11840 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11841 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11842 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11843 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11844 * Rules [$(multi-arch) = no] (tests): Do not filter out
11845 $(tests-ifunc).
11846 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11847 * debug/Makefile (tests-ifunc): Remove variable.
11848 (tests): Do not add $(tests-ifunc).
11849 * wcsmbs/Makefile (tests-ifunc): Remove variable.
11850 (tests): Do not add $(tests-ifunc).
11851 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11852 [TEST_IFUNC]: Remove conditionals.
11853 * string/test-string.h (TEST_IFUNC): Remove macro.
11854 [TEST_IFUNC]: Remove conditionals.
11855
11856 * string/test-strchr.c [!WIDE] (L): New macro.
11857 [WIDE] (L): Likewise.
11858 (check1): Use CHAR instead of char. Use L on string and character
11859 constants.
11860
11861 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
11862
11863 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11864 tests.
11865 * sysdeps/powerpc/bits/atomic.h
11866 (__arch_atomic_exchange_and_add_32_acq): Add definition.
11867 (__arch_atomic_exchange_and_add_32_rel): Likewise.
11868 (atomic_exchange_and_add_acq): Likewise.
11869 (atomic_exchange_and_add_rel): Likewise.
11870 * sysdeps/powerpc/powerpc32/bits/atomic.h
11871 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11872 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11873 * sysdeps/powerpc/powerpc64/bits/atomic.h
11874 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11875 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11876
11877 2014-11-26 Torvald Riegel <triegel@redhat.com>
11878
11879 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11880 Change synchronization of __sched_fifo_min_prio and
11881 __sched_fifo_max_prio.
11882 * nptl/pthread_mutexattr_getprioceiling.c
11883 (pthread_mutexattr_getprioceiling): Likewise.
11884 * nptl/pthread_mutexattr_setprioceiling.c
11885 (pthread_mutexattr_setprioceiling): Likewise.
11886 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11887 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11888 Likewise.
11889
11890 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11891
11892 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11893 void.
11894
11895 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11896
11897 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11898 third argument const.
11899
11900 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
11901
11902 fnmatch: work around GCC compiler warning bug with uninit var
11903 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11904 This works around a bug with x86-64 GCC 4.9.2 and earlier
11905 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11906 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11907 used uninitialized in this function [-Wmaybe-uninitialized]".
11908
11909 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11910
11911 * posix/bug-regex31.c (main): Return RES not 0.
11912
11913 2014-11-25 Anton Blanchard <anton@samba.org>
11914
11915 * sysdeps/powerpc/bits/atomic.h
11916 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11917
11918 2014-11-24 Sterling Augustine <saugustine@google.com>
11919
11920 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11921
11922 2014-11-24 Ryan Cumming <etaoins@gmail.com>
11923
11924 [BZ #17608]
11925 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11926
11927 2014-11-24 Joseph Myers <joseph@codesourcery.com>
11928
11929 [BZ #17633]
11930 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11931 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11932 variable.
11933 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11934 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11935
11936 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11937
11938 * string/strncpy.c (strncpy): Improve performance by using memset.
11939
11940 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11941
11942 * string/strcpy.c (strcpy):
11943 Improve performance by using strlen and memcpy.
11944
11945 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
11946
11947 * string/strcoll_l.c (get_next_seq): __always_inline.
11948 * string/strcoll_l.c (do_compare): __always_inline.
11949
11950 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11951
11952 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11953 defined.
11954 * include/mqueue.h: Likewise.
11955 * include/stdlib.h: Likewise.
11956
11957 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11958 (get_null_defines): Adjust.
11959 * sunrpc/Makefile: Adjust comment.
11960 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11961 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11962 (CFLAGS-interp.c): Likewise.
11963 (CFLAGS-ldconfig.c): Likewise.
11964 (CPPFLAGS-.os): Likewise.
11965 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11966 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11967 * extra-modules.mk (extra-modules.mk): Likewise.
11968 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11969 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11970 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11971 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11972 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11973 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11974 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11975 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11976 * iconvdata/Makefile (CPPFLAGS): Likewise.
11977 (cpp-srcs-left): Add libof for all iconvdata routines.
11978 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11979 * include/assert.h: Likewise.
11980 * include/ctype.h: Likewise.
11981 * include/errno.h: Likewise.
11982 * include/libc-symbols.h: Likewise.
11983 * include/math.h: Likewise.
11984 * include/netdb.h: Likewise.
11985 * include/resolv.h: Likewise.
11986 * include/stdio.h: Likewise.
11987 * include/stdlib.h: Likewise.
11988 * include/string.h: Likewise.
11989 * include/sys/stat.h: Likewise.
11990 * include/wctype.h: Likewise.
11991 * intl/l10nflist.c: Likewise.
11992 * libidn/idn-stub.c: Likewise.
11993 * libio/libioP.h: Likewise.
11994 * nptl/libc_multiple_threads.c: Likewise.
11995 * nptl/pthreadP.h: Likewise.
11996 * posix/regex_internal.h: Likewise.
11997 * resolv/res_hconf.c: Likewise.
11998 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11999 * sysdeps/arm/memmove.S: Likewise.
12000 * sysdeps/arm/sysdep.h: Likewise.
12001 * sysdeps/generic/_itoa.h: Likewise.
12002 * sysdeps/generic/symbol-hacks.h: Likewise.
12003 * sysdeps/gnu/errlist.awk: Likewise.
12004 * sysdeps/gnu/errlist.c: Likewise.
12005 * sysdeps/i386/i586/memcpy.S: Likewise.
12006 * sysdeps/i386/i586/memset.S: Likewise.
12007 * sysdeps/i386/i686/memcpy.S: Likewise.
12008 * sysdeps/i386/i686/memmove.S: Likewise.
12009 * sysdeps/i386/i686/mempcpy.S: Likewise.
12010 * sysdeps/i386/i686/memset.S: Likewise.
12011 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12012 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12013 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12014 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12015 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12016 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12017 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12018 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12019 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12020 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12021 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12022 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12023 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12024 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12025 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12026 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12028 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12029 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12030 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12031 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12032 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12033 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12034 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12035 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12036 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12037 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12038 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12039 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12040 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12041 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12042 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12043 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12044 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12045 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12047 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12048 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12049 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12051 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12052 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12053 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12054 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12055 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12056 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12057 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12058 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12059 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12060 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12061 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12062 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12063 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12064 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12065 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12066 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12067 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12068 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12069 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12070 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12071 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12072 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12073 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12074 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12075 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12076 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12077 * sysdeps/posix/closedir.c: Likewise.
12078 * sysdeps/posix/opendir.c: Likewise.
12079 * sysdeps/posix/readdir.c: Likewise.
12080 * sysdeps/posix/rewinddir.c: Likewise.
12081 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12082 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12083 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12084 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12085 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12086 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12088 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12092 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12094 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12095 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12096 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12097 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12098 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12099 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12101 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12102 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12103 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12105 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12107 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12109 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12110 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12113 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12115 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12116 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12117 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12118 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12119 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12120 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12121 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12122 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12123 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12124 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12125 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12126 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12127 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12128 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12129 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12130 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12131 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12132 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12133 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12134 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12135 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12136 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12137 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12138 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12139 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12140 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12141 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12142 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12143 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12144 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12145 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12146 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12147 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12148 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12149 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12150 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12151 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12152 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12153 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12154 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12155 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12156 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12157 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12158 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12159 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12160 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12161 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12162 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12163 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12164 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12165 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12166 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12167 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12168 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12169 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12170 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12171 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12172 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12173 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12174 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12175 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12177 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12178 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12179 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12180 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12181 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12182 * sysdeps/unix/alpha/sysdep.S: Likewise.
12183 * sysdeps/unix/alpha/sysdep.h: Likewise.
12184 * sysdeps/unix/make-syscalls.sh: Likewise.
12185 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12186 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12187 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12188 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12189 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12190 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12191 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12192 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12193 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12194 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12195 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12196 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12197 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12198 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12199 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12200 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12201 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12202 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12203 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12204 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12205 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12206 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12207 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12208 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12209 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12210 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12211 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12214 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12215 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12218 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12219 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12220 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12222 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12223 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12224 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12225 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12226 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12227 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12228 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12229 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12230 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12235 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12236 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12237 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12238 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12239 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12240 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12241 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12243 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12244 * sysdeps/x86_64/memcpy.S: Likewise.
12245 * sysdeps/x86_64/memmove.c: Likewise.
12246 * sysdeps/x86_64/memset.S: Likewise.
12247 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12248 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12249 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12250 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12251 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12252 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12253 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12254 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12255 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12256 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12257 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12258 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12259 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12260 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12261 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12262 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12263 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12264 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12265 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12266 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12267 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12268 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12269 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12270 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12271 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12272 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12273 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12274 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12275 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12276 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12277 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12278 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12279 * sysdeps/x86_64/strcmp.S: Likewise.
12280
12281 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12282
12283 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12284 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12285 * elf/rtld-Rules: Likewise.
12286 * elf/setup-vdso.h: Likewise.
12287 * include/assert.h: Likewise.
12288 * include/bits/stdlib-float.h: Likewise.
12289 * include/errno.h: Likewise.
12290 * include/sys/stat.h: Likewise.
12291 * include/unistd.h: Likewise.
12292 * sysdeps/aarch64/setjmp.S: Likewise.
12293 * sysdeps/alpha/setjmp.S: Likewise.
12294 * sysdeps/arm/__longjmp.S: Likewise.
12295 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12296 * sysdeps/arm/setjmp.S: Likewise.
12297 * sysdeps/arm/sysdep.h: Likewise.
12298 * sysdeps/generic/_itoa.h: Likewise.
12299 * sysdeps/generic/dl-sysdep.h: Likewise.
12300 * sysdeps/generic/ldsodefs.h: Likewise.
12301 * sysdeps/i386/dl-tls.h: Likewise.
12302 * sysdeps/i386/setjmp.S: Likewise.
12303 * sysdeps/m68k/setjmp.c: Likewise.
12304 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12305 * sysdeps/mach/hurd/opendir.c: Likewise.
12306 * sysdeps/posix/getcwd.c: Likewise.
12307 * sysdeps/posix/opendir.c: Likewise.
12308 * sysdeps/posix/profil.c: Likewise.
12309 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12310 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12311 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12312 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12313 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12314 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12315 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12316 * sysdeps/s390/dl-tls.h: Likewise.
12317 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12318 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12319 * sysdeps/sh/sh3/setjmp.S: Likewise.
12320 * sysdeps/sh/sh4/setjmp.S: Likewise.
12321 * sysdeps/unix/alpha/sysdep.h: Likewise.
12322 * sysdeps/unix/arm/sysdep.S: Likewise.
12323 * sysdeps/unix/i386/sysdep.S: Likewise.
12324 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12325 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12326 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12327 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12329 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12330 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12331 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12332 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12333 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12334 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12335 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12336 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12339 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12341 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12342 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12343 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12344 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12345 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12347 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12348 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12349 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12351 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12352 * sysdeps/x86_64/setjmp.S: Likewise.
12353
12354 * include/math.h: Use IS_IN instead of IS_IN_libm.
12355 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12356 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12358 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12361 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12362 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12364 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12365 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12366 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12367 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12370 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12371 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12372 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12374 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12375 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12376 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12377 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12378 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12379 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12380 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12382 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12383 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12384 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12385 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12386 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12387 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12389 Likewise.
12390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12391 Likewise.
12392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12393 Likewise.
12394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12395 Likewise.
12396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12397 Likewise.
12398 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12399 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12400 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12401 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12402 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12403 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12409 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12410 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12411 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12412 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12414 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12415 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12416 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12417 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12418 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12419 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12420 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12422 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12424 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12425
12426 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12427 * nptl/pthreadP.h: Likewise.
12428 * nptl_db/structs.def: Likewise.
12429 * sysdeps/arm/sysdep.h: Likewise.
12430 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12431 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12432 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12433 * sysdeps/unix/alpha/sysdep.h: Likewise.
12434 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12435 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12436 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12437 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12438 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12439 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12440 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12441 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12442 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12443 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12444 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12445 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12446 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12447 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12452 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12453 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12455 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12456 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12457 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12458 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12459 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12460
12461 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12462 * nptl/pthreadP.h: Likewise.
12463 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12464 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12465 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12466 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12467 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12468 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12469 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12470 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12471 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12472 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12473 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12474 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12476 Likewise.
12477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12478 Likewise.
12479 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12481 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12484 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12485 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12486 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12487
12488 * dlfcn/dladdr.c: Use IS_IN.
12489 * dlfcn/dladdr1.c: Likewise.
12490 * dlfcn/dlclose.c: Likewise.
12491 * dlfcn/dlerror.c: Likewise.
12492 * dlfcn/dlinfo.c: Likewise.
12493 * dlfcn/dlmopen.c: Likewise.
12494 * dlfcn/dlopen.c: Likewise.
12495 * dlfcn/dlsym.c: Likewise.
12496 * dlfcn/dlvsym.c: Likewise.
12497
12498 * include/ifaddrs.h: Use IS_IN.
12499 * inet/check_pf.c: Likewise.
12500 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12501 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12502
12503 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12504 IS_IN_ldconfig.
12505 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12506 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12507
12508 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12509 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12510 IS_IN (libc).
12511
12512 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12513
12514 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12515 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12516 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12517 * include/libc-symbols.h (IS_IN_LIB): New macro.
12518 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12519 * include/netdb.h: Likewise.
12520 * include/stap-probe.h: Remove all uses of IN_LIB.
12521
12522 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12523 instead of IN_MODULE.
12524 * include/libc-symbols.h (IN_MODULE): Define using
12525 MODULE_NAME.
12526 (PASTE_NAME, PASTE_NAME1): New macros.
12527 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12528 of IN_LIB.
12529 (STAP_PROBE_ASM): Likewise.
12530
12531 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12532
12533 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12534 __mach_init in dlopened libc.
12535
12536 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12537
12538 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12539 * sysdeps/arm/preconfigure: Regenerate.
12540
12541 2014-11-21 Roland McGrath <roland@hack.frob.com>
12542
12543 * nptl/pthread_create.c (__pthread_create_2_1): Set
12544 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12545 when copying values from IATTR into PD.
12546
12547 2014-11-21 Will Newton <will.newton@linaro.org>
12548 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12549
12550 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12551 Refactor inline-asm. Also add comment.
12552
12553 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12554 ElfW macro instead of hardcoded Elf64 types.
12555 (la_aarch64_gnu_pltenter): Likewise.
12556 * sysdeps/aarch64/dl-machine.h
12557 (elf_machine_runtime_setup): Use ElfW(Addr).
12558
12559 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12560 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12561 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12562 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12563 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12564 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12565 (R_AARCH64_TLS_DTPMOD): This.
12566 (R_AARCH64_TLS_DTPREL64): Rename to ...
12567 (R_AARCH64_TLS_DTPREL): This.
12568 (R_AARCH64_TLS_TPREL64): Rename to ...
12569 (R_AARCH64_TLS_TPREL): This.
12570 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12571 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12572 R_AARCH64_TLS_TPREL64.
12573 (elf_machine_rela): Likewise.
12574
12575 2014-11-21 Torvald Riegel <triegel@redhat.com>
12576
12577 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12578 by setting it to 0. 64b atomics are not supported currently.
12579
12580 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12581
12582 [BZ #16469]
12583 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12584 search domain names.
12585
12586 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12587
12588 [BZ #16469]
12589 * NEWS: Update.
12590 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12591 trailing dot.
12592 * posix/tst-getaddrinfo5.c: New.
12593 * posix/Makefile (tests): Add it.
12594
12595 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12596
12597 [BZ #14498]
12598 * NEWS: Fixed.
12599 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12600 after parsing line but before break_if_match.
12601 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12602 if there is a protocol mismatch.
12603
12604 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12605
12606 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12607 because the potential race is on the user-supplied stream.
12608
12609 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12610
12611 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12612 string literal if not passed a buffer.
12613 * manual/job.texi (ctermid): Update reasoning, note deviation
12614 from posix, suggest mtasurace when not passed a buffer, for
12615 future non-preliminary safety notes.
12616
12617 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12618
12619 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12620 of not passing it a buffer.
12621 Reported by Peng Haitao.
12622
12623 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12624
12625 * manual/Makefile ($(objpfx)stamp-summary): Require
12626 check-safety.sh to pass.
12627 * manual/check-safety.sh: Wish for verification that every
12628 @deftypefn and @deftypefun is followed by a @safety remark.
12629
12630 2014-11-20 Roland McGrath <roland@hack.frob.com>
12631
12632 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12633
12634 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12635 PTHREAD_CANCEL_ASYNCHRONOUS.
12636 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12637 send SIGCANCEL.
12638
12639 * nptl/default-sched.h: New file.
12640 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12641 * nptl/pthread_create.c: Include it.
12642 (__pthread_create_2_1): Use collect_default_sched instead of making
12643 Linux syscalls here directly.
12644
12645 2014-11-20 Torvald Riegel <triegel@redhat.com>
12646
12647 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12648 __pthread_once): Use C11 atomics.
12649
12650 2014-11-20 Torvald Riegel <triegel@redhat.com>
12651
12652 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12653
12654 2014-11-20 Torvald Riegel <triegel@redhat.com>
12655
12656 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12657 atomic_thread_fence_acquire, atomic_thread_fence_release,
12658 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12659 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12660 atomic_compare_exchange_weak_relaxed,
12661 atomic_compare_exchange_weak_acquire,
12662 atomic_compare_exchange_weak_release,
12663 atomic_exchange_acquire, atomic_exchange_release,
12664 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12665 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12666 atomic_fetch_and_acquire,
12667 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12668
12669 2014-11-20 Torvald Riegel <triegel@redhat.com>
12670
12671 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12672 USE_ATOMIC_COMPILER_BUILTINS): Define.
12673 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12674 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12675 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12676 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12677 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12678 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12679 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12680 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12681 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12682 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12683 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12684 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12685 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12686 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12687 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12688 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12689 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12690 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12691 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12692 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12693 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12694 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12695 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12696 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12697 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12698 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12699 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12700 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12701 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12702 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12703 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12704 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12705 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12706 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12707 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12708 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12709 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12710 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12711 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12712 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12713
12714 2014-11-19 Roland McGrath <roland@hack.frob.com>
12715
12716 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12717 the sched_priority value here. It was already checked when the user
12718 called pthread_attr_setschedparam.
12719
12720 * nptl/tst-bad-schedattr.c: New file.
12721 * nptl/Makefile (tests): Add it.
12722
12723 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12724 Florian Weimer <fweimer@redhat.com>
12725 Joseph Myers <joseph@codesourcery.com>
12726 Adam Conrad <adconrad@0c3.net>
12727 Andreas Schwab <schwab@suse.de>
12728 Brooks <bmoses@google.com>
12729
12730 [BZ #17625]
12731 * wordexp-test.c (__dso_handle): Add prototype.
12732 (__register_atfork): Likewise.
12733 (__app_register_atfork): New function.
12734 (registered_forks): New global.
12735 (register_fork): New function.
12736 (test_case): Add 3 new tests for WRDE_CMDSUB.
12737 (main): Call __app_register_atfork.
12738 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12739 fork count is non-zero fail the test.
12740 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12741 is set.
12742 (parse_dollars): Remove check for WRDE_NOCMD.
12743 (parse_dquote): Likewise.
12744
12745 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12746
12747 * Makeconfig (built-modules): List non-library modules to be
12748 built.
12749 (module-cppflags): Include libc-modules.h for
12750 everything except shlib-versions.v.i.
12751 (CPPFLAGS): Use it.
12752 (before-compile): Add libc-modules.h.
12753 ($(common-objpfx)libc-modules.h,
12754 $(common-objpfx)libc-modules.stmp): New targets.
12755 (common-generated): Add libc-modules.h and libc-modules.stmp.
12756 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12757 * include/libc-symbols.h: Don't include libc-modules.h.
12758 * include/libc-modules.h: Remove file.
12759 * scripts/gen-libc-modules.awk: New script to generate
12760 libc-modules.h.
12761 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12762 Depend on libc-modules.stmp.
12763
12764 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12765
12766 * Makeconfig (in-module): Get value of libof set for the
12767 translation unit.
12768 (CPPFLAGS): Use $(in-module).
12769 * Makerules: Don't suffix routine names for nonlib.
12770 * include/libc-modules.h: New file.
12771 * include/libc-symbols.h: Include libc-modules.h
12772 (IS_IN): New macro to replace IS_IN_* macros.
12773 * elf/Makefile: Set libof-* for each routine.
12774 * elf/rtld-Rules: Likewise.
12775 * extra-modules.mk: Likewise.
12776 * iconv/Makefile: Likewise.
12777 * iconvdata/Makefile: Likewise.
12778 * locale/Makefile: Likewise.
12779 * malloc/Makefile: Likewise.
12780 * nss/Makefile: Likewise.
12781 * sysdeps/gnu/Makefile: Likewise.
12782 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12783 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12784 * sysdeps/s390/s390-64/Makefile: Likewise.
12785 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12786 CPPFLAGS for nscd instead of nonlib.
12787
12788 2014-11-18 Roland McGrath <roland@hack.frob.com>
12789
12790 * nptl/createthread.c: New file.
12791
12792 * nptl/createthread.c: Moved ...
12793 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12794
12795 * nptl/createthread.c: Add proper top-line comment.
12796 (do_clone): Folded into ...
12797 (create_thread): ... here. Take new arguments STOPPED_START and
12798 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12799 increment __nptl_threads, do event-reporting logic, do
12800 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12801 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
12802 resource cleanup if sched_setaffinity or sched_setscheduler fails,
12803 just send SIGCANCEL.
12804 * nptl/pthread_create.c: Forward-declare create_thread before
12805 including createthread.c.
12806 (start_thread): Use new macro START_THREAD_DEFN to replace defining
12807 declaration, and new macro START_THREAD_SELF to replace argument.
12808 Remove return statement.
12809 (report_thread_creation): New function.
12810 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
12811 synchronization logic, and __nptl_nthreads increment here, around
12812 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
12813 PD->parent_cancelhandling here, before create_thread. When
12814 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12815 __deallocate_stack, and ENOMEM translation here.
12816
12817 2014-11-18 Joseph Myers <joseph@codesourcery.com>
12818
12819 [BZ #17616]
12820 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12821 (mptwo): Rename to __mptwo.
12822 (__inv): Use __mptwo instead of mptwo.
12823 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12824 (mptwo): Rename to __mptwo.
12825 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12826 of mpone and __mptwo instead of mptwo.
12827 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12828 instead of mpone.
12829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12830 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12831 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12832 of mpone and __mptwo instead of mptwo.
12833 (__mpranred): Use __mpone instead of mpone.
12834 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12835 variable.
12836 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12837 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12838 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12839 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12840 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12841 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12842 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12843 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12844 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12845 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12846 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12847 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12848 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12849 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12850 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12851 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12852 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12853 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12854 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12855
12856 2014-11-18 Tom de Vries <tom@codesoucery.com>
12857
12858 * manual/signal.texi (Primitives Interrupted by Signals): In section,
12859 replace BSD Handler xref with BSD Signal Handling.
12860
12861 2014-11-17 Richard Henderson <rth@redhat.com>
12862
12863 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12864 (_FP_PACK_RAW_2): Remove.
12865 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12866 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12867 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12868 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12869 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12870 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12871 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12872 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12873 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12874 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12875 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12876 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12877 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12878 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12879 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12880 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12881
12882 2014-11-14 Roland McGrath <roland@hack.frob.com>
12883
12884 * signal/signal.h [__USE_MISC]
12885 (struct sigvec): Remove type.
12886 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12887 (sigvec): Remove declaration.
12888 * sysdeps/posix/sigvec.c: Moved ...
12889 * signal/sigvec.c: ... here, replacing old file.
12890 (struct sigvec): New type, copied from old signal.h definition.
12891 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12892 (__sigvec): Convert definition to prototype.
12893 (sigvec): Replace weak_alias with compat_symbol.
12894 * signal/Versions (libc: GLIBC_2.21): New version set.
12895 * include/signal.h: Remove __sigvec declaration.
12896 * sysdeps/unix/bsd/sigvec.c: Remove file.
12897 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12898 * manual/signal.texi (BSD Handler): Remove subsection.
12899 Move siginterrupt up to ...
12900 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
12901 (Blocking in BSD): Fold subsection into its parent.
12902 * NEWS: Mention sigvec removal.
12903
12904 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12905
12906 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12907 (DLA_FMS): Make definition conditional only on [__FMA4__].
12908 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12909 definition.
12910
12911 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12912 Make definition conditional only on [PROF].
12913 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12914 definition.
12915 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12916 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12917
12918 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12919 !__GNUC__].
12920 * include/signal.h (__sigpause): Move declaration above call to
12921 libc_hidden_proto.
12922 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12923 variable.
12924 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12925 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12926
12927 2014-11-14 David S. Miller <davem@davemloft.net>
12928
12929 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12930 Define before including <string/memcpy.c> and <string/mempcpy.c>.
12931
12932 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12933
12934 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12935 * configure: Regenerated.
12936 * manual/install.texi (Tools for Compilation): Document a
12937 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12938 compiler verified to work.
12939 * INSTALL: Regenerated.
12940
12941 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12942 redeclare with asm name.
12943 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12944 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12945 including <string.h>.
12946 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12947 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12948 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12949 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12950 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12951 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12952 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12953
12954 2014-11-13 Joseph Myers <joseph@codesourcery.com>
12955
12956 * stdlib/strtol.c (__strtol): Use prototype definition.
12957
12958 [BZ #17594]
12959 * stdlib/strtol.c (SYM__): New macro.
12960 (SYM__1): Likewise.
12961 (__strtol): Likewise.
12962 (strtol): Rename to __strtol and define as weak alias of
12963 __strtol. Use libc_hidden_weak.
12964
12965 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12966
12967 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12968 Use numbered labels in inline assembly.
12969
12970 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12971
12972 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12973 Add setjmp LIBC_PROBE.
12974 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12975 Likewise.
12976 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12977 Add longjmp, longjmp_target LIBC_PROBE.
12978 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12979 Likewise.
12980
12981 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12982
12983 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12984 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12985 to get rid of unused variable warning.
12986
12987 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12988
12989 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12990 Check for unwind_backtrace == NULL only in SHARED case.
12991 (__backchain_backtrace): Compile only in SHARED case.
12992 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12993 Likewise.
12994 (__backchain_backtrace): Declare as static.
12995
12996 2014-11-12 Roland McGrath <roland@hack.frob.com>
12997
12998 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12999 (__libc_multiple_threads_ptr): Variable moved ...
13000 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13001
13002 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13003
13004 * conform/GlibcConform.pm: New file.
13005 * conform/conformtest.pl: Use GlibcConform module.
13006 * conform/linknamespace.pl: New file.
13007 * conform/list-header-symbols.pl: Likewise.
13008 * conform/Makefile (linknamespace-symlists-base): New variable.
13009 (linknamespace-symlists-tests): Likewise.
13010 (linknamespace-header-base): Likewise.
13011 (linknamespace-header-tests): Likewise.
13012 (tests-special): Add new tests.
13013 ($(linknamespace-symlists-tests)): New rule.
13014 (linknamespace-libs): New variable.
13015 ($(objpfx)symlist-stdlibs): New rule.
13016 ($(linknamespace-header-tests)): Likewise.
13017 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13018 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13019 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13020 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13021 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13022 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13023 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13024 (test-xfail-ISO/math.h/linknamespace): Likewise.
13025 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13026 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13027 (test-xfail-ISO/time.h/linknamespace): Likewise.
13028 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13029 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13030 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13031 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13032 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13033 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13034 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13035 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13036 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13037 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13038 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13039 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13040 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13041 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13042 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13043 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13044 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13045 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13046 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13047 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13048 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13049 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13050 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13051 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13052 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13053 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13054 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13055 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13056 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13057 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13058 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13059 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13060 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13061 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13062 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13063 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13064 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13065 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13066 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13067 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13068 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13069 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13070 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13071 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13072 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13073 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13074 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13075 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13076 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13077 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13078 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13079 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13080 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13081 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13082 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13083 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13084 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13085 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13086 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13087 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13088 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13089 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13090 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13091 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13092 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13093 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13094 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13095 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13096 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13097 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13098 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13099 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13100 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13101 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13102 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13103 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13104 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13105 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13106 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13107 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13108 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13109 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13110 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13111 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13112 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13113 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13114 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13115 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13116 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13117 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13118 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13119 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13120 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13121 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13122 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13123 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13124 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13125 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13126 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13127 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13128 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13129 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13130 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13131 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13132 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13133 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13134 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13135 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13136 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13137 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13138 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13139 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13140 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13141 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13142 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13143 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13144 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13145 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13146 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13147 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13148 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13149 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13150 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13151 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13152 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13153 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13154 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13155 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13156 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13157 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13158 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13159 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13160 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13161 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13162 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13163 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13164 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13165 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13166 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13167 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13168 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13169 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13170 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13171 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13172 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13173 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13174 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13175 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13176 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13177 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13178
13179 [BZ #17589]
13180 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13181 of fgets_unlocked.
13182
13183 [BZ #17585]
13184 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13185 (memmem): Rename to __memmem and define as weak alias of
13186 __memmem. Use libc_hidden_weak.
13187 (__memmem): Use libc_hidden_def.
13188 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13189 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13190 memmem.
13191
13192 [BZ #17582]
13193 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13194 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13195 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13196 and define as weak alias of __fgets_unlocked. Use
13197 libc_hidden_weak.
13198 (__fgets_unlocked): Use libc_hidden_def.
13199 * include/stdio.h (__fgets_unlocked): Declare. Use
13200 libc_hidden_proto.
13201 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13202 __fgets_unlocked instead of fgets_unlocked.
13203 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13204 (GET_NPROCS_CONF_PARSER): Likewise.
13205 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13206 (GET_NPROCS_CONF_PARSER): Likewise.
13207
13208 [BZ #17574]
13209 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13210 weak alias of __wmemset. Use libc_hidden_weak.
13211 (__wmemset): Use libc_hidden_def.
13212 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13213 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13214 of wmemset.
13215
13216 [BZ #17573]
13217 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13218 with asm name __mempcpy.
13219 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13220
13221 [BZ #17572]
13222 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13223 and define as weak alias of __rawmemchr.
13224 (__rawmemchr): Do not define as strong alias of rawmemchr.
13225
13226 [BZ #17571]
13227 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13228 alias of __qsort_r.
13229 (qsort): Call __qsort_r instead of qsort_r.
13230 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13231 (__qsort_r): Declare. Call libc_hidden_proto.
13232 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13233 instead of qsort_r.
13234 * nscd/gai.c (__qsort_r): Define to qsort_r.
13235 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13236 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13237 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13238
13239 [BZ #17570]
13240 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13241 define as weak alias of __malloc_info.
13242
13243 [BZ #17584]
13244 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13245 as weak alias of __rewinddir. Don't use libc_hidden_def.
13246 (__rewinddir): Use libc_hidden_def.
13247 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13248 as weak alias of __rewinddir. Don't use libc_hidden_def.
13249 (__rewinddir): Use libc_hidden_def.
13250 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13251 weak alias of __rewinddir. Don't use libc_hidden_def.
13252 (__rewinddir): Use libc_hidden_def.
13253 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13254 (__rewinddir): Use libc_hidden_proto.
13255 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13256 rewinddir.
13257 (__getcwd): Use __rewinddir instead of rewinddir.
13258
13259 [BZ #17583]
13260 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13261 alias of __fileno. Use libc_hidden_weak.
13262 (__fileno): Use libc_hidden_def.
13263 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13264 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13265 alias of __ftello.
13266 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13267 __ftello.
13268 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13269 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13270 libc_hidden_def.
13271 (fread_unlocked): Don't use libc_hidden_ver.
13272 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13273 and define as weak alias of __fread_unlocked. Don't use
13274 libc_hidden_def.
13275 (__fread_unlocked): Use libc_hidden_def.
13276 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13277 (ftello): Don't use libc_hidden_proto.
13278 (__ftello): Declare. Use libc_hidden_proto.
13279 (fread_unlocked): Don't use libc_hidden_proto.
13280 (__fread_unlocked): Declare. Use libc_hidden_proto.
13281 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13282 and __ftello instead of fileno, fread_unlocked and ftello.
13283
13284 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13285
13286 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13287 GOT12.
13288 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13289 Likewise.
13290 (_dl_start_user): Likewise.
13291 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13292
13293 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13294 Siddhesh Poyarekar <siddhesh@redhat.com>
13295
13296 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13297 Move argv and envp down instead of moving argc up.
13298 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13299
13300 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13301
13302 [BZ #17506]
13303 * test-skeleton.c (main): Return successful if one of
13304 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13305 * string/tst-strcoll-overflow.c: Define expected status.
13306
13307 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13308
13309 [BZ #17475]
13310 * locale/iso-639.def: Define Bhili and Tulu language codes.
13311
13312 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13313
13314 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13315
13316 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13317
13318 [BZ #17555]
13319 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13320
13321 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13322
13323 * configure.ac: Updated check of minimal required version to
13324 2.22.
13325 * manual/install.texi (Tools for Compilation): Updated version
13326 number.
13327 * configure: Regenerated.
13328 * INSTALL: Likewise.
13329
13330 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13331
13332 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13333 __tls_get_addr.
13334
13335 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13336
13337 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13338 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13339 (__waitpid): Don't define as alias. Use libc_hidden_def not
13340 libc_hidden_weak.
13341 (waitpid): Define as alias of __waitpid.
13342 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13343 __waitpid.
13344 (__waitpid): Don't define as alias. Use libc_hidden_def not
13345 libc_hidden_weak.
13346 (waitpid): Define as alias of __waitpid.
13347 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13348 __libc_waitpid alias.
13349 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13350 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13351 Likewise.
13352 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13353 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13354 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13355 alias.
13356 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13357 __waitpid.
13358 (__waitpid): Don't define as alias. Use libc_hidden_def not
13359 libc_hidden_weak.
13360 (waitpid): Define as alias of __waitpid.
13361
13362 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13363
13364 * manual/llio.texi: Add comment that write safety has been
13365 fixed in Linux.
13366
13367 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13368 (localplt-build-dso): Add elf/ld.so.
13369 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13370 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13371 and free for ld.so.
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13373 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13375 Likewise.
13376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13377 Likewise.
13378 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13379 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13380 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13381 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13382 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13383 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13384 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13385 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13386 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13387 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13388 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13389
13390 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13391
13392 [BZ #14132]
13393 * include/libc-symbols.h (INTUSE): Remove macro.
13394 (INTDEF): Likewise.
13395 (INTVARDEF): Likewise.
13396 (_INTVARDEF): Likewise.
13397 (INTDEF2): Likewise.
13398 (INTVARDEF2): Likewise.
13399 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13400 rtld_hidden_def instead of INTVARDEF.
13401 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13402 (_dl_starting_up_internal): Remove declaration.
13403 (_dl_starting_up): Use rtld_hidden_proto.
13404 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13405 declaration.
13406 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13407 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13408 _dl_starting_up.
13409 * elf/dl-writev.h (_dl_writev): Likewise.
13410 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13411 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13412 _dl_starting_up_internal.
13413
13414 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13415
13416 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13417 test-skeleton.c.
13418
13419 2014-11-05 Will Newton <will.newton@linaro.org>
13420
13421 * benchtests/Makefile: (bench-malloc): Add malloc thread
13422 scalability benchmark.
13423 * benchtests/bench-malloc-threads.c: New file.
13424
13425 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13426
13427 * sysdeps/aarch64/strchrnul.S: New file.
13428
13429 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13430
13431 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13432 definition.
13433 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13434 Likwise.
13435 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13436 Likewise.
13437 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13438 Likewise.
13439 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13440 Likewise.
13441 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13442 Likewise.
13443
13444 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13445
13446 * catgets/test-gencat.c: Use test-skeleton.c.
13447 * catgets/tst-catgets.c: Likewise.
13448 * csu/tst-empty.c: Likewise.
13449 * elf/tst-audit2.c: Likewise.
13450 * elf/tst-global1.c: Likewise.
13451 * elf/tst-pathopt.c: Likewise.
13452 * elf/tst-piemod1.c: Likewise.
13453 * elf/tst-tls10.c: Likewise.
13454 * elf/tst-tls11.c: Likewise.
13455 * elf/tst-tls12.c: Likewise.
13456 * gnulib/tst-gcc.c: Likewise.
13457 * iconvdata/tst-e2big.c: Likewise.
13458 * iconvdata/tst-loading.c: Likewise.
13459 * iconv/tst-iconv1.c: Likewise.
13460 * iconv/tst-iconv2.c: Likewise.
13461 * inet/test-inet6_opt.c: Likewise.
13462 * inet/tst-gethnm.c: Likewise.
13463 * inet/tst-network.c: Likewise.
13464 * inet/tst-ntoa.c: Likewise.
13465 * intl/tst-codeset.c: Likewise.
13466 * intl/tst-gettext2.c: Likewise.
13467 * intl/tst-gettext3.c: Likewise.
13468 * intl/tst-ngettext.c: Likewise.
13469 * intl/tst-translit.c: Likewise.
13470 * io/test-stat.c: Likewise.
13471 * libio/test-fmemopen.c: Likewise.
13472 * libio/tst-freopen.c: Likewise.
13473 * libio/tst-sscanf.c: Likewise.
13474 * libio/tst-ungetwc1.c: Likewise.
13475 * libio/tst-ungetwc2.c: Likewise.
13476 * libio/tst-widetext.c: Likewise.
13477 * localedata/tst-ctype.c: Likewise.
13478 * localedata/tst-digits.c: Likewise.
13479 * localedata/tst-leaks.c: Likewise.
13480 * localedata/tst-mbswcs1.c: Likewise.
13481 * localedata/tst-mbswcs2.c: Likewise.
13482 * localedata/tst-mbswcs3.c: Likewise.
13483 * localedata/tst-mbswcs4.c: Likewise.
13484 * localedata/tst-mbswcs5.c: Likewise.
13485 * localedata/tst-setlocale.c: Likewise.
13486 * localedata/tst-trans.c: Likewise.
13487 * localedata/tst-wctype.c: Likewise.
13488 * localedata/tst-xlocale1.c: Likewise.
13489 * login/tst-grantpt.c: Likewise.
13490 * malloc/tst-calloc.c: Likewise.
13491 * malloc/tst-malloc.c: Likewise.
13492 * malloc/tst-mallocstate.c: Likewise.
13493 * malloc/tst-mcheck.c: Likewise.
13494 * malloc/tst-mtrace.c: Likewise.
13495 * malloc/tst-obstack.c: Likewise.
13496 * math/atest-exp2.c: Likewise.
13497 * math/atest-exp.c: Likewise.
13498 * math/atest-sincos.c: Likewise.
13499 * math/test-matherr.c: Likewise.
13500 * math/test-misc.c: Likewise.
13501 * math/test-powl.c: Likewise.
13502 * math/tst-definitions.c: Likewise.
13503 * misc/tst-dirname.c: Likewise.
13504 * misc/tst-efgcvt.c: Likewise.
13505 * misc/tst-fdset.c: Likewise.
13506 * misc/tst-hsearch.c: Likewise.
13507 * misc/tst-mntent2.c: Likewise.
13508 * nptl/tst-sem7.c: Likewise.
13509 * nptl/tst-sem8.c: Likewise.
13510 * nptl/tst-sem9.c: Likewise.
13511 * nss/test-netdb.c: Likewise.
13512 * posix/tst-fnmatch.c: Likewise.
13513 * posix/tst-getlogin.c: Likewise.
13514 * posix/tst-gnuglob.c: Likewise.
13515 * posix/tst-mmap.c: Likewise.
13516 * pwd/tst-getpw.c: Likewise.
13517 * resolv/tst-inet_ntop.c: Likewise.
13518 * rt/tst-timer.c: Likewise.
13519 * stdio-common/test-fseek.c: Likewise.
13520 * stdio-common/test-popen.c: Likewise.
13521 * stdio-common/test-vfprintf.c: Likewise.
13522 * stdio-common/tst-cookie.c: Likewise.
13523 * stdio-common/tst-fileno.c: Likewise.
13524 * stdio-common/tst-gets.c: Likewise.
13525 * stdio-common/tst-obprintf.c: Likewise.
13526 * stdio-common/tst-perror.c: Likewise.
13527 * stdio-common/tst-sprintf2.c: Likewise.
13528 * stdio-common/tst-sprintf3.c: Likewise.
13529 * stdio-common/tst-sprintf.c: Likewise.
13530 * stdio-common/tst-swprintf.c: Likewise.
13531 * stdio-common/tst-tmpnam.c: Likewise.
13532 * stdio-common/tst-unbputc.c: Likewise.
13533 * stdio-common/tst-wc-printf.c: Likewise.
13534 * stdlib/tst-environ.c: Likewise.
13535 * stdlib/tst-fmtmsg.c: Likewise.
13536 * stdlib/tst-limits.c: Likewise.
13537 * stdlib/tst-rand48-2.c: Likewise.
13538 * stdlib/tst-rand48.c: Likewise.
13539 * stdlib/tst-random2.c: Likewise.
13540 * stdlib/tst-random.c: Likewise.
13541 * stdlib/tst-strtol.c: Likewise.
13542 * stdlib/tst-strtoll.c: Likewise.
13543 * stdlib/tst-tls-atexit.c: Likewise.
13544 * stdlib/tst-xpg-basename.c: Likewise.
13545 * string/test-ffs.c: Likewise.
13546 * string/tst-bswap.c: Likewise.
13547 * string/tst-inlcall.c: Likewise.
13548 * string/tst-strtok.c: Likewise.
13549 * string/tst-strxfrm.c: Likewise.
13550 * sysdeps/x86_64/tst-audit10.c: Likewise.
13551 * sysdeps/x86_64/tst-audit3.c: Likewise.
13552 * sysdeps/x86_64/tst-audit4.c: Likewise.
13553 * sysdeps/x86_64/tst-audit5.c: Likewise.
13554 * time/tst-ftime_l.c: Likewise.
13555 * time/tst-getdate.c: Likewise.
13556 * time/tst-mktime3.c: Likewise.
13557 * time/tst-mktime.c: Likewise.
13558 * time/tst-posixtz.c: Likewise.
13559 * time/tst-strptime2.c: Likewise.
13560 * time/tst-strptime3.c: Likewise.
13561 * wcsmbs/tst-btowc.c: Likewise.
13562 * wcsmbs/tst-mbrtowc.c: Likewise.
13563 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13564 * wcsmbs/tst-wchar-h.c: Likewise.
13565 * wcsmbs/tst-wcpncpy.c: Likewise.
13566 * wcsmbs/tst-wcrtomb.c: Likewise.
13567 * wcsmbs/tst-wcsnlen.c: Likewise.
13568 * wcsmbs/tst-wcstof.c: Likewise.
13569
13570 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13571
13572 [BZ #14132]
13573 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13574 INTDEF.
13575 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13576 declaration.
13577 (_dl_mcount): Use rtld_hidden_proto.
13578 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13579 _dl_mcount.
13580 * elf/rtld.c (_rtld_global_ro): Likewise.
13581
13582 [BZ #14132]
13583 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13584 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13585 of _dl_init_internal.
13586 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13587 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13588 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13589 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13590 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13591 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13592 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13593 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13594 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13595 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13596 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13597 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13598 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13599 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13600 * sysdeps/tile/dl-start.S (_start): Likewise.
13601 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13602 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13603
13604 [BZ #14132]
13605 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13606 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13607 (rtld_progname): Make macro definition unconditional.
13608 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13609 INTDEF.
13610 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13611 (dl_main): Likewise.
13612 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13613 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13614 instead of _dl_argv_internal.
13615 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13616 __GI__dl_argv instead of INTUSE(_dl_argv).
13617 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13618 __GI__dl_argv instead of _dl_argv_internal.
13619
13620 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13621 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13622 macro.
13623 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13624 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13625 New macro.
13626 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13627 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13628 macro.
13629 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13630 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13631
13632 2014-11-04 Andreas Schwab <schwab@suse.de>
13633
13634 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13635
13636 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13637
13638 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13639 mtvsrd instruction in binary form.
13640
13641 2014-11-03 Andreas Schwab <schwab@suse.de>
13642
13643 [BZ #17522]
13644 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13645 for less than MB_LEN_MAX use a local buffer of that size.
13646 * libio/tst-fputws.c: New file.
13647 * libio/Makefile (tests): Add tst-fputws.
13648
13649 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13650
13651 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13652 the size of the fpu_fr.fpu_dregs[] array.
13653
13654 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13655
13656 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13657 (__nanosleep): Do not define as alias.
13658 (nanosleep): Define as alias of __nanosleep.
13659 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13660 __libc_nanosleep name.
13661
13662 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13663
13664 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13665 install.texi in comment.
13666
13667 2014-10-31 Torvald Riegel <triegel@redhat.com>
13668
13669 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13670 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13671 ... add here and use lwsync or sync ...
13672 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13673 ... and add here using lwsync.
13674
13675 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13676
13677 * elf/dl-machine-reject-phdr.h: New file.
13678 * elf/dl-load.c: #include that.
13679 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13680 if that returned true.
13681
13682 2014-10-31 Roland McGrath <roland@hack.frob.com>
13683
13684 [BZ #17496]
13685 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13686 gen-as-const-headers chunk. Add a big scare comment after the last
13687 safe place to touch before-compile.
13688
13689 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13690
13691 * manual/install.texi (Tools for Compilation): Update autoconf
13692 version requirements.
13693 * INSTALL: Regenerated.
13694
13695 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13696 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13697 (__libc_pselect): Likewise.
13698
13699 [BZ #14138]
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13704
13705 2014-10-31 Torvald Riegel <triegel@redhat.com>
13706
13707 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13708 correct barrier instruction.
13709 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13710 Likewise.
13711 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13712 Likewise.
13713
13714 2014-10-30 Roland McGrath <roland@hack.frob.com>
13715
13716 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13717 after defining inlines. Instead, just use parens to defeat macro
13718 expansion of __isctype in its declaration.
13719
13720 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13721
13722 * include/sys/uio.h (__libc_readv): Remove declaration.
13723 (__libc_writev): Likewise.
13724 * misc/readv.c (__libc_readv): Rename to __readv.
13725 (__readv): Do not define as alias.
13726 (readv): Define as alias of __readv.
13727 * misc/writev.c (__libc_writev): Rename to __writev.
13728 (__writev): Do not define as alias.
13729 (writev): Define as alias of __writev.
13730 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13731 (__readv): Do not define as alias.
13732 (readv): Define unconditionally as alias of __readv.
13733 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13734 (__writev): Do not define as alias.
13735 (writev): Define unconditionally as alias of __writev.
13736 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13737 name.
13738 (writev): Do not define __libc_writev name.
13739
13740 2014-10-30 Roland McGrath <roland@hack.frob.com>
13741
13742 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13743 (convert_charseq): New function, broken out of ...
13744 (use_from_charmap): ... here. Call it.
13745 (use_to_charmap): Use convert_charseq and free instead of duplicating
13746 its code with a variable-length stack struct.
13747
13748 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13749
13750 * include/fcntl.h (__libc_creat): Remove declaration.
13751 * io/creat.c (__libc_creat): Rename to creat.
13752 (creat): Do not define as alias.
13753 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13754 of creat instead of __libc_creat.
13755 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13756 to creat.
13757 (creat): Do not define as alias.
13758 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13759 __libc_creat.
13760 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13761 __libc_creat name.
13762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13763 Likewise.
13764
13765 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13766
13767 * manual/llio.texi: Add comments discussing why write() may be
13768 considered MT-unsafe on Linux.
13769
13770 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13771
13772 * dl-load.c (local_strdup): Remove.
13773 (expand_dynamic_string_token): Use __strdup.
13774 (decompose_rpath): Likewise.
13775 (_dl_map_object): Likewise.
13776
13777 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13778
13779 [BZ #14132]
13780 * sysdeps/generic/unwind-dw2-fde.c
13781 (__register_frame_info_bases_internal): Do not declare.
13782 (__register_frame_info_table_bases_internal): Likewise.
13783 (__deregister_frame_info_bases_internal): Likewise.
13784 (__register_frame_info_bases): Declare and use hidden_proto before
13785 definition. Use hidden_def instead of INTDEF.
13786 (__register_frame_info_table_bases): Likewise.
13787 (__deregister_frame_info_bases): Likewise.
13788 (__register_frame_info): Do not use INTUSE.
13789 (__register_frame): Likewise.
13790 (__register_frame_info_table): Likewise.
13791 (__register_frame_table): Likewise.
13792 (__deregister_frame_info): Likewise.
13793 (__deregister_frame): Likewise.
13794
13795 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13796
13797 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13798 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13799 not undefine.
13800 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13801 Likewise.
13802 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13803 Likewise.
13804
13805 2014-10-27 Joseph Myers <joseph@codesourcery.com>
13806
13807 [BZ #14138]
13808 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13809 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13810 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13811 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13812 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13813 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13814 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13815 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13816 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13817 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13818 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13819 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13820 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13821 syscall.
13822 (setfsuid): Likewise.
13823 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13824 (setfsuid): Likewise.
13825 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13826 (setfsuid): Likewise.
13827 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13828 Likewise.
13829 (setfsuid): Likewise.
13830 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13831 (setfsuid): Likewise.
13832 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13833 Likewise.
13834 (setfsuid): Likewise.
13835
13836 2014-10-27 Andreas Schwab <schwab@suse.de>
13837
13838 [BZ #17501]
13839 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13840 check for Slow_SSE4_2 feature bit.
13841 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13842 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13843 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13844 Likewise. Fix check for Fast_Unaligned_Load feature bit.
13845
13846 2014-10-24 Roland McGrath <roland@hack.frob.com>
13847
13848 * configure.ac: Validate compiler version with a empirical test of
13849 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13850 $CC -v output.
13851 * configure: Regenerated.
13852
13853 * inet/htons.c (htons): Prototypify.
13854 * inet/htonl.c (htonl): Likewise.
13855
13856 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13857
13858 * string/strncat.c (strncat): Improve performance by using strlen.
13859
13860 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13861
13862 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13863
13864 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13865
13866 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13867 Call libc_fetestexcept_aarch64.
13868
13869 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13870
13871 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13872 Call libc_feholdexcept_aarch64.
13873
13874 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13875
13876 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13877 Call get_rounding_mode.
13878
13879 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13880
13881 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13882 Simplify logic.
13883
13884 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13885
13886 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13887 Simplify logic.
13888
13889 2014-10-24 Joseph Myers <joseph@codesourcery.com>
13890
13891 [BZ #14138]
13892 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13893 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13894 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13895 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13896 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13897 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13898 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13899 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13900 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13901 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13902 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13903 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13904 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13905 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13906 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13907 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13908 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13909 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13910 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13911 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13912 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13913 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13914 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13915 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13916 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13917 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13918 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13919 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13920 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13921 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13922 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13923 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13924 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13925 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13926 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13927 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13928 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13929 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13930 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13931 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13932 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13933 syscall.
13934 (geteuid): Likewise.
13935 (getgid): Likewise.
13936 (getuid): Likewise.
13937 (getresgid): Likewise.
13938 (getresuid): Likewise.
13939 (getgroups): Likewise.
13940 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13941 (geteuid): Likewise.
13942 (getgid): Likewise.
13943 (getuid): Likewise.
13944 (getresgid): Likewise.
13945 (getresuid): Likewise.
13946 (getgroups): Likewise.
13947 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13948 (geteuid): Likewise.
13949 (getgid): Likewise.
13950 (getuid): Likewise.
13951 (getresgid): Likewise.
13952 (getresuid): Likewise.
13953 (getgroups): Likewise.
13954 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13955 Likewise.
13956 (geteuid): Likewise.
13957 (getgid): Likewise.
13958 (getuid): Likewise.
13959 (getresgid): Likewise.
13960 (getresuid): Likewise.
13961 (getgroups): Likewise.
13962 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13963 (geteuid): Likewise.
13964 (getgid): Likewise.
13965 (getuid): Likewise.
13966 (getresgid): Likewise.
13967 (getresuid): Likewise.
13968 (getgroups): Likewise.
13969 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13970 Likewise.
13971 (geteuid): Likewise.
13972 (getgid): Likewise.
13973 (getuid): Likewise.
13974 (getgroups): Likewise.
13975
13976 [BZ #14138]
13977 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13978 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13979 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13980 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13981 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13982 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13983 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13984 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13985 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13986 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13987 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13988 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13989 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13990 __chown.
13991 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13992 (lchown): Likewise.
13993 (fchown): Likewise.
13994 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13995 Likewise.
13996 (lchown): Likewise.
13997 (fchown): Likewise.
13998 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13999 (lchown): Likewise.
14000 (fchown): Likewise.
14001 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14002 Likewise.
14003 (lchown): Likewise.
14004 (fchown): Likewise.
14005
14006 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14007
14008 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14009 Simplify logic.
14010
14011 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14012
14013 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14014 Cleanup logic.
14015
14016 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14017
14018 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14019 Remove unused include.
14020
14021 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14022
14023 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14024 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14025 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14026 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14027
14028 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14029 Helge Deller <deller@gmx.de>
14030
14031 [BZ #17508]
14032 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14033 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14034 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14035
14036 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14037
14038 [BZ #14132]
14039 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14040 Remove macro definition.
14041 (__ashrdi3_v_glibc20): Likewise.
14042 (__lshrdi3_v_glibc20): Likewise.
14043 (__cmpdi2_v_glibc20): Likewise.
14044 (__ucmpdi2_v_glibc20): Likewise.
14045 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14046 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14047 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14048 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14049 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14050 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14051
14052 2014-10-22 Roland McGrath <roland@hack.frob.com>
14053
14054 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14055 old GNU extension [0] syntax.
14056 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14057 alloca rather than an array member with variable length.
14058 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14059 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14060 (parse_opt): ... here. Likewise use alloca there.
14061 Validate the -i argument before checking for rootness.
14062 (send_shutdown): New function, broken out of ...
14063 (parse_opt): ... here.
14064
14065 2014-10-22 Roland McGrath <roland@hack.frob.com>
14066
14067 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14068 macro to get at the _rt_local_ro field.
14069 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14070 ([PIC] case) or _dl_hwcap ([!PIC] case).
14071 * sysdeps/arm/setjmp.S: Likewise.
14072
14073 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14074 * sysdeps/arm/configure.ac: New check to define it.
14075 * sysdeps/arm/configure: Regenerated.
14076 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14077 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14078 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14079 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14080 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14081 Use move/movt pair instead of a load.
14082 (LDST_GLOBAL): Macro removed.
14083 (LDR_GLOBAL): New macro replaces it.
14084 (LDR_HIDDEN): New macro.
14085 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14086 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14087
14088 * setjmp/tst-setjmp-static.c: New file.
14089 * setjmp/Makefile (tests): Add it.
14090 (tests-static): New variable.
14091
14092 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14093
14094 [BZ #17485]
14095 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14096
14097 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14098
14099 [BZ #14132]
14100 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14101
14102 2014-10-21 Roland McGrath <roland@hack.frob.com>
14103
14104 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14105
14106 2014-10-20 Roland McGrath <roland@hack.frob.com>
14107
14108 * io/fts.c (dirent_not_directory): New function.
14109 (fts_build): Call it.
14110
14111 2014-10-20 Roland McGrath <roland@hack.frob.com>
14112
14113 * nptl/version.c (__nptl_main): Use normal __write rather than
14114 INTERNAL_SYSCALL.
14115 (banner): Update copyright years.
14116
14117 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14118 gettimeofday.
14119 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14120 * nptl/pthread_cond_timedwait.c: Likewise.
14121 * nptl/pthread_mutex_timedlock.c: Likewise.
14122 * nptl/sem_timedwait.c: Likewise.
14123
14124 * sysdeps/nptl/bits/libc-lock.h
14125 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14126 (__libc_lock_init_recursive): Return void, not 0.
14127 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14128 (__libc_rwlock_init): Likewise.
14129 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14130
14131 2014-10-20 Torvald Riegel <triegel@redhat.com>
14132
14133 [BZ #15215]
14134 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14135 (__pthread_once_slow): ... here.
14136 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14137 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14138
14139 2014-10-20 Torvald Riegel <triegel@redhat.com>
14140
14141 [BZ #15215]
14142 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14143 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14144 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14145 * nptl/pthread_once.c (__pthread_once): Likewise.
14146 Update comments.
14147
14148 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14149
14150 [BZ #14138]
14151 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14152 name.
14153 (writev): Use __libc_writev as strong name.
14154 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14155 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14156
14157 2014-10-17 Roland McGrath <roland@hack.frob.com>
14158
14159 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14160
14161 * sysdeps/i386/nptl/tls.h
14162 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14163 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14164 New macros.
14165 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14166 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14167 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14168 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14169 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14170 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14171
14172 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14173 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14174 on [__NR_futex].
14175 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14176 broken out of ...
14177 (__pthread_mutex_init): ... here. Call it.
14178 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14179 Conditionalize PI cases on [__NR_futex].
14180 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14181 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14182 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14183
14184 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14185 conditional on [SIGSETXID].
14186 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14187 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14188 is defined. Likewise for SIGSETXID.
14189 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14190 Conditionalize definitions on [SIGSETXID].
14191 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14192 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14193 unblocking on [SIGCANCEL].
14194
14195 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14196 [__NR_set_robust_list].
14197
14198 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14199
14200 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14201 (do_compare): Likewise.
14202
14203 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14204
14205 [BZ #15884]
14206 * string/strcoll_l.c: Don't include stdio.h.
14207 (coll_seq): Remove members idxarr and rulearr.
14208 (get_next_seq_cached): Remove function.
14209 (get_next_seq): Likewise.
14210 (get_next_seq_nocache): Rename to get_next_seq.
14211 (do_compare): Remove function.
14212 (do_compare_nocache): Rename to do_compare.
14213 (STRCOLL): Remove weight and rules cache.
14214
14215 2014-10-16 Roland McGrath <roland@hack.frob.com>
14216
14217 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14218 * sysdeps/arm/sfp-machine.h: ... to here.
14219 * sysdeps/arm/Implies: Remove arm/soft-fp.
14220
14221 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14222
14223 * conform/data/sys/utsname.h-data (*_t): Allow.
14224 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14225 [POSIX] (WEXITED): Do not expect constant.
14226 [POSIX] (WSTOPPED): Likewise.
14227 [POSIX] (WNOHANG): Likewise.
14228 [POSIX] (WNOWAIT): Likewise.
14229 [POSIX] (siginfo_t): Do not expect type or elements.
14230 [POSIX] (pid_t): Do not expect type.
14231 [POSIX] (signal.h): Do not allow header.
14232 [POSIX] (sys/resource.h): Likewise.
14233 [POSIX] (si_*): Do not allow pattern.
14234 [POSIX] (W*): Likewise.
14235 [POSIX] (P_*): Likewise.
14236 [POSIX] (BUS_*): Likewise.
14237 [POSIX] (CLD_*): Likewise.
14238 [POSIX] (FPE_*): Likewise.
14239 [POSIX] (ILL_*): Likewise.
14240 [POSIX] (POLL_*): Likewise.
14241 [POSIX] (SEGV_*): Likewise.
14242 [POSIX] (SI_*): Likewise.
14243 [POSIX] (TRAP_*): Likewise.
14244 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14245 variable.
14246
14247 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14248
14249 [BZ #12926]
14250 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14251 infinite loop when __recvmsg returns 0.
14252
14253 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14254
14255 * CANCEL-FCT-WAIVE: Remove file.
14256 * CANCEL-FILE-WAIVE: Likewise.
14257
14258 [BZ #14132]
14259 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14260 instead of INTVARDEF.
14261 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14262 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14263 rtld_hidden_data_def instead of INTVARDEF.
14264 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14265 * elf/dl-deps.c (expand_dst): Likewise.
14266 * elf/dl-load.c (_dl_dst_count): Likewise.
14267 (_dl_dst_substitute): Likewise.
14268 (decompose_rpath): Likewise.
14269 (_dl_init_paths): Likewise.
14270 (open_path): Likewise.
14271 (_dl_map_object): Likewise.
14272 * elf/rtld.c (dl_main): Likewise.
14273 (process_dl_audit): Likewise.
14274 (process_envvars): Likewise.
14275 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14276 Remove declaration.
14277 (__libc_enable_secure): Use rtld_hidden_proto.
14278
14279 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14280
14281 * elf/dl-load.c
14282 (add_path): New function broken out of _dl_rtld_di_serinfo.
14283 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14284
14285 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14286
14287 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14288 parentheses around macro arguments.
14289 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14290 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14291 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14292 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14293 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14294 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14295 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14296 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14297 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14298 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14299 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14300 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14301 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14302 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14303 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14304 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14305 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14306 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14307 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14308 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14309 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14310 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14311 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14312 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14313 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14314 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14315 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14316 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14317 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14318 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14319 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14320 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14321 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14322 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14323 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14324 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14325 Likewise.
14326 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14327 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14328 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14329 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14331 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14332 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14333 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14334 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14335 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14336 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14337 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14338 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14339 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14340 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14341 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14342 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14343 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14344 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14345 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14346 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14347 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14348 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14349 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14350 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14351 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14352 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14353 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14354 (_FP_FRAC_SRS_1): Likewise.
14355 (_FP_FRAC_CLZ_1): Likewise.
14356 (_FP_MUL_MEAT_1_imm): Likewise.
14357 (_FP_MUL_MEAT_1_wide): Likewise.
14358 (_FP_MUL_MEAT_1_hard): Likewise.
14359 (_FP_SQRT_MEAT_1): Likewise.
14360 (_FP_FRAC_ASSEMBLE_1): Likewise.
14361 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14362 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14363 (__FP_CLZ_2): Likewise.
14364 (_FP_MUL_MEAT_2_wide): Likewise.
14365 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14366 (_FP_MUL_MEAT_2_gmp): Likewise.
14367 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14368 (_FP_SQRT_MEAT_2): Likewise.
14369 (_FP_FRAC_ASSEMBLE_2): Likewise.
14370 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14371 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14372 (_FP_FRAC_CLZ_4): Likewise.
14373 (_FP_MUL_MEAT_4_wide): Likewise.
14374 (_FP_MUL_MEAT_4_gmp): Likewise.
14375 (_FP_SQRT_MEAT_4): Likewise.
14376 (_FP_FRAC_ASSEMBLE_4): Likewise.
14377 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14378 * soft-fp/op-common.h (_FP_CMP): Likewise.
14379 (_FP_CMP_EQ): Likewise.
14380 (_FP_CMP_UNORD): Likewise.
14381 (_FP_TO_INT): Likewise.
14382 (_FP_FROM_INT): Likewise.
14383 [!__FP_CLZ] (__FP_CLZ): Likewise.
14384 (_FP_DIV_HELP_imm): Likewise.
14385 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14386 Likewise.
14387 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14388 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14389 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14390 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14391 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14392 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14393 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14394 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14395 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14396 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14397 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14398 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14399 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14400 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14401 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14402 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14403 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14405 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14406 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14407 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14408 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14409 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14410 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14411 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14412 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14413 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14414 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14415 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14416 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14417 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14418 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14419 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14420 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14421 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14422 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14423 (FP_UNPACK_RAW_SP): Likewise.
14424 (FP_PACK_RAW_S): Likewise.
14425 (FP_PACK_RAW_SP): Likewise.
14426 (FP_UNPACK_S): Likewise.
14427 (FP_UNPACK_SP): Likewise.
14428 (FP_UNPACK_SEMIRAW_S): Likewise.
14429 (FP_UNPACK_SEMIRAW_SP): Likewise.
14430 (FP_PACK_S): Likewise.
14431 (FP_PACK_SP): Likewise.
14432 (FP_PACK_SEMIRAW_S): Likewise.
14433 (FP_PACK_SEMIRAW_SP): Likewise.
14434 (_FP_SQRT_MEAT_S): Likewise.
14435 (FP_CMP_S): Likewise.
14436 (FP_CMP_EQ_S): Likewise.
14437 (FP_CMP_UNORD_S): Likewise.
14438 (FP_TO_INT_S): Likewise.
14439 (FP_FROM_INT_S): Likewise.
14440
14441 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14442
14443 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14444 (FP_EX_INVALID_IMZ): Likewise.
14445 (FP_EX_INVALID_IMZ_FMA): Likewise.
14446 (FP_EX_INVALID_ISI): Likewise.
14447 (FP_EX_INVALID_ZDZ): Likewise.
14448 (FP_EX_INVALID_IDI): Likewise.
14449 (FP_EX_INVALID_SQRT): Likewise.
14450 (FP_EX_INVALID_CVI): Likewise.
14451 (FP_EX_INVALID_VC): Likewise.
14452 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14453 "invalid" exceptions.
14454 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14455 (_FP_ADD_INTERNAL): Likewise.
14456 (_FP_MUL): Likewise.
14457 (_FP_FMA): Likewise.
14458 (_FP_DIV): Likewise.
14459 (_FP_CMP_CHECK_NAN): Likewise.
14460 (_FP_SQRT): Likewise.
14461 (_FP_TO_INT): Likewise.
14462 (FP_EXTEND): Likewise.
14463
14464 2014-10-09 Allan McRae <allan@archlinux.org>
14465
14466 * po/fr.po: Update French translation from translation project.
14467
14468 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14469
14470 [BZ #14132]
14471 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14472 of INTDEF.
14473 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14474 (__cxa_atexit): Use libc_hidden_proto.
14475 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14476
14477 [BZ #14132]
14478 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14479 declaration.
14480 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14481 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14482 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14483 [!_ISOMAC] (__iswctype_internal): Likewise.
14484 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14485 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14486 alias.
14487 (fcntl): Remove __fcntl_internal alias.
14488 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14489 __connect_internal alias.
14490 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14491 Likewise.
14492
14493 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14494 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14495 FP_DENORM_ZERO.
14496 (_FP_CHECK_FLUSH_ZERO): New macro.
14497 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14498 (_FP_CMP): Likewise.
14499 (_FP_CMP_EQ): Likewise.
14500 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14501 FP_DENORM_ZERO.
14502 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14503 (FP_TRUNC): Likewise.
14504
14505 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14506 treated as invalid conversion, not as normal exponent.
14507
14508 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14509 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14510 (_FP_CMP_EQ): Likewise.
14511 (_FP_CMP_UNORD): Likewise.
14512 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14513 (FP_CMP_EQ_D): Likewise.
14514 (FP_CMP_UNORD_D): Likewise.
14515 * soft-fp/extended.h (FP_CMP_E): Likewise.
14516 (FP_CMP_EQ_E): Likewise.
14517 (FP_CMP_UNORD_E): Likewise.
14518 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14519 (FP_CMP_EQ_Q): Likewise.
14520 (FP_CMP_UNORD_Q): Likewise.
14521 * soft-fp/single.h (FP_CMP_S): Likewise.
14522 (FP_CMP_EQ_S): Likewise.
14523 (FP_CMP_UNORD_S): Likewise.
14524 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14525 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14526 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14527 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14528 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14529 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14530 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14531 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14532 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14533 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14534 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14535 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14536 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14537 to FP_CMP_Q.
14538 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14539 FP_CMP_Q.
14540 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14541 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14542 FP_CMP_EQ_Q.
14543 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14544 FP_CMP_Q.
14545 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14546 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14547 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14548 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14549 FP_CMP_EQ_Q.
14550 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14551 FP_CMP_Q.
14552 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14553 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14554 FP_CMP_EQ_Q.
14555 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14556 FP_CMP_Q.
14557 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14558 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14559 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14560 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14561 FP_CMP_EQ_Q.
14562
14563 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14564 a subnormal result, set the underflow exception if trapping on
14565 underflow is enabled.
14566 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14567 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14568 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14569 redefine to 0.
14570 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14571 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14572 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14573 * soft-fp/extendxftf2.c (__extendxftf2): Use
14574 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14575
14576 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14577 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14578 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14579 FP_HANDLE_EXCEPTIONS.
14580 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14581 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14582 FP_HANDLE_EXCEPTIONS.
14583 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14584 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14585 FP_HANDLE_EXCEPTIONS.
14586 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14587 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14588 FP_HANDLE_EXCEPTIONS.
14589
14590 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14591
14592 [BZ #14132]
14593 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14594 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14595 use INTUSE.
14596 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14597 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14598 Remove alias.
14599 (__adjtimex): Define using libc_hidden_ver.
14600 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14601 Remove declaration.
14602 (ntp_gettime): Call __adjtimex directly.
14603 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14604 Remove declaration.
14605 (ntp_gettimex): Call __adjtimex directly.
14606 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14607 __adjtimex_internal alias.
14608
14609 2014-10-08 Roland McGrath <roland@hack.frob.com>
14610
14611 [BZ #17460]
14612 * nscd/nscd.c (more_help): Rewrite list of tables collection
14613 using xstrdup and asprintf.
14614
14615 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14616
14617 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14618 Roland McGrath <roland@hack.frob.com>
14619
14620 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14621 (do_lookup_unique): ... local function 'enter' here; update callers.
14622
14623 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14624
14625 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14626 compat_symbol calls on [SHARED].
14627 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14628 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14629 Remove.
14630 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14631 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14632 (oldsetrlimit): Remove.
14633 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14635 (lchown): New syscall entry.
14636 (oldsetrlimit): Remove.
14637 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14638 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14639 (oldsetrlimit): Remove.
14640 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14641
14642 [BZ #14138]
14643 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14644 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14645 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14646 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14647 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14648 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14649 (fchown): Likewise.
14650 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14651 (fchown): Likewise.
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14653 Likewise.
14654
14655 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14656
14657 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14658 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14659 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14660 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14661 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14662 Likewise.
14663 (__old_sem_post): Likewise.
14664
14665 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14666
14667 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14668 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14669 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14670 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14671 Use INLINE_VSYSCALL macro.
14672 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14673 __vdso_clock_gettime.
14674 * sysdeps/unix/sysv/linux/tile/init-first.c
14675 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14676 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14677 __vdso_clock_gettime.
14678
14679 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14680 to set up frame more cleanly.
14681
14682 * sysdeps/tile/memcmp.c: New file.
14683
14684 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14685
14686 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14687 * sysdeps/tile/tilegx/strcasestr.c: New file.
14688 * sysdeps/tile/tilegx/strnlen.c: New file.
14689 * sysdeps/tile/tilegx/strstr.c: New file.
14690
14691 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14692
14693 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14694
14695 * nptl/tst-setuid3.c: Write errors to stdout.
14696
14697 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14698
14699 * elf/dl-deps.c
14700 (preload): New functions broken out of _dl_map_object_deps.
14701 (_dl_map_object_deps): Remove a nested function. Update call sites.
14702
14703 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14704
14705 [BZ #14138]
14706 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14707 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14708
14709 2014-10-01 Steve Ellcey <sellcey@mips.com>
14710
14711 * sysdeps/mips/strcmp.S: New.
14712
14713 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14714
14715 [BZ #14138]
14716 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14717 (linkat): Likewise.
14718 (mkdirat): Likewise.
14719 (readlinkat): Likewise.
14720 (renameat): Likewise.
14721 (symlinkat): Likewise.
14722 (unlinkat): Likewise.
14723 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14724 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14725 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14726 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14727 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14728 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14729 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14730
14731 2014-09-30 Will Newton <will.newton@linaro.org>
14732
14733 * math/math.h: Define long double math functions if
14734 _LIBC_TEST is defined.
14735 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14736
14737 * localedata/Makefile: Move assignment to tests-special
14738 into an ifdef testing run-built-tests.
14739 * timezone/Makefile: Likewise.
14740
14741 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14742
14743 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14744 with $(BASH) not $(SHELL).
14745
14746 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14747 Matthew LeGendre <legendre1@llnl.gov>
14748
14749 [BZ #17411]
14750 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14751 l_reloc_result.
14752
14753 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14754
14755 * stdio-common/printf_fp.c
14756 (hack_digit): New function, broken out of ...
14757 (__printf_fp): ... local function here. Update call sites.
14758 hack_digit now takes an additional parameter that is a pointer
14759 to a struct of the referenced locals. Those locals moved inside
14760 the struct and references updated.
14761
14762 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14763
14764 * aclocal.m4: Require autoconf 2.69.
14765 * configure: Regenerated.
14766 * sysdeps/aarch64/configure: Likewise.
14767 * sysdeps/alpha/configure: Likewise.
14768 * sysdeps/arm/armv7/configure: Likewise.
14769 * sysdeps/arm/configure: Likewise.
14770 * sysdeps/ia64/configure: Likewise.
14771 * sysdeps/mach/configure: Likewise.
14772 * sysdeps/mips/configure: Likewise.
14773 * sysdeps/s390/configure: Likewise.
14774 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14776
14777 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14778 file.
14779 * sysdeps/ia64/configure.ac: Likewise.
14780
14781 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14782
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14784 specify symbol version for ld.so. Do not include entry for
14785 libpthread.
14786 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14787 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14788 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14789
14790 [BZ #14171]
14791 * Makeconfig [$(build-shared) = yes]
14792 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14793 makefiles.
14794 [$(build-shared) = yes && $(soversions.mk-done) = t]
14795 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14796 [$(build-shared) = yes && $(soversions.mk-done) = t]
14797 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14798 to Makerules.
14799 [$(build-shared) = yes && $(soversions.mk-done) = t]
14800 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14801 here.
14802 [$(build-shared) = yes && $(soversions.mk-done) = t]
14803 (common-generated): Don't append gnu/lib-names.h and
14804 gnu/lib-names.stmp here.
14805 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14806 (lib-names-h-abi): New variable.
14807 [$(build-shared) = yes && $(soversions.mk-done) = t]
14808 (lib-names-stmp-abi): Likewise.
14809 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14810 abi-variants] (before-compile): Append
14811 $(common-objpfx)$(lib-names-h-abi).
14812 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14813 abi-variants] (common-generated): Append gnu/lib-names.h.
14814 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14815 abi-variants] (install-others-nosubdir): Depend on
14816 $(inst_includedir)/$(lib-names-h-abi).
14817 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14818 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14819 [$(build-shared) = yes && $(soversions.mk-done) = t]
14820 ($(common-objpfx)$(lib-names-h-abi)): New rule.
14821 [$(build-shared) = yes && $(soversions.mk-done) = t]
14822 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14823 [$(build-shared) = yes && $(soversions.mk-done) = t]
14824 (common-generated): Append $(lib-names-h-abi) and
14825 $(lib-names-stmp-abi).
14826 * scripts/lib-names.awk: Do not handle multi being set.
14827 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14828 Remove variable.
14829 (abi-lp64_be-ld-soname): Likewise.
14830 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14831 Likewise.
14832 (abi-hard-ld-soname): Likewise.
14833 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14834 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14835 Remove variable.
14836 (abi-o32_hard-ld-soname): Likewise.
14837 (abi-o32_soft_2008-ld-soname): Likewise.
14838 (abi-o32_hard_2008-ld-soname): Likewise.
14839 (abi-n32_soft-ld-soname): Likewise.
14840 (abi-n32_hard-ld-soname): Likewise.
14841 (abi-n32_soft_2008-ld-soname): Likewise.
14842 (abi-n32_hard_2008-ld-soname): Likewise.
14843 (abi-n64_soft-ld-soname): Likewise.
14844 (abi-n64_hard-ld-soname): Likewise.
14845 (abi-n64_soft_2008-ld-soname): Likewise.
14846 (abi-n64_hard_2008-ld-soname): Likewise.
14847 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14848 Likewise.
14849 (abi-64-v2-ld-soname): Likewise.
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14851 ld.so entries.
14852 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14853 variable.
14854 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14855 entry.
14856 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14857 variable.
14858 (abi-64-ld-soname): Likewise.
14859 (abi-x32-ld-soname): Likewise.
14860 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14861 entry.
14862 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14863
14864 2014-09-23 Joseph Myers <joseph@codesourcery.com>
14865
14866 [BZ #14138]
14867 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14868 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14869 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14870 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14871 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14872 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14873 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14874 syscall entry for GLIBC_2.2 symbol version.
14875 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14876 Likewise.
14877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14878 (setrlimit): Likewise.
14879 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14880 Likewise.
14881
14882 2014-09-23 Will Newton <will.newton@linaro.org>
14883
14884 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14885 _LINUX_ARM_SYSDEP_H include guard too.
14886 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14887 define.
14888
14889 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14890
14891 * sysdeps/unix/sysv/linux/eventfd.c:
14892 Make first argument unsigned.
14893 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14894 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14895
14896 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
14897
14898 * socket/recvmmsg.c (recvmmsg): Drop const argument.
14899 * socket/sys/socket.h: Likewise
14900 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14901
14902 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14903
14904 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14905
14906 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
14907
14908 * time/tst-ftime.c: New test.
14909 * time/Makefile (tests): Add tst-ftime.
14910
14911 2014-09-17 Joseph Myers <joseph@codesourcery.com>
14912
14913 * soft-fp/extended.h: Fix comment formatting.
14914 * soft-fp/op-1.h: Likewise.
14915 * soft-fp/op-2.h: Likewise.
14916 * soft-fp/op-4.h: Likewise.
14917 * soft-fp/op-8.h: Likewise.
14918 * soft-fp/op-common.h: Likewise.
14919 * soft-fp/soft-fp.h: Likewise.
14920
14921 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14922
14923 2014-09-16 Joseph Myers <joseph@codesourcery.com>
14924
14925 [BZ #6652]
14926 * Makeconfig (soversions-default-setname): Remove variable.
14927 ($(common-objpfx)soversions.i): Don't pass default_setname to
14928 soversions.awk.
14929 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14930 oldest_abi to abi-versions.awk.
14931 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14932 * config.make.in (oldest-abi): Remove variable.
14933 * configure.ac (--enable-oldest-abi): Remove configure option.
14934 * configure: Regenerated.
14935 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14936 text.
14937 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14938 * scripts/soversions.awk: Do not handle default_setname variable.
14939 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14940 variable.
14941 * sysdeps/mach/hurd/configure: Regenerated.
14942 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14943 variable.
14944 * sysdeps/unix/sysv/linux/configure: Regenerated.
14945
14946 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14947
14948 * elf/Makefile (CFLAGS-interp.c): Remove.
14949 ($(elf-objpfx)runtime-linker.h): Generate header with linker
14950 path string.
14951 * elf/interp.c: Include generated runtime-linker.h
14952
14953 * Makerules (lib%.so): Don't include $(+interp) in
14954 prerequisites.
14955 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14956 * dlfcn/eval.c: Remove file.
14957
14958 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14959 macros.
14960
14961 [BZ #17266]
14962 * misc/sys/cdefs.h: Define __extern_always_inline for clang
14963 4.2 and newer.
14964
14965 [BZ #17370]
14966 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14967
14968 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14969 Jakub Jelinek <jakub@redhat.com>
14970
14971 [BZ #17266]
14972 * libio/stdio.h: Check definition of __fortify_function
14973 instead of __extern_always_inline to include bits/stdio2.h.
14974 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14975 check if __extern_always_inline is defined.
14976 [__USE_MISC || __USE_XOPEN]: Likewise.
14977 [__USE_ISOC99] Likewise.
14978 * misc/sys/cdefs.h (__fortify_function): Define only if
14979 __extern_always_inline is defined.
14980 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14981 __extern_always_inline and __extern_inline only for g++-4.3
14982 and newer or a compatible gcc.
14983
14984 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
14985
14986 [BZ #17371]
14987 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14988 last change to handle zero prefix length.
14989
14990 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14991
14992 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14993 _SC_REGEX_VERSION.
14994
14995 * posix/getconf.c (vars): Add _POSIX_IPV6 and
14996 _POSIX_RAW_SOCKETS.
14997
14998 2014-09-13 Allan McRae <allan@archlinux.org>
14999
15000 * po/ru.po: Update Russian translation from translation project.
15001
15002 2014-09-12 Roland McGrath <roland@hack.frob.com>
15003
15004 * locale/programs/locale.c (show_locale_vars): Inline local function
15005 into its sole call site. Clean up some style nits.
15006 (print_item): New function, broken out of ...
15007 (show_info): ... local function here. Clean up style nits.
15008
15009 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15010 out of ...
15011 (set_class_defaults): ... local function set_default here.
15012 Define set_default as a macro locally to pass constant parameters.
15013 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15014 rather than a shared local.
15015
15016 * stdlib/rpmatch.c (try): New function, broken out of ...
15017 (rpmatch): ... local function here. Also, prototypify definition.
15018
15019 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15020
15021 * scripts/soversions.awk: Do not handle configuration names.
15022 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15023 vendor and os variables to soversions.awk.
15024 * configure.ac: Do not modify gnu-* host_os.
15025 * configure: Regenerated
15026 * shlib-versions: Remove first column with configuration names.
15027 * nptl/shlib-versions: Likewise.
15028 * nptl_db/shlib-versions: Likewise.
15029 * sysdeps/hppa/shlib-versions: Likewise.
15030 * sysdeps/m68k/shlib-versions: Likewise.
15031 * sysdeps/mach/hurd/shlib-versions: Likewise.
15032 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15033 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15034 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15035 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15036 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15037 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15038 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15039 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15041 Likewise.
15042 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15043 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15044 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15045 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15046 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15047 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15048 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15049 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15050
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15052 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15054 Regenerated.
15055 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15057 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15058
15059 * shlib-versions: Remove OS-specific entries. Moved to files in
15060 sysdeps.
15061 * sysdeps/mach/hurd/shlib-versions: New file.
15062 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15063
15064 * nptl/shlib-versions: Remove architecture-specific entries.
15065 Moved to files in sysdeps.
15066 * shlib-versions: Likewise.
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15068 file.
15069 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15070 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15071 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15072 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15073
15074 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15075 (UDP_NO_CHECK6_RX): Likewise.
15076
15077 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15078
15079 * sysdeps/posix/sysconf.c (__sysconf): Spell
15080 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15081
15082 2014-08-12 Florian Weimer <fweimer@redhat.com>
15083
15084 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15085 loading.
15086 * iconv/Versions (__gconv_transliterate): Export for use from
15087 gconv modules.
15088 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15089 (struct __gconv_trans_data, __gconv_trans_fct,
15090 __gconv_trans_context_fct, __gconv_trans_query_fct,
15091 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15092 definitions.
15093 (struct __gconv_step_data): Remove __trans member.
15094 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15095 longer hidden. Remove unused trans_data argument.
15096 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15097 (__gconv_translit_find): Remove declaration.
15098 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15099 prototype.
15100 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15101 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15102 trans_data argument. Add hidden definition.
15103 (__gconv_translit_find): Remove.
15104 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15105 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15106 * iconv/skeleton.c: Remove transliteration initialization.
15107 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15108 __gconv_step_data initialization.
15109 * libio/iofwide.c (__libio_translit_): Remove.
15110 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15111 * wcsmbs/btowc.c (__btowc): Likewise.
15112 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15113 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15114 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15115 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15116 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15117 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15118 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15119 * wcsmbs/wctob.c (wctob): Likewise.
15120
15121 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15122
15123 [BZ #16194]
15124 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15125 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15126 register usage.
15127 * sysdeps/x86/Makefile: Adjust.
15128
15129 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15130 Roland McGrath <roland@hack.frob.com>
15131
15132 * locale/weight.h: Add include guard.
15133 (findidx): Make static rather than auto; take new parameters
15134 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15135 * locale/weightwc.h: Likewise.
15136 * posix/fnmatch_loop.c
15137 (FCT): Change type of EXTRA from int32_t to wint_t.
15138 Don't include either header inside the function.
15139 Call FINDIDX rather than findidx, and pass new arguments.
15140 #undef FINDIDX at the end of the file.
15141 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15142 FINDIDX before including fnmatch_loop.c for the non-wide version.
15143 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15144 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15145 for the wide version.
15146 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15147 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15148 Pass new arguments to findidx.
15149 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15150 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15151 Don't #include it inside the function. Pass new arguments to findidx.
15152 * posix/regex_internal.h
15153 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15154 (re_string_elem_size_at): Don't #include it inside the function.
15155 Pass new arguments to findidx.
15156 * string/strcoll_l.c: #include WEIGHT_H at top level.
15157 (get_next_seq): Don't #include it inside the function.
15158 Pass new arguments to findidx.
15159 (get_next_seq_nocache): Likewise.
15160 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15161 (STRXFRM): Don't #include it inside the function.
15162 Pass new arguments to findidx.
15163
15164 2014-09-11 Florian Weimer <fweimer@redhat.com>
15165
15166 [BZ #17344]
15167 * malloc/malloc.c (unlink): Turn asserts into a call to
15168 malloc_printerr.
15169
15170 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15171
15172 [BZ #17370]
15173 * libio/wfileops (do_ftell_wide): Free OUT.
15174
15175 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15176
15177 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15178
15179 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15180
15181 [BZ #17363]
15182 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15183 group if the current group is empty.
15184
15185 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15186
15187 * benchtests/bench-memset.c (test_main): Add more test from size
15188 from 32 to 512 bytes.
15189 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15190 Add POWER8 memset object.
15191 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15192 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15193 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15194 implementation.
15195 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15196 Likewise.
15197 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15198 multiarch POWER8 memset optimization.
15199 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15200 POWER8 memset optimization.
15201
15202 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15203 Remove bzero multiarch objects.
15204 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15206 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15207 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15208 Remove define.
15209 [__bzero]: Redefine to specific name.
15210 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15211 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15212 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15213 define.
15214 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15215 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15216
15217 2014-09-10 Florian Weimer <fweimer@redhat.com>
15218
15219 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15220 warnings into errors.
15221
15222 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15223 __cxa_thread_atexit_impl prototype.
15224
15225 2014-09-09 Steve Ellcey <sellcey@mips.com>
15226
15227 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15228 Fix capitalization of error message.
15229
15230 2014-09-09 Steve Ellcey <sellcey@mips.com>
15231
15232 * sysdeps/mips/preconfigure: Modify ABI tests.
15233
15234 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15235
15236 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15237
15238 2014-09-07 Roland McGrath <roland@hack.frob.com>
15239 Carlos O'Donell <carlos@systemhalted.org>
15240
15241 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15242 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15243 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15244 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15245 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15246 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15247 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15248 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15249 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15250 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15251 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15252 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15253 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15254 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15255 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15256 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15257 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15258 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15259 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15260 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15261 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15262 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15263 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15264 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15265 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15266 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15267 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15268 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15269 Deconditionalize the code that was previously under [RESET_PID].
15270 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15271 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15272 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15273 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15274 include sysdep.h.
15275
15276 2014-09-08 Allan McRae <allan@archlinux.org>
15277
15278 * version.h (RELEASE): Set to "development".
15279 (VERSION): Set to "2.20.90"
15280
15281 2014-09-07 Allan McRae <allan@archlinux.org
15282
15283 * version.h (RELEASE): Set to "stable".
15284 (VERSION): Set to "2.20"
15285 * include/features.h (__GLIBC_MINOR__): Set to 20.
15286
15287 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15288 Liebler.
15289
15290 * po/ko.po: Update Korean translation from translation project.
15291
15292 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15293
15294 [BZ #17354]
15295 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15296 macro for handling signed relocations.
15297
15298 2014-09-03 Florian Weimer <fweimer@redhat.com>
15299
15300 [BZ #17325]
15301 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15302 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15303 assert.
15304 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15305 * iconvdata/ibm935.c (BODY): Likewise.
15306 * iconvdata/ibm937.c (BODY): Likewise.
15307 * iconvdata/ibm939.c (BODY): Likewise.
15308 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15309 assert.
15310 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15311 script.
15312 * iconvdata/run-iconv-test.sh: New test loop for checking for
15313 decoder crashers.
15314
15315 2014-09-02 Khem Raj <raj.khem@gmail.com>
15316
15317 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15318 libm_hidden_ver.
15319
15320 2014-09-01 Allan McRae <allan@archlinux.org>
15321
15322 * po/eo.po: Update Esperanto translation from translation project.
15323
15324 * po/ca.po: Update Catalan translation from translation project.
15325
15326 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15327
15328 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15329 __proc_dostop call.
15330
15331 2014-08-27 Mark Wielaard <mjw@redhat.com>
15332
15333 [BZ #17319]
15334 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15335 to call set_thread_area instead of hand written asm.
15336 (__NR_set_thread_area): Removed define.
15337 (TLS_FLAG_WRITABLE): Likewise.
15338 (__ASSUME_SET_THREAD_AREA): Remove check.
15339 (TLS_EBX_ARG): Remove define.
15340 (TLS_LOAD_EBX): Likewise.
15341
15342 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15343
15344 Simplify atomicity of socket creation in bind.
15345
15346 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15347 looking up the name after linking the file.
15348
15349 2014-08-27 Allan McRae <allan@archlinux.org>
15350
15351 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15352
15353 2014-08-26 Florian Weimer <fweimer@redhat.com>
15354
15355 [BZ #17187]
15356 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15357 trans_compare, open_translit, __gconv_translit_find):
15358 Remove module loading code.
15359
15360 2014-08-26 Allan McRae <allan@archlinux.org>
15361
15362 * po/vi.po: Update Vietnamese translation from translation project.
15363
15364 * po/uk.po: Update Ukrainian translation from translation project.
15365
15366 * po/fr.po: Update French translation from translation project.
15367
15368 * po/ru.po: Update Russian translation from translation project.
15369
15370 * po/pl.po: Update Polish translation from translation project.
15371
15372 * po/cs.po: Update Czech translation from translation project.
15373
15374 * po/de.po: Update German translation from translation project.
15375
15376 * po/bg.po: Update Bulgarian translation from translation project.
15377
15378 * po/sv.po: Update Sweedish translation from translation project.
15379
15380 * po/nl.po: Update Dutch translation from translation project.
15381
15382 * po/es.po: Update Spanish translation from translation project.
15383
15384 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15385
15386 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15387
15388 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15389 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15390 (CPPFLAGS-iconvconfig): Likewise.
15391 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15392
15393 * include/libc-symbols.h: Remove unnecessary check for
15394 NOT_IN_libc.
15395 * nptl/pthreadP.h: Likewise.
15396 * sysdeps/aarch64/setjmp.S: Likewise.
15397 * sysdeps/alpha/setjmp.S: Likewise.
15398 * sysdeps/arm/sysdep.h: Likewise.
15399 * sysdeps/i386/setjmp.S: Likewise.
15400 * sysdeps/m68k/setjmp.c: Likewise.
15401 * sysdeps/posix/getcwd.c: Likewise.
15402 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15403 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15404 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15405 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15406 * sysdeps/sh/sh3/setjmp.S: Likewise.
15407 * sysdeps/sh/sh4/setjmp.S: Likewise.
15408 * sysdeps/unix/alpha/sysdep.h: Likewise.
15409 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15410 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15411 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15412 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15416 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15417 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15418 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15420 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15422 * sysdeps/x86_64/setjmp.S: Likewise.
15423
15424 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15425
15426 [BZ #17263]
15427 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15428 <stdint.h>.
15429 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15430 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15431
15432 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15433
15434 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15435
15436 [BZ #17262]
15437 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15438 and __x86_64__ when disabling x87 inline functions.
15439
15440 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15441
15442 [BZ #17259]
15443 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15444 asm statement with __cpuid_count.
15445
15446 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15447
15448 * configure.ac: Change __ehdr_start code to dereference the struct.
15449 Run readelf on the output to look for relocations.
15450 * configure: Regenerated.
15451
15452 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15453
15454 [BZ #17261]
15455 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15456 value to 0.
15457 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15458
15459 2014-08-12 Roland McGrath <roland@hack.frob.com>
15460
15461 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15462
15463 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15464
15465 [BZ #16892]
15466 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15467 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15468
15469 2014-08-12 Sean Anderson <seanga2@gmail.com>
15470
15471 * malloc/malloc.c: Fix typo in comment.
15472
15473 2014-08-09 Allan McRae <allan@archlinux.org>
15474
15475 * Regenerate libc.po.
15476
15477 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15478
15479 * intl/tst-gettext2.sh: Check every lang file for creation.
15480
15481 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15482
15483 * sysdeps/aarch64/fpu/math_private.h
15484 (libc_feholdsetround_noex_aarch64_ctx): New function.
15485
15486 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15487
15488 * sysdeps/arm/armv6/strcpy.S (strcpy):
15489 Fix performance issue in misaligned cases.
15490
15491 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15492
15493 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15494 Move definition from termios.h.
15495 (struct termio): Likewise.
15496 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15497 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15498 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15499 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15500 Likewise.
15501 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15502 Move definition to ioctl-types.h
15503 (struct termio): Likewise.
15504 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15505 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15506 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15507 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15508 Likewise.
15509
15510 2014-08-05 Richard Henderson <rth@redhat.com>
15511
15512 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15513 exceptions.
15514 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15515 Add fraiseexcpt.
15516 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15517 Use __feraiseexcept.
15518 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15519 Protect libm symbols with IS_IN_libm.
15520
15521 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15522
15523 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15524
15525 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15526
15527 2014-08-04 Will Newton <will.newton@linaro.org>
15528
15529 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15530 file.
15531
15532 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15533
15534 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15535 variants for each function.
15536
15537 2014-08-04 Roland McGrath <roland@hack.frob.com>
15538
15539 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15540 appended ...
15541 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15542 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15543 appended ...
15544 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15545 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15546 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15547 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15548 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15549 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15550 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15551 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15552 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15553 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15554 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15555 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15556 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15557 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15558 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15559 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15560 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15561 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15562 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15563 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15564 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15565 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15566 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15567 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15568 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15569 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15570 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15571 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15572 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15573 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15574 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15575 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15576 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15577 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15578 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15579 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15580 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15581 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15582 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15583 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15584 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15585 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15586 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15587 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15588 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15589 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15590 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15591 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15592 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15593 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15594 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15595 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15596 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15597 Update #include.
15598 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15599 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15600
15601 2014-08-04 Roland McGrath <roland@hack.frob.com>
15602
15603 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15604 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15605 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15606 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15607 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15608 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15609
15610 2014-08-04 Roland McGrath <roland@hack.frob.com>
15611
15612 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15613 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15614 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15615 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15616
15617 2014-08-04 Roland McGrath <roland@hack.frob.com>
15618
15619 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15620 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15621 (__libc_vfork): Define function under this name.
15622 (__vfork): Define as an alias.
15623 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15624 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15625
15626 2014-08-04 Roland McGrath <roland@hack.frob.com>
15627
15628 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15629 that was previously under [RESET_PID].
15630 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15631
15632 2014-08-04 Andreas Schwab <schwab@suse.de>
15633
15634 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15635
15636 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15637
15638 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15639 (main): Likewise.
15640
15641 2014-08-01 Roland McGrath <roland@hack.frob.com>
15642
15643 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15644
15645 2014-08-01 Richard Henderon <rth@redhat.com>
15646
15647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15648 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15649 typo in exact zero test.
15650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15651 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15652 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15653
15654 2014-08-01 Roland McGrath <roland@hack.frob.com>
15655
15656 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15657 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15658 * sysdeps/arm/sysdep.h: ... here.
15659 [!__ASSEMBLER__]: Include <stdint.h>.
15660
15661 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15662
15663 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15664 (HAVE_WCTYPE_H): Likewise.
15665 (HAVE_ISWCTYPE): Likewise.
15666 (ENABLE_NLS): Likewise.
15667 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15668 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15669
15670 * posix/regex_internal.c: Check if DEBUG is defined and is
15671 set.
15672
15673 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15674 (HAVE_MBSRTOWCS): Likewise.
15675 * posix/fnmatch.c: Include string.h unconditionally.
15676
15677 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15678
15679 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15680 reversal.
15681
15682 2014-07-31 Roland McGrath <roland@hack.frob.com>
15683
15684 * sysdeps/generic/safe-fatal.h: New file.
15685 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15686 * nptl/forward.c: Include it.
15687 (__pthread_unwind): Use __safe_fatal as default action, rather
15688 than a bogus use of INTERNAL_SYSCALL that could never work.
15689
15690 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15691 * configure.ac (libc_cv_builtin_trap): New test.
15692 * configure: Regenerated.
15693 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15694 (ABORT_INSTRUCTION): Define using __builtin_trap.
15695
15696 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15697 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15698 * sysdeps/nptl/nptl-signals.h: New file.
15699 * nptl/pthreadP.h: Include <nptl-signals.h>.
15700
15701 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15702
15703 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15704 (ONE_DIRECTION): Define.
15705 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15706 (ONE_DIRECTION): Define.
15707 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15708 (ONE_DIRECTION): Define.
15709
15710 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15711
15712 * sysdeps/s390/Makefile: Delete file.
15713 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15714 * sysdeps/s390/__longjmp.c: Delete file.
15715 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15716 Remove fields __flags and __reserved.
15717 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15718 and add versioning.
15719 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15720 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15721 * sysdeps/s390/rtld-setjmp.S: Likewise.
15722 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15723 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15724 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15725 * sysdeps/s390/s390-32/setjmp.S: ... here.
15726 Add versioning.
15727 (__sigsetjmp): Remove setting __flags field.
15728 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15729 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15730 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15731 * sysdeps/s390/s390-64/setjmp.S: ... here.
15732 Add versioning.
15733 (__sigsetjmp): Remove setting __flags field.
15734 * sysdeps/s390/setjmp.S: Delete file.
15735 * sysdeps/s390/sigjmp.c: Likewise.
15736 * sysdeps/s390/v1-longjmp.c: Likewise.
15737 * sysdeps/s390/v1-setjmp.h: Likewise.
15738 * sysdeps/s390/v1-sigjmp.c: Likewise.
15739 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15740 Remove v1-longjmp_chk.
15741 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15742 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15743 Include debug/longjmp_chk.c and add versioning.
15744 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15745 Include nptl/pt-longjmp.c and add versioning.
15746 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15747 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15748 Include __longjmp.c.
15749 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15750 Move to ...
15751 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15752 (__getcontext): Remove setting __flags field.
15753 Add versioning.
15754 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15755 Don't restore upper high grps.
15756 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15757 Likewise.
15758 (__swapcontext): Remove setting uc_flags field.
15759 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15760 Delete file.
15761 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15762 Include __longjmp.c.
15763 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15764 Move to ...
15765 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15766 (__getcontext): Remove setting __flags field.
15767 Add versioning.
15768 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15769 (__swapcontext): Remove setting uc_flags field.
15770 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15771 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15772 Remove fields uc_high_gprs and __reserved.
15773 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15774 New file with reverted content.
15775 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15776 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15777 Regenerated.
15778 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15779 Regenerated.
15780
15781 2014-07-31 Andreas Schwab <schwab@suse.de>
15782
15783 * config.h.in (HAVE_IFUNC): Define to 0.
15784 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15785 definedness.
15786
15787 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15788
15789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15790 memmove-avx-unaligned, memcpy-avx-unaligned and
15791 mempcpy-avx-unaligned.
15792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15793 Add tests for AVX memcpy functions.
15794 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15795 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15796 memcpy_chk.
15797 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15798 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15799 memmove_chk.
15800 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15801 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15802 mempcpy_chk.
15803 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15804 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15805 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15806
15807 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15808
15809 [BZ #17213]
15810 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15811 powerpc64le.
15812
15813 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
15814
15815 [BZ #16839]
15816 * manual/llio.texi: Add section about open file description locks.
15817 * manual/examples/ofdlocks.c: Example of open file description
15818 lock usage.
15819 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15820 F_OFD_SETLK, and F_OFD_SETLKW.
15821
15822 2014-07-23 Allan McRae <allan@archlinux.org>
15823
15824 * po/es.po: Update Spanish translation from translation project.
15825
15826 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
15827
15828 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15829
15830 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
15831
15832 [BZ #17078]
15833 * sysdeps/arm/dl-machine.h (elf_machine_rela)
15834 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15835 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15836
15837 2014-07-17 Joseph Myers <joseph@codesourcery.com>
15838
15839 [BZ #17088]
15840 * math/fesetenv.c (__fesetenv)
15841 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15842 * math/feupdateenv.c (__feupdateenv)
15843 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15844
15845 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15846 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15847 (__ASSUME_SOCKETCALL): Do not define.
15848
15849 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15850 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15851 (__ASSUME_SOCKETCALL): Do not define.
15852 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15853 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15854 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15855 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15856 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15857 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15858 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15859 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15860
15861 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15862 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15863 (__ASSUME_SOCKETCALL): Do not define.
15864 (__ASSUME_IPC64): Define unconditionally.
15865 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15866 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15867 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15868 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15869 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15870 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15871 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15872 Likewise.
15873
15874 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15875 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15876 (__ASSUME_SOCKETCALL): Do not define.
15877 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15878 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15879 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15880 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15881 (__ASSUME_REQUEUE_PI): Define unconditionally.
15882 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15883 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15884 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15885 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15886 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15887 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15888
15889 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15890 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15891 (__ASSUME_SOCKETCALL): Do not define.
15892 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15893 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15894 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15895 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15896 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15897 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15898
15899 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15900 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15901 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15902 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15903 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15904 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15905 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15906 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15907 (__ASSUME_GETCPU_SYSCALL): Likewise.
15908
15909 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15910 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
15911 cases for individual architectures.
15912 * sysdeps/gnu/configure: Regenerated.
15913 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15914 LIBC_SLIBDIR_RTLDDIR.
15915 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15916 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15917 LIBC_SLIBDIR_RTLDDIR.
15918 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15920 LIBC_SLIBDIR_RTLDDIR.
15921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15922 Regenerated.
15923 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15924 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15925 file.
15926 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15927 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15928 file.
15929 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15930 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15931 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15932 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15933
15934 * sysdeps/aarch64/shlib-versions: Move to ...
15935 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15936 * sysdeps/alpha/shlib-versions: Move to ...
15937 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15938 * sysdeps/arm/shlib-versions: Move to ...
15939 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15940 * sysdeps/hppa/shlib-versions: Move all contents except for
15941 libgcc_s entry to ...
15942 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
15943 entry from ...
15944 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
15945 * sysdeps/ia64/shlib-versions: Move to ...
15946 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
15947 entry from ...
15948 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
15949 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15950 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15951 * sysdeps/microblaze/shlib-versions: Move to ...
15952 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15953 * sysdeps/mips/shlib-versions: Move to ...
15954 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
15955 entry from ...
15956 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
15957 * sysdeps/tile/shlib-versions: Move to ...
15958 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15959 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15960 from ...
15961 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
15962 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15963 entry from ...
15964 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
15965
15966 2014-07-17 Will Newton <will.newton@linaro.org>
15967
15968 * sysdeps/arm/bits/atomic.h
15969 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15970 (__arch_compare_and_exchange_bool_16_int): Likewise.
15971 (__arch_compare_and_exchange_bool_64_int): Likewise.
15972
15973 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15974 into an #else block.
15975
15976 2014-07-16 Roland McGrath <roland@hack.frob.com>
15977
15978 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15979 just Linux configurations. Test empirically that the compiler sets
15980 __ARM_EABI__, rather than using the tuple to decide.
15981 * sysdeps/arm/preconfigure: Regenerated.
15982 * sysdeps/unix/sysv/linux/arm/configure: File removed.
15983 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15984 contents appended ...
15985 * sysdeps/arm/configure.ac: ... here.
15986 * sysdeps/arm/configure: Regenerated.
15987
15988 2014-07-15 Roland McGrath <roland@hack.frob.com>
15989
15990 * nptl/pthread_kill.c: New file.
15991 * nptl/pthread_sigmask.c: New file.
15992 * nptl/pthread_sigqueue.c: New file.
15993
15994 * sysdeps/nptl/lowlevellock.h: New file.
15995 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15996 * sysdeps/nptl/lowlevellock-futex.h: New file.
15997
15998 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15999 Remove dead declarations.
16000
16001 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16002
16003 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16004 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16005 config-cflags-avx2.
16006 * sysdeps/x86_64/configure.ac: Likewise.
16007 * sysdeps/i386/configure: Regenerated.
16008 * sysdeps/x86_64/configure: Likewise.
16009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16010 memset-avx2 only if config-cflags-avx2 is yes.
16011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16012 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16013 defined.
16014 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16015 only if HAVE_AVX2_SUPPORT is defined.
16016 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16017
16018 2014-07-14 Alan Modra <amodra@gmail.com>
16019
16020 [BZ #17153]
16021 * elf/elf.h (DT_PPC64_NUM): Correct value.
16022 * NEWS: Add to fixed bug list.
16023
16024 2014-07-13 Jim Meyering <meyering@fb.com>
16025
16026 [BZ 17150]
16027 regex: don't deref NULL upon heap allocation failure
16028 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16029 failure in one more place.
16030 To trigger the segfault, configure grep -with-included-regex,
16031 build it, and run these commands:
16032 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16033
16034 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16035
16036 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16037
16038 2014-07-11 Richard Henderson <rth@redhat.com>
16039
16040 * sysdeps/aarch64/libm-test-ulps: Update.
16041
16042 2014-07-10 Florian Weimer <fweimer@redhat.com>
16043
16044 [BZ #17135]
16045 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16046 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16047 (__nptl_setxid): Initialize error member. Call
16048 __nptl_setxid_error.
16049 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16050 * nptl/descr.h (struct xid_command): Add error member.
16051 * nptl/tst-setuid3.c: New file.
16052 * nptl/Makefile (tests): Add it.
16053
16054 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16055
16056 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16057 New define.
16058 (__lll_trylock): Use __lll_base_trylock.
16059 (__lll_cond_trylock): Likewise.
16060
16061 2014-07-10 Roland McGrath <roland@hack.frob.com>
16062
16063 * nptl/pthread_create.c (start_thread): Use atomic_or and
16064 lll_futex_wake directly rather than lll_robust_dead.
16065 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16066 (lll_robust_dead): Macro removed.
16067 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16068 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16069 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16070 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16071 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16072 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16073 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16074 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16075 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16076 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16077 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16078 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16079 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16080 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16081 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16082
16083 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16084 Use atomic_compare_and_exchange_val_acq directly rather than
16085 lll_robust_trylock.
16086 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16087 (__lll_robust_trylock, lll_robust_trylock): Removed.
16088 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16089 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16090 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16091 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16092 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16093 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16094 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16095 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16096 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16097 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16098 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16099 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16100 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16101 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16102
16103 2014-07-02 Florian Weimer <fweimer@redhat.com>
16104
16105 * manual/locale.texi (Locale Names): New section documenting
16106 locale name syntax. Adjust menu and node chaining accordingly.
16107 (Choosing Locale): Reference Locale Names, Locale Categories.
16108 Mention setting LC_ALL=C. Reflect that name syntax is now
16109 documented.
16110 (Locale Categories): New section title. Reference Locale Names.
16111 LC_ALL is an environment variable, but not a category.
16112 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16113 description, now in Locale Name. Reference that section. Locale
16114 name syntax is now documented.
16115
16116 2014-07-02 Florian Weimer <fweimer@redhat.com>
16117
16118 [BZ #17137]
16119 * locale/findlocale.c (name_present, valid_locale_name): New
16120 functions.
16121 (_nl_find_locale): Use the loc_name variable to store name
16122 candidates. Call name_present and valid_locale_name to check and
16123 validate locale names. Return an error if the locale is invalid.
16124
16125 2014-07-02 Florian Weimer <fweimer@redhat.com>
16126
16127 * locale/setlocale.c (setlocale): Use strdup for allocating
16128 composite name copy.
16129
16130 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16131
16132 Sync up with gnulib.
16133 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16134 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16135 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16136 and _GL_ARG_NONNULL.
16137 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16138 [!_LIBC]: Include code for Windows and Cygwin.
16139 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16140 Include prototype for int strerror_r.
16141 [!_LIBC] (is_open): New function.
16142 (flush_stdout): New function.
16143 (print_errno_message): Use it.
16144 (error): Likewise.
16145 (error_at_line): Likewise.
16146 (error_tail) Add function attribute macros. Use
16147 __builtin_expect.
16148
16149 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16150
16151 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16152
16153 * io/ftw.c: Include sys/param.h unconditionally.
16154
16155 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16156
16157 [BZ #17125]
16158 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16159 libc_freeres_ptr.
16160 (freecache): New function to free CACHE on exit.
16161
16162 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16163 initialization.
16164
16165 2014-07-09 David S. Miller <davem@davemloft.net>
16166
16167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16168
16169 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16170 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16171 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16172 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16173 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16174 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16175 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16176 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16177 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16178 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16179 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16180 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16181 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16182
16183 2014-07-09 Andreas Schwab <schwab@suse.de>
16184
16185 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16186 output.
16187 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16188 (do_test): Likewise.
16189
16190 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16191
16192 2014-07-09 Will Newton <will.newton@linaro.org>
16193
16194 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16195 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16196 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16197 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16198 * sysdeps/hppa/start.S (_start): Likewise.
16199
16200 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16201
16202 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16203
16204 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16205 defined.
16206
16207 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16208
16209 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16210 after checking that it is non-NULL.
16211
16212 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16213
16214 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16215
16216 * sysdeps/powerpc/memmove.c: Remove file.
16217 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16218 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16219 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16220 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16221 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16222 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16223 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16224 string memmove instead of removed powerpc one.
16225
16226 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16227 [weak_alias]: Fix compiler warning due trailing data.
16228 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16229 [weak_alias]: Likewise.
16230 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16231 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16232
16233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16234 (__libc_ifunc_impl_list): Add memmove functions.
16235
16236 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16237
16238 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16239 Remove code.
16240 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16241 Likewise
16242 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16243 Likewise
16244 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16245 Likewise
16246 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16247 Likewise
16248 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16249 Likewise
16250 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16251 Likewise
16252 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16253 Likewise
16254 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16255 Likewise
16256 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16257 Likewise
16258 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16259 Likewise
16260 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16261 Likewise
16262 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16263 Likewise
16264 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16265 Likewise
16266 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16267 Likewise
16268 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16269 Likewise
16270 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16271 Likewise
16272
16273 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16274
16275 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16276 to avoid alignment traps in non-cacheable memory.
16277 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16278
16279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16280 multiarch objects.
16281 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16282 file: multiarch power7 memmove.
16283 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16284 multiarch default memmove.
16285 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16286 multiarch memove for powerpc32/power4.
16287
16288 * string/bcopy.c: Use full path to include memmove.c.
16289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16290 multiarch objects.
16291 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16292 bcopy for powerpc64.
16293 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16294 bcopy for powerpc64.
16295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16296 and memmove implementations.
16297 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16298 optimized multiarch memmove for POWER7/powerpc64.
16299 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16300 default multiarch memmove for powerpc64.
16301 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16302 multiarch for powerpc64.
16303 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16304 for POWER7/powerpc64.
16305 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16306 memmove for POWER7/powerpc64.
16307
16308 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16309 glibc default one.
16310
16311 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16312 __ELF_NATIVE_CLASS equal to 64.
16313
16314 2014-07-07 Roland McGrath <roland@hack.frob.com>
16315
16316 * sysdeps/nptl/lowlevellock.h: File removed.
16317
16318 * NEWS: NPTL is no longer an add-on!
16319 * nptl/internaltypes.h: Moved ...
16320 * sysdeps/nptl/internaltypes.h: ... here.
16321 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16322 * sysdeps/nptl/fork.c: Likewise.
16323 * sysdeps/nptl/gai_misc.h: Likewise.
16324 * sysdeps/nptl/librt-cancellation.c: Likewise.
16325 * sysdeps/nptl/jmp-unwind.c: Likewise.
16326 * sysdeps/nptl/setxid.h: Likewise.
16327 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16328 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16329 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16330 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16331 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16332 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16333 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16334 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16335 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16336 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16337 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16338 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16339 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16340 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16341 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16342 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16343 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16344 * nptl/Makeconfig: Moved ...
16345 * sysdeps/nptl/Makeconfig: ... here.
16346 * nptl/configure: File removed.
16347 * nptl/ANNOUNCE: File removed.
16348 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16349 * sysdeps/unix/sysv/linux/configure: Regenerated.
16350
16351 * nptl/Makefile (routines): Add libc_pthread_init,
16352 libc_multiple_threads, register-atfork and unregister-atfork.
16353 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16354 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16355 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16356 pthread-pi-defines.sym, structsem.sym.
16357 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16358 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16359 [$(subdir) = nptl] (tests): Add tst-setgetname.
16360 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16361 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16362 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16363 [!LIBC_SIGACTION]: Remove aliases.
16364 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16365 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16366 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16367 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16368 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16369 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16370 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16371 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16372 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16373 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16374 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16375 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16376 __libc_allocate_rtsig_private.
16377 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16378 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16379 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16380 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16381 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16382 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16383 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16384 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16385 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16386 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16387 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16388 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16389 * nptl/internaltypes.h: ... here.
16390 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16391 * sysdeps/nptl/jmp-unwind.c: ... here.
16392 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16393 * nptl/libc-lowlevellock.c: ... here.
16394 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16395 * nptl/libc_multiple_threads.c: ... here.
16396 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16397 * nptl/libc_pthread_init.c: ... here.
16398 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16399 * nptl/lowlevelbarrier.sym: ... here.
16400 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16401 * nptl/lowlevelcond.sym: ... here.
16402 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16403 * nptl/lowlevellock.c: ... here.
16404 * nptl/lowlevellock.h: Moved ...
16405 * sysdeps/nptl/lowlevellock.h: ... here.
16406 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16407 * nptl/lowlevelrobustlock.c: ... here.
16408 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16409 * nptl/lowlevelrobustlock.sym: ... here.
16410 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16411 * nptl/lowlevelrwlock.sym: ... here.
16412 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16413 * nptl/pt-fork.c: ... here.
16414 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16415 * nptl/pthread-pi-defines.sym: ... here.
16416 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16417 * nptl/pthread_attr_getaffinity.c: ... here.
16418 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16419 * nptl/pthread_attr_setaffinity.c: ... here.
16420 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16421 * nptl/pthread_mutex_cond_lock.c: ... here.
16422 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16423 Update #include.
16424 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16425 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16426 * nptl/pthread_once.c: ... here, replacing old file.
16427 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16428 * nptl/pthread_yield.c: ... here.
16429 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16430 * nptl/register-atfork.c: ... here.
16431 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16432 * nptl/sem_post.c: ... here.
16433 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16434 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16435 * nptl/sem_timedwait.c: ... here.
16436 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16437 * nptl/sem_trywait.c: ... here.
16438 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16439 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16440 * nptl/sem_wait.c: ... here.
16441 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16442 * nptl/structsem.sym: ... here.
16443 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16444 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16445 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16446 * nptl/unregister-atfork.c: ... here.
16447 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16448 * nptl/unwindbuf.sym: ... here.
16449 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16450 * sysdeps/nptl/fork.c: ... here.
16451 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16452 * sysdeps/nptl/fork.h: ... here.
16453 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16454 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16455 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16456 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16457 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16458 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16459 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16460 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16461 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16462 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16463 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16464 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16465 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16466 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16467 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16468 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16469 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16470 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16471 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16472 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16473 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16474 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16475 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16476 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16477 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16478 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16479 * sysdeps/unix/sysv/linux/raise.c: ... here.
16480 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16481 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16482 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16483 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16484 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16485 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16486 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16487 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16488 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16489 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16490 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16491 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16492 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16493 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16494 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16495
16496 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16497
16498 * sysdeps/generic/memcopy.h: Add comment for
16499 MEMCPY_OK_FOR_FWD_MEMMOVE.
16500
16501 2014-07-04 Will Newton <will.newton@linaro.org>
16502
16503 * string/memchr.c: Merge from gnulib.
16504 [_LIBC]: Remove conditionals.
16505 (__ptr_t): Remove define.
16506 (LONG_MAX_32_BITS): Likewise.
16507 (LONG_MAX): Likewise.
16508 (MEMCHR): Use ANSI prototype and optimize algorithm.
16509
16510 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16511
16512 2014-07-03 Roland McGrath <roland@hack.frob.com>
16513
16514 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16515 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16516
16517 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16518 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16519 in a bare environment with no <stdlib.h> installed.
16520 * sysdeps/nptl/configure: Regenerated.
16521
16522 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16523
16524 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16525 AC_EGREP_CPP for kernel header checks, so they only succeed if
16526 including <linux/version.h> actually works right.
16527 * sysdeps/unix/sysv/linux/configure: Regenerated.
16528
16529 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16530 value so it's not diagnosed as unused.
16531
16532 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16533 thing) with "ifeq ($(subdir),rt)".
16534
16535 2014-07-03 Richard Henderson <rth@redhat.com>
16536
16537 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16538 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16539 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16540
16541 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16542 (math_force_eval): New.
16543
16544 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16545 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16546
16547 * sysdeps/alpha/fpu/s_round.c: Remove file.
16548 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16549
16550 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16551 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16552 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16553 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16554 (_dl_start, print_statistics): Likewise.
16555 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16556 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16557
16558 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16559 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16560 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16561 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16563 (HP_SMALL_TIMING_AVAIL): Define.
16564 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16565 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16566 (HP_SMALL_TIMING_AVAIL): Define.
16567 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16568 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16569
16570 * sysdeps/aarch64/hp-timing.h: New file.
16571
16572 * sysdeps/generic/hp-timing.h: Remove dead comment.
16573 * sysdeps/generic/hp-timing-common.h: New file.
16574 * sysdeps/alpha/hp-timing.h: Include it.
16575 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16576 * sysdeps/i386/i686/hp-timing.h: Likewise.
16577 * sysdeps/ia64/hp-timing.h: Likewise.
16578 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16579 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16580 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16581 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16582 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16583 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16584 (hp_timing_t): New.
16585
16586 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16587 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16588 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16589 * elf/rtld.c (_dl_start_final): Likewise.
16590 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16591 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16592 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16593 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16594 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16595 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16596 (HP_TIMING_DIFF_INIT): Remove.
16597 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16598 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16599 (HP_TIMING_DIFF_INIT): Remove.
16600 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16601 * sysdeps/i386/i686/hp-timing.c: Remove file.
16602 * sysdeps/x86_64/hp-timing.c: Remove file.
16603 * sysdeps/ia64/hp-timing.c: Remove file.
16604 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16605 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16606 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16607 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16608
16609 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16610 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16611 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16612 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16613 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16614 (HP_TIMING_ACCUM): Remove.
16615 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16616 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16617 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16618
16619 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16620 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16621 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16622 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16623 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16624 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16625 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16626 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16627
16628 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16629
16630 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16631
16632 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16633
16634 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16635
16636 Sync up with gettext.
16637 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16638 [_MSC_VER]: Include malloc.h
16639 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16640 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16641 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16642 TEMP_FAILURE_RETRY. Cast return of alloca.
16643 [!_LIBC] Call gl_rwlock_init.
16644 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16645
16646 2014-07-02 Roland McGrath <roland@hack.frob.com>
16647
16648 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16649 before checking its value.
16650
16651 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16652
16653 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16654
16655 * debug/memcpy_chk.c: Don't include pagecopy.h.
16656 * debug/mempcpy_chk.c: Likewise.
16657 * string/memcpy.c: Likewise.
16658 * string/memmove.c: Likewise.
16659 * sysdeps/powerpc/memmove.c: Likewise.
16660 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16661 definition of PAGE_COPY_FWD_MAYBE here...
16662 * sysdeps/generic/pagecopy.h: ... from here.
16663 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16664
16665 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16666 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16667
16668 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16670 optimizations.
16671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16672 (__libc_ifunc_impl_list): Likewise.
16673 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16674 multiarch strcat for PPC64.
16675 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16676 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16677
16678 2014-07-02 Roland McGrath <roland@hack.frob.com>
16679
16680 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16681
16682 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16683
16684 * intl/loadmsgcat.c: Remove declaration of
16685 get_sysdep_segment_value.
16686 (get_sysdep_segment_value): Use ISO C style.
16687 (_nl_load_domain): Use ISO C style. Get rid of redundant
16688 semicolon. Fix typo and formatting in comment.
16689 (_nl_unload_domain): Use ISO C style.
16690
16691 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16692
16693 2014-07-02 Will Newton <will.newton@linaro.org>
16694
16695 * malloc/obstack.c: Merge from gnulib master.
16696 [HAVE_CONFIG_H]: Remove conditional code.
16697 [!_LIBC]: Include config.h.
16698 [!ELIDE_CODE]: Don't include inttypes.h, include
16699 stdint.h unconditionally.
16700 (print_and_abort): Mark as _Noreturn.
16701 (_obstack_allocated_p): Mark as __attribute_pure__.
16702 (obstack_free): Rename to __obstack_free.
16703 [!__attribute__]: Remove conditional code.
16704 * malloc/obstack.h: Merge from gnulib master.
16705 [__cplusplus]: Move conditional down.
16706 [!__attribute_pure__]: Define __attribute_pure__ here
16707 if it is not already defined.
16708 (_obstack_memory_used): Mark as __attribute_pure__.
16709 [!__obstack_free]: Define as obstack_free.
16710 [__GNUC__]: Remove check for ancient NeXT gcc.
16711
16712 2014-07-02 Will Newton <will.newton@linaro.org>
16713 Paul Eggert <eggert@cs.ucla.edu>
16714
16715 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16716
16717 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16718
16719 * resolv/gethnamaddr.c: Add comment warning that the file is
16720 not maintained.
16721
16722 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16723
16724 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16725 entries.
16726
16727 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16728 entry for aio_cancel and aio_cancel64.
16729 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16730 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16731 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16732 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16733 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16734 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16735 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16736 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16737 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16738 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16739 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16740 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16741 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16742
16743 2014-07-01 Roland McGrath <roland@hack.frob.com>
16744
16745 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16746 * nptl/pthread_mutex_lock.c: Likewise.
16747 * nptl/pthread_mutex_timedlock.c: Likewise.
16748 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16749
16750 2014-07-01 Richard henderson <rth@redhat.com>
16751
16752 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16753 (__isnan, __isnanl): Remove.
16754 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16755
16756 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16757
16758 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16759
16760 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16761
16762 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16763
16764 * resolv/nss_dns/dns-host.c (getanswer_r)
16765 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16766
16767 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16768
16769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16770 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16771 undefine.
16772 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16773 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16774
16775 2014-07-01 Roland McGrath <roland@hack.frob.com>
16776
16777 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16778 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16779
16780 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16781 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16782
16783 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16784 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16785 ... here.
16786 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16787 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16788
16789 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16790 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16791 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16792 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16793
16794 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16795 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16796 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16797 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16798 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16799 Moved ...
16800 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16801 ... here.
16802 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16803 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16804 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16805 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16806 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16807 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16808 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16809 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16810 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16811 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16812 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16813 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16814 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16815 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16816 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16817 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16818 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16819 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16820 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16821 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16822 ... here.
16823 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16824 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16825 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16826 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16827 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16828 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16829 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16830 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16831
16832 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
16833
16834 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16835 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16836 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16837 Add sysdep.
16838
16839 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16840
16841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16842
16843 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16844
16845 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16846 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16847
16848 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16849
16850 * sysdeps/arm/libm-test-ulps: Regenerated.
16851
16852 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16853 Roland McGrath <roland@hack.frob.com>
16854
16855 * test-skeleton.c (signal_handler): Kill the whole process group
16856 before killing the child individually.
16857 (main): Report any failure on `setpgid'.
16858
16859 2014-06-30 Roland McGrath <roland@hack.frob.com>
16860
16861 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16862 from _TLS_H to _ARM_NPTL_TLS_H.
16863 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16864 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16865
16866 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16867
16868 [BZ #16539]
16869 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16870 (__expm1l): Return argument unchanged when small but not
16871 subnormal.
16872
16873 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16874 include macro name.
16875 (_FP_UNPACK_RAW_1_P): Likewise.
16876 (_FP_PACK_RAW_1): Likewise.
16877 (_FP_PACK_RAW_1_P): Likewise.
16878 (_FP_MUL_MEAT_1_wide): Likewise.
16879 (_FP_MUL_MEAT_DW_1_hard): Likewise.
16880 (_FP_MUL_MEAT_1_hard): Likewise.
16881 (_FP_DIV_MEAT_1_imm): Likewise.
16882 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16883 (_FP_DIV_MEAT_1_udiv): Likewise.
16884 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16885 (_FP_UNPACK_RAW_2): Likewise.
16886 (_FP_UNPACK_RAW_2_P): Likewise.
16887 (_FP_PACK_RAW_2): Likewise.
16888 (_FP_PACK_RAW_2_P): Likewise.
16889 (_FP_MUL_MEAT_DW_2_wide): Likewise.
16890 (_FP_MUL_MEAT_2_wide): Likewise.
16891 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16892 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16893 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16894 (_FP_MUL_MEAT_2_gmp): Likewise.
16895 (_FP_DIV_MEAT_2_udiv): Likewise.
16896 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16897 (_FP_FRAC_SRL_4): Likewise.
16898 (_FP_FRAC_SRST_4): Likewise.
16899 (_FP_FRAC_SRS_4): Likewise.
16900 (_FP_UNPACK_RAW_4): Likewise.
16901 (_FP_UNPACK_RAW_4_P): Likewise.
16902 (_FP_PACK_RAW_4): Likewise.
16903 (_FP_PACK_RAW_4_P): Likewise.
16904 (_FP_MUL_MEAT_DW_4_wide): Likewise.
16905 (_FP_MUL_MEAT_4_wide): Likewise.
16906 (_FP_MUL_MEAT_4_gmp): Likewise.
16907 (umul_ppppmnnn): Likewise.
16908 (_FP_DIV_MEAT_4_udiv): Likewise.
16909 (__FP_FRAC_ADD_4): Likewise.
16910 (__FP_FRAC_SUB_3): Likewise.
16911 (__FP_FRAC_SUB_4): Likewise.
16912 (__FP_FRAC_DEC_3): Likewise.
16913 (__FP_FRAC_DEC_4): Likewise.
16914 (__FP_FRAC_ADDI_4): Likewise.
16915 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16916 (_FP_FRAC_SRL_8): Likewise.
16917 (_FP_FRAC_SRS_8): Likewise.
16918
16919 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16920 include macro name.
16921 (FP_UNPACK_RAW_EP): Likewise.
16922 (FP_PACK_RAW_E): Likewise.
16923 (FP_PACK_RAW_EP): Likewise.
16924 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16925 (_FP_ISSIGNAN): Likewise.
16926 (_FP_ADD_INTERNAL): Likewise.
16927 (_FP_FMA): Likewise.
16928 (_FP_CMP): Likewise.
16929 (_FP_SQRT): Likewise.
16930 (_FP_TO_INT): Likewise.
16931 (_FP_FROM_INT): Likewise.
16932 (FP_EXTEND): Likewise.
16933 (_FP_DIV_MEAT_N_loop): Likewise.
16934
16935 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16936
16937 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16938 throughout.
16939
16940 2014-06-29 Joseph Myers <joseph@codesourcery.com>
16941
16942 [BZ #17097]
16943 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16944 result with correct sign in case of exponents that produce
16945 overflow except for X very close to 1.
16946
16947 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
16948
16949 mktime: merge #if/#ifdef usage from glibc
16950 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16951 as that works with both Glibc's and Gnulib's style.
16952 See thread starting at Siddhesh Poyarekar's bug report at:
16953 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16954
16955 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16956
16957 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16958 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16959 * sysdeps/tile/tilegx/memmove.c: Remove file.
16960
16961 2014-06-27 Joseph Myers <joseph@codesourcery.com>
16962
16963 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16964 abi-name definition.
16965 * scripts/soversions.awk: Do not handle or generate ABI lines.
16966 * shlib-versions: Remove ABI entries.
16967 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16968 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16969
16970 2014-06-27 Roland McGrath <roland@hack.frob.com>
16971
16972 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16973 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16974 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16975 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16976 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16977 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16978 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16979 Moved ...
16980 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16981 ... here.
16982 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16983 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16984 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16985 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16986 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16987 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16988 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16989 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16990 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16991 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16992 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16993 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16994 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16995 Moved ...
16996 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16997 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16998 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16999 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17000 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17001 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17002 Moved ...
17003 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17004 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17005 Moved ...
17006 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17007 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17008 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17009 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17010 Moved ...
17011 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17012 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17013 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17014 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17015 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17016 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17017 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17018 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17019 Moved ...
17020 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17021 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17022 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17023 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17024 Moved ...
17025 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17026 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17027 Moved ...
17028 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17029 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17030 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17032 Moved ...
17033 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17034 ... here.
17035 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17036 Identical file removed.
17037 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17038 Moved ...
17039 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17040 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17041 Identical file removed.
17042 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17043 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17044 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17045 Moved ...
17046 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17047 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17048 Identical file removed.
17049 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17050 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17051 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17052 Identical file removed.
17053 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17054 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17055 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17056 Identical file removed.
17057 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17058 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17059 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17060 Identical file removed.
17061 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17062 Moved ...
17063 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17064 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17065 Identical file removed.
17066 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17067 Moved ...
17068 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17069 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17070 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17071 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17072 Identical file removed.
17073 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17074 Moved ...
17075 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17076 ... here.
17077 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17078 Identical file removed.
17079 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17080 Moved ...
17081 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17082 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17083 Identical file removed.
17084 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17085 Moved ...
17086 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17087 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17088 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17089 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17090 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17091 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17092 Moved ...
17093 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17094 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17095 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17096
17097 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17098 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17099 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17100 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17101 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17102
17103 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17104
17105 [BZ #17092]
17106 * nscd/nscd.c (monitor_child): Return exit status of child
17107 instead of return value from wait syscall.
17108
17109 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17110
17111 * configure.ac (libc_commonpagesize): Remove variable.
17112 (libc_relro_required): Likewise.
17113 (libc_cv_z_relro): Remove configure test.
17114 * configure: Regenerated.
17115 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17116 variable.
17117 (libc_relro_required): Likewise.
17118 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17119 (libc_relro_required): Likewise.
17120 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17121 (libc_relro_required): Likewise.
17122 * sysdeps/arm/preconfigure: Regenerated.
17123 * sysdeps/ia64/preconfigure: Remove file.
17124 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17125 variable.
17126 (libc_relro_required): Likewise.
17127
17128 [BZ #16561]
17129 [BZ #16562]
17130 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17131 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17132 recompute overflowing results in original rounding mode.
17133 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17134 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17135 recompute overflowing results in original rounding mode.
17136 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17137 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17138 recompute overflowing results in original rounding mode.
17139 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17140 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17141 recompute overflowing results in original rounding mode.
17142 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17143 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17144 recompute overflowing results in original rounding mode.
17145 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17146 (libc_feholdsetround_ctx): New macro.
17147 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17148 * sysdeps/i386/fpu/libm-test-ulps: Update.
17149 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17150
17151 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17152
17153 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17154 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17155 corresponding .cpsetup call.
17156
17157 2014-06-26 Roland McGrath <roland@hack.frob.com>
17158
17159 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17160 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17161 * sysdeps/arm/Makefile [$(subdir) = csu]
17162 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17163 (static-only-routines): Add aeabi_read_tp here.
17164 (shared-only-routines): Add libc-aeabi_read_tp here.
17165 (CFLAGS-libc-start.c): Add -fexceptions here.
17166 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17167 (sysdep_routines, static-only-routines, shared-only-routines):
17168 Don't add to these here.
17169 (CFLAGS-libc-start.c): Likewise.
17170
17171 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17172 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17173 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17174 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17175 * sysdeps/arm/Makefile [$(subdir) = rt]
17176 (librt-sysdep_routines, librt-shared-only-routines):
17177 Append rt-aeabi_unwind_cpp_pr1 here.
17178 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17179 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17180 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17181 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17182 Append nptl-aeabi_unwind_cpp_pr1 here.
17183 (tests): Filter out tst-cleanupx4 here.
17184 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17185 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17186 Don't do those here.
17187
17188 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17189
17190 * scripts/list-sources.sh: Do not handle ports specially.
17191
17192 2014-06-26 Roland McGrath <roland@hack.frob.com>
17193
17194 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17195 * sysdeps/arm/feupdateenv.c: Likewise.
17196
17197 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17198
17199 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17200
17201 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17202 trailing whitespace removed.
17203 * scripts/config.guess: Update to version 2014-03-23.
17204 * scripts/config.sub: Update to version 2014-05-01
17205 * scripts/install-sh: Update to version 2013-12-25.23.
17206 * scripts/move-if-change: Update from gnulib.
17207
17208 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17209
17210 * debug/memmove_chk.c: Remove pagecopy.h include.
17211
17212 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17213
17214 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17215 identical to gnulib mktime.
17216
17217 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17218
17219 * configure.ac: Do not test for machine being rs6000. Do not test
17220 for powerpc*-*soft.
17221 * configure: Regenerated.
17222
17223 [BZ #11505]
17224 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17225 test.
17226 * configure: Regenerated.
17227 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17228 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17229 Remove configure test.
17230 * sysdeps/arm/configure: Regenerated.
17231 * sysdeps/nptl/configure.ac: Do not check
17232 libc_cv_asm_cfi_directives.
17233 * sysdeps/nptl/configure: Regenerated.
17234 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17235 * sysdeps/x86_64/nptl/configure: Remove generated file.
17236 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17237 unconditional.
17238 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17239
17240 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17241
17242 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17243 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17244 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17245 it is defined.
17246
17247 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17248 instead of whether it is defined.
17249 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17250 * sysdeps/hppa/dl-machine.h: Likewise.
17251 * sysdeps/ia64/dl-machine.h: Likewise.
17252 * sysdeps/m68k/dl-machine.h: Likewise.
17253 * sysdeps/microblaze/dl-machine.h: Likewise.
17254 * sysdeps/mips/dl-machine.: Likewise.
17255 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17256 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17257 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17258 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17259 * sysdeps/sh/dl-machine.h: Likewise.
17260 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17261 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17262 * sysdeps/tile/dl-machine.h: Likewise.
17263 * sysdeps/x86_64/dl-machine.h: Likewise.
17264
17265 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17266 code.
17267 (verify_persistent_db): Likewise.
17268
17269 2014-06-26 Roland McGrath <roland@hack.frob.com>
17270
17271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17272 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17274 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17276 Moved ...
17277 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17278 ... here.
17279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17280 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17282 Identical file removed.
17283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17284 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17286 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17288 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17290 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17292 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17294 Moved ...
17295 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17297 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17299 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17301 Moved ...
17302 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17304 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17306 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17308 Identical file removed.
17309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17310 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17312 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17314 Moved ...
17315 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17316 ... here.
17317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17318 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17320 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17322 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17324 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17326 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17328 Moved ...
17329 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17331 Moved ...
17332 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17334 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17336 Moved ...
17337 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17339 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17340
17341 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17342 folded into ...
17343 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17344 * sysdeps/unix/sysv/linux/s390/Versions
17345 (libpthread: GLIBC_2.19): New version set.
17346 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17347 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17348 (librt: GLIBC_2.3.3): New version set.
17349 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17350 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17351 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17352 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17353 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17354 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17355 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17356 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17357 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17358 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17359 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17360 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17361 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17362 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17363 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17364 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17365 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17366 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17367 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17368 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17369 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17370 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17371 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17372 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17373 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17374 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17375 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17376 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17377 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17378 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17379 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17380 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17382 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17385 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17386 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17387 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17388 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17389 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17390 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17391 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17392 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17393 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17394
17395 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17396 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17397 (__libc_vfork): Define the function under this name.
17398 [!NOT_IN_libc] (__vfork): Make this an alias.
17399 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17400 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17401 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17402 (__libc_vfork): Define the function under this name.
17403 [!NOT_IN_libc] (__vfork): Make this an alias.
17404 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17405 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17406 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17407 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17408 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17409 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17410
17411 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17412 code that was previously under [RESET_PID].
17413 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17414 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17415 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17416
17417 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17418 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17419 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17420 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17421 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17422 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17423 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17424 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17425 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17426 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17427 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17428 Moved ...
17429 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17430 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17431 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17432 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17433 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17434 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17435 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17436 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17437 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17438 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17439 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17440 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17441 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17442 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17443 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17444 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17445 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17446 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17447 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17448 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17449 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17450 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17451 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17452 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17453 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17454 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17455 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17456 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17457 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17458
17459 2014-06-25 Roland McGrath <roland@hack.frob.com>
17460
17461 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17462 that was previously under [RESET_PID].
17463 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17464
17465 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17466
17467 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17468 not undefine and redefine.
17469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17470 [O_CLOEXEC]: Make code unconditional.
17471 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17472 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17473 <kernel-features.h>.
17474 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17475 conditional variable definition.
17476 (shm_open) [O_CLOEXEC]: Make code unconditional.
17477 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17478 code.
17479
17480 * configure.ac (USE_REGPARMS): Don't define here.
17481 * configure: Regenerated.
17482 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17483 * sysdeps/i386/configure: Regenerated.
17484
17485 * nptl/createthread.c: Don't include kernel-features.h.
17486 * nptl/pthread_cancel.c: Likewise.
17487 * nptl/pthread_condattr_setclock.c: Likewise.
17488 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17489 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17490 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17491 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17492 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17493 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17494 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17496 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17497 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17498 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17499 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17500 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17501 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17502 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17503 * nscd/gai.c: Likewise.
17504 * nss/nss_db/db-open.c: Likewise.
17505 * sysdeps/generic/ldsodefs.h: Likewise.
17506 * sysdeps/sh/nptl/tls.h: Likewise.
17507 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17508 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17509 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17510 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17511 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17512 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17513 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17514 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17515 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17516 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17517 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17518 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17519 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17520 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17521 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17522 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17523 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17524 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17525 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17526 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17527 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17528 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17529 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17530 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17531 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17532 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17533 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17534 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17535 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17536 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17537 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17538 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17539 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17540 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17541 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17542 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17543 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17544 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17545 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17546 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17547 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17548 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17549 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17550 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17551 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17552 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17553 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17554 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17555 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17556 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17557 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17558 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17559 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17560 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17561 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17562 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17563 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17564 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17587 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17588 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17589 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17590 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17591 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17592 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17593 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17594 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17595 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17596 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17597 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17598 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17599 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17600 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17601 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17602 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17603 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17604 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17605 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17606 * sysdeps/unix/sysv/linux/system.c: Likewise.
17607 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17608 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17609 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17610 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17611 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17612 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17613 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17614
17615 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17616 * configure: Regenerated.
17617 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17618
17619 * configure.ac (base_machine): Do not set specially for particular
17620 machines here.
17621 * configure: Regenerated.
17622 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17623 settings from configure.ac.
17624 * sysdeps/i386/preconfigure: New file.
17625 * sysdeps/s390/preconfigure: Likewise.
17626 * sysdeps/sh/preconfigure: Likewise.
17627 * sysdeps/sparc/preconfigure: Likewise.
17628
17629 2014-06-25 Roland McGrath <roland@hack.frob.com>
17630
17631 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17632 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17633 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17634 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17635 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17636 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17637 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17638 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17639 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17640 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17641 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17642 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17643 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17644 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17645 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17646 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17647 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17648 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17649 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17650
17651 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17652 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17653 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17654 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17655 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17656 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17657 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17658 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17659 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17660 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17661 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17662 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17663 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17664 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17665 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17666 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17667 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17668 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17669 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17670 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17671 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17672 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17673 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17674 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17675 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17676 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17677 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17678 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17679 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17680 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17681 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17682 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17683 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17684 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17685 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17686 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17687 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17688 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17689
17690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17691 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17693 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17695 Moved ...
17696 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17697 ... here.
17698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17699 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17701 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17703 Moved ...
17704 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17706 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17708 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17710 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17712 Moved ...
17713 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17715 Moved ...
17716 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17718 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17720 Moved ...
17721 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17723 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17725 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17727 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17729 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17731 Moved ...
17732 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17733 ... here.
17734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17735 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17737 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17739 Moved ...
17740 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17742 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17744 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17746 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17748 Moved ...
17749 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17751 Moved ...
17752 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17754 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17756 Moved ...
17757 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17759 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17761 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17762
17763 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17764
17765 * timezone/checktab.awk: Update from tzcode 2014e.
17766 * timezone/private.h: Likewise.
17767 * timezone/tzfile.h: Likewise.
17768 * timezone/zdump.c: Likewise.
17769 * timezone/zic.c: Likewise.
17770
17771 * sysdeps/unix/sysv/linux/kernel-features.h
17772 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17773 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17774 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17775 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17776 Remove conditional code.
17777
17778 2014-06-25 Will Newton <will.newton@linaro.org>
17779
17780 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17781 (_dl_arm_cap_flags): Add HWCAP2 values.
17782 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17783 (_DL_HWCAP_COUNT): Increase to 37.
17784 (_DL_HWCAP_LAST): New define.
17785 (_DL_HWCAP2_LAST): New define.
17786 (_dl_procinfo): Add support for printing
17787 AT_HWCAP2 entries.
17788 (_dl_string_hwcap): Use _dl_hwcap_string.
17789
17790 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17791
17792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17793
17794 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17795
17796 * README: Do not mention ports directory.
17797
17798 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17799 Remove macro.
17800 * sysdeps/unix/sysv/linux/futimes.c: Do not include
17801 <kernel-features.h>.
17802 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17803 conditional variable definition.
17804 (__futimes): Update comment.
17805 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17806 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17807
17808 [BZ #16560]
17809 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17810 arguments close to 0.
17811 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17812 Likewise.
17813 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17814 Likewise.
17815 * math/auto-libm-test-in: Add more tests of exp10.
17816 * math/auto-libm-test-out: Regenerated.
17817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17818
17819 * sysdeps/unix/sysv/linux/kernel-features.h
17820 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17821 * sysdeps/unix/sysv/linux/readv.c: Do not include
17822 <kernel-features.h>.
17823 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17824 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17825 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17826 unconditional.
17827 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17828 conditional code.
17829 * sysdeps/unix/sysv/linux/writev.c: Do not include
17830 <kernel-features.h>.
17831 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17832 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17833 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17834 unconditional.
17835 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17836 conditional code.
17837
17838 2014-06-25 Will Newton <will.newton@linaro.org>
17839
17840 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17841 comment changes throughout the file. Remove checks
17842 for HAVE_*_H definitions that are not required.
17843 (__gen_tempname): Call abort if an unknown kind value is
17844 passed.
17845
17846 2014-06-25 Andreas Schwab <schwab@suse.de>
17847
17848 [BZ #17086]
17849 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17850 scalbln, scalblnf, scalblnl in libc.
17851
17852 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17853
17854 [BZ #17086]
17855 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17856 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17857 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17858
17859 2014-06-24 Roland McGrath <roland@hack.frob.com>
17860
17861 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17862 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17863 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17864 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17865 Update #include.
17866 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17867 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17868 Update #include.
17869 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17870 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17871 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17872 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17873 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17874 * sysdeps/x86/bits/pthreadtypes.h: ... here.
17875 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17876 * sysdeps/x86/bits/semaphore.h: ... here.
17877 * sysdeps/x86/nptl/elide.h: Moved ...
17878 * sysdeps/x86/elide.h: ... here.
17879 * sysdeps/x86_64/nptl/Implies: File removed.
17880 * sysdeps/i386/nptl/Implies: File removed.
17881
17882 2014-06-24 Joseph Myers <joseph@codesourcery.com>
17883
17884 [BZ #16539]
17885 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17886 return the argument for normal arguments with exponent below -64.
17887 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17888 Likewise.
17889 * math/auto-libm-test-in: Add another test of expm1.
17890 * math/auto-libm-test-out: Regenerated.
17891
17892 [BZ #16287]
17893 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17894 calling __erfcl for arguments at least 16.
17895 * math/auto-libm-test-in: Add more tests of erf.
17896 * math/auto-libm-test-out: Regenerated.
17897
17898 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17899 individual architectures.
17900 * sysdeps/unix/sysv/linux/configure: Regenerated.
17901 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17902 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17903 * sysdeps/unix/sysv/linux/powerpc/configure.ac
17904 (ldd_rewrite_script): Define variable.
17905 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17907 file.
17908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17909 generated file.
17910 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17911 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17912 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17913 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17914 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17915 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17916 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17917 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17918
17919 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17920
17921 [BZ #17084]
17922 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17923 Rename member __data.d to __data.__elision_data.
17924
17925 2014-06-24 Wilco <wdijkstr@arm.com>
17926
17927 * NEWS: Add 16918 to fixed bug list.
17928
17929 2014-06-24 Wilco <wdijkstr@arm.com>
17930
17931 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17932
17933 2014-06-24 Wilco <wdijkstr@arm.com>
17934
17935 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17936 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17937 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17938 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17939 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17940 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17941 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17942 Use _FPU_MASK_RM.
17943
17944 2014-06-24 Wilco <wdijkstr@arm.com>
17945
17946 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17947
17948 2014-06-24 Wilco <wdijkstr@arm.com>
17949
17950 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17951 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17952 * sysdeps/arm/fesetround.c (fesetround): Remove space.
17953 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17954
17955 2014-06-24 Wilco <wdijkstr@arm.com>
17956
17957 [BZ #16918]
17958 * sysdeps/arm/feupdateenv.c (feupdateenv):
17959 Rewrite to reduce FPSCR accesses and fix return value.
17960
17961 2014-06-24 Wilco <wdijkstr@arm.com>
17962
17963 * sysdeps/arm/fclrexcpt.c (feclearexcept):
17964 Optimize to avoid unnecessary FPSCR writes.
17965 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17966 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17967 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17968 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17969
17970 2014-06-24 Wilco <wdijkstr@arm.com>
17971
17972 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17973 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17974 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17975 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17976 Call libc_fetestexcept_vfp.
17977 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17978 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17979 __SOFTFP__ ifdef so that they can be built for softfp.
17980
17981 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17982
17983 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17984 argument type signed char.
17985
17986 * Makerules (check-abi): Dump diff of symlist if the test
17987 fails.
17988
17989 2014-06-23 Roland McGrath <roland@hack.frob.com>
17990
17991 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17992 using abort.
17993
17994 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17995 Remove unused variable ST.
17996
17997 2014-06-23 Joseph Myers <joseph@codesourcery.com>
17998
17999 [BZ #16354]
18000 [BZ #17061]
18001 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18002 small arguments before calling __expm1.
18003 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18004 small arguments before calling __expm1f.
18005 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18006 small arguments before calling __expm1l.
18007 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18008 Likewise.
18009 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18010 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18011 spurious underflow for some cosh tests.
18012 * math/auto-libm-test-out: Regenerated.
18013 * sysdeps/i386/fpu/libm-test-ulps: Update.
18014
18015 [BZ #17050]
18016 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18017 (__ieee754_y1): Set errno if return value overflows.
18018 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18019 (__ieee754_y1f): Set errno if return value overflows.
18020 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18021 (__ieee754_y1l): Set errno if return value overflows.
18022 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18023 (__ieee754_y1l): Set errno if return value overflows.
18024 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18025 * math/auto-libm-test-out: Regenerated.
18026
18027 * math/gen-auto-libm-tests.c: Document use of
18028 ignore-zero-inf-sign.
18029 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18030 (input_flags): Add ignore-zero-inf-sign.
18031 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18032 * math/gen-libm-test.pl (generate_testfile): Handle
18033 ignore-zero-inf-sign.
18034 * math/auto-libm-test-in: Mark some cpow tests with
18035 ignore-zero-inf-sign and some with xfail-rounding.
18036 * math/auto-libm-test-out: Regenerated.
18037 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18038 * sysdeps/i386/fpu/libm-test-ulps: Update.
18039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18040
18041 [BZ #16315]
18042 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18043 overflowing or underflowing operations take place with sign of
18044 result.
18045 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18046 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18047 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18048 (__ieee754_pow): Recompute overflowing and underflowing results in
18049 original rounding mode.
18050 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18051 (__powl_helper): Allow negative argument X and scale negated value
18052 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18053 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18054 overflowing or underflowing operations take place with sign of
18055 result.
18056 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18057 Include <math.h>.
18058 * math/auto-libm-test-in: Add more tests of pow.
18059 * math/auto-libm-test-out: Regenerated.
18060 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18061 (pow_tonearest_test_data): Remove.
18062 (pow_test_tonearest): Likewise.
18063 (pow_towardzero_test_data): Likewise.
18064 (pow_test_towardzero): Likewise.
18065 (pow_downward_test_data): Likewise.
18066 (pow_test_downward): Likewise.
18067 (pow_upward_test_data): Likewise.
18068 (pow_test_upward): Likewise.
18069 (main): Don't call removed functions.
18070 * sysdeps/i386/fpu/libm-test-ulps: Update.
18071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18072
18073 2014-06-23 Roland McGrath <roland@hack.frob.com>
18074
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18076 Moved ...
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18079 Moved ...
18080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18082 Moved ...
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18085 Moved ...
18086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18088 File removed.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18090 File removed.
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18092 File removed.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18094 File removed.
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18096 File removed.
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18098 File removed.
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18100 File removed.
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18102 File removed.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18104 File removed.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18106 File removed.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18108 File removed.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18110 File removed.
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18112 Moved ...
18113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18115 Moved ...
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18117 ... here.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18119 Moved ...
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18122 Moved ...
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18125 Moved ...
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18128 Moved ...
18129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18131 Moved ...
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18134 Moved ...
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18137 Moved ...
18138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18141 ... here.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18143 Moved ...
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18146 Moved ...
18147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18148 ... here.
18149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18150 Moved ...
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18152 ... here.
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18154 Moved ...
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18156 ... here.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18158 Moved ...
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18161 Moved ...
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18166 Moved ...
18167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18168 ... here.
18169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18170 Moved ...
18171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18172 ... here.
18173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18174 Moved ...
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18177 Moved ...
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18180 Moved ...
18181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18183 Moved ...
18184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18186 Moved ...
18187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18188 ... here.
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18190 Moved ...
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18193 Moved ...
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18196 Moved ...
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18199 Moved ...
18200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18204 Moved ...
18205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18207 Moved ...
18208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18210 Moved ...
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18212 ... here.
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18214 Moved ...
18215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18216 ... here.
18217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18218 Moved ...
18219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18220 ... here.
18221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18222 Moved ...
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18225 Moved ...
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18228 Moved ...
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18231 Moved ...
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18233 ... here.
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18235 Moved ...
18236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18237 ... here.
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18239 Moved ...
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18241 ... here.
18242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18243 Moved ...
18244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18246 Moved ...
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18248
18249 2014-06-23 Will Newton <will.newton@linaro.org>
18250 Wilco <wdijkstr@arm.com>
18251
18252 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18253 implementation. Include get-rounding-mode.h.
18254 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18255 [!libc_feholdsetround_noex_ctx]: Define
18256 libc_feholdsetround_noex_ctx.
18257 [!libc_feholdsetround_noexf_ctx]: Define
18258 libc_feholdsetround_noexf_ctx.
18259 [!libc_feholdsetround_noexl_ctx]: Define
18260 libc_feholdsetround_noexl_ctx.
18261 (libc_feholdsetround_ctx): New function.
18262 (libc_feresetround_ctx): New function.
18263 (libc_feholdsetround_noex_ctx): New function.
18264 (libc_feresetround_noex_ctx): New function.
18265
18266 2014-06-23 Roland McGrath <roland@hack.frob.com>
18267
18268 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18269 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18270 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18271 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18272 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18273 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18274
18275 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18276 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18277 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18278 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18279 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18280 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18281 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18282 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18283 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18284 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18285 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18286 Moved ...
18287 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18288 ... here.
18289 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18290 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18291 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18292 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18293 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18294 Moved ...
18295 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18296 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18297 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18298 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18299 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18300 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18301 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18302 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18303 Moved ...
18304 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18305 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18306 Moved ...
18307 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18308 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18309 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18310 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18311 Moved ...
18312 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18313 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18314 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18315 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18316 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18317 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18318 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18320 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18321 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18322 Moved ...
18323 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18324 ... here.
18325 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18326 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18327 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18328 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18329 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18330 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18331 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18332 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18333 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18334 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18335 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18336 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18337 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18338 Moved ...
18339 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18340 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18341 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18342 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18343 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18344 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18345 Moved ...
18346 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18347 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18348 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18349 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18350 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18351
18352 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18353 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18354 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18355 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18356 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18357 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18358 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18359 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18360 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18361 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18362 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18363 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18364 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18365 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18366 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18367 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18368 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18369 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18370 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18371 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18372 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18373 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18374 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18375 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18376 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18377 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18378 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18379 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18380
18381 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18382
18383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18384 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18385 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18386 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18387 (IPV6_PMTUDISC_INTERFACE): Likewise.
18388 (IPV6_PMTUDISC_OMIT): Likewise.
18389
18390 2014-06-23 Andreas Schwab <schwab@suse.de>
18391
18392 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18393 Remove unused errout label.
18394
18395 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18396
18397 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18398 macro: hardware supports Vector Crypto instructions.
18399
18400 2014-06-23 Will Newton <will.newton@linaro.org>
18401
18402 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18403 rather than __builtin_expect.
18404
18405 * elf/dl-lookup.c (undefined_msg): Remove variable.
18406 (_dl_lookup_symbol_x): Replace undefined_msg with string
18407 literal.
18408
18409 * elf/dl-lookup.c (do_lookup_unique): New function.
18410 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18411 to a separate function.
18412
18413 2014-06-23 Andreas Schwab <schwab@suse.de>
18414
18415 [BZ #17079]
18416 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18417 before reading the next line.
18418
18419 2014-06-23 Will Newton <will.newton@linaro.org>
18420
18421 * test-skeleton.c (signal_handler): Use printf and %m
18422 rather than perror. Use printf rather than fprintf to
18423 stderr. Use puts rather than fputs to stderr.
18424 (main): Likewise.
18425
18426 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18427
18428 * nscd/nscd.c (thread_info_t): Remove typedef.
18429 (thread_info): Remove variable.
18430
18431 2014-06-21 Allan McRae <allan@archlinux.org>
18432
18433 * NEWS: Mention CVE-2014-4043.
18434
18435 2014-06-20 Roland McGrath <roland@hack.frob.com>
18436
18437 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18438 * nptl/smp.h: ... here.
18439
18440 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18441
18442 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18443 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18444 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18445 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18446
18447 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18448 * nptl/stack-aliasing.h: New file.
18449 * sysdeps/i386/i686/stack-aliasing.h: New file.
18450 * sysdeps/i386/i686/nptl/Makefile: File removed.
18451 * sysdeps/x86_64/stack-aliasing.h: New file.
18452 * sysdeps/x86_64/nptl/Makefile
18453 (CFLAGS-pthread_create.c): Variable removed.
18454
18455 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18456 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18457 old file.
18458 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18459 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18460 old file.
18461
18462 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18463
18464 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18465 (__ASSUME_SIGFRAME_V2): Remove macro.
18466 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18467 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18468 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18469 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18470 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18471 Declare as function. Remove conditional macro definitions.
18472 (__default_rt_sa_restorer): Likewise.
18473 (__default_sa_restorer_v1): Remove declaration.
18474 (__default_sa_restorer_v2): Likewise.
18475 (__default_rt_sa_restorer_v1): Likewise.
18476 (__default_rt_sa_restorer_v2): Likewise.
18477 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18478 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18479 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18480
18481 2014-06-20 Roland McGrath <roland@hack.frob.com>
18482
18483 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18484 (libpthread-routines): Add sysdep.
18485 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18486 * sysdeps/unix/sysv/linux/sparc/Versions
18487 (libpthread: GLIBC_2.3.3): New version set.
18488 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18489 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18490 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18491 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18492 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18493 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18494 Moved ...
18495 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18496 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18497 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18498 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18499 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18500 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18501 * sysdeps/sparc/nptl/sem_init.c: ... here.
18502 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18503 * sysdeps/sparc/nptl/sem_post.c: ... here.
18504 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18505 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18506 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18507 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18508 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18509 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18510 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18511 (libpthread-routines): Add cpu_relax.
18512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18513 File removed.
18514 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18515 (librt: GLIBC_2.3.3): New version set.
18516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18517 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18518 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18519 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18522 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18523 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18524 Moved ...
18525 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18527 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18529 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18531 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18533 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18535 Moved ...
18536 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18537 Update #include.
18538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18539 Moved ...
18540 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18541 Update #include.
18542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18543 Moved ...
18544 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18545 Update #include.
18546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18547 Moved ...
18548 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18549 Update #include.
18550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18551 Moved ...
18552 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18553 Update #include.
18554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18555 Moved ...
18556 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18557 Update #include.
18558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18559 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18561 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18563 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18565 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18567 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18569 Moved ...
18570 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18572 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18574 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18575
18576 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18577
18578 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18579 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18580 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18581 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18582 * nscd/nscd.c: Likewise.
18583 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18584 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18585 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18586 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18587
18588 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18589 <kernel-features.h>.
18590 (init_mq_netlink): Remove conditional have_sock_cloexec
18591 definitions. Remove code conditional on have_sock_cloexec < 0.
18592 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18593 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18594 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18595 <kernel-features.h>.
18596 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18597 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18598
18599 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18600
18601 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18602 Add tests for memset_chk and memset.
18603
18604 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18605 with AVX2_Usable.
18606
18607 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18608
18609 [BZ #16046]
18610 * elf/tst-dl-iter-static.c: New file.
18611 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18612
18613 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18614 error.
18615
18616 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18617
18618 * sysdeps/unix/sysv/linux/kernel-features.h
18619 (__ASSUME_F_GETOWN_EX): Remove macro.
18620 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18621 <kernel-features.h>.
18622 (miss_F_GETOWN_EX): Remove variable or macro.
18623 (do_fcntl): Do not check miss_F_GETOWN_EX.
18624 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18625
18626 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18627 Remove macro.
18628 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18629 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18630 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18631
18632 * sysdeps/unix/sysv/linux/kernel-features.h
18633 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18634 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18635 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18636 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18637
18638 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18639
18640 [BZ #17075]
18641 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18642 Fix calculation of the symbol's value.
18643 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18644 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18645 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18646 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18647 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18648 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18649 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18650 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18651 (modules-names): Add `tst-armtlsdescmod',
18652 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18653 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18654 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18655 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18656 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18657 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18658 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18659 ($(objpfx)tst-armtlsdescloc): New dependency.
18660 ($(objpfx)tst-armtlsdescextnow): Likewise.
18661 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18662 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18663 TLS scheme support.
18664 * sysdeps/arm/configure: Regenerate.
18665
18666 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18667
18668 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18669 (__atfct_seterrno_2): Likewise.
18670 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18671 <kernel-features.h>.
18672 (__ASSUME_ATFCTS): Do not undefine and redefine.
18673 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18674 (__have_atfcts): Remove conditional definition.
18675 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18676 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18677 unreachable if [__ASSUME_ATFCTS].
18678 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18679 not undefine and redefine.
18680 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18681 <kernel-features.h>.
18682 (faccessat) [__NR_faccessat]: Make code unconditional.
18683 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18684 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18685 <kernel-features.h>.
18686 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18687 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18688 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18689 <kernel-features.h>.
18690 (fchownat) [__NR_fchownat]: Make code unconditional.
18691 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18692 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18693 <kernel-features.h>.
18694 (futimesat) [__NR_futimesat]: Make code unconditional.
18695 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18696 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18697 <kernel-features.h>.
18698 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18699 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18700 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18701 <kernel-features.h>.
18702 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18703 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18704 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18705 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18706 <kernel-features.h>.
18707 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18708 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18709 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18710 <kernel-features.h>.
18711 (linkat) [__NR_linkat]: Make code unconditional.
18712 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18713 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18714 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18715 <kernel-features.h>.
18716 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18717 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18718 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18719 <kernel-features.h>.
18720 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18721 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18722 * sysdeps/unix/sysv/linux/openat.c: Do not include
18723 <kernel-features.h>.
18724 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18725 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18726 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18727 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18728 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18729 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18730 <kernel-features.h>.
18731 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18732 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18733 result of INLINE_SYSCALL directly, not via int variable.
18734 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18735 <kernel-features.h>.
18736 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18737 (renameat) [__NR_renameat]: Make code unconditional.
18738 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18739 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18740 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18741 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18742 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18743 (__ASSUME_ATFCTS): Do not undefine and redefine.
18744 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18745 <kernel-features.h>.
18746 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18747 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18748 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18749 <kernel-features.h>.
18750 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18751 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18752 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18753 (__ASSUME_ATFCTS): Do not undefine and redefine.
18754 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18755 <kernel-features.h>.
18756 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18757 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18758 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18759 <kernel-features.h>.
18760 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18761 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18762
18763 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18764
18765 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18766
18767 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18768
18769 [BZ #17069]
18770 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18771 constructed tree before returning error.
18772 * posix/bug-regexp36.c: Expand test case.
18773
18774 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18775
18776 [BZ #6803]
18777 * math/libm-test.inc (scalbln_test_date):
18778 Add errno expectations.
18779 * math/w_scalblnf.c: New File.
18780 Add wrapper which checks for setting errno to ERANGE.
18781 Add weak_alias for corresponding scalbln function.
18782 * math/w_scalbln.c: Likewise.
18783 * math/w_scalblnl.c: Likewise.
18784 * math/Makefile (libm-calls): Add w_scalbln.
18785 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18786 Remove weak_alias for corresponding scalbln function.
18787 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18789 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18791 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18792 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18793 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18794 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18795 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18796 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18797 Remove long_double_symbol for scalblnl function in libm, libc.
18798 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18799 Add wrapper which checks for setting errno to ERANGE.
18800 Add long_double_symbol for scalblnl function in libm, libc.
18801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18802 Remove long_double_symbol for scalblnl in libm.
18803 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18804 Add wrapper which checks for setting errno to ERANGE.
18805 Add long_double_symbol for scalblnl function in libm.
18806 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18807 Do not use wrapper because of own implementation.
18808
18809 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
18810
18811 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18812 3 bytes for __pad1 for x32.
18813 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18814
18815 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
18816 H.J. Lu <hongjiu.lu@intel.com>
18817
18818 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18819 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18820 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18821 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18822 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18823
18824 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
18825
18826 [BZ #17069]
18827 * posix/regcomp.c (parse_expression): Deallocate partially
18828 constructed tree before returning error.
18829 * posix/Makefile.c (tests): Add bug-regex36.
18830 (generated): Add bug-regex36.mtrace.
18831 (tests-special): Add $(objpfx)bug-regex36-mem.out
18832 (bug-regex36-ENV): New variable.
18833 ($(objpfx)bug-regex36-mem.out): New rule.
18834 * posix/bug-regex36.c: New file.
18835
18836 2014-06-19 Will Newton <will.newton@linaro.org>
18837
18838 * malloc/malloc.c (systrim): If extra is zero then return
18839 early.
18840
18841 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18842
18843 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18844
18845 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
18846
18847 * sysdeps/aarch64/strchr.S: New file.
18848
18849 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18850
18851 [BZ #17022]
18852 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18853 from arguments -2 or below.
18854 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18855 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18856
18857 2014-06-18 Andreas Schwab <schwab@suse.de>
18858
18859 [BZ #17062]
18860 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18861 of a bracket expr not to run off the end of the string.
18862 * posix/Makefile (tests): Add tst-fnmatch3.
18863 * posix/tst-fnmatch3.c: New file.
18864
18865 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18866
18867 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18868 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18869 [$(cross-compiling) = no]: Likewise.
18870 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18871 [$(cross-compiling) = no]: Likewise.
18872
18873 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18874
18875 [BZ #17031]
18876 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18877 double, adjusted for any remainder from the high double.
18878 * math/libm-test.inc (nearbyint): Add tests.
18879 (rint): Likewise.
18880
18881 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18882
18883 * nptl/sysdeps/powerpc/Makefile: Moved ...
18884 * sysdeps/powerpc/nptl/Makefile: ... here.
18885 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18886 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18887 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18888 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18889 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18890 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18891 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18892 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18893 * nptl/sysdeps/powerpc/tls.h: Moved ...
18894 * sysdeps/powerpc/nptl/tls.h: ... here.
18895
18896 2014-06-16 Joseph Myers <joseph@codesourcery.com>
18897
18898 [BZ #16681]
18899 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18900 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18901 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18902 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18903 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18904 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18905 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18906 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18907 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18908
18909 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
18910
18911 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18912
18913 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
18914
18915 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18916 defined operator.
18917
18918 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18919 $TIMEOUTFACTOR.
18920
18921 2014-06-16 Florian Weimer <fweimer@redhat.com>
18922
18923 [BZ #17058]
18924 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18925 non-executed part of the test.
18926
18927 2014-06-16 Andreas Schwab <schwab@suse.de>
18928
18929 * string/bits/string2.h (strdup, strndup): Update feature guard.
18930
18931 2014-06-14 David S. Miller <davem@davemloft.net>
18932
18933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18934
18935 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
18936
18937 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18938 that was previously under [RESET_PID].
18939 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18940
18941 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18942 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18943 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18944 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18945 (__libc_vfork): New strong alias.
18946 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18947
18948 2014-06-14 Andi Kleen <ak@linux.intel.com>
18949
18950 * sysdeps/generic/elide.h: New file.
18951
18952 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
18953
18954 * Makefile (installed-headers): Adjust path of pthread.h header.
18955
18956 2014-06-13 Roland McGrath <roland@hack.frob.com>
18957
18958 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18959 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18960 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18961 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18962
18963 * nptl/sysdeps/s390/Makefile: Moved ...
18964 * sysdeps/s390/nptl/Makefile: ... here.
18965 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18966 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18967 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18968 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18969 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18970 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18971 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18972 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18973 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18974 * sysdeps/s390/nptl/pthreaddef.h: ... here.
18975 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18976 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18977 * nptl/sysdeps/s390/tls.h: Moved ...
18978 * sysdeps/s390/nptl/tls.h: ... here.
18979
18980 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18981 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18982
18983 2014-06-13 David S. Miller <davem@davemloft.net>
18984
18985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18988 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18992 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18993 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18994 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18995 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18996 Remove RESET_PID cpp guards.
18997 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18998 Remove RESET_PID cpp guards.
18999 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19000
19001 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19002
19003 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19004 __sp to uintptr_t.
19005
19006 2014-06-13 Andi Kleen <ak@linux.intel.com>
19007
19008 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19009 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19010 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19011 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19012 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19013 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19014 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19015 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19016 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19017 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19018 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19019 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19020 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19021 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19022 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19023 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19024 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19025 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19026 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19027 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19028
19029 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19030 (pthread_rwlock_rdlock): Add elision.
19031 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19032 (pthread_rwlock_wrlock): Add elision.
19033 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19034 (pthread_rwlock_trywrlock): Add elision.
19035 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19036 (pthread_rwlock_tryrdlock): Add elision.
19037 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19038 (pthread_rwlock_tryrdlock): Add elision unlock.
19039 * nptl/sysdeps/pthread/pthread.h:
19040 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19041 (PTHREAD_RWLOCK_INITIALIZER,
19042 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19043 Handle new elision field.
19044 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19045 * sysdeps/arm/nptl/bits/pthreadtypes.h
19046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19047 * sysdeps/sh/nptl/bits/pthreadtypes.h
19048 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19049 * sysdeps/tile/nptl/bits/pthreadtypes.h
19050 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19051 * sysdeps/a/nptl/bits/pthreadtypes.h
19052 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19053 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19054 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19055 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19056 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19057 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19058 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19059 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19060 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19061 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19062 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19063 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19064 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19065 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19066 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19067 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19068 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19069 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19070 (elision_init): Set try_xbegin to zero when no RTM.
19071 * sysdeps/x86/nptl/bits/pthreadtypes.h
19072 (pthread_rwlock_t): Change __pad1 to __rwelision.
19073 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19074
19075 2014-06-13 Andi Kleen <ak@linux.intel.com>
19076
19077 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19078 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19079 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19080 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19081
19082 2014-06-13 Meador Inge <meadori@codesourcery.com>
19083
19084 [BZ #16996]
19085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19086 that the cached result has been set before returning it.
19087
19088 2014-06-12 Roland McGrath <roland@hack.frob.com>
19089
19090 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19091 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19092 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19093 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19094 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19095 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19096
19097 * nptl/sysdeps/sparc/Makefile: Moved ...
19098 * sysdeps/sparc/nptl/Makefile: ... here.
19099 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19100 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19101 * nptl/sysdeps/sparc/tls.h: Moved ...
19102 * sysdeps/sparc/nptl/tls.h: ... here.
19103 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19104 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19105 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19106 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19107 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19108 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19109 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19110 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19111 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19112 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19113 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19114 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19115 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19116 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19117 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19118 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19119 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19120 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19121 Update #include.
19122 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19123 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19124 Update #include.
19125 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19126 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19127 Update #include.
19128 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19129 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19130 Update #include.
19131
19132 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19133
19134 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19135 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19136
19137 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19138 (struct list_links): Type removed.
19139 (struct thread_node, struct timer_node): Replace struct list_links
19140 with struct list_head.
19141 (list_unlink_ip): Likewise.
19142 * sysdeps/pthread/timer_routines.c
19143 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19144 (list_append, list_insbefore): Likewise.
19145 (list_init): Function removed.
19146 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19147 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19148 * sysdeps/pthread/Makefile: ... here, new file.
19149
19150 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19151 * sysdeps/nptl/Implies: ... here.
19152 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19153 * nptl/sysdeps/pthread/list.h: Moved ...
19154 * include/list.h: ... here.
19155 * nptl/sysdeps/pthread/createthread.c: Moved ...
19156 * nptl/createthread.c: ... here.
19157 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19158 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19159 * nptl/pt-longjmp.c: ... here.
19160 * nptl/sysdeps/pthread/Makefile: Moved ...
19161 * sysdeps/nptl/Makefile: ... here.
19162 * nptl/sysdeps/pthread/Subdirs: Moved ...
19163 * sysdeps/nptl/Subdirs: ... here.
19164 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19165 * sysdeps/nptl/aio_misc.h: ... here.
19166 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19167 * sysdeps/nptl/bits/libc-lock.h: ... here.
19168 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19169 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19170 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19171 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19172 * nptl/sysdeps/pthread/configure: Moved ...
19173 * sysdeps/nptl/configure: ... here.
19174 * nptl/sysdeps/pthread/configure.ac: Moved ...
19175 * sysdeps/nptl/configure.ac: ... here.
19176 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19177 * sysdeps/nptl/gai_misc.h: ... here.
19178 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19179 * sysdeps/nptl/librt-cancellation.c: ... here.
19180 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19181 * sysdeps/nptl/malloc-machine.h: ... here.
19182 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19183 * sysdeps/nptl/pthread-functions.h: ... here.
19184 * nptl/sysdeps/pthread/pthread.h: Moved ...
19185 * sysdeps/nptl/pthread.h: ... here.
19186 * nptl/sysdeps/pthread/setxid.h: Moved ...
19187 * sysdeps/nptl/setxid.h: ... here.
19188 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19189 * sysdeps/nptl/sigfillset.c: ... here.
19190 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19191 * sysdeps/nptl/tcb-offsets.h: ... here.
19192 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19193 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19194 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19195 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19196 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19197 * sysdeps/pthread/allocalim.h: ... here.
19198 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19199 * sysdeps/pthread/bits/sigthread.h: ... here.
19200 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19201 * sysdeps/pthread/flockfile.c: ... here.
19202 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19203 * sysdeps/pthread/ftrylockfile.c: ... here.
19204 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19205 * sysdeps/pthread/funlockfile.c: ... here.
19206 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19207 * sysdeps/pthread/posix-timer.h: ... here.
19208 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19209 * sysdeps/pthread/timer_create.c: ... here.
19210 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19211 * sysdeps/pthread/timer_delete.c: ... here.
19212 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19213 * sysdeps/pthread/timer_getoverr.c: ... here.
19214 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19215 * sysdeps/pthread/timer_gettime.c: ... here.
19216 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19217 * sysdeps/pthread/timer_routines.c: ... here.
19218 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19219 * sysdeps/pthread/timer_settime.c: ... here.
19220 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19221 * sysdeps/pthread/tst-timer.c: ... here.
19222 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19223 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19224
19225 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19226 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19227
19228 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19229 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19230 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19231 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19232 Update #include target.
19233 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19234 * sysdeps/i386/i686/nptl/Makefile: ... here.
19235 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19236 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19237 Update #include target.
19238 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19239 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19240 * nptl/sysdeps/i386/Makefile: Moved ...
19241 * sysdeps/i386/nptl/Makefile: ... here.
19242 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19243 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19244 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19245 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19246 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19247 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19248 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19249 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19250 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19251 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19252 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19253 * nptl/sysdeps/i386/tls.h: Moved ...
19254 * sysdeps/i386/nptl/tls.h: ... here.
19255
19256 * sysdeps/sh/Makefile [$(subdir) = csu]
19257 (gen-as-const-headers): Add tcb-offsets.sym.
19258 * nptl/sysdeps/sh/Makefile: File removed.
19259 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19260 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19261 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19262 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19263 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19264 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19265 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19266 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19267 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19268 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19269 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19270 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19271 * nptl/sysdeps/sh/tls.h: Moved ...
19272 * sysdeps/sh/nptl/tls.h: ... here.
19273 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19274 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19275 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19276 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19277 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19278 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19279 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19280 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19281 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19282 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19283 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19284 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19285 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19286 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19287 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19288 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19289 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19290 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19291 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19292 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19293 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19294 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19295 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19296 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19297 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19298 Moved ...
19299 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19300 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19301 Moved ...
19302 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19303 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19304 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19305 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19306 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19307 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19308 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19309 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19310 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19311 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19312 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19313 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19314 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19315 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19316 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19317 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19318 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19319 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19320 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19321
19322 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19323
19324 * posix/spawn_faction_addopen.c: Include string.h.
19325
19326 2014-06-11 Roland McGrath <roland@hack.frob.com>
19327
19328 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19329 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19330 * nptl/sysdeps/x86_64/Makefile: Moved ...
19331 * sysdeps/x86_64/nptl/Makefile: ... here.
19332 * nptl/sysdeps/x86_64/configure: Moved ...
19333 * sysdeps/x86_64/nptl/configure: ... here.
19334 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19335 * sysdeps/x86_64/nptl/configure.ac: ... here.
19336 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19337 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19338 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19339 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19340 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19341 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19342 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19343 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19344 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19345 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19346 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19347 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19348 * nptl/sysdeps/x86_64/tls.h: Moved ...
19349 * sysdeps/x86_64/nptl/tls.h: ... here.
19350 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19351 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19352 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19353 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19354
19355 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19356
19357 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19358
19359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19360
19361 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19362
19363 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19364 type.
19365 [POSIX] (off_t): Likewise.
19366 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19367 [POSIX] (S_ISBLK): Require macro.
19368 [POSIX] (S_ISCHR): Likewise.
19369 [POSIX] (S_ISDIR): Likewise.
19370 [POSIX] (S_ISFIFO): Likewise.
19371 [POSIX] (S_ISREG): Likewise.
19372 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19373 optional-macro.
19374 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19375 type.
19376 [POSIX] (time_t): Likewise.
19377 [POSIX] (timer_t): Likewise.
19378
19379 2014-06-11 Florian Weimer <fweimer@redhat.com>
19380
19381 [BZ #17048]
19382 * posix/spawn_int.h (struct __spawn_action): Make the path string
19383 non-const to support deallocation.
19384 * posix/spawn_faction_addopen.c
19385 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19386 * posix/spawn_faction_destroy.c
19387 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19388 path in all spawn_do_open actions.
19389 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19390 posix_spawn_file_actions_addopen.
19391
19392 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19393
19394 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19395 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19396 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19397 conditional code always true.
19398 (__libc_vfork): New alias.
19399
19400 2014-06-11 Roland McGrath <roland@hack.frob.com>
19401
19402 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19403 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19404
19405 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19406
19407 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19408 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19409
19410 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19411 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19412
19413 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19414 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19415
19416 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19417
19418 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19419 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19420 multiarch strcmp for PPC64.
19421 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19422 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19424 multiarch optimizations.
19425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19426 (__libc_ifunc_impl_list): Likewise.
19427
19428 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19429
19430 * benchtests/scripts/validate_benchout.py: New script.
19431 * benchtests/Makefile (bench-func): Call it.
19432 * benchtests/scripts/benchout.schema.json: New file.
19433
19434 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19435
19436 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19437 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19438 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19439 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19440 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19441 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19442 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19443 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19444 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19445 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19446 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19447 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19448 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19449 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19450 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19451 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19453 Moved ...
19454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19455 ... here.
19456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19457 Moved ...
19458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19460 Moved ...
19461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19462 ... here.
19463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19464 Moved ...
19465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19466 ... here.
19467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19468 Moved ...
19469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19471 Moved ...
19472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19473 ... here.
19474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19475 Moved ...
19476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19477 ... here.
19478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19479 Moved ...
19480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19482 Moved ...
19483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19484 ... here.
19485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19486 Moved ...
19487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19488 ... here.
19489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19490 Moved ...
19491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19492 ... here.
19493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19494 Moved ...
19495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19497 Moved ...
19498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19499 ... here.
19500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19501 Moved ...
19502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19503 ... here.
19504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19505 Moved ...
19506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19507 ... here.
19508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19509 Moved ...
19510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19512 Moved ...
19513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19514 ... here.
19515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19516 Moved ...
19517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19518 ... here.
19519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19520 Moved ...
19521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19523 Moved ...
19524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19525 ... here.
19526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19527 Moved ...
19528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19530 Moved ...
19531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19533 Moved ...
19534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19535 ... here.
19536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19537 Moved ...
19538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19539 ... here.
19540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19541 Moved ...
19542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19543 ... here.
19544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19545 Moved ...
19546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19548 Moved ...
19549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19550 ... here.
19551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19552 Moved ...
19553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19554 ... here.
19555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19556 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19557 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19558 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19559 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19560 Moved ...
19561 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19562 ... here.
19563 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19564 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19565 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19566 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19567 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19568 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19569 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19570 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19571 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19572 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19573 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19574 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19575 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19576 Moved ...
19577 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19578 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19579 Moved ...
19580 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19581 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19582 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19583 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19584 Moved ...
19585 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19586 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19587 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19588 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19589 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19590 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19591 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19592
19593 2014-06-10 Wilco <wdijkstr@arm.com>
19594
19595 * math/test-fenv-return.c: New file.
19596 * math/Makefile: Add new test test-fenv-return.
19597
19598 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19599
19600 [BZ #17042]
19601 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19602 when x - 1 is zero.
19603 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19604 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19605 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19606 0.0L for an argument of 1.0L.
19607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19608 Likewise.
19609 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19610 value when x - 1 is zero.
19611 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19612 * sysdeps/i386/fpu/libm-test-ulps: Update.
19613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19614
19615 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19616
19617 [BZ #15119]
19618 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19619
19620 2014-06-09 Roland McGrath <roland@hack.frob.com>
19621
19622 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19623 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19624
19625 2014-06-09 Roland McGrath <roland@hack.frob.com>
19626
19627 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19628 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19629
19630 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19631 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19632
19633 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19634 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19635
19636 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19637 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19638
19639 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19640 if not already defined.
19641 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19642 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19643 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19644 (TLS_INIT_TP): Use it.
19645 (TLS_DEFINE_INIT_TP): New macro.
19646 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19647
19648 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19649
19650 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19651 constant.
19652 [POSIX] (IXANY): Likewise.
19653 [POSIX] (OLCUC): Likewise.
19654 [POSIX || POSIX2008] (CBAUD): Do not allow.
19655 [POSIX || POSIX2008] (DEFECHO): Likewise.
19656 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19657 [POSIX || POSIX2008] (ECHOKE): Likewise.
19658 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19659 [POSIX || POSIX2008] (EXTA): Likewise.
19660 [POSIX || POSIX2008] (EXTB): Likewise.
19661 [POSIX || POSIX2008] (FLUSHO): Likewise.
19662 [POSIX || POSIX2008] (LOBLK): Likewise.
19663 [POSIX || POSIX2008] (PENDIN): Likewise.
19664 [POSIX || POSIX2008] (SWTCH): Likewise.
19665 [POSIX || POSIX2008] (VDISCARD): Likewise.
19666 [POSIX || POSIX2008] (VDSUSP): Likewise.
19667 [POSIX || POSIX2008] (VLNEXT): Likewise.
19668 [POSIX || POSIX2008] (VREPRINT): Likewise.
19669 [POSIX || POSIX2008] (VSTATUS): Likewise.
19670 [POSIX || POSIX2008] (VWERASE): Likewise.
19671 (B*): Change to B[0123456789]*.
19672 * conform/data/time.h-data [POSIX || UNIX98]
19673 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19674 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19675 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19676 [POSIX] (tm_*): Do not allow.
19677
19678 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19679
19680 * Makefile (install): Don't set LANGUAGE.
19681 * Makefile.in (install): Likewise.
19682 * assert/Makefile (test-assert-ENV): Remove variable.
19683 (test-assert-perr-ENV): Likewise.
19684 * elf/Makefile (neededtest4-ENV): Likewise.
19685 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19686 [$(cross-compiling) = no]: Don't set LANGUAGE.
19687 * io/ftwtest-sh (LANG): Remove variable.
19688 * libio/Makefile (tst-widetext-ENV): Likewise.
19689 * manual/install.texi (Running make install): Don't refer to
19690 environment settings for make install.
19691 * INSTALL: Regenerated.
19692 * nptl/tst-tls6.sh: Don't set LANG.
19693 * posix/globtest.sh (LANG): Remove variable.
19694 * string/Makefile (tester-ENV): Likewise.
19695 (inl-tester-ENV): Likewise.
19696 (noinl-tester-ENV): Likewise.
19697 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19698 [$(cross-compiling) = no]: Don't set LANGUAGE.
19699 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19700 without explicit environment settings.
19701
19702 2014-06-06 Roland McGrath <roland@hack.frob.com>
19703
19704 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19705 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19706 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19707 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19708
19709 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19710
19711 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19712 other files in the crypt directory.
19713 * crypt/crypt.c: Remove duplicate includes.
19714 * crypt/crypt-entry.c: Likewise.
19715 * crypt/crypt_util.c: Likewise.
19716
19717 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19718
19719 * Makeconfig (run-program-env): New variable.
19720 (run-program-prefix-before-env): Likewise.
19721 (run-program-prefix-after-env): Likewise.
19722 (run-program-prefix): Define in terms of new variables.
19723 (built-program-cmd-before-env): New variable.
19724 (built-program-cmd-after-env): Likewise.
19725 (built-program-cmd): Define in terms of new variables.
19726 (test-program-prefix-before-env): New variable.
19727 (test-program-prefix-after-env): Likewise.
19728 (test-program-prefix): Define in terms of new variables.
19729 (test-program-cmd-before-env): New variable.
19730 (test-program-cmd-after-env): Likewise.
19731 (test-program-cmd): Define in terms of new variables.
19732 * Rules (make-test-out): Use $(run-program-env).
19733 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19734 (help): Do not mention environment variables. Mention
19735 --timeoutfactor option.
19736 (timeoutfactor): New variable.
19737 (blacklist_exports): Remove function.
19738 (exports): Remove variable.
19739 (command): Do not include ${exports}.
19740 * manual/install.texi (Configuring and compiling): Do not mention
19741 test wrappers preserving environment variables. Mention that last
19742 assignment to a variable must take precedence.
19743 * INSTALL: Regenerated.
19744 * benchtests/Makefile (run-bench): Use $(run-program-env).
19745 * catgets/Makefile ($(objpfx)test1.cat): Use
19746 $(built-program-cmd-before-env), $(run-program-env) and
19747 $(built-program-cmd-after-env).
19748 ($(objpfx)test2.cat): Do not specify environment variables
19749 explicitly.
19750 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19751 $(run-program-env) and $(built-program-cmd-after-env).
19752 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19753 $(run-program-env) and $(test-program-cmd-after-env).
19754 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19755 explicitly.
19756 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19757 run_program_env and test_program_cmd_after_env arguments.
19758 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19759 * elf/tst-pathopt.sh: Use run_program_env argument.
19760 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19761 $(test-wrapper-env) and $(run-program-env).
19762 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19763 run_program_env arguments.
19764 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19765 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19766 $(test-program-prefix-before-env), $(run-program-env) and
19767 $(test-program-prefix-after-env).
19768 ($(objpfx)tst-gettext2.out): Likewise.
19769 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19770 run_program_env and test_program_prefix_after_env arguments.
19771 * intl/tst-gettext2.sh: Likewise.
19772 * intl/tst-gettext4.sh: Do not set environment variables
19773 explicitly.
19774 * intl/tst-gettext6.sh: Likewise.
19775 * intl/tst-translit.sh: Likewise.
19776 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19777 $(test-program-prefix-before-env), $(run-program-env) and
19778 $(test-program-prefix-after-env).
19779 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19780 run_program_env and test_program_prefix_after_env arguments.
19781 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19782 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19783 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19784 explicitly with each use of ${test_wrapper_env}.
19785 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19786 $(test-program-prefix-before-env), $(run-program-env) and
19787 $(test-program-prefix-after-env).
19788 * posix/tst-getconf.sh: Do not set environment variables
19789 explicitly.
19790 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19791 run_program_env and test_program_prefix_after_env arguments.
19792 * stdio-common/tst-printf.sh: Do not set environment variables
19793 explicitly.
19794 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19795 $(test-program-prefix-before-env), $(run-program-env) and
19796 $(test-program-prefix-after-env).
19797 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19798 run_program_env and test_program_prefix_after_env arguments.
19799 Split $test calls into $test_pre and $test.
19800 * timezone/Makefile (build-testdata): Use
19801 $(built-program-cmd-before-env), $(run-program-env) and
19802 $(built-program-cmd-after-env).
19803
19804 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19805
19806 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19807 strlen for non SHARED builds.
19808
19809 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19810
19811 * nptl/allocatestack.c (check_list): Inlined function...
19812 (__reclaim_stacks): ... here.
19813
19814 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19815
19816 [BZ #15698]
19817 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19818 memory overrun.
19819
19820 2014-06-05 Joseph Myers <joseph@codesourcery.com>
19821
19822 * Rules (make-test-out): Include
19823 LOCPATH=$(common-objpfx)localedata in default environment.
19824 * debug/Makefile (tst-chk1-ENV): Remove variable.
19825 (tst-chk2-ENV): Likewise.
19826 (tst-chk3-ENV): Likewise.
19827 (tst-chk4-ENV): Likewise.
19828 (tst-chk5-ENV): Likewise.
19829 (tst-chk6-ENV): Likewise.
19830 (tst-lfschk1-ENV): Likewise.
19831 (tst-lfschk2-ENV): Likewise.
19832 (tst-lfschk3-ENV): Likewise.
19833 (tst-lfschk4-ENV): Likewise.
19834 (tst-lfschk5-ENV): Likewise.
19835 (tst-lfschk6-ENV): Likewise.
19836 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19837 (tst-iconv7-ENV): Likewise.
19838 * intl/Makefile (LOCPATH-ENV): Likewise.
19839 (tst-codeset-ENV): Likewise.
19840 (tst-gettext3-ENV): Likewise.
19841 (tst-gettext5-ENV): Likewise.
19842 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19843 (tst-fopenloc-ENV): Likewise.
19844 (tst-fgetws-ENV): Remove variable.
19845 (tst-ungetwc1-ENV): Likewise.
19846 (tst-ungetwc2-ENV): Likewise.
19847 (bug-ungetwc2-ENV): Likewise.
19848 (tst-swscanf-ENV): Likewise.
19849 (bug-ftell-ENV): Likewise.
19850 (tst-fgetwc-ENV): Likewise.
19851 (tst-fseek-ENV): Likewise.
19852 (tst-ftell-partial-wide-ENV): Likewise.
19853 (tst-ftell-active-handler-ENV): Likewise.
19854 (tst-ftell-append-ENV): Likewise.
19855 * posix/Makefile (tst-fnmatch-ENV): Likewise.
19856 (tst-regexloc-ENV): Likewise.
19857 (bug-regex1-ENV): Likewise.
19858 (tst-regex-ENV): Likewise.
19859 (tst-regex2-ENV): Likewise.
19860 (bug-regex5-ENV): Likewise.
19861 (bug-regex6-ENV): Likewise.
19862 (bug-regex17-ENV): Likewise.
19863 (bug-regex18-ENV): Likewise.
19864 (bug-regex19-ENV): Likewise.
19865 (bug-regex20-ENV): Likewise.
19866 (bug-regex22-ENV): Likewise.
19867 (bug-regex23-ENV): Likewise.
19868 (bug-regex25-ENV): Likewise.
19869 (bug-regex26-ENV): Likewise.
19870 (bug-regex30-ENV): Likewise.
19871 (bug-regex32-ENV): Likewise.
19872 (bug-regex33-ENV): Likewise.
19873 (bug-regex34-ENV): Likewise.
19874 (bug-regex35-ENV): Likewise.
19875 (tst-rxspencer-ENV): Likewise.
19876 (tst-rxspencer-no-utf8-ENV): Likewise.
19877 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19878 (tst-sscanf-ENV): Likewise.
19879 (tst-swprintf-ENV): Likewise.
19880 (tst-swscanf-ENV): Likewise.
19881 (test-vfprintf-ENV): Likewise.
19882 (scanf13-ENV): Likewise.
19883 (bug14-ENV): Likewise.
19884 (tst-grouping-ENV): Likewise.
19885 * stdlib/Makefile (tst-strtod-ENV): Likewise.
19886 (tst-strtod3-ENV): Likewise.
19887 (tst-strtod4-ENV): Likewise.
19888 (tst-strtod5-ENV): Likewise.
19889 (testmb2-ENV): Likewise./
19890 * string/Makefile (tst-strxfrm-ENV): Likewise.
19891 (tst-strxfrm2-ENV): Likewise.
19892 (bug-strcoll1-ENV): Likewise.
19893 (test-strcasecmp-ENV): Likewise.
19894 (test-strncasecmp-ENV): Likewise.
19895 * time/Makefile (tst-strptime-ENV): Likewise.
19896 (tst-ftime_l-ENV): Likewise.
19897 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19898 (tst-mbrtowc-ENV): Likewise.
19899 (tst-wcrtomb-ENV): Likewise.
19900 (tst-mbrtowc2-ENV): Likewise.
19901 (tst-c16c32-1-ENV): Likewise.
19902 (tst-mbsnrtowcs-ENV): Likewise.
19903
19904 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19905
19906 * manual/resource.texi (How to get information about the memory
19907 subsystem?): Fix typo.
19908 Reported by Peon de la Parra Ivan <peon@keba.com>
19909
19910 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
19911
19912 [BZ #16882]
19913 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19914 (pthread_spin_lock): Branch out of spin loop to proper location.
19915 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19916 (pthread_spin_lock): Likewise.
19917
19918 * nptl/tst-spin4.c: New test.
19919 * nptl/Makefile (tests): Add tst-spin4.
19920
19921 2014-06-03 Andreas Schwab <schwab@suse.de>
19922
19923 [BZ #15946]
19924 * resolv/res_send.c (send_dg): Reload file descriptor after
19925 calling reopen.
19926
19927 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
19928
19929 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19930
19931 2014-06-03 Richard Henderson <rth@redhat.com>
19932
19933 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19934 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19935 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19936 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
19937 in the SAVE_PID block.
19938 (__libc_vfork): New alias.
19939 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19940
19941 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19942 child in registers, not on the stack. Remove RESET_PID conditionals.
19943 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19944
19945 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
19946
19947 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19948
19949 2014-06-03 Wilco <wdijkstr@arm.com>
19950
19951 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19952 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19953 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19954 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19955 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19956 Likewise.
19957
19958 2014-06-03 Wilco <wdijkstr@arm.com>
19959
19960 * sysdeps/aarch64/fpu/math_private.h
19961 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19962 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19963 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19964 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19965 Fix declarations.
19966
19967 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
19968
19969 * crypt/crypt-private.h: Include ufc-crypt.h.
19970 (__b64_from_24bit): Declare extern.
19971 * crypt/crypt_util.c(__b64_from_24bit): New function.
19972 (b64t): New static const variable.
19973 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19974 (b64t): Remove variable.
19975 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19976 * crypt/sha256-crypt.c: Include crypt-private.h.
19977 (b64t): Remove variable.
19978 (__sha256_crypt_r): Remove b64_from_24bit and replace
19979 with __b64_from_24bit.
19980 * crypt/sha512-crypt.c: Likewise.
19981
19982 2014-06-02 Roland McGrath <roland@hack.frob.com>
19983
19984 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19985 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19986 Label the code __libc_vfork rather than __vfork.
19987 [!NOT_IN_libc] (vfork): Define as weak alias.
19988 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19989 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19990 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19991
19992 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19993
19994 * malloc/malloc.c (malloc_info): Fix format specifier for
19995 n_mmaps.
19996
19997 2014-06-02 Wilco <wdijkstr@arm.com>
19998
19999 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20000 FPCR write.
20001
20002 2014-06-02 Wilco <wdijkstr@arm.com>
20003
20004 [BZ #17009]
20005 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20006 Rewrite to reduce FPCR/FPSR accesses.
20007
20008 2014-06-01 David S. Miller <davem@davemloft.net>
20009
20010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20011
20012 2014-05-31 David S. Miller <davem@davemloft.net>
20013
20014 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20015 to occur in round to nearest mode when |x| >= 2.0
20016
20017 2014-05-30 Richard Henderson <rth@twiddle.net>
20018
20019 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20020 (PSEUDO_RET_NOERRNO): Remove.
20021 (ret): Don't redefine.
20022 (ret_NOERRNO): Define in terms of ret.
20023 (ret_ERRVAL): Likewise.
20024
20025 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20026 use of PSEUDO_RET; perform the error check directly.
20027
20028 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20029
20030 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20031 with __int128_t.
20032
20033 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20034
20035 * malloc/malloc (malloc_info): Fix formatting.
20036
20037 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20038 Roland McGrath <roland@hack.frob.com>
20039
20040 * malloc/malloc (malloc_info): Also print mmapped statistics.
20041
20042 2014-05-30 Roland McGrath <roland@hack.frob.com>
20043
20044 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20045 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20046
20047 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20048
20049 * malloc/malloc.c (malloc_info): Inline mi_arena.
20050
20051 2014-05-29 Richard Henderson <rth@twiddle.net>
20052
20053 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20054 Remove comma before expanding ASM_ARGS_##nr.
20055 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20056 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20057 of ASM_ARGS_##nr.
20058 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20059 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20060 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20061 (ASM_ARGS_1): Add leading comma.
20062
20063 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20064 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20065 to __errno_location.
20066 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20067 Remove the expected plt for __errno_location.
20068
20069 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20070 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20071 call to __read_tp.
20072
20073 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20074 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20075 it and break it down.
20076 (DOCARGS_0, DOCARGS_1): Do nothing.
20077 (DOCARGS_2): Update to store into the new stack frame.
20078 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20079 (UNDOCARGS_1): Update to restore from the new stack frame.
20080 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20081 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20082
20083 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20084 (SINGLE_THREAD_P): New parameter for result regno.
20085 (PSEUDO): Update to match; use cbz instead of beq.
20086
20087 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20088 Use ENTRY to define the _nocancel entry point. Share the syscall
20089 and syscall error check paths with the cancel path.
20090 (PSEUDO_END): New.
20091
20092 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20093 whitespace; tabs before and after asm mnemonics.
20094
20095 2014-05-29 Eric Wong <normalperson@yhbt.net>
20096
20097 [BZ #15132]
20098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20099 Call fstat64 or stat64 internally, depending on arguments passed.
20100 Replace stat buffer argument with file descriptor argument.
20101 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20102 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20103 Pass fd to __internal_statvfs instead of calling fstat64.
20104 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20105 Pass fd to __internal_statvfs64 instead of calling fstat64.
20106 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20107 Pass -1 to __internal_statvfs instead of calling stat64.
20108 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20109 Pass -1 to __internal_statvfs64 instead of calling stat64.
20110
20111 2014-05-28 Roland McGrath <roland@hack.frob.com>
20112
20113 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20114 that was previously under [RESET_PID].
20115 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20116
20117 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20118 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20119
20120 2014-05-27 Roland McGrath <roland@hack.frob.com>
20121
20122 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20123
20124 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20125 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20126
20127 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20128
20129 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20130
20131 2014-05-27 Andreas Schwab <schwab@suse.de>
20132
20133 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20134 TLS_INIT_TP macro.
20135 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20136 * elf/rtld.c (init_tls, dl_main): Likewise.
20137 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20138 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20139 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20140 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20141 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20142 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20143 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20144 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20145 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20146 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20147 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20148 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20149 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20150 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20151 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20152 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20153 * sysdeps/generic/tls.h: Update description.
20154
20155 2014-05-27 Will Newton <will.newton@linaro.org>
20156
20157 [BZ #16990]
20158 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20159 and restore r2 rather than just restoring.
20160
20161 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20162
20163 [BZ #16724]
20164 * libio/tst-ftell-append.c: New test case.
20165 * libio/Makefile (tests): Add test case.
20166 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20167 append mode.
20168 * libio/wfileops.c (do_ftell_wide): Likewise.
20169
20170 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20171
20172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20173
20174 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20175 ...
20176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20178 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20179 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20180 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20181 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20182 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20183 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20185 Moved ...
20186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20188 Moved ...
20189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20190 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20191 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20192 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20193 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20194 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20195 ...
20196 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20197 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20198 Moved ...
20199 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20200 here.
20201 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20202 ...
20203 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20204 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20205 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20206
20207 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20208 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20209 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20210 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20211
20212 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20213 merge into ...
20214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20216 ...
20217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20219 ...
20220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20221 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20222 Moved ...
20223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20224 here.
20225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20226 Moved ...
20227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20228 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20229 Moved ...
20230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20231
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20233 conditional [RESET_PID].
20234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20235 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20236 removed.
20237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20238 removed.
20239
20240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20241 <tcb-offsets.h>.
20242 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20243 (__libc_vfork): New strong alias.
20244 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20245 removed.
20246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20247 Removed.
20248
20249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20250 <tcb-offsets.h>.
20251 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20252 (__libc_vfork): New strong alias.
20253 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20254 removed.
20255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20256 removed.
20257
20258 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20259
20260 * malloc/malloc.c (mi_arena): New function.
20261 (malloc_info): Remove nested function mi_arena. Call non-nosted
20262 function mi_arena.
20263
20264 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20265
20266 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20267 by insrwi.
20268 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20269 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20270 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20271 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20272 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20273 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20274 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20275
20276 2014-05-26 Andreas Schwab <schwab@suse.de>
20277
20278 [BZ #16984]
20279 * locale/programs/repertoire.c (repertoire_read): Add slash
20280 between I18NPATH element and file name.
20281 * locale/programs/locfile.c (locfile_read): Likewise.
20282
20283 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20284
20285 * nptl/pthread_mutexattr_settype.c
20286 (__pthread_mutexattr_settype):
20287 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20288
20289 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20290
20291 * nptl/tst-mutex5 (do_test):
20292 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20293
20294 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20295
20296 * benchtests/README: Document 'init' directive.
20297 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20298 BENCH_INIT.
20299 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20300 (parse_file): Recognize 'init' directive.
20301
20302 2014-05-26 Kyle McMartin <kyle@redhat.com>
20303
20304 [BZ #16796]
20305 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20306 alignment of struct pthread.
20307
20308 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20309
20310 [BZ #16878]
20311 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20312 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20313 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20314 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20315
20316 2014-05-25 Richard Henderson <rth@twiddle.net>
20317
20318 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20319 (SINGLE_THREAD_P_PIC): Remove.
20320 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20321 (SINGLE_THREAD_P_PIC): Remove.
20322
20323 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20324 branch to syscall error ...
20325 (PSEUDO): ... here.
20326 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20327 from __local_syscall_error to .Lsyscall_error.
20328 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20329 (SYSCALL_ERROR): Update label name.
20330
20331 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20332 Do not use DOARGS/UNDOARGS.
20333 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20334 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20335 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20336 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20337 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20338
20339 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20340 block comment.
20341
20342 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20343 define if !NOT_IN_libc.
20344 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20345 define with non-default symbol versions.
20346
20347 2014-05-23 Richard Henderson <rth@twiddle.net>
20348
20349 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20350 (vfork, __vfork): Define via compat_symbol.
20351
20352 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20353 [!HAVE_IFUNC] (vfork_compat): Remove.
20354 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20355
20356 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20357
20358 [BZ #16978]
20359 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20360 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20361 variable.
20362
20363 2014-05-23 Richard Henderson <rth@twiddle.net>
20364
20365 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20366 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20367 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20368 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20369
20370 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20371 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20372 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20373 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20374 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20375 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20376 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20377 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20378 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20379 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20380 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20381 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20382 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20383 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20384 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20385 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20386 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20387 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20388 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20389 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20390 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20391 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20392 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20393 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20394 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20395 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20396 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20397 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20398 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20399 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20400 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20401 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20402 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20403 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20404 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20405 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20406 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20407 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20408 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20409 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20410 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20411 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20412 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20413 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20414 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20415 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20416 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20417 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20418 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20419 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20420 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20421 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20422 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20423 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20424 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20425 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20426
20427 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20428 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20429 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20430 before exiting on error.
20431 (__libc_vfork): New strong alias.
20432 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20433 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20434
20435 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20436 that was previously under [RESET_PID].
20437 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20438
20439 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20440
20441 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20442
20443 [BZ #16977]
20444 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20445 value when x - 1 is zero.
20446 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20447 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20448 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20449 0.0L for an argument of 1.0L.
20450 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20451 Likewise.
20452 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20453 value when x - 1 is zero.
20454 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20455 * sysdeps/i386/fpu/libm-test-ulps: Update.
20456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20457
20458 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20459
20460 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20461 alphasort and versionsort.
20462
20463 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20464
20465 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20466 macro.
20467 [copysignf]: Likewise.
20468
20469 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20470
20471 * crypt/md5-crypt.c: Fix formatting.
20472
20473 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20474
20475 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20476 (b64_from_24bit): New function.
20477
20478 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20479
20480 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20481 libc_hidden_builtin_def to ifunc.
20482 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20483 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20484
20485 2014-05-21 Roland McGrath <roland@hack.frob.com>
20486
20487 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20488 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20489
20490 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20491
20492 * nscd/Depend (linuxthreads): Remove.
20493 (nptl): Add.
20494 * resolv/Depend (linuxthreads): Remove.
20495 * rt/Depend (linuxthreads): Remove.
20496
20497 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20498 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20499 $(common-objpfx)elf/.
20500 (link-libc-before-gnulib): Likewise.
20501 (elfobjdir): Remove variable.
20502 * Makefile (install): Use $(elf-objpfx) instead of
20503 $(common-objpfx)elf/.
20504 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20505 $(elfobjdir)/.
20506 (link-libc-deps): Likewise.
20507 ($(common-objpfx)libc.so): Likewise.
20508 ($(common-objpfx)linkobj/libc.so): Likewise.
20509 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20510 instead of $(common-objpfx)elf/.
20511 (symbolic-link-list): Likewise.
20512 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20513 [$(cross-compiling) = no]: Likewise.
20514 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20515 $(elfobjdir)/.
20516 (static-gnulib-arch): Likewise.
20517 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20518 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20519 $(common-objpfx)elf/.
20520
20521 2014-05-21 Richard Henderson <rth@redhat.com>
20522
20523 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20524 (SINGLE_THREAD_P): Use the correct width load. Fold
20525 into the ldr offset.
20526
20527 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20528 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20529
20530 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20531
20532 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20533 (libgcc_s_resume): Use __attribute_used__.
20534 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20535 Likewise.
20536
20537 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20538
20539 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20540 optimization when used with float constants.
20541
20542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20543
20544 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20545
20546 [BZ #16915]
20547 * locale/nl_langinfo_l.c: Make direct reference to every
20548 _nl_current_CATEGORY symbol.
20549 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20550 (tests-static): Add tst-langinfo-static.
20551 (tests-special): Add tst-langinfo-static.out.
20552 ($(objpfx)tst-langinfo.out): Redirect output.
20553 ($(objpfx)tst-langinfo-static.out): New.
20554 * localedata/tst-langinfo.sh: Send output to stdout.
20555 * localedata/tst-langinfo-static.c: New file.
20556
20557 [BZ #16965]
20558 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20559 when the shift amount is modulo the limb size.
20560
20561 2014-05-20 Richard Henderson <rth@redhat.com>
20562
20563 [BZ #16967]
20564 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20565 Change type of sa_flags from unsigned int to int.
20566
20567 [BZ #16966]
20568 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20569
20570 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20571
20572 2014-05-20 Will Newton <will.newton@linaro.org>
20573
20574 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20575 Test the return value of the system call in the nocancel case.
20576
20577 2014-05-20 Will Newton <will.newton@linaro.org>
20578 Yvan Roux <yvan.roux@linaro.org>
20579
20580 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20581 #include of asm/ptrace.h.
20582 (PTRACE_GET_THREAD_AREA): Remove #undef.
20583 (PTRACE_GETHBPREGS): Likewise.
20584 (PTRACE_SETHBPREGS): Likewise.
20585 (struct user_regs_struct): New structure.
20586 (struct user_fpsimd_struct): New structure.
20587 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20588 #include of asm/ptrace.h and second #include of sys/user.h.
20589 (PTRACE_GET_THREAD_AREA): Remove #undef.
20590 (PTRACE_GETHBPREGS): Likewise.
20591 (PTRACE_SETHBPREGS): Likewise.
20592 (ELF_NGREG): Use new struct user_regs_struct.
20593 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20594
20595 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20596
20597 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20598 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20599
20600 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20601
20602 [BZ #16958]
20603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20604 membar to avoid block loads/stores to overlap previous stores.
20605
20606 2014-05-17 Richard Henderson <rth@redhat.com>
20607
20608 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20609 Create the __##syscall_name##_nocancel entry point.
20610 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20611 Remove; let the sysdep-cancel.h code create it.
20612
20613 2014-05-17 David S. Miller <davem@davemloft.net>
20614
20615 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20616 Protect with __USE_GNU.
20617 (TIOCSET_TEMPT): Likewise.
20618 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20619 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20620 these are already provided in bits/ioctl-types.h
20621
20622 2014-05-16 Roland McGrath <roland@hack.frob.com>
20623
20624 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20625 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20626
20627 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20628 Use wait4 regardless of [__NR_waitpid].
20629
20630 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20631
20632 PR libgcc/60166
20633 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20634 (_FP_NANSIGN_Q): Set the quiet bit.
20635
20636 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20637
20638 * benchtests/Makefile
20639 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20640 not $(common-objpfx)math/libm.so.
20641 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20642 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20643 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20644 $(common-objpfx)dlfcn/libdl.so.
20645 ($(objpfx)tst-audit8): Depend on $(libm), not
20646 $(common-objpfx)math/libm.so.
20647 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20648 not $(common-objpfx)dlfcn/libdl.so.
20649 * math/Makefile
20650 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20651 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20652 [$(build-shared) = yes].
20653 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20654 $(common-objpfx)nptl/libpthread.so.
20655 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20656 $(common-objpfx)math/libm.so$(libm.so-version) or
20657 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20658 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20659 $(common-objpfx)dlfcn/libdl.so.
20660 * setjmp/Makefile (link-libm): Remove variable.
20661 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20662 * stdio-common/Makefile (link-libm): Remove variable.
20663 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20664 * stdlib/Makefile (link-libm): Remove variable.
20665 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20666 ($(objpfx)tst-strtod-round): Likewise.
20667 ($(objpfx)tst-tininess): Likewise.
20668 ($(objpfx)tst-strtod-underflow): Likewise.
20669 ($(objpfx)tst-strtod6): Likewise.
20670 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20671 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20672 $(common-objpfx)dlfcn/libdl.so.
20673
20674 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20675
20676 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20677 BSD terminal modes definitions.
20678
20679 2014-05-16 Roland McGrath <roland@hack.frob.com>
20680
20681 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20682 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20683
20684 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20685 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20686 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20687 Don't do #include_next.
20688 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20689 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20690 Don't do #include_next.
20691 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20692 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20693 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20694 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20695
20696 2014-05-16 Allan McRae <allan@archlinux.org>
20697
20698 * po/sv.po: Update Swedish translation from translation project.
20699
20700 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20701 in sed expression.
20702
20703 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20704
20705 [BZ #16917]
20706 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20707 errno if the TIOCGPTN ioctl fails with an error different than
20708 EINVAL.
20709 * login/tst-ptsname.c: New file.
20710 * login/Makefile (tests): Add tst-ptsname.
20711
20712 [BZ #16943]
20713 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20714 and prlimit64.
20715
20716 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20717
20718 [BZ #16849]
20719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20720 herrno to return EAI_AGAIN.
20721
20722 2014-05-14 Roland McGrath <roland@hack.frob.com>
20723
20724 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20725 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20726 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20727 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20728 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20729 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20730 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20731 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20732 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20733 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20734 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20735 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20736 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20737 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20738 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20739 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20740 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20741 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20742 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20743 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20744 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20745 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20746 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20747 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20748 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20749 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20750 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20751 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20752 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20753 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20755 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20757 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20759 Moved ...
20760 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20762 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20764 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20766 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20768 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20770 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20772 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20774 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20776 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20778 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20780 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20782 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20784 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20786 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20788 Moved ...
20789 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20791 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20793 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20795 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20797 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20799 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20801 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20803 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20805 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20807 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20809 Moved ...
20810 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20812 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20813
20814 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20815 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20816 (libpthread-sysdep_routines): Add elision-related stuff here instead.
20817 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20818 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20819 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20820 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20821 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20822 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20823 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20824 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20825 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20826 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20827 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20828 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20829 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20830 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20831 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20832 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20833 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20834 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20835 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20836 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20837 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20838 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20839 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20840 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20841 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20842 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20843 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20844 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20845
20846 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20847 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20848
20849 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20850 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20851 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20852 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20853 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20854 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20855 Moved ...
20856 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20857 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20858 Moved ...
20859 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20860 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20861 Moved ...
20862 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20863 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20864 Moved ...
20865 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20866 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20867 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20868 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20869 Moved ...
20870 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20871 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20872 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20873 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20874 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20875 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20876 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20877 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20878 Moved ...
20879 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20880 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20881 Moved ...
20882 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20883 ... here.
20884 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20885 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20886 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20887 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20888 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20889 Moved ...
20890 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20891 ... here.
20892 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20893 Moved ...
20894 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20895 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20896 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20897 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20898 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20899 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20900 Moved ...
20901 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20902 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20903 Moved ...
20904 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20905 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20906 Moved ...
20907 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20908 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20909 Moved ...
20910 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20911 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20912 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20913 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20914 Moved ...
20915 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20916 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20917 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20918 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20919 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20920 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20921 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20922 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20923 Moved ...
20924 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20925 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20926 Moved ...
20927 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20928 ... here.
20929 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20930 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20931 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20932 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20933 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20934 Moved ...
20935 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20936 ... here.
20937 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20938 Moved ...
20939 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20940 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20941 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20942 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20943 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20944 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20945 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20946 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20947 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20948 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20949 Moved ...
20950 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20951 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20952 Moved ...
20953 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20954 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20955 Moved ...
20956 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20958 Moved ...
20959 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20960 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20961 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20962 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20963 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20964 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20965 Moved ...
20966 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20967 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20968 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20969 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20970 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20971 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20972 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20973 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20974 Moved ...
20975 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20976 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20977 Moved ...
20978 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20979 ... here.
20980 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20981 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20982 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20983 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20984 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20985 Moved ...
20986 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20987 ... here.
20988 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20989 Moved ...
20990 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20991 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20992 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20993 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20994 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20995 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20996 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20997 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20998 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20999 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21000 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21001
21002 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21003 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21004
21005 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21006 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21007
21008 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21009 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21010 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21011 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21012 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21013 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21014 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21015 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21016 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21017 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21018 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21019 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21020 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21021 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21022 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21023 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21024 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21025 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21026 Moved ...
21027 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21028 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21029 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21030 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21031 Moved ...
21032 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21033 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21034 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21035 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21036 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21037 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21038 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21039 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21040 Moved ...
21041 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21042 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21043 Moved ...
21044 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21045 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21046 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21047 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21048 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21049 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21050 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21051 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21052 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21053 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21054 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21055 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21056 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21057 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21058 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21059 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21060 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21061
21062 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21063 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21064 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21065 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21066 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21067
21068 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21069 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21070 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21071 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21072 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21073 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21074 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21075 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21076 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21077 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21078
21079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21081
21082 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21083 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21084 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21085 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21086 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21087 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21088 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21089 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21090 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21091 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21092 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21093 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21094 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21095 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21097 Update #include.
21098 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21099 Likewise.
21100 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21101 Likewise.
21102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21103 Likewise.
21104 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21105 Likewise.
21106 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21107 Likewise.
21108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21109 Likewise.
21110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21111 Likewise.
21112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21113 Likewise.
21114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21115 Likewise.
21116 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21118 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21119 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21120 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21121 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21122 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21123 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21124 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21125 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21126 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21127 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21128 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21129 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21130 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21131
21132 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21133 that was previously under [RESET_PID].
21134 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21135 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21136 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21137
21138 * sysdeps/i386/nptl/Implies: New file.
21139 * sysdeps/x86_64/nptl/Implies: New file.
21140 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21141 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21142 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21143 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21144
21145 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21146 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21147 (__libc_vfork): New strong alias.
21148 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21149 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21150
21151 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21152 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21153 (__libc_vfork): New strong alias.
21154 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21155 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21156
21157 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21158 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21159 (__libc_vfork): New strong alias.
21160 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21161 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21162 * nptl/pt-vfork.c: New file.
21163 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21164 (libpthread: GLIBC_2.20): New version set (empty).
21165
21166 2014-05-14 Will Newton <will.newton@linaro.org>
21167
21168 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21169 rather than #if.
21170
21171 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21172
21173 [BZ #16564]
21174 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21175 arguments with exponent 65 or above.
21176 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21177 arguments 0x1p113L or above.
21178 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21179 to arguments 0x1p107L or above.
21180 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21181 positive arguments with exponent 65 or above.
21182 * math/auto-libm-test-in: Add more tests of log1p.
21183 * math/auto-libm-test-out: Regenerated.
21184
21185 [BZ #16928]
21186 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21187 non-finite arguments is +0.
21188 * math/s_cacosf.c (__cacosf): Likewise.
21189 * math/s_cacosl.c (__cacosl): Likewise.
21190 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21191 * sysdeps/i386/fpu/libm-test-ulps: Update.
21192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21193
21194 [BZ #16927]
21195 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21196 value.
21197 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21198 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21199 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21200 for explicit high bit of mantissa when testing for argument equal
21201 to 1.
21202 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21203 * sysdeps/i386/fpu/libm-test-ulps: Update.
21204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21205
21206 [BZ #16516]
21207 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21208 (__erf): Scale by 16 instead of 8 in potentially underflowing
21209 case. Ensure exception if result actually underflows.
21210 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21211 (__erff): Scale by 16 instead of 8 in potentially underflowing
21212 case. Ensure exception if result actually underflows.
21213 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21214 (efx8): Remove variable.
21215 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21216 case. Ensure exception if result actually underflows.
21217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21218 (efx8): Remove variable.
21219 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21220 case. Ensure exception if result actually underflows.
21221 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21222 (efx8): Remove variable.
21223 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21224 case. Ensure exception if result actually underflows.
21225 * math/auto-libm-test-in: Add more tests of erf.
21226 * math/auto-libm-test-out: Regenerated.
21227
21228 2014-05-14 Andreas Schwab <schwab@suse.de>
21229
21230 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21231 Remove code conditionalized on USE___THREAD.
21232
21233 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21234 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21235 not definedness.
21236
21237 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21238
21239 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21240 Define unconditionally.
21241 (__ASSUME_O_CLOEXEC): Likewise.
21242 (__ASSUME_SOCK_CLOEXEC): Likewise.
21243 (__ASSUME_IN_NONBLOCK): Likewise.
21244 (__ASSUME_PIPE2): Likewise.
21245 (__ASSUME_EVENTFD2): Likewise.
21246 (__ASSUME_SIGNALFD4): Likewise.
21247 (__ASSUME_DUP3): Likewise.
21248 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21249 (__ASSUME_DUP3): Do not define.
21250 (__ASSUME_EVENTFD2): Likewise.
21251 (__ASSUME_IN_NONBLOCK): Likewise.
21252 (__ASSUME_O_CLOEXEC): Likewise.
21253 (__ASSUME_PIPE2): Likewise.
21254 (__ASSUME_SIGNALFD4): Likewise.
21255 (__ASSUME_SOCK_CLOEXEC): Likewise.
21256 (__ASSUME_UTIMES): Undefine.
21257 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21258 (__ASSUME_UTIMES): Do not define.
21259 (__ASSUME_O_CLOEXEC): Likewise.
21260 (__ASSUME_SOCK_CLOEXEC): Likewise.
21261 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21262 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21263 0x020621].
21264 (__ASSUME_PIPE2): Likewise.
21265 (__ASSUME_EVENTFD2): Likewise.
21266 (__ASSUME_SIGNALFD4): Likewise.
21267 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21268 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21269 Do not define.
21270 (__ASSUME_EVENTFD2): Likewise.
21271 (__ASSUME_SIGNALFD4): Likewise.
21272 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21273 (__ASSUME_32BITUIDS): Likewise.
21274 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21275 (__ASSUME_IPC64): Likewise.
21276 (__ASSUME_ST_INO_64_BIT): Likewise.
21277 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21278 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21279 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21280 (__ASSUME_UTIMES): Do not define.
21281 (__ASSUME_PSELECT): Likewise.
21282 (__ASSUME_PPOLL): Likewise.
21283 (__ASSUME_O_CLOEXEC): Likewise.
21284 (__ASSUME_SOCK_CLOEXEC): Likewise.
21285 (__ASSUME_IN_NONBLOCK): Likewise.
21286 (__ASSUME_PIPE2): Likewise.
21287 (__ASSUME_EVENTFD2): Likewise.
21288 (__ASSUME_SIGNALFD4): Likewise.
21289 (__ASSUME_DUP3): Likewise.
21290 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21291 (__ASSUME_UTIMES): Likewise.
21292 (__ASSUME_O_CLOEXEC): Likewise.
21293 (__ASSUME_SOCK_CLOEXEC): Likewise.
21294 (__ASSUME_IN_NONBLOCK): Likewise.
21295 (__ASSUME_PIPE2): Likewise.
21296 (__ASSUME_EVENTFD2): Likewise.
21297 (__ASSUME_SIGNALFD4): Likewise.
21298 (__ASSUME_DUP3): Likewise.
21299 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21300 (__ASSUME_UTIMES): Likewise.
21301 (__ASSUME_O_CLOEXEC): Likewise.
21302 (__ASSUME_SOCK_CLOEXEC): Likewise.
21303 (__ASSUME_IN_NONBLOCK): Likewise.
21304 (__ASSUME_PIPE2): Likewise.
21305 (__ASSUME_EVENTFD2): Likewise.
21306 (__ASSUME_SIGNALFD4): Likewise.
21307 (__ASSUME_DUP3): Likewise.
21308 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21309 Likewise.
21310 (__ASSUME_UTIMES): Likewise.
21311 (__ASSUME_EVENTFD2): Likewise.
21312 (__ASSUME_SIGNALFD4): Likewise.
21313 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21314 (__ASSUME_O_CLOEXEC): Likewise.
21315 (__ASSUME_SOCK_CLOEXEC): Likewise.
21316 (__ASSUME_IN_NONBLOCK): Likewise.
21317 (__ASSUME_PIPE2): Likewise.
21318 (__ASSUME_EVENTFD2): Likewise.
21319 (__ASSUME_SIGNALFD4): Likewise.
21320 (__ASSUME_DUP3): Likewise.
21321 (__ASSUME_UTIMES): Undefine.
21322
21323 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21324 feclearexcept. Remove symbol versioning code.
21325 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21326 symbol versioning code.
21327 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21328 symbol versioning code.
21329 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21330 feupdateenv. Remove symbol versioning code.
21331 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21332 fegetexceptflag. Remove symbol versioning code.
21333 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21334 fesetexceptflag. Remove symbol versioning code.
21335 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21336 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21337 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21338 (__posix_fadvise64_l32): Remove prototype.
21339 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21340 code.
21341
21342 2014-05-13 Roland McGrath <roland@hack.frob.com>
21343
21344 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21345 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21346 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21347 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21348
21349 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21350
21351 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21352 current working directory
21353
21354 2014-05-13 Roland McGrath <roland@hack.frob.com>
21355
21356 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21357 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21358 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21359 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21360 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21361 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21362 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21363 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21364 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21365 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21366 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21367 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21368 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21369 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21370 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21371 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21372 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21373 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21374 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21375 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21376 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21377 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21378 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21379 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21380 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21381 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21382 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21383 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21384 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21385 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21386 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21387 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21388 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21389 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21390 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21391 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21392 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21393 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21394 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21395 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21396 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21397 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21398
21399 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21400 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21401
21402 * sysdeps/unix/sysv/linux/arm/Makefile
21403 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21404 Add rt-aeabi_unwind_cpp_pr1.
21405 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21406 Add nptl-aeabi_unwind_cpp_pr1.
21407 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21408 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21409 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21410 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21411 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21412 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21413
21414 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21415 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21416 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21417 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21418
21419 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21420 Deconditionalize the code that was previously under [RESET_PID].
21421 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21422
21423 * sysdeps/generic/exit-thread.h: New file.
21424 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21425 * include/unistd.h (__exit_thread): Remove declaration.
21426 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21427 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21428 * csu/libc-start.c: Include <exit-thread.h>.
21429 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21430 * nptl/pthread_create.c: Include <exit-thread.h>.
21431 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21432 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21433 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21434 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21435 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21436 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21437 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21438 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21439 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21440 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21441 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21442 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21443 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21444 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21445 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21446 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21447 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21448
21449 2014-05-13 Andreas Schwab <schwab@suse.de>
21450
21451 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21452
21453 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21454
21455 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21456 (__ASSUME_UTIMES): Do not condition on kernel version.
21457 (__ASSUME_PSELECT): Define unconditionally.
21458 (__ASSUME_PPOLL): Likewise.
21459 (__ASSUME_ATFCTS): Likewise.
21460 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21461 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21462 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21463 (__ASSUME_UTIMENSAT): Define unconditionally.
21464 (__ASSUME_PRIVATE_FUTEX): Likewise.
21465 (__ASSUME_FALLOCATE): Likewise.
21466 (__ASSUME_O_CLOEXEC): Likewise.
21467 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21468 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21469 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21470 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21471 (__ASSUME_IN_NONBLOCK): Likewise.
21472 (__ASSUME_PIPE2): Likewise.
21473 (__ASSUME_EVENTFD2): Likewise.
21474 (__ASSUME_SIGNALFD4): Likewise.
21475 (__ASSUME_DUP3): Likewise.
21476 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21477 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21478 (__ASSUME_AT_RANDOM): Likewise.
21479 (__ASSUME_PREADV): Likewise.
21480 (__ASSUME_PWRITEV): Likewise.
21481 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21482 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21483 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21484 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21485 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21486 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21487 (__ASSUME_O_CLOEXEC): Define unconditionally.
21488 (__ASSUME_PSELECT): Do not undefine conditionally.
21489 (__ASSUME_PPOLL): Likewise.
21490 (__ASSUME_ATFCTS): Likewise.
21491 (__ASSUME_SET_ROBUST_LIST): Likewise.
21492 (__ASSUME_UTIMENSAT): Likewise.
21493 (__ASSUME_FDATASYNC): Define unconditionally.
21494 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21495 (__ASSUME_SIGFRAME_V2): Likewise.
21496 )__ASSUME_EVENTFD2): Likewise.
21497 (__ASSUME_SIGNALFD4): Likewise.
21498 (__ASSUME_PSELECT): Do not undefine conditionally.
21499 (__ASSUME_PPOLL): Likewise.
21500 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21501 (__ASSUME_PSELECT): Define unconditionally.
21502 (__ASSUME_PPOLL): Likewise.
21503 (__ASSUME_O_CLOEXEC): Likewise.
21504 (__ASSUME_SOCK_CLOEXEC): Likewise.
21505 (__ASSUME_IN_NONBLOCK): Likewise.
21506 (__ASSUME_PIPE2): Likewise.
21507 (__ASSUME_EVENTFD2): Likewise.
21508 (__ASSUME_SIGNALFD4): Likewise.
21509 (__ASSUME_DUP3): Likewise.
21510 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21511 (__ASSUME_O_CLOEXEC): Likewise.
21512 (__ASSUME_SOCK_CLOEXEC): Likewise.
21513 (__ASSUME_IN_NONBLOCK): Likewise.
21514 (__ASSUME_PIPE2): Likewise.
21515 (__ASSUME_EVENTFD2): Likewise.
21516 (__ASSUME_SIGNALFD4): Likewise.
21517 (__ASSUME_DUP3): Likewise.
21518 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21519 (__ASSUME_EVENTFD2): Likewise.
21520 (__ASSUME_SIGNALFD4): Likewise.
21521 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21522
21523 2014-05-12 Andreas Schwab <schwab@suse.de>
21524
21525 [BZ #16932]
21526 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21527 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21528 than maximum RPC packet size.
21529 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21530 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21531 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21532 (_nss_nis_getservbyport_r): Likewise.
21533
21534 2014-05-12 Will Newton <will.newton@linaro.org>
21535
21536 * malloc/Makefile (tests): Add tst-mallopt.
21537 * malloc/tst-mallopt.c: New file.
21538
21539 2014-05-09 Roland McGrath <roland@hack.frob.com>
21540
21541 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21542 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21543
21544 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21545
21546 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21547 (tst-tlsmod6.so): Likewise.
21548
21549 2014-05-09 Roland McGrath <roland@hack.frob.com>
21550
21551 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21552
21553 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21554
21555 [BZ #16064]
21556 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21557 and <dl-procinfo.h>.
21558 (__fegetenv): Save SSE state in envp->__eip if supported.
21559 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21560 envp->__eip if supported.
21561 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21562 and <dl-procinfo.h>.
21563 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21564 __data_offset and __data_selector in environment to 0. Set SSE
21565 state if supported.
21566 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21567 test-fenv-sse.
21568 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21569 -mfpmath=sse.
21570 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21571
21572 2014-05-09 Will Newton <will.newton@linaro.org>
21573
21574 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21575 and libc_relro_required for ARM.
21576 * sysdeps/arm/preconfigure: Regenerate.
21577
21578 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21579 Stefan Liebler <stli@linux.vnet.ibm.com>
21580
21581 * config.make.in (enable-lock-elision): New Makefile variable.
21582 * configure.ac: Likewise.
21583 * configure: Regenerate.
21584 * sysdeps/s390/configure.ac:
21585 Add check for gcc transactions support.
21586 * sysdeps/s390/configure: Regenerate.
21587 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21588 Build elision files if enabled.
21589 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21590 Add lock elision support for s390.
21591 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21592 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21593 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21594 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21595 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21596 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21597 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21598 Likewise.
21599 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21600 Likewise.
21601 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21602 Likewise.
21603 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21604 Likewise.
21605 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21606 (__lll_timedlock_elision, __lll_lock_elision)
21607 (__lll_unlock_elision, __lll_trylock_elision)
21608 (lll_timedlock_elision, lll_lock_elision)
21609 (lll_unlock_elision, lll_trylock_elision): Add.
21610 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21611 (pthread_mutex_t): Add lock elision support for s390.
21612
21613 2014-05-14 Wilco <wdijkstr@arm.com>
21614
21615 * sysdeps/arm/fclrexcpt.c: Cleanup.
21616 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21617 * sysdeps/arm/feenablxcpt.c: Cleanup.
21618 * sysdeps/arm/fegetenv.c: Cleanup.
21619 * sysdeps/arm/fegetexcept.c: Cleanup.
21620 * sysdeps/arm/fegetround.c: Cleanup.
21621 * sysdeps/arm/feholdexcpt.c: Cleanup.
21622 * sysdeps/arm/fesetenv.c: Cleanup.
21623 * sysdeps/arm/fesetround.c: Cleanup.
21624 * sysdeps/arm/feupdateenv.c: Cleanup.
21625 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21626 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21627 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21628 * sysdeps/arm/ftestexcept.c: Cleanup.
21629 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21630 * sysdeps/arm/setfpucw.c: Cleanup.
21631
21632 2014-05-09 Will Newton <will.newton@linaro.org>
21633
21634 * sysdeps/arm/armv7/strcmp.S: New file.
21635 * NEWS: Mention addition of ARMv7 optimized strcmp.
21636
21637 2014-05-08 Roland McGrath <roland@hack.frob.com>
21638
21639 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21640 look for %.ac rather than %.in.
21641
21642 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21643 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21644 * sysdeps/mach/hurd/configure: Regenerated.
21645 * sysdeps/unix/sysv/linux/configure: Regenerated.
21646
21647 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21648
21649 2014-05-07 Steve Ellcey <sellcey@mips.com>
21650
21651 [BZ# 16922]
21652 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21653 (LONG_SUB): Ditto.
21654 (PTR_SUB): Ditto.
21655
21656 2014-05-07 Andreas Schwab <schwab@suse.de>
21657
21658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21659 when skipping over non-matching result from nscd.
21660
21661 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21662
21663 [BZ #16876]
21664 * nptl/sockperf.c (client): Check socket return value.
21665
21666 [BZ #16877]
21667 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21668 nscd security class.
21669
21670 2014-05-06 Roland McGrath <roland@hack.frob.com>
21671
21672 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21673 * sysdeps/arm/unwind.h: ... here.
21674
21675 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21676
21677 [BZ# 16916]
21678 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21679 Define.
21680
21681 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21682
21683 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21684 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21685 multiarch strncpy for PPC64.
21686 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21687 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21689 multiarch optimizations.
21690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21691 (__libc_ifunc_impl_list): Likewise.
21692 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21693 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21694 multiarch stpncpy for PPC64.
21695 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21696 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21697
21698 2014-05-06 Andreas Schwab <schwab@suse.de>
21699
21700 [BZ #16912]
21701 * gmon/mcount.c (_MCOUNT_DECL): Use
21702 atomic_compare_and_exchange_bool_acq instead of
21703 catomic_compare_and_exchange_bool_acq.
21704
21705 2014-05-05 Roland McGrath <roland@hack.frob.com>
21706
21707 * elf/Makefile (others, install-bin): Remove pldd.
21708 (pldd-modules): Variable removed.
21709 ($(objpfx)pldd): Target removed.
21710 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21711 (others, install-bin): Append pldd here.
21712 ($(objpfx)pldd): New target.
21713
21714 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21715 to 0, so the first #if test emitted later doesn't see it undefined.
21716 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21717 * sysdeps/gnu/errlist.c: Regenerated.
21718
21719 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21720
21721 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21722 [libc_hidden_builtin_def]: Define to empty value.
21723 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21724 [libc_hidden_builtin_def]: Likewise.
21725 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21726 [libc_hidden_builtin_def]: Likewise.
21727 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21728 [libc_hidden_builtin_def]: Likewise.
21729 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21730 __redirect_memcpy and define ifunc as default hidden symbol.
21731 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21732 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21733
21734 2014-05-04 Adam Conrad <adconrad@0c3.net>
21735
21736 * locale/iso-4217.def: Reintroduce XDR currency.
21737
21738 2014-05-04 Allan McRae <allan@archlinux.org>
21739
21740 * po/eo.po: Update Esperanto translation from translation project.
21741
21742 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21743
21744 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21745 and FEATURE_INDEX_MAX to 1.
21746 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21747
21748 2014-05-01 Steve Ellcey <sellcey@mips.com>
21749
21750 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21751 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21752 * iconvdata/big5.c (ONE_DIRECTION): Define.
21753 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21754 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21755 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21756 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21757 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21758 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21759 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21760 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21761 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21762 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21763 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21764 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21765 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21766 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21767 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21768 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21769 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21770 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21771 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21772 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21773 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21774 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21775 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21776 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21777 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21778 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21779 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21780 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21781 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21782 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21783 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21784 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21785 * iconvdata/johab.c (ONE_DIRECTION): Define.
21786 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21787 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21788 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21789 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21790 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21791 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21792 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21793 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21794 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21795 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21796
21797 2014-05-01 Roland McGrath <roland@hack.frob.com>
21798
21799 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21800 (_IO_JUMPS_OFFSET): Define to 0.
21801
21802 * nptl/sysdeps/pthread/bits/libc-lock.h
21803 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21804 (__libc_lock_define_initialized_recursive): Always define using
21805 initializer. Modern compilers treat uninitialized (implicit zero) and
21806 explicit zero initializers the same (i.e. put the datum in bss).
21807
21808 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21809
21810 * nscd/nscd-client.h: Include <string.h>.
21811
21812 2014-05-01 David S. Miller <davem@davemloft.net>
21813
21814 [BZ #16885]
21815 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21816 multiple zero bytes exist at the end of a string.
21817 Reported by Aurelien Jarno <aurelien@aurel32.net>
21818
21819 * string/test-strcmp.c (check): Add explicit test for situations where
21820 there are multiple zero bytes after the first.
21821
21822 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21823
21824 [BZ #16890]
21825 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21826 when compiling wprintf.
21827 * stdio-common/tstdiomisc.c (t3): New function.
21828 (main): Call it.
21829
21830 2014-05-01 Steve Ellcey <sellcey@mips.com>
21831
21832 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21833 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21834 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21835 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21836
21837 2014-05-01 Steve Ellcey <sellcey@mips.com>
21838
21839 * stdlib/longlong.h: Updated from GCC.
21840
21841 2014-05-01 Will Newton <will.newton@linaro.org>
21842 Bernard Ogden <bernie.ogden@linaro.org>
21843
21844 * NEWS: Update fixed bug list.
21845
21846 [BZ #15119]
21847 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21848
21849 2014-04-30 David S. Miller <davem@davemloft.net>
21850
21851 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21852 (libc_feholdexcept_setround_sparc_ctx): New function.
21853 (libc_fesetenv_sparc_ctx): Likewise.
21854 (libc_feupdateenv_sparc_ctx): Likewise.
21855 (libc_feholdsetround_sparc_ctx): Likewise.
21856 (libc_feholdexcept_setround_ctx): Define.
21857 (libc_feholdexcept_setroundf_ctx): Likewise.
21858 (libc_feholdexcept_setroundl_ctx): Likewise.
21859 (libc_fesetenv_ctx): Likewise.
21860 (libc_fesetenvf_ctx): Likewise.
21861 (libc_fesetenvl_ctx): Likewise.
21862 (libc_feupdateenv_ctx): Likewise.
21863 (libc_feupdateenvf_ctx): Likewise.
21864 (libc_feupdateenvl_ctx): Likewise.
21865 (libc_feresetround_ctx): Likewise.
21866 (libc_feresetroundf_ctx): Likewise.
21867 (libc_feresetroundl_ctx): Likewise.
21868 (libc_feholdsetround_ctx): Likewise.
21869 (libc_feholdsetroundf_ctx): Likewise.
21870 (libc_feholdsetroundl_ctx): Likewise.
21871
21872 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21873 with __USE_GNU instead of XOPEN cpp guards.
21874
21875 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21876 0.
21877
21878 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21879 with XOPEN cpp guards.
21880
21881 2014-04-30 Julian Brown <julian@codesourcery.com>
21882
21883 [BZ #16888]
21884 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21885 handling.
21886
21887 2014-04-30 Joseph Myers <joseph@codesourcery.com>
21888
21889 [BZ #9894]
21890 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21891 Change to 2.6.32.
21892 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21893 * sysdeps/unix/sysv/linux/configure: Regenerated.
21894 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21895 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21896 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21897 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21898 * README: Update reference to required Linux kernel version.
21899 * manual/install.texi (Linux): Update reference to required Linux
21900 kernel headers version.
21901 * INSTALL: Regenerated.
21902
21903 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21904 header inclusion.
21905 [POSIX] (limits.h): Likewise.
21906 [POSIX] (math.h): Likewise.
21907 [POSIX] (sys/wait.h): Likewise.
21908 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21909 function.
21910 [POSIX] (stddef.h): Do not allow header inclusion.
21911
21912 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21913
21914 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21915
21916 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
21917
21918 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21919 Return immediately after lll_futex_wake.
21920
21921 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21922
21923 [BZ #16791]
21924 * nscd/nscd-client.h (datahead_init_common): Initialize entire
21925 structure.
21926 (datahead_init_pos): Call datahead_init_common early.
21927 (datahead_init_neg): Likewise.
21928
21929 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21930 datahead_init_neg): New functions.
21931 * nscd/aicache.c (addhstaiX): Use them.
21932 * nscd/grpcache.c (cache_addgr): Likewise.
21933 * nscd/hstcache.c (cache_addhst): Likewise.
21934 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21935 * nscd/netgroupcache.c (do_notfound): Likewise.
21936 (addgetnetgrentX): Likewise.
21937 (addinnetgrX): Likewise.
21938 * nscd/pwdcache.c (cache_addpw): Likewise.
21939 * nscd/servicescache.c (cache_addserv): Likewise.
21940
21941 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21942 Atsushi Onoe <atsushi@onoe.org>
21943
21944 [BZ #14308]
21945 [BZ #12994]
21946 [BZ #13651]
21947 * resolv/res_query.c (__libc_res_nsearch): Return if at least
21948 one response is valid.
21949 * resolv/res_send.c (send_dg): Check for validity of other
21950 response if the current response is a referral.
21951
21952 2014-04-29 Steve Ellcey <sellcey@mips.com>
21953
21954 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21955
21956 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
21957
21958 [BZ #16823]
21959 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21960 Always divide by positive zero when computing -Inf result.
21961 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21962 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21963
21964 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21965
21966 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21967 FPSCR if value do not change.
21968 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21969 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21970 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21971 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21972 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21973 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21974 function.
21975
21976 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
21977
21978 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21979 * sysdeps/unix/sysv/linux/hppa: Move directory from
21980 ports/systeps/unix/sysv/linux/hppa.
21981 * README: Update listing for hppa-*-linux-gnu.
21982
21983 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
21984
21985 [BZ #16754]
21986 * manual/stdio.texi (Hook functions): Fix types of stream hook
21987 functions.
21988 [BZ #16854]
21989 * socket/sys/socket.h: Fix typo in comment.
21990
21991 2014-04-28 Wilco <wdijkstr@arm.com>
21992
21993 * sysdeps/arm/fenv_private.h: New file.
21994 * sysdeps/arm/math_private.h: New file.
21995 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21996
21997 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
21998
21999 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22000 with __int128_t.
22001 (La_x86_64_retval): Likewise.
22002
22003 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22004
22005 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22006 fpsr if value didn't change.
22007 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22008 to fpcr if value didn't change.
22009 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22010 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22011 fpsr or fpcr if value didn't change.
22012 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22013 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22014 fpcr if value didn't change.
22015 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22016 to fpsr if value didn't change.
22017
22018 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22019
22020 * nptl/tst-sem3.c: Use test-skeleton.c
22021 (main): Rename to do_test. Use return instead of
22022 exit.
22023 * nptl/tst-sem4.c: Use test-skeleton.c
22024 (main): Rename to do_test.
22025
22026 2014-04-22 David S. Miller <davem@davemloft.net>
22027
22028 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22029 (struct sigaction): New struct member __glibc_reserved0, change
22030 type of sa_flags to int.
22031
22032 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22033
22034 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22035 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22036
22037 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22038
22039 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22040 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22041
22042 2014-04-22 Will Newton <will.newton@linaro.org>
22043 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22044
22045 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22046 (__longjmp): Add longjmp and longjmp_target SystemTap
22047 probes.
22048 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22049 (__sigsetjmp): Add setjmp SystemTap probe.
22050
22051 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22052
22053 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22054 match manual order.
22055
22056 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22057
22058 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22059
22060 * sysdeps/powerpc/fpu/fenv_private.h
22061 (libc_feholdexcept_setroundl_ctx): Define to
22062 libc_feholdexcept_setround_ppc_ctx.
22063 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22064 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22065 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22066 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22067
22068 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22069
22070 * sysdeps/aarch64/math-tests.h: New file.
22071
22072 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22073
22074 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22075 New.
22076 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22077 Check and set bit_AVX2_Usable.
22078 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22079 macro.
22080 (bit_AVX2): Likewise.
22081 (index_AVX2_Usable): Likewise.
22082 (CPUID_AVX2): Likewise.
22083 (HAS_AVX2): Likewise.
22084
22085 2014-04-17 Will Newton <will.newton@linaro.org>
22086
22087 * manual/setjmp.texi (System V contexts): Add note that
22088 calling setcontext on a context created by a call to a
22089 signal handler is undefined. Update text to note that
22090 setcontext from a signal handler is possible but not
22091 recommended.
22092
22093 [BZ #16629]
22094 * stdlib/tst-setcontext.c: Include signal.h.
22095 (main): Check that the signal stack before and
22096 after swapcontext is the same.
22097
22098 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22099 Re-implement to restore registers in user code and avoid
22100 rt_sigreturn system call.
22101
22102 2014-04-17 Wilco <wdijkstr@arm.com>
22103
22104 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22105 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22106 * math/test-fenv.c: Skip exception trap tests on targets which only
22107 support non-stop mode.
22108
22109 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22110 Wilco Dijkstra <wilco.dijkstra@arm.com>
22111
22112 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22113 (libc_feholdsetround_aarch64_ctx)
22114 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22115 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22116 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22117 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22118 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22119 (libc_feresetround_noexl_ctx): Define.
22120
22121 2014-04-16 Richard Henderson <rth@redhat.com>
22122
22123 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22124
22125 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22126 unwind tables.
22127
22128 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22129 const from the non-libc, non-ldso copy.
22130
22131 * sysdeps/alpha/libm-test-ulps: Regenerate.
22132
22133 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22134 Wilco Dijkstra <wilco.dijkstra@arm.com>
22135
22136 * sysdeps/aarch64/fpu/math_private.h: New file.
22137
22138 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22139
22140 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22141
22142 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22143
22144 [BZ #16275]
22145 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22146 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22148 Intel MPX bound registers before _dl_profile_fixup.
22149 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22150 registers after _dl_profile_fixup. Save and restore bound
22151 registers bnd0/bnd1 when calling _dl_call_pltexit.
22152 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22153 (LR_BND_OFFSET): Likewise.
22154 (LRV_BND0_OFFSET): Likewise.
22155 (LRV_BND1_OFFSET): Likewise.
22156
22157 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22158
22159 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22160 to...
22161 * sysdeps/mach/hurd/i386/tls.h: ... here.
22162 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22163 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22164 fields.
22165
22166 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22167
22168 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22169
22170 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22171
22172 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22173
22174 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22175
22176 [BZ #14770]
22177 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22178 * sysdeps/s390/configure: Regenerate.
22179
22180 [BZ #16824]
22181 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22182 Set round-to-nearest internally to reduce error accumulation.
22183
22184 2014-04-16 Alan Modra <amodra@gmail.com>
22185
22186 [BZ #16740]
22187 [BZ #16619]
22188 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22189 * math/libm-test.inc (frexp_test_data): Add tests.
22190 * NEWS: Update fixed bug list.
22191
22192 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22193
22194 * benchtests/Makefile: Depend on libraries in build directory.
22195 (bench-math): Separate out math tests.
22196 (bench-pthread): Separate out pthread tests.
22197 (bench): Include math and pthread tests.
22198
22199 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22200
22201 [BZ #16831]
22202 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22203 _dl_debug_initialize.
22204
22205 * configure.ac: Remove SELinux header check.
22206 * configure: Regenerate.
22207 * nscd/selinux.c (perms): Array of const char* to permission names.
22208 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22209 default policy. Call string_to_security_class and string_to_av_perm to
22210 translate strings. Enforce default policy and call avs_has_perm with
22211 results of translated strings.
22212
22213 2014-04-13 David S. Miller <davem@davemloft.net>
22214
22215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22216
22217 2014-04-12 Allan McRae <allan@archlinux.org>
22218
22219 [BZ #16838]
22220 * manual/string.texi (Collation Functions): Fix qsort argument
22221 order in example.
22222 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22223
22224 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22225
22226 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22227 Make the test a no-op if there are no exceptions defined.
22228
22229 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22230
22231 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22232 enable-hardcoded-path-in-tests
22233
22234 2014-04-11 Will Newton <will.newton@linaro.org>
22235
22236 * benchtests/Makefile (extra-objs): Add json-lib.o.
22237 (bench-func): Tidy up JSON output.
22238 * benchtests/bench-skeleton.c: Include json-lib.h.
22239 (main): Use JSON library functions to do output of
22240 benchmark results.
22241 * benchtests/bench-timing-type.c (main): Output the
22242 timing type simply, leaving formatting to the user.
22243 * benchtests/json-lib.c: New file.
22244 * benchtests/json-lib.h: Likewise.
22245
22246 2014-04-11 Torvald Riegel <triegel@redhat.com>
22247
22248 [BZ #15215]
22249 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22250 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22251 memory barriers. Add comments.
22252 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22253 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22254 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22255 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22256 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22257 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22258
22259 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22260
22261 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22262 * sysdeps/s390/s390-64/configure.ac: ... this ...
22263 * sysdeps/s390/configure.ac: ... to here.
22264 * sysdeps/s390/s390-32/configure: Delete file.
22265 * sysdeps/s390/s390-64/configure: Delete file.
22266 * sysdeps/s390/configure: Regenerate.
22267
22268 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22269
22270 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22271
22272 2014-04-11 Will Newton <will.newton@linaro.org>
22273
22274 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22275 to zero if it is not defined elsewhere. (mtrim): Test
22276 the value of MALLOC_DEBUG with #if rather than #ifdef.
22277
22278 2014-04-10 Torvald Riegel <triegel@redhat.com>
22279
22280 * benchtests/pthread_once-inputs: New file.
22281 * benchtests/pthread_once-source.c: New file.
22282 * benchtests/README: Update documentation.
22283
22284 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22285 H.J. Lu <hongjiu.lu@intel.com>
22286
22287 [BZ #16275]
22288 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22289 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22290 * sysdeps/x86_64/configure: Regenerated.
22291 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22292 macro.
22293 (REGISTER_SAVE_RAX): Likewise.
22294 (REGISTER_SAVE_RCX): Likewise.
22295 (REGISTER_SAVE_RDX): Likewise.
22296 (REGISTER_SAVE_RSI): Likewise.
22297 (REGISTER_SAVE_RDI): Likewise.
22298 (REGISTER_SAVE_R8): Likewise.
22299 (REGISTER_SAVE_R9): Likewise.
22300 (REGISTER_SAVE_BND0): Likewise.
22301 (REGISTER_SAVE_BND1): Likewise.
22302 (REGISTER_SAVE_BND2): Likewise.
22303 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22304 bound registers when calling _dl_fixup.
22305
22306 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22307
22308 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22309 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22310 of its definition.
22311 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22312 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22313 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22314 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22315 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22316 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22317 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22318
22319 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22320
22321 [BZ #15514]
22322 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22323 pathconf(_PC_NAME_MAX).
22324
22325 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22326
22327 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22328 Remove macro usage.
22329 (__PTHREAD_SPINS): Move definition to ...
22330 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22331 (__PTHREAD_SPINS): ... here.
22332 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22333 (__PTHREAD_SPIN): Likewise.
22334 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22335 (__PTHREAD_SPIN): Likewise.
22336 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22337 (__PTHREAD_SPIN): Likewise.
22338 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22339 (__PTHREAD_SPIN): Likewise.
22340 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22341 (__PTHREAD_SPIN): Likewise.
22342 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22343 (__PTHREAD_SPIN): Likewise.
22344 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22345 (__PTHREAD_SPIN): Likewise.
22346 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22347 (__PTHREAD_SPIN): Likewise.
22348 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22349 (__PTHREAD_SPIN): Likewise.
22350 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22351 (__PTHREAD_SPIN): Likewise.
22352 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22353 (__PTHREAD_SPIN): Likewise.
22354 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22355 (__PTHREAD_SPIN): Likewise.
22356
22357 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22358 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22359 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22360 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22361 imply folder.
22362 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22363 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22364 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22365 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22366 correct imply path.
22367 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22368 strlen symbol for non multi-arch builds.
22369 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22370 missing hidden_def and weak_alias.
22371
22372 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22373
22374 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22375
22376 2014-04-07 Will Newton <will.newton@linaro.org>
22377
22378 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22379 and contents. [!_LIBC] Remove #ifndef and contents.
22380 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22381 * string/memccpy.c (__memccpy): Use ANSI prototype.
22382 * string/memfrob.c (memfrob): Likewise.
22383 * string/strcoll.c (STRCOLL): Likewise.
22384 * string/strlen.c (strlen): Likewise.
22385 * string/strtok.c (STRTOK): Likewise.
22386 * string/strcat.c: Remove unused #include of memcopy.h.
22387 (strcat): Use ANSI prototype.
22388 * string/strchr.c: Remove unused #include of memcopy.h.
22389 (strchr): Use ANSI prototype.
22390 * string/strcmp.c: Remove unused #include of memcopy.h.
22391 (strcmp): Use ANSI prototype.
22392 * string/strcpy.c: Remove unused #include of memcopy.h.
22393 (strcpy): Use ANSI prototype.
22394
22395 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22396
22397 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22398 * config.make.in (config-extra-cppflags): Set it from
22399 libc_extra_cppflags.
22400 * configure.ac (libc_extra_cflags): Make it accumulate over
22401 configure fragments.
22402 (libc_extra_cppflags): New flag.
22403 * configure. Regenerate.
22404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22405 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22406 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22408
22409 [BZ #16815]
22410 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22411 result for FE_DOWNWARD rounding mode.
22412 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22413 Likewise.
22414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22415
22416 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22417
22418 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22419 in function argument name.
22420
22421 2014-04-03 David Svoboda <svoboda@cert.org>
22422
22423 [BZ #5666]
22424 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22425 explicitly.
22426
22427 2014-04-03 Roland McGrath <roland@hack.frob.com>
22428
22429 * elf/dl-unmap-segments.h: New file.
22430 * sysdeps/generic/ldsodefs.h
22431 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22432 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22433 * elf/dl-fptr.c: Likewise.
22434 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22435 * sysdeps/aarch64/tlsdesc.c: Likewise.
22436 * sysdeps/arm/tlsdesc.c: Likewise.
22437 * sysdeps/i386/tlsdesc.c: Likewise.
22438 * sysdeps/tile/dl-runtime.c: Likewise.
22439 * sysdeps/x86_64/tlsdesc.c: Likewise.
22440 * elf/dl-load.h: New file.
22441 * elf/dl-load.c: Include it.
22442 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22443 Macros moved to dl-load.h.
22444 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22445 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22446 Use _dl_unmap_segments in place of __munmap.
22447 Break out segment-mapping loop into ...
22448 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22449
22450 2014-04-03 Will Newton <will.newton@linaro.org>
22451
22452 * elf/dl-lookup.c (do_lookup_x): Remove comment
22453 referring to nested function and move variable
22454 declarations down to before first use.
22455
22456 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22457
22458 [BZ #16799]
22459 [BZ #16800]
22460 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22461 with 0 numerator.
22462 * math/s_catanf.c (__catanf): Likewise.
22463 * math/s_catanh.c (__catanh): Likewise.
22464 * math/s_catanhf.c (__catanhf): Likewise.
22465 * math/s_catanhl.c (__catanhl): Likewise.
22466 * math/s_catanl.c (__catanl): Likewise.
22467 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22468 by positive zero when computing -Inf result.
22469 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22470 (catanh_test): Likewise.
22471 * sysdeps/i386/fpu/libm-test-ulps: Update.
22472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22473
22474 [BZ #16789]
22475 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22476 instead of using underflowing value in computing result.
22477 * math/s_clog10.c (__clog10): Likewise.
22478 * math/s_clog10f.c (__clog10f): Likewise.
22479 * math/s_clog10l.c (__clog10l): Likewise.
22480 * math/s_clogf.c (__clogf): Likewise.
22481 * math/s_clogl.c (__clogl): Likewise.
22482 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22483 (clog10_test): Likewise.
22484 * sysdeps/i386/fpu/libm-test-ulps: Update.
22485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22486
22487 2014-04-02 Alan Modra <amodra@gmail.com>
22488
22489 [BZ #16739]
22490 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22491 output when value is near a power of two. Use int64_t for lx and
22492 remove casts. Use decimal rather than hex exponent constants.
22493 Don't use long double multiplication when double will suffice.
22494 * math/libm-test.inc (nextafter_test_data): Add tests.
22495 * NEWS: Add 16739 and 16786 to bug list.
22496
22497 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22498
22499 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22500
22501 2014-04-01 Will Newton <will.newton@linaro.org>
22502
22503 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22504 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22505
22506 2014-04-01 Florian Weimer <fweimer@redhat.com>
22507
22508 [BZ #13347]
22509 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22510 * nptl/tst-setuid2.c: New file.
22511 * nptl/Makefile (xtests): Add tst-setuid2.
22512
22513 2014-04-01 Alan Modra <amodra@gmail.com>
22514
22515 [BZ #16786]
22516 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22517
22518 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22519
22520 [BZ #6803]
22521 [BZ #6804]
22522 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22523 set errno as appropriate.
22524 * math/w_scalbf.c (__scalbf): Likewise.
22525 * math/w_scalbl.c (__scalbl): Likewise.
22526 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22527 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22528 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22529 Add more NaN tests.
22530
22531 [BZ #16349]
22532 * math/w_atan2.c: Include <errno.h>.
22533 (__atan2): Set errno for result underflowing to zero.
22534 * math/w_atan2f.c: Include <errno.h>.
22535 (__atan2f): Set errno for result underflowing to zero.
22536 * math/w_atan2l.c: Include <errno.h>.
22537 (__atan2l): Set errno for result underflowing to zero.
22538 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22539 tests.
22540 * math/auto-libm-test-out: Regenerated.
22541
22542 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22543
22544 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22545 Encode instruction correctly in little endian.
22546 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22547 Likewise.
22548 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22549 Likewise.
22550 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22551 Likewise.
22552 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22553 Likewise.
22554
22555 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22556
22557 [BZ #9894]
22558 * sysdeps/unix/sysv/linux/kernel-features.h
22559 [__sparc__ && !__arch64__ && !__sparc_v9__]
22560 (__ASSUME_SET_ROBUST_LIST): Do not define.
22561 [__sparc__ && !__arch64__ && !__sparc_v9__]
22562 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22563 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22564 Likewise.
22565 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22566 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22567 (__ASSUME_REQUEUE_PI): Likewise.
22568 (__ASSUME_SET_ROBUST_LIST): Likewise.
22569 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22570 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22571 Undefine.
22572 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22573 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22574 Likewise.
22575 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22576 Likewise.
22577 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22578 Likewise.
22579 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22580 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22581 Undefine.
22582 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22583 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22584 Likewise.
22585
22586 [BZ #16648]
22587 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22588 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22589 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22590
22591 2014-03-31 Will Newton <will.newton@linaro.org>
22592
22593 * benchtests/Makefile (bench): Add ffs and ffsll to list
22594 of tests.
22595 * benchtests/ffs-inputs: New file.
22596 * benchtests/ffsll-inputs: Likewise.
22597
22598 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22599
22600 [BZ #16770]
22601 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22602 too large before casting to int.
22603 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22604 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22605 * math/libm-test.inc (scalb_test_data): Add more tests.
22606
22607 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22608
22609 * benchtests/Makefile (DETAILED_OPT): New make option.
22610 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22611 set.
22612 * benchtests/bench-skeleton.c: Include stdbool.h.
22613 (main): Store and print timings per input.
22614 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22615 member to each argument value.
22616 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22617 (_print_arg_data): Initialize per-input timing to 0.
22618
22619 * benchtests/Makefile (timing-type): New binary.
22620 (bench-clean): Also remove bench-timing-type.
22621 (bench): New target for timing-type.
22622 (bench-func): Print output in JSON format.
22623 * benchtests/bench-skeleton.c (main): Print output in JSON
22624 format.
22625 * benchtests/bench-timing-type.c: New file.
22626 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22627 (TIMING_PRINT_STATS): Remove.
22628 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22629 name separately.
22630
22631 * benchtests/bench-modf.c: Remove.
22632 * benchtests/modf-inputs: New inputs file.
22633
22634 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22635
22636 [BZ #16362]
22637 * math/s_clog10.c (M_PI_LOG10E): New macro.
22638 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22639 imaginary parts are 0.
22640 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22641 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22642 imaginary parts are 0.
22643 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22644 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22645 imaginary parts are 0.
22646 * math/libm-test.inc (clog10_test_data): Update expected results
22647 for when real and imaginary parts are 0.
22648
22649 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22650
22651 * elf/dl-load.c: Finish conversion of __builtin_expect into
22652 __glibc_{un}likely.
22653
22654 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22655
22656 [BZ #16348]
22657 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22658 1+x for argument with exponent below -67.
22659 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22660 Likewise.
22661 * math/auto-libm-test-in: Add more tests of exp.
22662 * math/auto-libm-test-out: Regenerated.
22663
22664 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22665
22666 [BZ #16759]
22667 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22668 (nscd_getnetgrent): Use it.
22669
22670 [BZ #16760]
22671 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22672 of stpcpy.
22673
22674 2014-03-27 Andi Kleen <ak@linux.intel.com>
22675
22676 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22677 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22678 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22679 (lll_robust_unlock): Remove out of line section. Use cfi
22680 intrinsics.
22681 (LLL_STUB_UNWIND_INFO*): Remove.
22682 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22683 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22684 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22685 (lll_robust_unlock): Remove out of line section. Use cfi
22686 intrinsics.
22687 (LLL_STUB_UNWIND_INFO*): Remove.
22688
22689 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22690
22691 [BZ #16758]
22692 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22693 blank values.
22694
22695 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22696
22697 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22698
22699 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22700
22701 [BZ #16198]
22702 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22703 fnstenv.
22704 * math/test-fenv-preserve.c: New file.
22705 * math/Makefile (tests): Add test-fenv-preserve.
22706
22707 2014-03-26 Will Newton <will.newton@linaro.org>
22708
22709 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22710
22711 2014-03-25 Roland McGrath <roland@hack.frob.com>
22712
22713 * scripts/versionlist.awk: Partition the version sets and emit all
22714 GLIBC_* (sorted) before all others (sorted).
22715
22716 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22717
22718 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22719 GLIBC_2.2.5 version.
22720
22721 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22722
22723 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22724 calls.
22725
22726 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22727 previous change.
22728
22729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22730
22731 2014-03-25 Andreas Schwab <schwab@suse.de>
22732
22733 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22734 label to be used after in6ailist is initialized.
22735
22736 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22737
22738 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22739 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22740
22741 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22742
22743 [BZ #16357]
22744 [BZ #16599]
22745 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22746 min_plus_half.
22747 (fp_formats): Update initializers.
22748 (init_fp_formats): Initialize new field.
22749 (output_for_one_input_case): Allow underflow for results up to
22750 min_plus_half.
22751 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22752 * math/auto-libm-test-in: Don't mark some underflows from asin and
22753 atanh as spurious.
22754 * math/auto-libm-test-out: Regenerated.
22755 * sysdeps/i386/fpu/libm-test-ulps: Update.
22756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22757
22758 2014-03-25 Andreas Schwab <schwab@suse.de>
22759
22760 * libio/Makefile (tst-ftell-partial-wide-ENV)
22761 (tst-ftell-active-handler-ENV): Define.
22762
22763 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22764
22765 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22766
22767 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22768
22769 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22770
22771 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22772
22773 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22774 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22775 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22776
22777 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22778
22779 [BZ #16634]
22780 * elf/dl-load.c (open_verify): Add mode parameter.
22781 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22782 (open_path): Change from boolean 'secure' to complete flag 'mode'
22783 (_dl_map_object): Adjust.
22784 * elf/Makefile (tests): Add tst-dlopen-aout.
22785 * elf/tst-dlopen-aout.c: New test.
22786
22787 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22788
22789 [BZ #16714]
22790 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22791 (struct stat): Rename member pad0 to __glibc_reserved0.
22792
22793 [BZ #16712]
22794 * sysdeps/s390/s390-32/bits/wordsize.h
22795 (__WORDSIZE32_SIZE_ULONG): New define.
22796 * sysdeps/s390/s390-64/bits/wordsize.h
22797 (__WORDSIZE32_SIZE_ULONG): Likewise.
22798 * sysdeps/generic/stdint.h (SIZE_MAX):
22799 Define as UL if __WORDSIZE32_SIZE_ULONG.
22800
22801 [BZ #16713]
22802 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22803 (__glibc_reserved0): New variable.
22804 (sa_flags): Change type to int.
22805
22806 * posix/Makefile (before-compile): Use += before-compile instead
22807 of a :=.
22808
22809 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22810 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22811
22812 2014-03-20 Andreas Schwab <schwab@suse.de>
22813
22814 [BZ #16743]
22815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22816 non-matching result from nscd.
22817
22818 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22819
22820 * scripts/bench.py: Moved to ...
22821 * benchtests/scripts/bench.py: ... here.
22822 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22823
22824 2014-03-24 Andreas Schwab <schwab@suse.de>
22825
22826 [BZ #16002]
22827 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22828 alloca_account and account alloca use for struct in6ailist.
22829
22830 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22831
22832 [BZ #16284]
22833 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22834 rounding mode to recompute results that overflow to infinity or
22835 underflow to zero.
22836 * math/auto-libm-test-in: Don't mark tests as expected to fail for
22837 bug 16284.
22838 * math/auto-libm-test-out: Regenerated.
22839 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22840 (ccosh_test): Likewise.
22841 (csin_test_data): Use plus_oflow.
22842 (csin_test): Use ALL_RM_TEST.
22843 (csinh_test_data): Use plus_oflow.
22844 (csinh_test): Use ALL_RM_TEST.
22845 * sysdeps/i386/fpu/libm-test-ulps: Update.
22846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22847
22848 2014-03-21 Joseph Myers <joseph@codesourcery.com>
22849
22850 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22851 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22852 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22853
22854 [BZ #16731]
22855 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22856 when x - 1 is zero.
22857 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22858 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22859 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22860 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22861 argument is 1.
22862 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22863 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22864 zero.
22865 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22866 * sysdeps/i386/fpu/libm-test-ulps: Update.
22867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22868
22869 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22870
22871 * scripts/bench.pl: Remove file.
22872 * scripts/bench.py: New benchmark script.
22873 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22874 * benchtests/README: Mention python dependency.
22875 * scripts/pylintrc: New file.
22876 * scripts/pylint: New file.
22877
22878 * bits/mathdef.h: Use #ifdef instead of #if.
22879 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22880 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22881 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22882 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22883 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22884 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22885
22886 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22887 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22888
22889 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22891 and strpbrk-ppc64 objects.
22892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22893 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22894 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22895 multiarch strpbrk for POWER7.
22896 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22897 multiarch strpbrk for PPC64.
22898 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22899 ifunc selector.
22900 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22901 strpbrk for POWER7.
22902
22903 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22904
22905 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22906 (atan_test): Likewise.
22907 (atanh_test_data): Use NO_TEST_INLINE for two tests.
22908 (atanh_test): Use ALL_RM_TEST.
22909 (atan2_test_data): Likewise.
22910 (cabs_test): Likewise.
22911 (cacosh_test): Likewise.
22912 (carg_test): Likewise.
22913 (casin_test): Likewise.
22914 (casinh_test): Likewise.
22915 (cbrt_test): Likewise.
22916 (csqrt_test): Likewise.
22917 (erf_test): Likewise.
22918 (erfc_test): Likewise.
22919 (pow10_test): Likewise.
22920 (exp2_test): Likewise.
22921 (hypot_test): Likewise.
22922 (j0_test): Likewise.
22923 (j1_test): Likewise.
22924 (lgamma_test): Likewise.
22925 (gamma_test): Likewise.
22926 (sincos_test): Likewise.
22927 (tanh_test): Likewise.
22928 (y0_test): Likewise.
22929 (y1_test): Likewise.
22930 * sysdeps/i386/fpu/libm-test-ulps: Update.
22931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22932
22933 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22934
22935 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22937 and strcspn-ppc64 objects.
22938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22939 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22940 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22941 multiarch strcspn for POWER7.
22942 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22943 multiarch strcspn for PPC64.
22944 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22945 ifunc selector.
22946 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22947 strcspn for POWER7.
22948
22949 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22950
22951 * math/gen-libm-test.pl (generate_testfile): Expect only function
22952 name as argument to AUTO_TESTS_* and pass results for all rounding
22953 modes to parse_args.
22954 (parse_auto_input): Separate inputs of automatic tests from
22955 outputs before storing in %auto_tests.
22956 * math/libm-test.inc (acos_test_data): Update call to
22957 AUTO_TESTS_f_f.
22958 (acos_test): Use ALL_RM_TEST.
22959 (acos_tonearest_test_data): Remove.
22960 (acos_test_tonearest): Likewise.
22961 (acos_towardzero_test_data): Likewise.
22962 (acos_test_towardzero): Likewise.
22963 (acos_downward_test_data): Likewise.
22964 (acos_test_downward): Likewise.
22965 (acos_upward_test_data): Likewise.
22966 (acos_test_upward): Likewise.
22967 (acosh_test_data): Update call to AUTO_TESTS_f_f.
22968 (asin_test_data): Likewise.
22969 (asin_test): Use ALL_RM_TEST.
22970 (asin_tonearest_test_data): Remove.
22971 (asin_test_tonearest): Likewise.
22972 (asin_towardzero_test_data): Likewise.
22973 (asin_test_towardzero): Likewise.
22974 (asin_downward_test_data): Likewise.
22975 (asin_test_downward): Likewise.
22976 (asin_upward_test_data): Likewise.
22977 (asin_test_upward): Likewise.
22978 (asinh_test_data): Update call to AUTO_TESTS_f_f.
22979 (atan_test_data): Likewise.
22980 (atanh_test_data): Likewise.
22981 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22982 (cabs_test_data): Update call to AUTO_TESTS_c_f.
22983 (carg_test_data): Likewise.
22984 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22985 (ccos_test_data): Update call to AUTO_TESTS_c_c.
22986 (ccosh_test_data): Likewise.
22987 (cexp_test_data): Likewise.
22988 (clog_test_data): Likewise.
22989 (clog10_test_data): Likewise.
22990 (cos_test_data): Update call to AUTO_TESTS_f_f.
22991 (cos_test): Use ALL_RM_TEST.
22992 (cos_tonearest_test_data): Remove.
22993 (cos_test_tonearest): Likewise.
22994 (cos_towardzero_test_data): Likewise.
22995 (cos_test_towardzero): Likewise.
22996 (cos_downward_test_data): Likewise.
22997 (cos_test_downward): Likewise.
22998 (cos_upward_test_data): Likewise.
22999 (cos_test_upward): Likewise.
23000 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23001 (cosh_test): Use ALL_RM_TEST.
23002 (cosh_tonearest_test_data): Remove.
23003 (cosh_test_tonearest): Likewise.
23004 (cosh_towardzero_test_data): Likewise.
23005 (cosh_test_towardzero): Likewise.
23006 (cosh_downward_test_data): Likewise.
23007 (cosh_test_downward): Likewise.
23008 (cosh_upward_test_data): Likewise.
23009 (cosh_test_upward): Likewise.
23010 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23011 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23012 (ctan_test_data): Likewise.
23013 (ctan_test): Use ALL_RM_TEST.
23014 (ctan_tonearest_test_data): Remove.
23015 (ctan_test_tonearest): Likewise.
23016 (ctan_towardzero_test_data): Likewise.
23017 (ctan_test_towardzero): Likewise.
23018 (ctan_downward_test_data): Likewise.
23019 (ctan_test_downward): Likewise.
23020 (ctan_upward_test_data): Likewise.
23021 (ctan_test_upward): Likewise.
23022 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23023 (ctanh_test): Use ALL_RM_TEST.
23024 (ctanh_tonearest_test_data): Remove.
23025 (ctanh_test_tonearest): Likewise.
23026 (ctanh_towardzero_test_data): Likewise.
23027 (ctanh_test_towardzero): Likewise.
23028 (ctanh_downward_test_data): Likewise.
23029 (ctanh_test_downward): Likewise.
23030 (ctanh_upward_test_data): Likewise.
23031 (ctanh_test_upward): Likewise.
23032 (erf_test_data): Update call to AUTO_TESTS_f_f.
23033 (erfc_test_data): Likewise.
23034 (exp_test_data): Likewise.
23035 (exp_test): Use ALL_RM_TEST.
23036 (exp_tonearest_test_data): Remove.
23037 (exp_test_tonearest): Likewise.
23038 (exp_towardzero_test_data): Likewise.
23039 (exp_test_towardzero): Likewise.
23040 (exp_downward_test_data): Likewise.
23041 (exp_test_downward): Likewise.
23042 (exp_upward_test_data): Likewise.
23043 (exp_test_upward): Likewise.
23044 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23045 (exp10_test): Use ALL_RM_TEST.
23046 (exp10_tonearest_test_data): Remove.
23047 (exp10_test_tonearest): Likewise.
23048 (exp10_towardzero_test_data): Likewise.
23049 (exp10_test_towardzero): Likewise.
23050 (exp10_downward_test_data): Likewise.
23051 (exp10_test_downward): Likewise.
23052 (exp10_upward_test_data): Likewise.
23053 (exp10_test_upward): Likewise.
23054 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23055 (expm1_test_data): Likewise.
23056 (expm1_test): Use ALL_RM_TEST.
23057 (expm1_tonearest_test_data): Remove.
23058 (expm1_test_tonearest): Likewise.
23059 (expm1_towardzero_test_data): Likewise.
23060 (expm1_test_towardzero): Likewise.
23061 (expm1_downward_test_data): Likewise.
23062 (expm1_test_downward): Likewise.
23063 (expm1_upward_test_data): Likewise.
23064 (expm1_test_upward): Likewise.
23065 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23066 (fma_test): Use ALL_RM_TEST.
23067 (fma_towardzero_test_data): Remove.
23068 (fma_test_towardzero): Likewise.
23069 (fma_downward_test_data): Likewise.
23070 (fma_test_downward): Likewise.
23071 (fma_upward_test_data): Likewise.
23072 (fma_test_upward): Likewise.
23073 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23074 (j0_test_data): Update call to AUTO_TESTS_f_f.
23075 (j1_test_data): Likewise.
23076 (jn_test_data): Update call to AUTO_TESTS_if_f.
23077 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23078 (log_test_data): Update call to AUTO_TESTS_f_f.
23079 (log10_test_data): Likewise.
23080 (log1p_test_data): Likewise.
23081 (log2_test_data): Likewise.
23082 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23083 (pow_tonearest_test_data): Likewise.
23084 (sin_test_data): Update call to AUTO_TESTS_f_f.
23085 (sin_test): Use ALL_RM_TEST.
23086 (sin_tonearest_test_data): Remove.
23087 (sin_test_tonearest): Likewise.
23088 (sin_towardzero_test_data): Likewise.
23089 (sin_test_towardzero): Likewise.
23090 (sin_downward_test_data): Likewise.
23091 (sin_test_downward): Likewise.
23092 (sin_upward_test_data): Likewise.
23093 (sin_test_upward): Likewise.
23094 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23095 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23096 (sinh_test): Use ALL_RM_TEST.
23097 (sinh_tonearest_test_data): Remove.
23098 (sinh_test_tonearest): Likewise.
23099 (sinh_towardzero_test_data): Likewise.
23100 (sinh_test_towardzero): Likewise.
23101 (sinh_downward_test_data): Likewise.
23102 (sinh_test_downward): Likewise.
23103 (sinh_upward_test_data): Likewise.
23104 (sinh_test_upward): Likewise.
23105 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23106 (sqrt_test): Use ALL_RM_TEST.
23107 (sqrt_tonearest_test_data): Remove.
23108 (sqrt_test_tonearest): Likewise.
23109 (sqrt_towardzero_test_data): Likewise.
23110 (sqrt_test_towardzero): Likewise.
23111 (sqrt_downward_test_data): Likewise.
23112 (sqrt_test_downward): Likewise.
23113 (sqrt_upward_test_data): Likewise.
23114 (sqrt_test_upward): Likewise.
23115 (tan_test_data): Update call to AUTO_TESTS_f_f.
23116 (tan_test): Use ALL_RM_TEST.
23117 (tan_tonearest_test_data): Remove.
23118 (tan_test_tonearest): Likewise.
23119 (tan_towardzero_test_data): Likewise.
23120 (tan_test_towardzero): Likewise.
23121 (tan_downward_test_data): Likewise.
23122 (tan_test_downward): Likewise.
23123 (tan_upward_test_data): Likewise.
23124 (tan_test_upward): Likewise.
23125 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23126 (tgamma_test_data): Likewise.
23127 (y0_test_data): Likewise.
23128 (y1_test_data): Likewise.
23129 (yn_test_data): Update call to AUTO_TESTS_if_f.
23130 (main): Do not call removed functions.
23131
23132 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23133
23134 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23135 (ldexp_test_data): Remove.
23136 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23137 scalbn_test_data.
23138 (scalb_test): Use ALL_RM_TEST.
23139
23140 2014-03-19 Andreas Schwab <schwab@suse.de>
23141
23142 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23143
23144 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23145
23146 [BZ #16649]
23147 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23148 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23149 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23150 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23151 (__ASSUME_PREADV): Undefine.
23152 (__ASSUME_PWRITEV): Likewise.
23153
23154 2014-03-18 Roland McGrath <roland@hack.frob.com>
23155
23156 * bits/mman-linux.h: Add comment about non-Linux use.
23157 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23158 bits/mman-linux.h resting place.
23159
23160 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23161 * bits/mman-linux.h: ... here.
23162
23163 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23164
23165 * conform/conformtest.pl: Add standard definition when calling C
23166 preprocessor on data files.
23167 (checknamespace): Remove unused variable.
23168
23169 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23170
23171 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23172 minus_oflow, plus_uflow and minus_uflow in expected results.
23173 * math/libm-test.inc (scalbn_test_data): Add more tests of
23174 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23175 minus_uflow.
23176 (scalbn_test): Use ALL_RM_TEST.
23177 (scalbln_test_data): Add more tests of negative arguments. Use
23178 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23179 (scalbln_test): Use ALL_RM_TEST.
23180
23181 2014-03-18 Roland McGrath <roland@hack.frob.com>
23182
23183 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23184
23185 2014-03-18 Will Newton <will.newton@linaro.org>
23186
23187 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23188 inaccurate comment.
23189
23190 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23191
23192 * Makerules [!subdir] (check-abi): Exit with error status if a
23193 test failed.
23194
23195 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23196
23197 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23198 for rint. Include results for all rounding modes.
23199 (nearbyint_test): Use ALL_RM_TEST.
23200 (rint_test_data): Include all tests used for nearbyint.
23201
23202 2014-03-17 Will Newton <will.newton@linaro.org>
23203
23204 * nptl/sysdeps/pthread/pthread.h: Revert previous
23205 change.
23206
23207 * sysdeps/generic/ldsodefs.h: Revert previous
23208 change.
23209
23210 * libio/genops.c: Revert previous change.
23211 * libio/libioP.h: Likewise.
23212 * stdio-common/vfprintf.c: Likewise.
23213
23214 * sysdeps/generic/math_private.h: Revert previous
23215 change.
23216
23217 * sysdeps/generic/math_private.h: Check whether
23218 HAVE_RM_CTX is defined with #ifdef rather
23219 than #if.
23220
23221 * argp/argp-fmtstream.h: Check whether
23222 __STRICT_ANSI__ is defined with #ifdef rather
23223 than #if.
23224 * argp/argp.h: Likewise.
23225
23226 * libio/genops.c: Check whether
23227 _IO_JUMPS_OFFSET is defined with #ifdef rather
23228 than #if.
23229 * libio/libioP.h: Likewise.
23230 * stdio-common/vfprintf.c: Likewise.
23231
23232 * sysdeps/generic/ldsodefs.h: Check whether
23233 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23234 than #if.
23235
23236 * nptl/sysdeps/pthread/pthread.h: Check
23237 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23238 its value.
23239
23240 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23241
23242 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23243 setting O_APPEND.
23244 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23245 test case.
23246
23247 [BZ #16680]
23248 * libio/fileops.c (_IO_file_open): Seek to end of file but
23249 don't cache the offset.
23250 (get_file_offset): Remove function.
23251 (do_ftell): Use cached offset when available.
23252 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23253 don't cache the offset.
23254 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23255 case.
23256 (do_one_test): Call it.
23257 (do_ftell_test): Fix up expected old offset for a+ mode.
23258 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23259 available.
23260
23261 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23262 up test status with function return status.
23263 (do_write_test): Likewise.
23264 (do_append_test): Likewise.
23265
23266 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23267 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23268 Remove.
23269
23270 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23271
23272 * math/gen-libm-test.pl (parse_args): Handle results specified for
23273 each rounding mode separately.
23274 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23275 tests and results from lrint_tonearest_test_data,
23276 lrint_towardzero_test_data, lrint_downward_test_data and
23277 lrint_upward_test_data.
23278 (lrint_test): Use ALL_RM_TEST.
23279 (lrint_tonearest_test_data): Remove.
23280 (lrint_test_tonearest): Likewise.
23281 (lrint_towardzero_test_data): Likewise.
23282 (lrint_test_towardzero): Likewise.
23283 (lrint_downward_test_data): Likewise.
23284 (lrint_test_downward): Likewise.
23285 (lrint_upward_test_data): Likewise.
23286 (lrint_test_upward): Likewise.
23287 (llrint_test_data): Merge in per-rounding-mode tests and results
23288 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23289 llrint_downward_test_data and llrint_upward_test_data.
23290 (llrint_test): Use ALL_RM_TEST.
23291 (llrint_tonearest_test_data): Remove.
23292 (llrint_test_tonearest): Likewise.
23293 (llrint_towardzero_test_data): Likewise.
23294 (llrint_test_towardzero): Likewise.
23295 (llrint_downward_test_data): Likewise.
23296 (llrint_test_downward): Likewise.
23297 (llrint_upward_test_data): Likewise.
23298 (llrint_test_upward): Likewise.
23299 (rint_test_data): Merge in per-rounding-mode tests and results
23300 from rint_tonearest_test_data, rint_towardzero_test_data,
23301 rint_downward_test_data and rint_upward_test_data. Add
23302 per-rounding-mode results for tests not in those arrays.
23303 (rint_test): Use ALL_RM_TEST.
23304 (rint_tonearest_test_data): Remove.
23305 (rint_test_tonearest): Likewise.
23306 (rint_towardzero_test_data): Likewise.
23307 (rint_test_towardzero): Likewise.
23308 (rint_downward_test_data): Likewise.
23309 (rint_test_downward): Likewise.
23310 (rint_upward_test_data): Likewise.
23311 (rint_test_upward): Likewise.
23312 (main): Don't call removed functions.
23313
23314 2014-03-14 Roland McGrath <roland@hack.frob.com>
23315
23316 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23317 "Compiled on ..." crapola. It is anti-useful.
23318
23319 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23320
23321 * scripts/evaluate-test.sh: Handle fourth argument to determine
23322 whether test run should stop on failure.
23323 * Makeconfig (stop-on-test-failure): New variable.
23324 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23325 $(stop-on-test-failure).
23326 * Makefile (tests): Give a summary of results from testing and
23327 exit with failure status if they include an ERROR or FAIL.
23328 (xtests): Likewise.
23329 * manual/install.texi (Configuring and compiling): Mention
23330 stop-on-test-failure=y.
23331 * INSTALL: Regenerated.
23332
23333 2014-03-14 Roland McGrath <roland@hack.frob.com>
23334
23335 * scripts/versionlist.awk: New file.
23336 * Makerules [$(build-shared) = yes]
23337 (postclean-generated): Add Versions.def, not Versions.def.v and
23338 Versions.def.v.i.
23339 ($(common-objpfx)Versions.def.v.i): Target removed.
23340 ($(common-objpfx)Versions.def): New target.
23341 ($(common-objpfx)Versions.all): Depend on that rather that
23342 $(common-objpfx)Versions.def.v.
23343 * Versions.def: File removed.
23344
23345 * Makeconfig (+gccwarn): Add -Wundef.
23346 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23347 a dl-sysdep.h breaking its contract.
23348 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23349 * include/stackinfo.h: New file.
23350 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23351 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23352 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23353 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23354 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23355 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23356 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23357 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23358 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23359 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23360 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23361 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23362 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23363 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23364 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23365
23366 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23367
23368 [BZ #16707]
23369 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23370 implementation.
23371 * math/libm-test.inc (round_test_data): Add more tests.
23372
23373 [BZ #16706]
23374 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23375 implementation.
23376 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23377
23378 [BZ #16701]
23379 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23380 implementation.
23381 * math/libm-test.inc (ceil_test_data): Add more tests.
23382
23383 * math/libm-test.inc (trunc_test_data): Add more tests related to
23384 BZ#16414.
23385
23386 2014-03-14 Roland McGrath <roland@hack.frob.com>
23387
23388 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23389 with #if rather than #ifdef.
23390 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23391
23392 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23393
23394 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23395 first. Disable AVX-512 GCC support if assembler doesn't support
23396 it.
23397 * sysdeps/x86_64/configure: Regenerated.
23398
23399 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23400
23401 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23402 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23403 (__old_pthread_attr_setstack): Likewise.
23404 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23405 [!_STACK_GROWS_DOWN]: Likewise.
23406
23407 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23408
23409 * config.make.in (have-bash2): Delete.
23410 * configure.ac (libc_cv_have_bash2): Delete.
23411 * configure: Regenerate.
23412 * elf/Makefile (common-ldd-rewrite): Rename to ...
23413 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23414 (sh-ldd-rewrite): Delete.
23415 (bash-ldd-rewrite): Delete.
23416 (have-bash2): Delete checks.
23417 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23418 ldd-rewrite.
23419
23420 * config.make.in (have-ksh): Delete.
23421 (KSH): Delete.
23422 * configure.ac (libc_cv_have_ksh): Delete.
23423 * configure: Regenerate.
23424
23425 * elf/Makefile: Delete $(have-ksh) check.
23426 ($(objpfx)sotruss): Change KSH to BASH.
23427 * elf/sotruss.ksh: Rename to ...
23428 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23429 function style to match POSIX. Drop ksh vim mode setting.
23430
23431 * manual/time.texi (Specifying the Time Zone with TZ): Change
23432 Tuesday to Thursday.
23433
23434 * debug/tst-longjmp_chk2.c: Update header comment.
23435 (stackoverflow_handler): Add comment. Call assert on pass value.
23436
23437 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23438
23439 [BZ #16194]
23440 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23441 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23442 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23443 (La_x86_64_vector): Add zmm.
23444 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23445 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23446 ($(objpfx)tst-audit10): New target.
23447 ($(objpfx)tst-audit10.out): Likewise.
23448 (tst-audit10-ENV): New.
23449 (AVX512-CFLAGS): Likewise.
23450 (CFLAGS-tst-audit10.c): Likewise.
23451 (CFLAGS-tst-auditmod10a.c): Likewise.
23452 (CFLAGS-tst-auditmod10b.c): Likewise.
23453 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23454 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23455 * sysdeps/x86_64/configure: Regenerated.
23456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23457 AVX-512 zmm register support.
23458 (_dl_x86_64_save_sse): Likewise.
23459 (_dl_x86_64_restore_sse): Likewise.
23460 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23461 size vector registers.
23462 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23463 (ZMM_SIZE): Likewise.
23464 * sysdeps/x86_64/tst-audit10.c: New file.
23465 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23466 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23467
23468 2014-03-13 Roland McGrath <roland@hack.frob.com>
23469
23470 * configure.ac (HAVE_EHDR_START): New check.
23471 * configure: Regenerated.
23472 * config.h.in (HAVE_EHDR_START): New #undef.
23473 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23474 assuming the lowest-addressed segment maps the start of the file.
23475
23476 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23477
23478 * INSTALL: Regenerated.
23479
23480 2014-03-13 Will Newton <will.newton@linaro.org>
23481
23482 * manual/setjmp.texi (System V contexts): Improve
23483 clarity and grammar of documentation.
23484
23485 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23486
23487 [BZ #16381]
23488 * elf/Makefile (tests): Add tst-pie2.
23489 (tests-pie): Add tst-pie2.
23490 * elf/tst-pie2.c: New file.
23491 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23492 for ET_EXEC.
23493 * elf/rtld.c (map_doit): Load executable as lt_executable.
23494 (dl_main): Likewise.
23495
23496 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23497
23498 [BZ #16642]
23499 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23500 (__ASSUME_PSELECT): Undefine.
23501
23502 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23503
23504 [BZ #16689]
23505 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23506 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23507 static build.
23508 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23509 selector for static builds.
23510
23511 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23512
23513 [BZ #16695]
23514 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23515 key in the buffer.
23516
23517 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23518
23519 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23520 IFUNC selector for static builds.
23521
23522 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23523
23524 * sysdeps/mips/math_private.h [__mips_hard_float]
23525 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23526 libc_feresetround_mips_ctx.
23527 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23528 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23529 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23530
23531 [BZ #16677]
23532 * math/s_nextafter.c (__nextafter): Do not return value from
23533 overflowing computation.
23534 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23535 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23536 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23537 Likewise.
23538 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23539 Likewise.
23540 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23541 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23542
23543 2014-03-11 Roland McGrath <roland@hack.frob.com>
23544
23545 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23546 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23547 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23548 the new mov targetting sp.
23549
23550 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23551
23552 [BZ #16683]
23553 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23554 Define it for static builds as well.
23555 (NO_BZERO_IMPL): Likewise.
23556
23557 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23558
23559 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23560 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23561 multiarch strspn for PPC64.
23562 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23563 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23565 (__libc_ifunc_impl_list): Likewise.
23566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23567 multiarch optimizations
23568 * string/strspn.c (strspn): Using macro to redefine symbol name.
23569
23570 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23571 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23572
23573 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23574 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23575 multiarch strncat for PPC64.
23576 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23577 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23579 (__libc_ifunc_impl_list): Likewise.
23580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23581 multiarch optimizations
23582
23583 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23584
23585 [BZ #16639]
23586 * nscd/nscd.service: Make service type forking.
23587
23588 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23589
23590 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23591 sign in non default rounding modes.
23592 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23593
23594 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23595
23596 * math/libm-test.inc (ALL_RM_TEST): New macro.
23597 (ceil_test): Use ALL_RM_TEST.
23598 (cimag_test): Likewise.
23599 (conj_test): Likewise.
23600 (copysign_test): Likewise.
23601 (cproj_test): Likewise.
23602 (creal_test): Likewise.
23603 (fabs_test): Likewise.
23604 (floor_test): Likewise.
23605 (fmax_test): Likewise.
23606 (fmin_test): Likewise.
23607 (fmod_test): Likewise.
23608 (fpclassify_test): Likewise.
23609 (frexp_test): Likewise.
23610 (ilogb_test): Likewise.
23611 (isfinite_test): Likewise.
23612 (finite_test): Likewise.
23613 (isgreater_test): Likewise.
23614 (isgreaterequal_test): Likewise.
23615 (isinf_test): Likewise.
23616 (isless_test): Likewise.
23617 (islessequal_test): Likewise.
23618 (islessgreater_test): Likewise.
23619 (isnan_test): Likewise.
23620 (isnormal_test): Likewise.
23621 (issignaling_test): Likewise.
23622 (isunordered_test): Likewise.
23623 (logb_test): Likewise.
23624 (logb_downward_test_data): Remove.
23625 (logb_test_downward): Likewise.
23626 (lround_test): Use ALL_RM_TEST.
23627 (llround_test): Likewise.
23628 (modf_test): Likewise.
23629 (nexttoward_test): Likewise.
23630 (remainder_test): Likewise.
23631 (drem_test): Likewise.
23632 (remainder_tonearest_test_data): Likewise.
23633 (remainder_test_tonearest): Likewise.
23634 (drem_test_tonearest): Likewise.
23635 (remainder_towardzero_test_data): Likewise.
23636 (remainder_test_towardzero): Likewise.
23637 (drem_test_towardzero): Likewise.
23638 (remainder_downward_test_data): Likewise.
23639 (remainder_test_downward): Likewise.
23640 (drem_test_downward): Likewise.
23641 (remainder_upward_test_data): Likewise.
23642 (remainder_test_upward): Likewise.
23643 (drem_test_upward): Likewise.
23644 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23645 (round_test): Use ALL_RM_TEST.
23646 (signbit_test): Likewise.
23647 (trunc_test): Likewise.
23648 (significand_test): Likewise.
23649 (main): Don't call removed functions.
23650
23651 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23652
23653 [BZ #16674]
23654 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23655 || __USE_XOPEN2K8].
23656 (ILL_ILLOPN): Likewise.
23657 (ILL_ILLADR): Likewise.
23658 (ILL_ILLTRP): Likewise.
23659 (ILL_PRVOPC): Likewise.
23660 (ILL_PRVREG): Likewise.
23661 (ILL_COPROC): Likewise.
23662 (ILL_BADSTK): Likewise.
23663 (FPE_INTDIV): Likewise.
23664 (FPE_INTOVF): Likewise.
23665 (FPE_FLTDIV): Likewise.
23666 (FPE_FLTOVF): Likewise.
23667 (FPE_FLTUND): Likewise.
23668 (FPE_FLTRES): Likewise.
23669 (FPE_FLTINV): Likewise.
23670 (FPE_FLTSUB): Likewise.
23671 (SEGV_MAPERR): Likewise.
23672 (SEGV_ACCERR): Likewise.
23673 (BUS_ADRALN): Likewise.
23674 (BUS_ADRERR): Likewise.
23675 (BUS_OBJERR): Likewise.
23676 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23677 (TRAP_TRACE): Likewise.
23678 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23679 __USE_XOPEN2K8].
23680 (CLD_KILLED): Likewise.
23681 (CLD_DUMPED): Likewise.
23682 (CLD_TRAPPED): Likewise.
23683 (CLD_STOPPED): Likewise.
23684 (CLD_CONTINUED): Likewise.
23685 (POLL_IN): Likewise.
23686 (POLL_OUT): Likewise.
23687 (POLL_MSG): Likewise.
23688 (POLL_ERR): Likewise.
23689 (POLL_PRI): Likewise.
23690 (POLL_HUP): Likewise.
23691 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23692 Likewise.
23693 (ILL_ILLOPN): Likewise.
23694 (ILL_ILLADR): Likewise.
23695 (ILL_ILLTRP): Likewise.
23696 (ILL_PRVOPC): Likewise.
23697 (ILL_PRVREG): Likewise.
23698 (ILL_COPROC): Likewise.
23699 (ILL_BADSTK): Likewise.
23700 (FPE_INTDIV): Likewise.
23701 (FPE_INTOVF): Likewise.
23702 (FPE_FLTDIV): Likewise.
23703 (FPE_FLTOVF): Likewise.
23704 (FPE_FLTUND): Likewise.
23705 (FPE_FLTRES): Likewise.
23706 (FPE_FLTINV): Likewise.
23707 (FPE_FLTSUB): Likewise.
23708 (SEGV_MAPERR): Likewise.
23709 (SEGV_ACCERR): Likewise.
23710 (BUS_ADRALN): Likewise.
23711 (BUS_ADRERR): Likewise.
23712 (BUS_OBJERR): Likewise.
23713 (BUS_MCEERR_AR): Likewise.
23714 (BUS_MCEERR_AO): Likewise.
23715 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23716 (TRAP_TRACE): Likewise.
23717 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23718 __USE_XOPEN2K8].
23719 (CLD_KILLED): Likewise.
23720 (CLD_DUMPED): Likewise.
23721 (CLD_TRAPPED): Likewise.
23722 (CLD_STOPPED): Likewise.
23723 (CLD_CONTINUED): Likewise.
23724 (POLL_IN): Likewise.
23725 (POLL_OUT): Likewise.
23726 (POLL_MSG): Likewise.
23727 (POLL_ERR): Likewise.
23728 (POLL_PRI): Likewise.
23729 (POLL_HUP): Likewise.
23730 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23731 (ILL_ILLOPN): Likewise.
23732 (ILL_ILLADR): Likewise.
23733 (ILL_ILLTRP): Likewise.
23734 (ILL_PRVOPC): Likewise.
23735 (ILL_PRVREG): Likewise.
23736 (ILL_COPROC): Likewise.
23737 (ILL_BADSTK): Likewise.
23738 (FPE_INTDIV): Likewise.
23739 (FPE_INTOVF): Likewise.
23740 (FPE_FLTDIV): Likewise.
23741 (FPE_FLTOVF): Likewise.
23742 (FPE_FLTUND): Likewise.
23743 (FPE_FLTRES): Likewise.
23744 (FPE_FLTINV): Likewise.
23745 (FPE_FLTSUB): Likewise.
23746 (SEGV_MAPERR): Likewise.
23747 (SEGV_ACCERR): Likewise.
23748 (BUS_ADRALN): Likewise.
23749 (BUS_ADRERR): Likewise.
23750 (BUS_OBJERR): Likewise.
23751 (BUS_MCEERR_AR): Likewise.
23752 (BUS_MCEERR_AO): Likewise.
23753 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23754 (TRAP_TRACE): Likewise.
23755 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23756 __USE_XOPEN2K8].
23757 (CLD_KILLED): Likewise.
23758 (CLD_DUMPED): Likewise.
23759 (CLD_TRAPPED): Likewise.
23760 (CLD_STOPPED): Likewise.
23761 (CLD_CONTINUED): Likewise.
23762 (POLL_IN): Likewise.
23763 (POLL_OUT): Likewise.
23764 (POLL_MSG): Likewise.
23765 (POLL_ERR): Likewise.
23766 (POLL_PRI): Likewise.
23767 (POLL_HUP): Likewise.
23768 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23769 Likewise.
23770 (ILL_ILLOPN): Likewise.
23771 (ILL_ILLADR): Likewise.
23772 (ILL_ILLTRP): Likewise.
23773 (ILL_PRVOPC): Likewise.
23774 (ILL_PRVREG): Likewise.
23775 (ILL_COPROC): Likewise.
23776 (ILL_BADSTK): Likewise.
23777 (ILL_BADIADDR): Likewise.
23778 (ILL_BREAK): Likewise.
23779 (FPE_INTDIV): Likewise.
23780 (FPE_INTOVF): Likewise.
23781 (FPE_FLTDIV): Likewise.
23782 (FPE_FLTOVF): Likewise.
23783 (FPE_FLTUND): Likewise.
23784 (FPE_FLTRES): Likewise.
23785 (FPE_FLTINV): Likewise.
23786 (FPE_FLTSUB): Likewise.
23787 (FPE_DECOVF): Likewise.
23788 (FPE_DECDIV): Likewise.
23789 (FPE_DECERR): Likewise.
23790 (FPE_INVASC): Likewise.
23791 (FPE_INVDEC): Likewise.
23792 (SEGV_MAPERR): Likewise.
23793 (SEGV_ACCERR): Likewise.
23794 (SEGV_PSTKOVF): Likewise.
23795 (BUS_ADRALN): Likewise.
23796 (BUS_ADRERR): Likewise.
23797 (BUS_OBJERR): Likewise.
23798 (BUS_MCEERR_AR): Likewise.
23799 (BUS_MCEERR_AO): Likewise.
23800 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23801 (TRAP_TRACE): Likewise.
23802 (TRAP_BRANCH): Likewise.
23803 (TRAP_HWBKPT): Likewise.
23804 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23805 __USE_XOPEN2K8].
23806 (CLD_KILLED): Likewise.
23807 (CLD_DUMPED): Likewise.
23808 (CLD_TRAPPED): Likewise.
23809 (CLD_STOPPED): Likewise.
23810 (CLD_CONTINUED): Likewise.
23811 (POLL_IN): Likewise.
23812 (POLL_OUT): Likewise.
23813 (POLL_MSG): Likewise.
23814 (POLL_ERR): Likewise.
23815 (POLL_PRI): Likewise.
23816 (POLL_HUP): Likewise.
23817 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23818 (ILL_ILLOPN): Likewise.
23819 (ILL_ILLADR): Likewise.
23820 (ILL_ILLTRP): Likewise.
23821 (ILL_PRVOPC): Likewise.
23822 (ILL_PRVREG): Likewise.
23823 (ILL_COPROC): Likewise.
23824 (ILL_BADSTK): Likewise.
23825 (FPE_INTDIV): Likewise.
23826 (FPE_INTOVF): Likewise.
23827 (FPE_FLTDIV): Likewise.
23828 (FPE_FLTOVF): Likewise.
23829 (FPE_FLTUND): Likewise.
23830 (FPE_FLTRES): Likewise.
23831 (FPE_FLTINV): Likewise.
23832 (FPE_FLTSUB): Likewise.
23833 (SEGV_MAPERR): Likewise.
23834 (SEGV_ACCERR): Likewise.
23835 (BUS_ADRALN): Likewise.
23836 (BUS_ADRERR): Likewise.
23837 (BUS_OBJERR): Likewise.
23838 (BUS_MCEERR_AR): Likewise.
23839 (BUS_MCEERR_AO): Likewise.
23840 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23841 (TRAP_TRACE): Likewise.
23842 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23843 __USE_XOPEN2K8].
23844 (CLD_KILLED): Likewise.
23845 (CLD_DUMPED): Likewise.
23846 (CLD_TRAPPED): Likewise.
23847 (CLD_STOPPED): Likewise.
23848 (CLD_CONTINUED): Likewise.
23849 (POLL_IN): Likewise.
23850 (POLL_OUT): Likewise.
23851 (POLL_MSG): Likewise.
23852 (POLL_ERR): Likewise.
23853 (POLL_PRI): Likewise.
23854 (POLL_HUP): Likewise.
23855 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23856 (ILL_ILLOPN): Likewise.
23857 (ILL_ILLADR): Likewise.
23858 (ILL_ILLTRP): Likewise.
23859 (ILL_PRVOPC): Likewise.
23860 (ILL_PRVREG): Likewise.
23861 (ILL_COPROC): Likewise.
23862 (ILL_BADSTK): Likewise.
23863 (FPE_INTDIV): Likewise.
23864 (FPE_INTOVF): Likewise.
23865 (FPE_FLTDIV): Likewise.
23866 (FPE_FLTOVF): Likewise.
23867 (FPE_FLTUND): Likewise.
23868 (FPE_FLTRES): Likewise.
23869 (FPE_FLTINV): Likewise.
23870 (FPE_FLTSUB): Likewise.
23871 (SEGV_MAPERR): Likewise.
23872 (SEGV_ACCERR): Likewise.
23873 (BUS_ADRALN): Likewise.
23874 (BUS_ADRERR): Likewise.
23875 (BUS_OBJERR): Likewise.
23876 (BUS_MCEERR_AR): Likewise.
23877 (BUS_MCEERR_AO): Likewise.
23878 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23879 (TRAP_TRACE): Likewise.
23880 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23881 __USE_XOPEN2K8].
23882 (CLD_KILLED): Likewise.
23883 (CLD_DUMPED): Likewise.
23884 (CLD_TRAPPED): Likewise.
23885 (CLD_STOPPED): Likewise.
23886 (CLD_CONTINUED): Likewise.
23887 (POLL_IN): Likewise.
23888 (POLL_OUT): Likewise.
23889 (POLL_MSG): Likewise.
23890 (POLL_ERR): Likewise.
23891 (POLL_PRI): Likewise.
23892 (POLL_HUP): Likewise.
23893 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23894 (ILL_ILLOPN): Likewise.
23895 (ILL_ILLADR): Likewise.
23896 (ILL_ILLTRP): Likewise.
23897 (ILL_PRVOPC): Likewise.
23898 (ILL_PRVREG): Likewise.
23899 (ILL_COPROC): Likewise.
23900 (ILL_BADSTK): Likewise.
23901 (FPE_INTDIV): Likewise.
23902 (FPE_INTOVF): Likewise.
23903 (FPE_FLTDIV): Likewise.
23904 (FPE_FLTOVF): Likewise.
23905 (FPE_FLTUND): Likewise.
23906 (FPE_FLTRES): Likewise.
23907 (FPE_FLTINV): Likewise.
23908 (FPE_FLTSUB): Likewise.
23909 (SEGV_MAPERR): Likewise.
23910 (SEGV_ACCERR): Likewise.
23911 (BUS_ADRALN): Likewise.
23912 (BUS_ADRERR): Likewise.
23913 (BUS_OBJERR): Likewise.
23914 (BUS_MCEERR_AR): Likewise.
23915 (BUS_MCEERR_AO): Likewise.
23916 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23917 (TRAP_TRACE): Likewise.
23918 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23919 __USE_XOPEN2K8].
23920 (CLD_KILLED): Likewise.
23921 (CLD_DUMPED): Likewise.
23922 (CLD_TRAPPED): Likewise.
23923 (CLD_STOPPED): Likewise.
23924 (CLD_CONTINUED): Likewise.
23925 (POLL_IN): Likewise.
23926 (POLL_OUT): Likewise.
23927 (POLL_MSG): Likewise.
23928 (POLL_ERR): Likewise.
23929 (POLL_PRI): Likewise.
23930 (POLL_HUP): Likewise.
23931 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23932 (ILL_ILLOPN): Likewise.
23933 (ILL_ILLADR): Likewise.
23934 (ILL_ILLTRP): Likewise.
23935 (ILL_PRVOPC): Likewise.
23936 (ILL_PRVREG): Likewise.
23937 (ILL_COPROC): Likewise.
23938 (ILL_BADSTK): Likewise.
23939 (ILL_DBLFLT): Likewise.
23940 (ILL_HARDWALL): Likewise.
23941 (FPE_INTDIV): Likewise.
23942 (FPE_INTOVF): Likewise.
23943 (FPE_FLTDIV): Likewise.
23944 (FPE_FLTOVF): Likewise.
23945 (FPE_FLTUND): Likewise.
23946 (FPE_FLTRES): Likewise.
23947 (FPE_FLTINV): Likewise.
23948 (FPE_FLTSUB): Likewise.
23949 (SEGV_MAPERR): Likewise.
23950 (SEGV_ACCERR): Likewise.
23951 (BUS_ADRALN): Likewise.
23952 (BUS_ADRERR): Likewise.
23953 (BUS_OBJERR): Likewise.
23954 (BUS_MCEERR_AR): Likewise.
23955 (BUS_MCEERR_AO): Likewise.
23956 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23957 (TRAP_TRACE): Likewise.
23958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23959 __USE_XOPEN2K8].
23960 (CLD_KILLED): Likewise.
23961 (CLD_DUMPED): Likewise.
23962 (CLD_TRAPPED): Likewise.
23963 (CLD_STOPPED): Likewise.
23964 (CLD_CONTINUED): Likewise.
23965 (POLL_IN): Likewise.
23966 (POLL_OUT): Likewise.
23967 (POLL_MSG): Likewise.
23968 (POLL_ERR): Likewise.
23969 (POLL_PRI): Likewise.
23970 (POLL_HUP): Likewise.
23971 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23972 (ILL_ILLOPN): Likewise.
23973 (ILL_ILLADR): Likewise.
23974 (ILL_ILLTRP): Likewise.
23975 (ILL_PRVOPC): Likewise.
23976 (ILL_PRVREG): Likewise.
23977 (ILL_COPROC): Likewise.
23978 (ILL_BADSTK): Likewise.
23979 (FPE_INTDIV): Likewise.
23980 (FPE_INTOVF): Likewise.
23981 (FPE_FLTDIV): Likewise.
23982 (FPE_FLTOVF): Likewise.
23983 (FPE_FLTUND): Likewise.
23984 (FPE_FLTRES): Likewise.
23985 (FPE_FLTINV): Likewise.
23986 (FPE_FLTSUB): Likewise.
23987 (SEGV_MAPERR): Likewise.
23988 (SEGV_ACCERR): Likewise.
23989 (BUS_ADRALN): Likewise.
23990 (BUS_ADRERR): Likewise.
23991 (BUS_OBJERR): Likewise.
23992 (BUS_MCEERR_AR): Likewise.
23993 (BUS_MCEERR_AO): Likewise.
23994 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23995 (TRAP_TRACE): Likewise.
23996 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23997 __USE_XOPEN2K8].
23998 (CLD_KILLED): Likewise.
23999 (CLD_DUMPED): Likewise.
24000 (CLD_TRAPPED): Likewise.
24001 (CLD_STOPPED): Likewise.
24002 (CLD_CONTINUED): Likewise.
24003 (POLL_IN): Likewise.
24004 (POLL_OUT): Likewise.
24005 (POLL_MSG): Likewise.
24006 (POLL_ERR): Likewise.
24007 (POLL_PRI): Likewise.
24008 (POLL_HUP): Likewise.
24009 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24010 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24011
24012 [BZ #16670]
24013 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24014 before #include of <time.h>.
24015 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24016 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24017 (test-xfail-UNIX98/sched.h/conform): Likewise.
24018
24019 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24020
24021 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24022 error absence of trapping exception support.
24023 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24024
24025 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24026
24027 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24028 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24029 * timezone/Makefile (testdata): Move definition above include of
24030 Rules.
24031 (test-zones): New variable.
24032 (tests-special): Add zone files.
24033 (build-testdata): Use $(evaluate-test).
24034
24035 * elf/Makefile (tests-special): Rename tests to end with .out.
24036 ($(objpfx)noload-mem): Likewise.
24037 ($(objpfx)tst-leaks1-mem): Likewise.
24038 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24039 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24040 $(objpfx)test-iconvconfig.out.
24041 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24042 set -e inside subshell and redirect output to file.
24043 * iconvdata/Makefile (generated): Rename tests to end with .out.
24044 Correct type.
24045 (tests-special): Rename tests to end with .out.
24046 ($(objpfx)mtrace-tst-loading): Likewise.
24047 * intl/Makefile (generated): Likewise.
24048 (tests-special): Likewise.
24049 ($(objpfx)mtrace-tst-gettext): Likewise.
24050 * misc/Makefile (generated): Likewise.
24051 (tests-special): Likewise.
24052 ($(objpfx)tst-error1-mem): Likewise.
24053 * nptl/Makefile (tests-special): Likewise.
24054 ($(objpfx)tst-stack3-mem): Likewise.
24055 (generated): Likewise.
24056 * posix/Makefile (generated): Likewise.
24057 (tests-special): Likewise.
24058 (xtests-special): Likewise.
24059 ($(objpfx)tst-fnmatch-mem): Likewise.
24060 ($(objpfx)bug-regex2-mem): Likewise.
24061 ($(objpfx)bug-regex14-mem): Likewise.
24062 ($(objpfx)bug-regex21-mem): Likewise.
24063 ($(objpfx)bug-regex31-mem): Likewise.
24064 ($(objpfx)tst-vfork3-mem): Likewise.
24065 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24066 ($(objpfx)tst-pcre-mem): Likewise.
24067 ($(objpfx)tst-boost-mem): Likewise.
24068 ($(objpfx)bug-ga2-mem): Likewise.
24069 ($(objpfx)bug-glob2-mem): Likewise.
24070 * resolv/Makefile (generate): Likewise.
24071 (tests-special): Likewise.
24072 (xtests-special): Likewise.
24073 (generated): Likewise.
24074 ($(objpfx)mtrace-tst-leaks): Likewise.
24075 ($(objpfx)mtrace-tst-leaks2): Likewise.
24076
24077 * scripts/merge-test-results.sh: New file.
24078 * Makefile (tests-special-notdir): New variable.
24079 (tests): Run merge-test-results.sh.
24080 (xtests): Likewise.
24081 * Rules (tests-special-notdir): New variable.
24082 (xtests-special-notdir): Likewise.
24083 (tests): Run merge-test-results.sh
24084 (xtests): Likewise.
24085
24086 * Makeconfig (test-xfail-name): New variable.
24087 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24088 compute variable name for expected failures.
24089 * conform/Makefile (conformtest-headers-data): New variable.
24090 (conformtest-standards): Likewise.
24091 (conformtest-headers-ISO): Likewise.
24092 (conformtest-headers-ISO99): Likewise.
24093 (conformtest-headers-ISO11): Likewise.
24094 (conformtest-headers-POSIX): Likewise.
24095 (conformtest-headers-XPG3): Likewise.
24096 (conformtest-headers-XPG4): Likewise.
24097 (conformtest-headers-UNIX98): Likewise.
24098 (conformtest-headers-XOPEN2K): Likewise.
24099 (conformtest-headers-POSIX2008): Likewise.
24100 (conformtest-headers-XOPEN2K8): Likewise.
24101 (conformtest-header-list-base): Likewise.
24102 (conformtest-header-list-tests): Likewise.
24103 (conformtest-header-base): Likewise.
24104 (conformtest-header-tests): Likewise.
24105 (tests-special): Add $(conformtest-header-list-tests). If
24106 [$(fast-check) && !$(cross-compiling)], add
24107 $(conformtest-header-tests) instead of
24108 $(objpfx)run-conformtest.out.
24109 (generated): Add $(conformtest-header-list-base). If
24110 [$(fast-check) && !$(cross-compiling)], add
24111 $(conformtest-header-base). Remove previous setting.
24112 ($(conformtest-header-list-tests)): New target.
24113 (test-xfail-run-conformtest): Remove variable.
24114 ($(objpfx)run-conformtest.out): Remove target.
24115 (test-xfail-ISO11/complex.h/conform): New variable.
24116 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24117 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24118 (test-xfail-XPG3/varargs.h/conform): Likewise.
24119 (test-xfail-XPG4/varargs.h/conform): Likewise.
24120 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24121 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24122 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24123 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24124 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24125 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24126 (test-xfail-XPG3/ftw.h/conform): Likewise.
24127 (test-xfail-XPG3/grp.h/conform): Likewise.
24128 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24129 (test-xfail-XPG3/limits.h/conform): Likewise.
24130 (test-xfail-XPG3/pwd.h/conform): Likewise.
24131 (test-xfail-XPG3/search.h/conform): Likewise.
24132 (test-xfail-XPG3/signal.h/conform): Likewise.
24133 (test-xfail-XPG3/stdio.h/conform): Likewise.
24134 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24135 (test-xfail-XPG3/string.h/conform): Likewise.
24136 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24137 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24138 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24139 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24140 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24141 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24142 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24143 (test-xfail-XPG3/termios.h/conform): Likewise.
24144 (test-xfail-XPG3/time.h/conform): Likewise.
24145 (test-xfail-XPG3/unistd.h/conform): Likewise.
24146 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24147 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24148 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24149 (test-xfail-XPG4/netdb.h/conform): Likewise.
24150 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24151 (test-xfail-XPG4/signal.h/conform): Likewise.
24152 (test-xfail-XPG4/stdio.h/conform): Likewise.
24153 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24154 (test-xfail-XPG4/stropts.h/conform): Likewise.
24155 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24156 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24157 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24158 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24159 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24160 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24161 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24162 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24163 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24164 (test-xfail-XPG4/termios.h/conform): Likewise.
24165 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24166 (test-xfail-XPG4/unistd.h/conform): Likewise.
24167 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24168 (test-xfail-POSIX/sched.h/conform): Likewise.
24169 (test-xfail-POSIX/signal.h/conform): Likewise.
24170 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24171 (test-xfail-POSIX/tar.h/conform): Likewise.
24172 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24173 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24174 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24175 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24176 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24177 (test-xfail-UNIX98/sched.h/conform): Likewise.
24178 (test-xfail-UNIX98/signal.h/conform): Likewise.
24179 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24180 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24181 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24182 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24183 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24184 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24185 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24186 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24187 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24188 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24189 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24190 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24191 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24192 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24193 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24194 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24195 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24196 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24197 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24198 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24199 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24200 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24201 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24202 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24203 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24204 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24205 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24206 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24207 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24208 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24209 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24210 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24211 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24212 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24213 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24214 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24215 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24216 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24217 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24218 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24219 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24220 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24221 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24222 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24223 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24224 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24225 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24226 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24227 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24228 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24229 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24230 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24231 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24232 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24233 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24234 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24235 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24236 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24237 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24238 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24239 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24240 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24241 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24242 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24243 (conformtest-cc-flags): Likewise.
24244 ($(conformtest-header-tests): New target.
24245 * conform/check-header-lists.sh: New file.
24246 * conform/run-conformtest.sh: Remove.
24247
24248 * conform/conformtest.pl: Allow ' and \ in values given for
24249 constants.
24250 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24251 inclusion.
24252 [POSIX] (sys/types.h): Likewise.
24253 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24254 inclusion.
24255 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24256 inclusion.
24257 * conform/data/signal.h-data (SIGIO): Remove expectation.
24258 [XPG3] (SIGBUS): Do not expect.
24259 [POSIX || XPG3] (SIGPOLL): Likewise.
24260 [POSIX || XPG3] (SIGPROF): Likewise.
24261 [POSIX || XPG3] (SIGSYS): Likewise.
24262 [XPG3] (SIGTRAP): Likewise.
24263 [POSIX || XPG3] (SIGURG): Likewise.
24264 [POSIX || XPG3] (SIGVTALRM): Likewise.
24265 [POSIX || XPG3] (SIGXCPU): Likewise.
24266 [POSIX || XPG3] (SIGXFSZ): Likewise.
24267 [POSIX] (SA_SIGINFO): Expect.
24268 [XPG3] (siginfo_t): Do not expect type or contents.
24269 [POSIX] (si_pid): Do not expect element.
24270 [POSIX] (si_uid): Likewise.
24271 [POSIX] (si_addr): Likewise.
24272 [POSIX] (si_status): Likewise.
24273 [POSIX] (si_band): Likewise.
24274 [XPG4] (si_value): Likewise.
24275 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24276 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24277 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24278 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24279 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24280 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24281 [POSIX || XPG3] (ILL_COPROC): Likewise.
24282 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24283 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24284 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24285 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24286 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24287 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24288 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24289 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24290 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24291 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24292 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24293 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24294 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24295 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24296 [POSIX || XPG3] (CLD_EXITED): Likewise.
24297 [POSIX || XPG3] (CLD_KILLED): Likewise.
24298 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24299 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24300 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24301 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24302 [POSIX || XPG3] (POLL_IN): Likewise.
24303 [POSIX || XPG3] (POLL_OUT): Likewise.
24304 [POSIX || XPG3] (POLL_MSG): Likewise.
24305 [POSIX || XPG3] (POLL_ERR): Likewise.
24306 [POSIX || XPG3] (POLL_PRI): Likewise.
24307 [POSIX || XPG3] (POLL_HUP): Likewise.
24308 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24309 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24310 (SIG*): Do not allow.
24311 [XPG3] (si_*): Likewise.
24312 [XPG3] (SI_*): Likewise.
24313 [XPG3 || XPG4] (sigev_*): Likewise.
24314 [XPG3 || XPG4] (SIGEV_*): Likewise.
24315 [XPG3 || XPG4] (sival_*): Likewise.
24316 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24317 [POSIX || XPG3] (BUS_*): Likewise.
24318 [POSIX || XPG3] (CLD_*): Likewise.
24319 [POSIX || XPG3] (FPE_*): Likewise.
24320 [POSIX || XPG3] (ILL_*): Likewise.
24321 [POSIX || XPG3] (POLL_*): Likewise.
24322 [POSIX || XPG3] (SEGV_*): Likewise.
24323 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24324 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24325 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24326 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24327 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24328 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24329 Specify type and value.
24330 (TVERSLEN): Likewise.
24331 (REGTYPE): Likewise.
24332 (AREGTYPE): Likewise.
24333 (LNKTYPE): Likewise.
24334 (SYMTYPE): Likewise.
24335 (CHRTYPE): Likewise.
24336 (BLKTYPE): Likewise.
24337 (DIRTYPE): Likewise.
24338 (FIFOTYPE): Likewise.
24339 (CONTTYPE): Likewise.
24340 (TSUID): Likewise.
24341 (TSGID): Likewise.
24342 (TSVTX): Likewise.
24343 (TUREAD): Likewise.
24344 (TUWRITE): Likewise.
24345 (TUEXEC): Likewise.
24346 (TGREAD): Likewise.
24347 (TGWRITE): Likewise.
24348 (TGEXEC): Likewise.
24349 (TOREAD): Likewise.
24350 (TOWRITE): Likewise.
24351 (TOEXEC): Likewise.
24352 [POSIX] (TSVTX): Expect constant.
24353
24354 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24355
24356 * Makefile (tests): Change dependencies to ....
24357 (tests-special): ... additions to this variable.
24358 (tests): Depend on $(tests-special).
24359 * Makerules (check-abi-list): New variable.
24360 (check-abi): Depend on $(check-abi-list).
24361 [$(subdir) = elf] (tests-special): Add
24362 $(objpfx)check-abi-libc.out.
24363 [$(build-shared) = yes && subdir] (tests-special): Add
24364 $(check-abi-list).
24365 [$(build-shared) = yes && subdir] (tests): Do not depend on
24366 check-abi.
24367 * Rules (tests): Depend on $(tests-special).
24368 (xtests): Depend on $(xtests-special).
24369 * catgets/Makefile (tests): Change dependencies to ....
24370 (tests-special): ... additions to this variable.
24371 * conform/Makefile (tests): Change dependencies to ....
24372 (tests-special): ... additions to this variable.
24373 * elf/Makefile (tests): Change dependencies to ....
24374 (tests-special): ... additions to this variable.
24375 * grp/Makefile (tests): Change dependencies to ....
24376 (tests-special): ... additions to this variable.
24377 * iconv/Makefile (xtests): Change dependencies to ....
24378 (xtests-special): ... additions to this variable.
24379 * iconvdata/Makefile (tests): Change dependencies to ....
24380 (tests-special): ... additions to this variable.
24381 * intl/Makefile (tests): Change dependencies to ....
24382 (tests-special): ... additions to this variable. Also add
24383 $(objpfx)tst-gettext.out.
24384 * io/Makefile (tests): Change dependencies to ....
24385 (tests-special): ... additions to this variable.
24386 * libio/Makefile (tests): Change dependencies to ....
24387 (tests-special): ... additions to this variable.
24388 * malloc/Makefile (tests): Change dependencies to ....
24389 (tests-special): ... additions to this variable.
24390 * misc/Makefile (tests): Change dependencies to ....
24391 (tests-special): ... additions to this variable.
24392 * nptl/Makefile (tests): Change dependencies to ....
24393 (tests-special): ... additions to this variable.
24394 * nptl_db/Makefile (tests): Change dependencies to ....
24395 (tests-special): ... additions to this variable.
24396 * posix/Makefile (tests): Change dependencies to ....
24397 (tests-special): ... additions to this variable.
24398 (xtests): Change dependencies to ....
24399 (xtests-special): ... additions to this variable.
24400 * resolv/Makefile (tests): Change dependencies to ....
24401 (tests-special): ... additions to this variable.
24402 (xtests): Change dependencies to ....
24403 (xtests-special): ... additions to this variable.
24404 * stdio-common/Makefile (tests): Change dependencies to ....
24405 (tests-special): ... additions to this variable.
24406 (do-tst-unbputc): Remove target.
24407 (do-tst-printf): Likewise.
24408 * stdlib/Makefile (tests): Change dependencies to ....
24409 (tests-special): ... additions to this variable.
24410 * string/Makefile (tests): Change dependencies to ....
24411 (tests-special): ... additions to this variable.
24412 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24413 (tests-special): ... additions to this variable.
24414
24415 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24416 whole file.
24417 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24418 whole file.
24419 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24420 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24421
24422 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24423 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24424 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24425 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24426 * conform/data/libgen.h-data [XPG3]: Likewise.
24427 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24428 * conform/data/ndbm.h-data [XPG3]: Likewise.
24429 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24430 * conform/data/netdb.h-data [XPG3]: Likewise.
24431 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24432 * conform/data/poll.h-data [XPG3]: Likewise.
24433 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24434 * conform/data/strings.h-data [XPG3]: Likewise.
24435 * conform/data/stropts.h-data [XPG3]: Likewise.
24436 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24437 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24438 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24439 Likewise.
24440 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24441 * conform/data/sys/time.h-data [XPG3]: Likewise.
24442 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24443 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24444 * conform/data/sys/un.h-data [XPG3]: Likewise.
24445 * conform/data/syslog.h-data [XPG3]: Likewise.
24446 * conform/data/ucontext.h-data [XPG3]: Likewise.
24447 * conform/data/utmpx.h-data [XPG3]: Likewise.
24448 * conform/data/varargs.h-data [UNIX98]: Enable file.
24449
24450 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24451
24452 * math/libm-test.inc (struct test_f_f_data): Move expected results
24453 into structure for each rounding mode.
24454 (struct test_ff_f_data): Likewise.
24455 (struct test_ff_f_data_nexttoward): Likewise.
24456 (struct test_fi_f_data): Likewise.
24457 (struct test_fl_f_data): Likewise.
24458 (struct test_if_f_data): Likewise.
24459 (struct test_fff_f_data): Likewise.
24460 (struct test_c_f_data): Likewise.
24461 (struct test_f_f1_data): Likewise.
24462 (struct test_fF_f1_data): Likewise.
24463 (struct test_ffI_f1_data): Likewise.
24464 (struct test_c_c_data): Likewise.
24465 (struct test_cc_c_data): Likewise.
24466 (struct test_f_i_data): Likewise.
24467 (struct test_ff_i_data): Likewise.
24468 (struct test_f_l_data): Likewise.
24469 (struct test_f_L_data): Likewise.
24470 (struct test_fFF_11_data): Likewise.
24471 (RM_): New macro.
24472 (RM_FE_DOWNWARD): Likewise.
24473 (RM_FE_TONEAREST): Likewise.
24474 (RM_FE_TOWARDZERO): Likewise.
24475 (RM_FE_UPWARD): Likewise.
24476 (RUN_TEST_LOOP_f_f): Update references to expected results.
24477 (RUN_TEST_LOOP_2_f): Likewise.
24478 (RUN_TEST_LOOP_fff_f): Likewise.
24479 (RUN_TEST_LOOP_c_f): Likewise.
24480 (RUN_TEST_LOOP_f_f1): Likewise.
24481 (RUN_TEST_LOOP_fF_f1): Likewise.
24482 (RUN_TEST_LOOP_fI_f1): Likewise.
24483 (RUN_TEST_LOOP_ffI_f1): Likewise.
24484 (RUN_TEST_LOOP_c_c): Likewise.
24485 (RUN_TEST_LOOP_cc_c): Likewise.
24486 (RUN_TEST_LOOP_f_i): Likewise.
24487 (RUN_TEST_LOOP_f_i_tg): Likewise.
24488 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24489 (RUN_TEST_LOOP_f_b): Likewise.
24490 (RUN_TEST_LOOP_f_b_tg): Likewise.
24491 (RUN_TEST_LOOP_f_l): Likewise.
24492 (RUN_TEST_LOOP_f_L): Likewise.
24493 (RUN_TEST_LOOP_fFF_11): Likewise.
24494 * math/gen-libm-test.pl (parse_args): Output four copies of
24495 expected results for each test.
24496
24497 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24498 (__ASSUME_UTIMES): Remove.
24499 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24500 (__ASSUME_UTIMES): Likewise.
24501
24502 * math/gen-auto-libm-tests.c: Update comment on output format.
24503 (output_for_one_input_case): Generate before-rounding and
24504 after-rounding information as conditions on output flags not
24505 floating-point format.
24506 * math/auto-libm-test-out: Regenerated.
24507 * math/gen-libm-test.pl (cond_value): New function.
24508 (or_cond_value): Use cond_value.
24509 (generate_testfile): Handle conditional exceptions.
24510
24511 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24512
24513 * math/libm-test.inc (max_valid_error): New variable.
24514 (init_max_error): Take new argument specifying whether function
24515 results are exactly determined. Set max_valid_error and bound
24516 other variables for errors based on this argument.
24517 (set_max_error): Do not record results above max_valid_error.
24518 (check_float_internal): Only accept errors of up to 0.5ulps if
24519 also at most max_valid_error.
24520 (START): Take new argument EXACT and pass it to init_max_error.
24521 (acos_test): Update call to START.
24522 (acos_test_tonearest): Likewise.
24523 (acos_test_towardzero): Likewise.
24524 (acos_test_downward): Likewise.
24525 (acos_test_upward): Likewise.
24526 (acosh_test): Likewise.
24527 (asin_test): Likewise.
24528 (asin_test_tonearest): Likewise.
24529 (asin_test_towardzero): Likewise.
24530 (asin_test_downward): Likewise.
24531 (asin_test_upward): Likewise.
24532 (asinh_test): Likewise.
24533 (atan_test): Likewise.
24534 (atanh_test): Likewise.
24535 (atan2_test): Likewise.
24536 (cabs_test): Likewise.
24537 (cacos_test): Likewise.
24538 (cacosh_test): Likewise.
24539 (carg_test): Likewise.
24540 (casin_test): Likewise.
24541 (casinh_test): Likewise.
24542 (catan_test): Likewise.
24543 (catanh_test): Likewise.
24544 (cbrt_test): Likewise.
24545 (ccos_test): Likewise.
24546 (ccosh_test): Likewise.
24547 (ceil_test): Likewise.
24548 (cexp_test): Likewise.
24549 (cimag_test): Likewise.
24550 (clog_test): Likewise.
24551 (clog10_test): Likewise.
24552 (conj_test): Likewise.
24553 (copysign_test): Likewise.
24554 (cos_test): Likewise.
24555 (cos_test_tonearest): Likewise.
24556 (cos_test_towardzero): Likewise.
24557 (cos_test_downward): Likewise.
24558 (cos_test_upward): Likewise.
24559 (cosh_test): Likewise.
24560 (cosh_test_tonearest): Likewise.
24561 (cosh_test_towardzero): Likewise.
24562 (cosh_test_downward): Likewise.
24563 (cosh_test_upward): Likewise.
24564 (cpow_test): Likewise.
24565 (cproj_test): Likewise.
24566 (creal_test): Likewise.
24567 (csin_test): Likewise.
24568 (csinh_test): Likewise.
24569 (csqrt_test): Likewise.
24570 (ctan_test): Likewise.
24571 (ctan_test_tonearest): Likewise.
24572 (ctan_test_towardzero): Likewise.
24573 (ctan_test_downward): Likewise.
24574 (ctan_test_upward): Likewise.
24575 (ctanh_test): Likewise.
24576 (ctanh_test_tonearest): Likewise.
24577 (ctanh_test_towardzero): Likewise.
24578 (ctanh_test_downward): Likewise.
24579 (ctanh_test_upward): Likewise.
24580 (erf_test): Likewise.
24581 (erfc_test): Likewise.
24582 (exp_test): Likewise.
24583 (exp_test_tonearest): Likewise.
24584 (exp_test_towardzero): Likewise.
24585 (exp_test_downward): Likewise.
24586 (exp_test_upward): Likewise.
24587 (exp10_test): Likewise.
24588 (exp10_test_tonearest): Likewise.
24589 (exp10_test_towardzero): Likewise.
24590 (exp10_test_downward): Likewise.
24591 (exp10_test_upward): Likewise.
24592 (pow10_test): Likewise.
24593 (exp2_test): Likewise.
24594 (expm1_test): Likewise.
24595 (expm1_test_tonearest): Likewise.
24596 (expm1_test_towardzero): Likewise.
24597 (expm1_test_downward): Likewise.
24598 (expm1_test_upward): Likewise.
24599 (fabs_test): Likewise.
24600 (fdim_test): Likewise.
24601 (floor_test): Likewise.
24602 (fma_test): Likewise.
24603 (fma_test_towardzero): Likewise.
24604 (fma_test_downward): Likewise.
24605 (fma_test_upward): Likewise.
24606 (fmax_test): Likewise.
24607 (fmin_test): Likewise.
24608 (fmod_test): Likewise.
24609 (fpclassify_test): Likewise.
24610 (frexp_test): Likewise.
24611 (hypot_test): Likewise.
24612 (ilogb_test): Likewise.
24613 (isfinite_test): Likewise.
24614 (finite_test): Likewise.
24615 (isgreater_test): Likewise.
24616 (isgreaterequal_test): Likewise.
24617 (isinf_test): Likewise.
24618 (isless_test): Likewise.
24619 (islessequal_test): Likewise.
24620 (islessgreater_test): Likewise.
24621 (isnan_test): Likewise.
24622 (isnormal_test): Likewise.
24623 (issignaling_test): Likewise.
24624 (isunordered_test): Likewise.
24625 (j0_test): Likewise.
24626 (j1_test): Likewise.
24627 (jn_test): Likewise.
24628 (ldexp_test): Likewise.
24629 (lgamma_test): Likewise.
24630 (gamma_test): Likewise.
24631 (lrint_test): Likewise.
24632 (lrint_test_tonearest): Likewise.
24633 (lrint_test_towardzero): Likewise.
24634 (lrint_test_downward): Likewise.
24635 (lrint_test_upward): Likewise.
24636 (llrint_test): Likewise.
24637 (llrint_test_tonearest): Likewise.
24638 (llrint_test_towardzero): Likewise.
24639 (llrint_test_downward): Likewise.
24640 (llrint_test_upward): Likewise.
24641 (log_test): Likewise.
24642 (log10_test): Likewise.
24643 (log1p_test): Likewise.
24644 (log2_test): Likewise.
24645 (logb_test): Likewise.
24646 (logb_test_downward): Likewise.
24647 (lround_test): Likewise.
24648 (llround_test): Likewise.
24649 (modf_test): Likewise.
24650 (nearbyint_test): Likewise.
24651 (nextafter_test): Likewise.
24652 (nexttoward_test): Likewise.
24653 (pow_test): Likewise.
24654 (pow_test_tonearest): Likewise.
24655 (pow_test_towardzero): Likewise.
24656 (pow_test_downward): Likewise.
24657 (pow_test_upward): Likewise.
24658 (remainder_test): Likewise.
24659 (drem_test): Likewise.
24660 (remainder_test_tonearest): Likewise.
24661 (drem_test_tonearest): Likewise.
24662 (remainder_test_towardzero): Likewise.
24663 (drem_test_towardzero): Likewise.
24664 (remainder_test_downward): Likewise.
24665 (drem_test_downward): Likewise.
24666 (remainder_test_upward): Likewise.
24667 (drem_test_upward): Likewise.
24668 (remquo_test): Likewise.
24669 (rint_test): Likewise.
24670 (rint_test_tonearest): Likewise.
24671 (rint_test_towardzero): Likewise.
24672 (rint_test_downward): Likewise.
24673 (rint_test_upward): Likewise.
24674 (round_test): Likewise.
24675 (scalb_test): Likewise.
24676 (scalbn_test): Likewise.
24677 (scalbln_test): Likewise.
24678 (signbit_test): Likewise.
24679 (sin_test): Likewise.
24680 (sin_test_tonearest): Likewise.
24681 (sin_test_towardzero): Likewise.
24682 (sin_test_downward): Likewise.
24683 (sin_test_upward): Likewise.
24684 (sincos_test): Likewise.
24685 (sinh_test): Likewise.
24686 (sinh_test_tonearest): Likewise.
24687 (sinh_test_towardzero): Likewise.
24688 (sinh_test_downward): Likewise.
24689 (sinh_test_upward): Likewise.
24690 (sqrt_test): Likewise.
24691 (sqrt_test_tonearest): Likewise.
24692 (sqrt_test_towardzero): Likewise.
24693 (sqrt_test_downward): Likewise.
24694 (sqrt_test_upward): Likewise.
24695 (tan_test): Likewise.
24696 (tan_test_tonearest): Likewise.
24697 (tan_test_towardzero): Likewise.
24698 (tan_test_downward): Likewise.
24699 (tan_test_upward): Likewise.
24700 (tanh_test): Likewise.
24701 (tgamma_test): Likewise.
24702 (trunc_test): Likewise.
24703 (y0_test): Likewise.
24704 (y1_test): Likewise.
24705 (yn_test): Likewise.
24706 (significand_test): Likewise.
24707
24708 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24709 individual tests in comment.
24710 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24711 (prev_max_error): New variable.
24712 (prev_real_max_error): Likewise.
24713 (prev_imag_max_error): Likewise.
24714 (compare_ulp_data): Don't refer to test names in comment.
24715 (find_test_ulps): Remove function.
24716 (find_function_ulps): Likewise.
24717 (find_complex_function_ulps): Likewise.
24718 (init_max_error): Take function name as argument. Look up ulps
24719 for that function.
24720 (print_ulps): Remove function.
24721 (print_max_error): Use prev_max_error instead of calling
24722 find_function_ulps.
24723 (print_complex_max_error): Use prev_real_max_error and
24724 prev_imag_max_error instead of calling find_complex_function_ulps.
24725 (check_float_internal): Take max_ulp parameter instead of calling
24726 find_test_ulps. Don't call print_ulps.
24727 (check_float): Update call to check_float_internal.
24728 (check_complex): Update calls to check_float_internal.
24729 (START): Pass argument to init_max_error.
24730 * math/gen-libm-test.pl (%results): Don't include "kind"
24731 information.
24732 (parse_ulps): Don't handle ulps of individual tests.
24733 (print_ulps_file): Likewise.
24734 (output_ulps): Likewise.
24735 * math/README.libm-test: Update.
24736 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24737 individual tests.
24738 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24739 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24740 * sysdeps/arm/libm-test-ulps: Likewise.
24741 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24742 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24743 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24744 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24745 * sysdeps/microblaze/libm-test-ulps: Likewise.
24746 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24747 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24748 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24749 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24750 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24751 * sysdeps/sh/libm-test-ulps: Likewise.
24752 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24753 * sysdeps/tile/libm-test-ulps: Likewise.
24754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24755
24756 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24757
24758 * math/libm-test.inc (print_complex_max_error): Check separately
24759 whether real and imaginary errors are within allowed range and
24760 pass 0 to print_complex_function_ulps instead of value within
24761 allowed range.
24762
24763 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24764
24765 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24766 formatting.
24767 (get_handles_fopen): Likewise.
24768 (do_write_test): Likewise.
24769
24770 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24771
24772 * libio/fileops.c (do_ftell): Use cached offset when
24773 available.
24774 * libio/iofwide.c (do_ftell_wide): Likewise.
24775 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24776 _IO_file_attach.
24777 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24778
24779 [BZ #16532]
24780 * libio/libioP.h (get_file_offset): New function.
24781 * libio/fileops.c (get_file_offset): Likewise.
24782 (do_ftell): Likewise.
24783 (_IO_new_file_seekoff): Split out ftell logic.
24784 * libio/wfileops.c (do_ftell_wide): Likewise.
24785 (_IO_wfile_seekoff): Split out ftell logic.
24786 * libio/tst-ftell-active-handler.c: New test case.
24787 * libio/Makefile (tests): Add it.
24788
24789 2014-03-03 Roland McGrath <roland@hack.frob.com>
24790
24791 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24792 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24793
24794 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24795
24796 [BZ #16639]
24797 * nscd/connections.c (nscd_init): Call do_exit.
24798 (start_threads): Call do_exit and notify_parent.
24799 (begin_drop_privileges): Call do_exit.
24800 (finish_drop_privileges): Likewise.
24801 * nscd/selinux.c (preserve_capabilities): Likewise.
24802 (install_real_capabilities): Likewise.
24803 (nscd_selinux_enabled): Likewise.
24804 (avc_create_thread): Likewise.
24805 (avc_alloc_lock): Likewise.
24806 (nscd_avc_init): Likewise.
24807 * nscd/nscd.c (parent_fd): New static variable.
24808 (main): Create a pipe between parent and child processes.
24809 Skip closing parent_fd.
24810 (monitor_child): New function.
24811 (do_exit): Likewise.
24812 (notify_parent): Likewise.
24813 * nscd/nscd.h (notify_parent): Likewise.
24814 (do_exit): Likewise.
24815
24816 2014-03-03 Carlos O'Donell <carlos@redhat.com>
24817
24818 * malloc/malloc.c (__libc_calloc): Revert last change.
24819
24820 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24821
24822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24823
24824 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24825
24826 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24828 implementation.
24829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24830 (__libc_ifunc_impl_list): Likewise.
24831 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24832 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24833 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24834 * string/strrchr.c: Define STRRCHR.
24835
24836 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
24837
24838 * benchtest/bench-strtok.c (simple_strtok): Delete.
24839 (strtok_string): Use as benchmark.
24840 * string/strtok (STRTOK): New macro.
24841
24842 2014-02-28 Carlos O'Donell <carlos@redhat.com>
24843
24844 * manual/threads.texi: Add header and standard comments to all
24845 functions.
24846
24847 * elf/dl-lookup.c (check_match): New function.
24848 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24849 (do_lookup_x): Remove nested function check_match. Use non-nested
24850 function check_match.
24851
24852 2014-02-28 Roland McGrath <roland@hack.frob.com>
24853
24854 * csu/Makefile (generated, before-compile): Use += rather than =.
24855 * catgets/Makefile (generated, generated-dirs): Likewise.
24856 * debug/Makefile (generated): Likewise.
24857 * dlfcn/Makefile (generated): Likewise.
24858 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24859 * iconvdata/Makefile (before-compile, generated): Likewise.
24860 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24861 * libio/Makefile (generated): Likewise.
24862 * malloc/Makefile (generated): Likewise.
24863 * manual/Makefile (generated, generated-dirs): Likewise.
24864 * misc/Makefile (generated): Likewise.
24865 * posix/Makefile (generated): Likewise.
24866 * resolv/Makefile (generated): Likewise.
24867 * sunrpc/Makefile (generated, generated-dirs): Likewise.
24868 * timezone/Makefile (generated, generated-dirs): Likewise.
24869
24870 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24871
24872 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24873
24874 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24875 power8 implementation.
24876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24877 file: POWER8 llround ifunc implementation.
24878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24879 (__lllround): Add POWER8 implementation.
24880 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24881 POWER8 llround implementation.
24882
24883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24884 power8 implementation.
24885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24886 file: POWER8 llrint ifunc implementation.
24887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24888 Add POWER8 implementation.
24889 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24890 POWER8 llrint implementation.
24891
24892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24893 power8 implementation.
24894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24895 file: POWER8 finite ifunc implementation.
24896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24897 Add POWER8 implementation.
24898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24899 Likewise.
24900 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24901 POWER8 finite implementation.
24902 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24903
24904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24905 power8 implementation.
24906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24907 file: POWER8 isinf ifunc implementation.
24908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24909 POWER8 implementation.
24910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24911 Likewise.
24912 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24913 isinf implementation.
24914 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24915
24916 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24917 (INIT_ARCH): Add hwcap2 initialization.
24918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24919 power8 implementation.
24920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24921 file: POWER8 isnan ifunc implementation.
24922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24923 POWER8 implementation.
24924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24925 Likewise.
24926 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24927 isnan implementation.
24928 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24929
24930 2014-02-27 Joey Ye <joey.ye@arm.com>
24931
24932 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24933 (_FP_NANFRAC_Q): Set to zero.
24934
24935 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24936
24937 [BZ #16623]
24938 * math/auto-libm-test-in: New test inputs.
24939 * math/auto-libm-test-out: Regenerate.
24940 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24941 and DA.
24942 (__cos): Likewise.
24943 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24944
24945 2014-02-27 Joseph Myers <joseph@codesourcery.com>
24946
24947 * scripts/evaluate-test.sh: Take new argument indicating whether
24948 failure is expected.
24949 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24950 indicating whether failure is expected.
24951 * conform/Makefile (test-xfail-run-conformtest): New variable.
24952 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24953 level.
24954 * posix/Makefile (test-xfail-annexc): New variable.
24955 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24956
24957 2014-02-26 Joseph Myers <joseph@codesourcery.com>
24958
24959 * argp/Makefile: Include Makeconfig immediately after defining
24960 subdir.
24961 * assert/Makefile: Likewise.
24962 * benchtests/Makefile: Likewise.
24963 * catgets/Makefile: Likewise.
24964 * conform/Makefile: Likewise.
24965 * crypt/Makefile: Likewise.
24966 * csu/Makefile: Likewise.
24967 (all): Remove target.
24968 * ctype/Makefile: Include Makeconfig immediately after defining
24969 subdir.
24970 * debug/Makefile: Likewise.
24971 * dirent/Makefile: Likewise.
24972 * dlfcn/Makefile: Likewise.
24973 * gmon/Makefile: Likewise.
24974 * gnulib/Makefile: Likewise.
24975 * grp/Makefile: Likewise.
24976 * gshadow/Makefile: Likewise.
24977 * hesiod/Makefile: Likewise.
24978 * hurd/Makefile: Likewise.
24979 (all): Remove target.
24980 * iconvdata/Makefile: Include Makeconfig immediately after
24981 defining subdir.
24982 * inet/Makefile: Likewise.
24983 * intl/Makefile: Likewise.
24984 * io/Makefile: Likewise.
24985 * libio/Makefile: Likewise.
24986 (all): Remove target.
24987 * locale/Makefile: Include Makeconfig immediately after defining
24988 subdir.
24989 * login/Makefile: Likewise.
24990 * mach/Makefile: Likewise.
24991 (all): Remove target.
24992 * malloc/Makefile: Include Makeconfig immediately after defining
24993 subdir.
24994 (all): Remove target.
24995 * manual/Makefile: Include Makeconfig immediately after defining
24996 subdir.
24997 * math/Makefile: Likewise.
24998 * misc/Makefile: Likewise.
24999 * nis/Makefile: Likewise.
25000 * nss/Makefile: Likewise.
25001 * po/Makefile: Likewise.
25002 (all): Remove target.
25003 * posix/Makefile: Include Makeconfig immediately after defining
25004 subdir.
25005 * pwd/Makefile: Likewise.
25006 * resolv/Makefile: Likewise.
25007 * resource/Makefile: Likewise.
25008 * rt/Makefile: Likewise.
25009 * setjmp/Makefile: Likewise.
25010 * shadow/Makefile: Likewise.
25011 * signal/Makefile: Likewise.
25012 * socket/Makefile: Likewise.
25013 * soft-fp/Makefile: Likewise.
25014 * stdio-common/Makefile: Likewise.
25015 * stdlib/Makefile: Likewise.
25016 * streams/Makefile: Likewise.
25017 * string/Makefile: Likewise.
25018 * sunrpc/Makefile: Likewise.
25019 (all): Remove target.
25020 * sysvipc/Makefile: Include Makeconfig immediately after defining
25021 subdir.
25022 * termios/Makefile: Likewise.
25023 * time/Makefile: Likewise.
25024 * timezone/Makefile: Likewise.
25025 (all): Remove target.
25026 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25027 subdir.
25028 * wctype/Makefile: Likewise.
25029
25030 2014-02-26 Steve Ellcey <sellcey@mips.com>
25031
25032 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25033 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25034 (libc_feholdexcept_setround_mips): Ditto.
25035 (libc_feholdsetround): New.
25036 (libc_feholdsetroundf): New.
25037 (libc_feholdsetroundl): New.
25038 (libc_feupdateenv_test_mips): New.
25039 (libc_feupdateenv_test): New.
25040 (libc_feupdateenv_testf): New.
25041 (libc_feupdateenv_testl): New.
25042 (libc_feresetround): New.
25043 (libc_feresetroundf): New.
25044 (libc_feresetroundl): New.
25045 (libc_fetestexcept_mips): New.
25046 (libc_fetestexcept): New.
25047 (libc_fetestexceptf): New.
25048 (libc_fetestexceptl): New.
25049 (HAVE_RM_CTX): New.
25050 (libc_feholdexcept_setround_mips_ctx): New.
25051 (libc_feholdexcept_setround_ctx): New.
25052 (libc_feholdexcept_setroundf_ctx): New.
25053 (libc_feholdexcept_setroundl_ctx): New.
25054 (libc_fesetenv_mips_ctx): New.
25055 (libc_fesetenv_ctx): New.
25056 (libc_fesetenv_ctxf): New.
25057 (libc_fesetenv_ctxl): New.
25058 (libc_feupdateenv_mips_ctx): New.
25059 (libc_feupdateenv_ctx): New.
25060 (libc_feupdateenvf_ctx): New.
25061 (libc_feupdateenvl_ctx): New.
25062 (libc_feholdsetround_mips_ctx): New.
25063 (libc_feholdsetround_ctx): New.
25064 (libc_feholdsetroundf_ctx): New.
25065 (libc_feholdsetroundl_ctx): New.
25066 (libc_feresetround_mips_ctx): New.
25067 (libc_feresetround_ctx): New.
25068 (libc_feresetroundf_ctx): New.
25069 (libc_feresetroundl_ctx): New.
25070
25071 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25072
25073 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25074
25075 * manual/ipc.texi: New file.
25076 * manual/Makefile (chapters): Add ipc.
25077 * manual/job.texi: Add "Inter-Process Communication" to next.
25078 * manual/process.texi: Add "Inter-Process Communication" to prev.
25079
25080 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25081
25082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25083
25084 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25085
25086 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25087
25088 * manual/arith.texi: Fix spaces after sentences.
25089 * manual/charset.texi: Likewise.
25090 * manual/errno.texi: Likewise.
25091 * manual/install.texi: Likewise.
25092 * manual/llio.texi: Likewise.
25093 * manual/locale.texi: Likewise.
25094 * manual/maint.texi: Likewise.
25095 * manual/math.texi: Likewise.
25096 * manual/memory.texi: Likewise.
25097 * manual/message.texi: Likewise.
25098 * manual/probes.texi: Likewise.
25099 * manual/resource.texi: Likewise.
25100 * manual/signal.texi: Likewise.
25101 * manual/socket.texi: Likewise.
25102 * manual/stdio.texi: Likewise.
25103 * manual/string.texi: Likewise.
25104 * manual/time.texi: Likewise.
25105 * manual/users.texi: Likewise.
25106
25107 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25108
25109 [BZ #16632]
25110 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25111 _DEFAULT_SOURCE is defined.
25112
25113 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25114 Carlos O'Donell <carlos@redhat.com>
25115
25116 [BZ #16613]
25117 * elf/dl-tls.c (_dl_count_modids): New function.
25118 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25119 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25120 audit library and increment generation counter.
25121 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25122 * elf/tst-audit9.c: New file.
25123 * elf/tst-auditmod9a.c: New file.
25124 * elf/tst-auditmod9b.c: New file.
25125 * elf/Makefile: Add rules to build and run tst-audit9.
25126
25127 2014-02-25 Florian Weimer <fweimer@redhat.com>
25128
25129 [BZ #15347]
25130 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25131
25132 2014-02-25 Will Newton <will.newton@linaro.org>
25133
25134 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25135 (__longjmp): Restore sp and lr before restoring callee
25136 saved registers. Add longjmp and longjmp_target
25137 SystemTap probe point.
25138 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25139 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25140 Define to zero to match jmpbuf layout.
25141 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25142 (__sigsetjmp): Save sp and lr before saving callee
25143 saved registers. Add setjmp SystemTap probe point.
25144
25145 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25146
25147 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25148
25149 2014-02-24 Andreas Schwab <schwab@suse.de>
25150
25151 [BZ #15804]
25152 * elf/pldd.c (wait_for_ptrace_stop): New function.
25153 (main): Call it after attaching.
25154
25155 2014-02-22 Roland McGrath <roland@hack.frob.com>
25156
25157 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25158 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25159 Versions files is now verboten.
25160 * hurd/Versions (libc: GLIBC_2.0):
25161 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25162 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25163 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25164 * mach/Versions: Likewise.
25165
25166 * csu/Versions: Remove unused %include.
25167 * resolv/Versions: Likewise.
25168
25169 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25170
25171 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25172 ($(objpfx)check-local-headers.out): Likewise.
25173 ($(objpfx)begin-end-check.out): Likewise.
25174 * Makerules (check-abi-%.out): Likewise.
25175 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25176 ($(objpfx)test2.cat): Likewise.
25177 ($(objpfx)de/libc.cat): Likewise.
25178 ($(objpfx)test-gencat.out): Likewise.
25179 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25180 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25181 ($(objpfx)noload-mem): Likewise.
25182 ($(objpfx)tst-pathopt.out): Likewise.
25183 ($(objpfx)tst-rtld-load-self.out): Likewise.
25184 ($(objpfx)tst-array1-cmp.out): Likewise.
25185 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25186 ($(objpfx)tst-array2-cmp.out): Likewise.
25187 ($(objpfx)tst-array3-cmp.out): Likewise.
25188 ($(objpfx)tst-array4-cmp.out): Likewise.
25189 ($(objpfx)tst-array5-cmp.out): Likewise.
25190 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25191 ($(objpfx)check-textrel.out): Likewise.
25192 ($(objpfx)check-execstack.out): Likewise.
25193 ($(objpfx)check-localplt.out): Likewise.
25194 ($(objpfx)order2-cmp.out): Likewise.
25195 ($(objpfx)tst-leaks1-mem): Likewise.
25196 ($(objpfx)tst-leaks1-static-mem): Likewise.
25197 ($(objpfx)tst-initorder-cmp.out): Likewise.
25198 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25199 ($(objpfx)tst-unused-dep.out): Likewise.
25200 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25201 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25202 * iconv/Makefile (test-iconvconfig): Likewise.
25203 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25204 ($(objpfx)iconv-test.out): Likewise.
25205 ($(objpfx)tst-tables.out): Likewise.
25206 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25207 ($(objpfx)tst-gettext.out): Likewise.
25208 ($(objpfx)tst-translit.out): Likewise.
25209 ($(objpfx)tst-gettext2.out): Likewise.
25210 ($(objpfx)tst-gettext4.out): Likewise.
25211 ($(objpfx)tst-gettext6.out): Likewise.
25212 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25213 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25214 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25215 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25216 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25217 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25218 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25219 ($(objpfx)wordexp-tst.out): Likewise.
25220 ($(objpfx)annexc.out): Likewise.
25221 ($(objpfx)tst-fnmatch-mem): Likewise.
25222 ($(objpfx)bug-regex2-mem): Likewise.
25223 ($(objpfx)bug-regex14-mem): Likewise.
25224 ($(objpfx)bug-regex21-mem): Likewise.
25225 ($(objpfx)bug-regex31-mem): Likewise.
25226 ($(objpfx)tst-vfork3-mem): Likewise.
25227 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25228 ($(objpfx)tst-pcre-mem): Likewise.
25229 ($(objpfx)tst-boost-mem): Likewise.
25230 ($(objpfx)tst-getconf.out): Likewise.
25231 ($(objpfx)bug-ga2-mem): Likewise.
25232 ($(objpfx)bug-glob2-mem): Likewise.
25233 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25234 ($(objpfx)mtrace-tst-leaks2): Likewise.
25235 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25236 ($(objpfx)tst-printf.out): Likewise.
25237 ($(objpfx)tst-setvbuf1.out): Likewise.
25238 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25239 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25240 ($(objpfx)tst-fmtmsg.out): Likewise.
25241 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25242 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25243
25244 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25245 * bits/sigaction.h [__USE_MISC]: Likewise.
25246 * bits/waitstatus.h: Update #endif comments.
25247 * ctype/ctype.h: Likewise.
25248 * dirent/dirent.h: Likewise.
25249 [__USE_MISC]: Remove redundant conditionals.
25250 * grp/grp.h: Update #endif comments.
25251 [__USE_GNU]: Remove redundant conditionals.
25252 [__USE_MISC]: Likewise.
25253 * inet/netinet/in.h [__USE_GNU]: Likewise.
25254 * io/sys/stat.h [__USE_MISC]: Likewise.
25255 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25256 * libio/bits/stdio.h: Update #endif comments.
25257 [__USE_MISC]: Remove redundant conditionals.
25258 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25259 * libio/stdio.h: Update #endif comments.
25260 [__USE_MISC]: Remove redundant conditionals.
25261 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25262 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25263 * math/math.h: Update #else and #endif comments.
25264 [__USE_MISC]: Remove redundant conditionals.
25265 * misc/sys/uio.h: Update #endif comments.
25266 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25267 * posix/glob.h [__USE_MISC]: Likewise.
25268 * posix/sys/types.h: Update #endif comments.
25269 [__USE_MISC]: Remove redundant conditionals.
25270 * posix/sys/wait.h: Update #endif comments.
25271 [__USE_MISC]: Remove redundant conditionals.
25272 * posix/unistd.h: Update #endif comments.
25273 [__USE_MISC]: Remove redundant conditionals.
25274 * pwd/pwd.h [__USE_GNU]: Likewise.
25275 [__USE_MISC]: Likewise.
25276 * resolv/netdb.h [__USE_GNU]: Likewise.
25277 * signal/signal.h: Update #endif comments.
25278 [__USE_MISC]: Remove redundant conditionals.
25279 * stdlib/stdlib.h: Update #else and #endif comments.
25280 [__USE_MISC]: Remove redundant conditionals.
25281 [__USE_GNU]: Likewise.
25282 * string/bits/string2.h [__USE_MISC]: Likewise.
25283 * string/string.h: Update #endif comments.
25284 [__USE_MISC]: Remove redundant conditionals.
25285 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25286 Likewise.
25287 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25288 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25289 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25290 Likewise.
25291 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25292 Likewise.
25293 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25294 comments.
25295 [__USE_MISC]: Remove redundant conditionals.
25296 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25297 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25298 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25299 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25300 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25301 Likewise.
25302 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25303 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25304 Likewise.
25305 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25306 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25307 Likewise.
25308 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25309 Likewise.
25310 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25311 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25312 Likewise.
25313 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25314 Likewise.
25315 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25316 * sysdeps/x86/bits/string.h: Update #endif comments.
25317 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25318 conditionals.
25319 * time/sys/time.h: Update #endif comments.
25320 * time/time.h: Likewise.
25321 [__USE_MISC]: Remove redundant conditionals.
25322
25323 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25324
25325 [BZ #16600]
25326 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25327
25328 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25329
25330 * Versions.def (librt): Add GLIBC_2.17.
25331
25332 2014-02-21 Adam Conrad <adconrad@0c3.net>
25333
25334 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25335 synonym for _SYS_AUXV_H to allow direct inclusion.
25336 * sysdeps/sparc/bits/hwcap.h: Likewise.
25337 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25338 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25339 * sysdeps/sparc/sysdep.h: Likewise.
25340
25341 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25342
25343 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25344
25345 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25346
25347 * benchtests/bench-strrchr.c: Print length instead of position.
25348
25349 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25350
25351 [BZ #16611]
25352 * sysdeps/unix/sysv/linux/kernel-features.h
25353 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25354 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25355 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25356 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25357 Likewise.
25358 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25359 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25360 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25361 (__ASSUME_SENDMMSG): Define instead of using previous
25362 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25363 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25364 (__ASSUME_SENDMMSG_SYSCALL): Define.
25365 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25366 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25367 Likewise.
25368 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25369 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25370 Likewise.
25371 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25372 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25373 Likewise.
25374 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25375 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25376 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25377 [__ASSUME_SENDMMSG]: Change conditionals to
25378 [__ASSUME_SENDMMSG_SOCKETCALL].
25379 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25380 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25381 Define.
25382 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25383 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25384 Likewise.
25385 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25386 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25387 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25388 [!__ASSUME_SENDMMSG]: Change conditional to
25389 [!__ASSUME_SENDMMSG_SOCKETCALL].
25390 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25391 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25392 Define.
25393
25394 [BZ #16610]
25395 * sysdeps/unix/sysv/linux/kernel-features.h
25396 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25397 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25398 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25399 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25400 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25401 [__i386__ || __sparc__]
25402 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25403 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25404 (__ASSUME_RECVMMSG): Define instead of using previous
25405 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25406 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25407 (__ASSUME_RECVMMSG_SYSCALL): Define.
25408 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25409 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25410 Likewise.
25411 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25412 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25413 Likewise.
25414 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25416 Likewise.
25417 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25418 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25419 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25420 [__ASSUME_RECVMMSG]: Change condition to
25421 [__ASSUME_RECVMMSG_SOCKETCALL].
25422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25423 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25424 Define.
25425 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25426 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25427 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25428 Likewise.
25429 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25430 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25431 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25432 [!__ASSUME_RECVMMSG]: Change condition to
25433 [!__ASSUME_RECVMMSG_SOCKETCALL].
25434 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25435 (__ASSUME_RECVMMSG_SYSCALL): Define.
25436
25437 [BZ #16609]
25438 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25439 __powerpc__ || __s390__ || __sh__ || __sparc__]
25440 (__ASSUME_SOCKETCALL): Define.
25441 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25442 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25443 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25444 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25445 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25446 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25447 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25448 (__ASSUME_ACCEPT4): Define instead of using previous
25449 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25450 __powerpc__ || __sparc__ || __s390__)] condition.
25451 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25452 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25453 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25454 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25455 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25456 [!__ASSUME_ACCEPT4]: Change condition to
25457 [!__ASSUME_ACCEPT4_SOCKETCALL].
25458 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25459 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25460 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25461 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25462 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25463 __ASSUME_ACCEPT4_SYSCALL.
25464 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25465 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25466 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25467 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25468 __ASSUME_ACCEPT4_SYSCALL.
25469 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25470 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25471 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25472 [__ASSUME_ACCEPT4]: Change condition to
25473 [__ASSUME_ACCEPT4_SOCKETCALL].
25474 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25475 (__ASSUME_SOCKETCALL): Define.
25476 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25477 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25478 (__ASSUME_SOCKETCALL): Define.
25479 (__ASSUME_ACCEPT4): Remove.
25480 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25481 Define.
25482 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25483 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25484 Likewise.
25485 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25486 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25487
25488 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25489 macro.
25490 (HWCAP_ARM_LPAE): Likewise.
25491 (HWCAP_ARM_EVTSTRM): Likewise.
25492 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25493 Add vpfd32, lpae and evtstrm.
25494 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25495 Increase to 22.
25496
25497 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25498
25499 * math/auto-libm-test-in: Add tests of clog10.
25500 * math/auto-libm-test-out: Regenerated.
25501 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25502 * sysdeps/i386/fpu/libm-test-ulps: Update.
25503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25504
25505 2014-02-18 Andreas Schwab <schwab@suse.de>
25506
25507 [BZ #16574]
25508 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25509 Store non-zero if the second buffer was newly allocated.
25510 (send_dg): Likewise.
25511 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25512 to send_vc and send_dg.
25513 (res_nsend): Pass NULL for ansp2_malloced.
25514 * resolv/res_query.c (__libc_res_nquery): Add parameter
25515 answerp2_malloced and pass it down to __libc_res_nsend.
25516 (res_nquery): Pass additional NULL to __libc_res_nquery.
25517 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25518 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25519 second answer buffer if answerp2_malloced was set.
25520 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25521 (__libc_res_nquerydomain): Add parameter
25522 answerp2_malloced and pass it down to __libc_res_nquery.
25523 (res_nquerydomain): Pass additional NULL to
25524 __libc_res_nquerydomain.
25525 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25526 additional NULL to __libc_res_nsend and __libc_res_nquery.
25527 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25528 additional NULL to __libc_res_nsearch.
25529 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25530 parameter of __libc_res_nsearch to check for separately allocated
25531 second buffer.
25532 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25533 __libc_res_nquery.
25534 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25535 additional NULL to __libc_res_nquery.
25536 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25537 __libc_res_nsearch.
25538 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25539 * include/resolv.h: Update prototypes of __libc_res_nquery,
25540 __libc_res_nsearch, __libc_res_nsend.
25541
25542 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25543
25544 * math/auto-libm-test-in: Add tests of fma.
25545 * math/auto-libm-test-out: Regenerated.
25546 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25547 (fma_towardzero_test_data): Likewise.
25548 (fma_downward_test_data): Likewise.
25549 (fma_upward_test_data): Likewise.
25550 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25551 mpc_mode.
25552 (rounding_modes): Add values for new field.
25553 (func_calc_method): Add value mpfr_fff_f.
25554 (func_calc_desc): Add mpfr_fff_f union field.
25555 (test_function): Add field exact_args.
25556 (FUNC): Add macro argument EXACT_ARGS.
25557 (FUNC_mpfr_f_f): Update call to FUNC.
25558 (FUNC_mpfr_f_f): Likewise.
25559 (FUNC_mpfr_ff_f): Likewise.
25560 (FUNC_mpfr_if_f): Likewise.
25561 (FUNC_mpc_c_f): Likewise.
25562 (FUNC_mpc_c_c): Likewise.
25563 (test_functions): Add fma. Update calls to FUNC.
25564 (handle_input_arg): Add argument exact_args.
25565 (add_test): Update call to handle_input_arg.
25566 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25567 (output_for_one_input_case): Update call to calc_generic_results.
25568 Recalculate exact zero results in each rounding mode.
25569
25570 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25571 non-negative before setting low bit.
25572 * math/auto-libm-test-in: Mark one asin test possibly having
25573 spurious underflow.
25574 * math/auto-libm-test-out: Regenerated.
25575 * sysdeps/i386/fpu/libm-test-ulps: Update.
25576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25577
25578 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25579
25580 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25581 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25582 ports/sysdeps/unix/sysv/linux/microblaze.
25583 * README: Add missing listing for microblaze*-*-linux-gnu.
25584
25585 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25586
25587 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25588 duplicate code
25589
25590 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25591
25592 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25593 * sysdeps/unix/sysv/linux/ia64: Move directory from
25594 ports/sysdeps/unix/sysv/linux/ia64.
25595 * README: Update listing for ia64-*-linux-gnu.
25596
25597 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25598 Joseph Myers <joseph@codesourcery.com>
25599
25600 * Makeconfig (test-name): New variable.
25601 (evaluate-test): Likewise.
25602 * Makerules (do-test-clean): Remove .test-result files.
25603 (common-mostlyclean): Likewise.
25604 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25605 * scripts/evaluate-test.sh: New file.
25606
25607 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25608
25609 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25610 separate $(objpfx)tst-fopenloc-cmp.out and
25611 $(objpfx)tst-fopenloc-mem.out targets.
25612 (tests): Update dependencies.
25613 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25614 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25615 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25616 (tst-rxspencer-no-utf8-ARGS): New variable.
25617 (tst-rxspencer-no-utf8-ENV): Likewise.
25618 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25619 instead of $(objpfx)tst-rxspencer-mem.
25620 ($(objpfx)tst-rxspencer-mem): Change target to
25621 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25622 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25623 * posix/tst-rxspencer-no-utf8.c: New file.
25624
25625 * elf/Makefile ($(objpfx)order.out): Remove rule.
25626 [$(run-built-tests) = yes] (tests): Depend on
25627 $(objpfx)order-cmp.out.
25628 ($(objpfx)order-cmp.out): New rule.
25629 [$(run-built-tests) = yes] (tests): Depend on
25630 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25631 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25632 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25633 $(objpfx)tst-array5-static-cmp.out.
25634 ($(objpfx)tst-array1.out): Remove rule.
25635 ($(objpfx)tst-array1-cmp.out): New rule.
25636 ($(objpfx)tst-array1-static.out): Remove rule.
25637 ($(objpfx)tst-array1-static-cmp.out): New rule.
25638 ($(objpfx)tst-array2.out): Remove rule.
25639 ($(objpfx)tst-array2-cmp.out): New rule.
25640 ($(objpfx)tst-array3.out): Remove rule.
25641 ($(objpfx)tst-array3-cmp.out): New rule.
25642 ($(objpfx)tst-array4.out): Remove rule.
25643 ($(objpfx)tst-array4-cmp.out): New rule.
25644 ($(objpfx)tst-array5.out): Remove rule.
25645 ($(objpfx)tst-array5-cmp.out): New rule.
25646 ($(objpfx)tst-array5-static.out): Remove rule.
25647 ($(objpfx)tst-array5-static-cmp.out): New rule.
25648 [$(run-built-tests) = yes] (tests): Depend on
25649 $(objpfx)order2-cmp.out.
25650 ($(objpfx)order2.out): Remove rule.
25651 ($(objpfx)order2-cmp.out): New rule.
25652 ($(objpfx)tst-initorder.out): Remove rule.
25653 [$(run-built-tests) = yes] (tests): Depend on
25654 $(objpfx)tst-initorder-cmp.out.
25655 ($(objpfx)tst-initorder-cmp.out): New rule.
25656 ($(objpfx)tst-initorder2.out): Remove rule.
25657 [$(run-built-tests) = yes] (tests): Depend on
25658 $(objpfx)tst-initorder2-cmp.out.
25659 ($(objpfx)tst-initorder2-cmp.out): New rule.
25660 [$(run-built-tests) = yes] (tests): Depend on
25661 $(objpfx)tst-unused-dep-cmp.out.
25662 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25663 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25664 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25665 on $(objpfx)tst-setvbuf1-cmp.out.
25666 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25667 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25668 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25669 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25670 ($(objpfx)tst-svc.out): Remove rule.
25671 ($(objpfx)tst-svc-cmp.out): New rule.
25672
25673 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25674
25675 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25676 * ctype/ctype.h [__USE_MISC]: Likewise.
25677 * dirent/dirent.h [__USE_MISC]: Likewise.
25678 * grp/grp.h [__USE_MISC]: Likewise.
25679 * io/fcntl.h [__USE_MISC]: Likewise.
25680 * io/sys/stat.h [__USE_MISC]: Likewise.
25681 * libio/stdio.h [__USE_MISC]: Likewise.
25682 * posix/unistd.h [__USE_MISC]: Likewise.
25683 * pwd/pwd.h [__USE_MISC]: Likewise.
25684 * stdlib.h [__USE_MISC]: Likewise.
25685 * string/bits/string2.h [__USE_MISC]: Likewise.
25686 * string/string.h [__USE_MISC]: Likewise.
25687 * time/time.h [__USE_MISC]: Likewise.
25688
25689 2014-02-13 Andreas Schwab <schwab@suse.de>
25690
25691 [BZ #16574]
25692 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25693 second answer buffer if it was separately allocated.
25694
25695 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25696
25697 * sysdeps/mips/math-tests.h: Include <features.h>.
25698 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25699 (ROUNDING_TESTS_long_double): Do not define.
25700 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25701 (EXCEPTION_TESTS_long_double): Likewise.
25702 * sysdeps/mips/mips64/libm-test-ulps: Update.
25703
25704 * include/features.h (__USE_BSD): Remove macro definitions.
25705 (__USE_SVID): Likewise.
25706 (_BSD_SOURCE): Likewise.
25707 (_SVID_SOURCE): Likewise.
25708 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25709 from definition of _DEFAULT_SOURCE.
25710 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25711 [_DEFAULT_SOURCE].
25712 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25713 * bits/mman.h [__USE_BSD]: Likewise.
25714 * bits/termios.h [__USE_BSD]: Likewise.
25715 * bits/waitstatus.h [__USE_BSD]: Likewise.
25716 * ctype/ctype.h [__USE_SVID]: Likewise.
25717 * dirent/dirent.h [__USE_BSD]: Likewise.
25718 * grp/grp.h [__USE_SVID]: Likewise.
25719 [__USE_BSD]: Likewise.
25720 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25721 * io/fcntl.h [__USE_BSD]: Likewise.
25722 * io/ftw.h [__USE_BSD]: Likewise.
25723 * io/sys/stat.h [__USE_BSD]: Likewise.
25724 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25725 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25726 * libio/stdio.h [__USE_SVID]: Likewise.
25727 [__USE_BSD]: Likewise.
25728 * math/math.h [__USE_SVID]: Likewise.
25729 [__USE_BSD]: Likewise.
25730 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25731 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25732 * misc/search.h [__USE_SVID]: Likewise.
25733 * misc/sys/mman.h [__USE_BSD]: Likewise.
25734 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25735 * misc/sys/uio.h [__USE_BSD]: Likewise.
25736 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25737 * posix/glob.h [__USE_BSD]: Likewise.
25738 * posix/regex.h [__USE_BSD]: Likewise.
25739 * posix/sys/types.h [__USE_BSD]: Likewise.
25740 [__USE_SVID]: Likewise.
25741 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25742 * posix/sys/wait.h [__USE_BSD]: Likewise.
25743 [__USE_SVID]: Likewise.
25744 * posix/unistd.h [__USE_BSD]: Likewise.
25745 [__USE_SVID]: Likewise.
25746 * pwd/pwd.h [__USE_SVID]: Likewise.
25747 * resolv/netdb.h [__USE_BSD]: Likewise.
25748 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25749 * signal/signal.h [__USE_BSD]: Likewise.
25750 [__USE_SVID]: Likewise.
25751 * socket/sys/socket.h [__USE_BSD]: Likewise.
25752 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25753 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25754 [__USE_SVID]: Likewise.
25755 * string/bits/string2.h [__USE_BSD]: Likewise.
25756 [__USE_SVID]: Likewise.
25757 * string/bits/string3.h [__USE_BSD]: Likewise.
25758 * string/endian.h [__USE_BSD]: Likewise.
25759 * string/string.h [__USE_SVID]: Likewise.
25760 [__USE_BSD]: Likewise.
25761 * string/strings.h [__USE_BSD]: Likewise.
25762 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25763 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25764 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25765 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25766 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25767 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25768 Likewise.
25769 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25770 Likewise.
25771 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25772 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25773 Likewise.
25774 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25775 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25776 Likewise.
25777 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25778 Likewise.
25779 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25780 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25781 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25782 Likewise.
25783 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25784 Likewise.
25785 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25786 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25787 * termios/termios.h [__USE_BSD]: Likewise.
25788 * time/sys/time.h [__USE_BSD]: Likewise.
25789 * time/time.h [__USE_BSD]: Likewise.
25790 [__USE_SVID]: Likewise.
25791
25792 * Makefile (subdir_targets): Remove subdir_lint.out.
25793
25794 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25795 (do-tst-printf): Likewise.
25796 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25797 $(objpfx)tst-printf.out.
25798
25799 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25800
25801 * Makerules (check-abi-%): Change target to
25802 $(objpfx)check-abi-%.out.
25803 (check-abi target): Update dependencies.
25804 (check-abi-pattern variable): Redirect output of diff to $@.
25805 (check-abi variable): Likewise.
25806 * elf/Makefile (check-abi): Update dependencies.
25807
25808 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25809 unused.
25810 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25811 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25812 subnormal range.
25813 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25814 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25815 value has largest subnormal exponent.
25816 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25817 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25818 * sysdeps/aarch64/soft-fp/sfp-machine.h
25819 (_FP_TININESS_AFTER_ROUNDING): New macro.
25820 * sysdeps/alpha/soft-fp/sfp-machine.h
25821 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25822 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25823 Likewise.
25824 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25825 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25826 * sysdeps/mips/soft-fp/sfp-machine.h
25827 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25828 * sysdeps/powerpc/soft-fp/sfp-machine.h
25829 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25830 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25831 Likewise.
25832 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25833 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25834 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25835 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25836 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25837 Likewise.
25838
25839 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
25840
25841 [BZ #16545]
25842 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25843 model 1.
25844
25845 2014-02-12 Richard Henderson <rth@redhat.com>
25846
25847 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25848 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25849 * sysdeps/unix/sysv/linux/alpha: Move directory from
25850 ports/sysdeps/unix/sysv/linux/alpha.
25851 * README: Update listing for alpha-*-linux-gnu.
25852
25853 2014-02-11 Joseph Myers <joseph@codesourcery.com>
25854
25855 * include/features.h: Update comment documenting feature test
25856 macros.
25857 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
25858 _DEFAULT_SOURCE.
25859 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25860 (_SVID_SOURCE): Likewise.
25861 (_DEFAULT_SOURCE): Update description of default features.
25862 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25863 with _GNU_SOURCE.
25864 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25865 (S_ISVTX): Likewise.
25866 * manual/math.texi (Mathematical Constants): Likewise.
25867 * manual/signal.texi (Interrupted Primitives): Likewise.
25868 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25869 * math/test-matherr.c (_SVID_SOURCE): Do not define.
25870 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25871 Don't refer to _SVID_SOURCE in warning text.
25872
25873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25874
25875 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25876 already defined.
25877 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25878 * sysdeps/mips/dl-lookup.c: Remove.
25879 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25880
25881 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25882
25883 [BZ #16447]
25884 * math/auto-libm-test-in: Add testcase for expl.
25885 * math/auto-libm-test-out: Regenerate.
25886 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25887 calculation of unsafe.
25888 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25889
25890 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
25891
25892 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25893 * sysdeps/unix/sysv/linux/aarch64: Move directory from
25894 ports/sysdeps/unix/sysv/linux/aarch64.
25895 * README: Update listing for aarch64*-*-linux-gnu.
25896
25897 2014-02-11 Will Newton <will.newton@linaro.org>
25898
25899 * manual/probes.texi (Mathematical Function Probes): Use
25900 "triggered" instead of "hit".
25901
25902 * manual/probes.texi (Internal Probes): Add documentation
25903 of setjmp, longjmp and longjmp_target probes.
25904
25905 * include/stap-probe.h: Add comment about probe argument
25906 format.
25907
25908 * malloc/mtrace.c (attribute_hidden): Remove unused macro
25909 definition. (tr_where, tr_freehook, tr_mallochook,
25910 tr_reallochook, tr_memalignhook): Use ANSI protoype.
25911
25912 2014-02-11 David S. Miller <davem@davemloft.net>
25913
25914 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25915 processing int_tests.
25916
25917 2014-02-10 Joseph Myers <joseph@codesourcery.com>
25918
25919 * sysdeps/mips: Move directory from ports/sysdeps/mips.
25920 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25921 * sysdeps/unix/sysv/linux/mips: Move directory from
25922 ports/sysdeps/unix/sysv/linux/mips.
25923 * README: Update listing for mips-*-linux-gnu and
25924 mips64-*-linux-gnu.
25925
25926 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
25927
25928 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25929 * sysdeps/unix/sysv/linux/m68k: Move directory from
25930 ports/sysdeps/unix/sysv/linux/m68k.
25931 * README: Update listing for m68k-*-linux-gnu.
25932
25933 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
25934
25935 * sysdeps/tile: Move directory from ports/sysdeps/tile.
25936 * sysdeps/unix/sysv/linux/generic: Move directory from
25937 ports/sysdeps/unix/sysv/linux/generic.
25938 * sysdeps/unix/sysv/linux/tile: Move directory from
25939 ports/sysdeps/unix/sysv/linux/tile.
25940 * README: Update listing for tile*-*-linux-gnu.
25941
25942 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
25943
25944 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25945 __builtin_expect.
25946 * benchtests/bench-memmem.c (simple_memmem): Likewise.
25947 * catgets/open_catalog.c (__open_catalog): Likewise.
25948 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25949 * debug/confstr_chk.c: Likewise.
25950 * debug/fread_chk.c (__fread_chk): Likewise.
25951 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25952 * debug/getgroups_chk.c: Likewise.
25953 * debug/mbsnrtowcs_chk.c: Likewise.
25954 * debug/mbsrtowcs_chk.c: Likewise.
25955 * debug/mbstowcs_chk.c: Likewise.
25956 * debug/memcpy_chk.c: Likewise.
25957 * debug/memmove_chk.c: Likewise.
25958 * debug/mempcpy_chk.c: Likewise.
25959 * debug/memset_chk.c: Likewise.
25960 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25961 * debug/strcat_chk.c (__strcat_chk): Likewise.
25962 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25963 * debug/strncat_chk.c (__strncat_chk): Likewise.
25964 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25965 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25966 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25967 * debug/wcpncpy_chk.c: Likewise.
25968 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25969 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25970 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25971 * debug/wcsncpy_chk.c: Likewise.
25972 * debug/wcsnrtombs_chk.c: Likewise.
25973 * debug/wcsrtombs_chk.c: Likewise.
25974 * debug/wcstombs_chk.c: Likewise.
25975 * debug/wmemcpy_chk.c: Likewise.
25976 * debug/wmemmove_chk.c: Likewise.
25977 * debug/wmempcpy_chk.c: Likewise.
25978 * debug/wmemset_chk.c: Likewise.
25979 * dirent/scandirat.c (SCANDIRAT): Likewise.
25980 * dlfcn/dladdr1.c (dladdr1): Likewise.
25981 * dlfcn/dladdr.c (dladdr): Likewise.
25982 * dlfcn/dlclose.c (dlclose_doit): Likewise.
25983 * dlfcn/dlerror.c (__dlerror): Likewise.
25984 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25985 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25986 * dlfcn/dlopen.c (dlopen_doit): Likewise.
25987 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25988 * dlfcn/dlsym.c (dlsym_doit): Likewise.
25989 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25990 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25991 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25992 Likewise.
25993 * elf/dl-conflict.c: Likewise.
25994 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25995 * elf/dl-dst.h: Likewise.
25996 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25997 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25998 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25999 * elf/dl-init.c (call_init, _dl_init): Likewise.
26000 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26001 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26002 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26003 Likewise.
26004 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26005 Likewise.
26006 * elf/dl-minimal.c (__libc_memalign): Likewise.
26007 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26008 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26009 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26010 * elf/dl-sym.c (do_sym): Likewise.
26011 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26012 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26013 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26014 * elf/dl-writev.h (_dl_writev): Likewise.
26015 * elf/ldconfig.c (search_dir): Likewise.
26016 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26017 (dl_main): Likewise.
26018 * elf/setup-vdso.h (setup_vdso): Likewise.
26019 * grp/compat-initgroups.c (compat_call): Likewise.
26020 * grp/fgetgrent.c (fgetgrent): Likewise.
26021 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26022 * grp/putgrent.c (putgrent): Likewise.
26023 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26024 Likewise.
26025 * hurd/hurdinit.c: Likewise.
26026 * iconvdata/8bit-gap.c (struct): Likewise.
26027 * iconvdata/ansi_x3.110.c : Likewise.
26028 * iconvdata/big5.c : Likewise.
26029 * iconvdata/big5hkscs.c : Likewise.
26030 * iconvdata/cp1255.c: Likewise.
26031 * iconvdata/cp1258.c : Likewise.
26032 * iconvdata/cp932.c : Likewise.
26033 * iconvdata/euc-cn.c: Likewise.
26034 * iconvdata/euc-jisx0213.c : Likewise.
26035 * iconvdata/euc-jp.c: Likewise.
26036 * iconvdata/euc-jp-ms.c : Likewise.
26037 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26038 * iconvdata/gb18030.c : Likewise.
26039 * iconvdata/gbbig5.c (const): Likewise.
26040 * iconvdata/gbgbk.c: Likewise.
26041 * iconvdata/gbk.c : Likewise.
26042 * iconvdata/ibm1364.c : Likewise.
26043 * iconvdata/ibm930.c : Likewise.
26044 * iconvdata/ibm932.c: Likewise.
26045 * iconvdata/ibm933.c : Likewise.
26046 * iconvdata/ibm935.c : Likewise.
26047 * iconvdata/ibm937.c : Likewise.
26048 * iconvdata/ibm939.c : Likewise.
26049 * iconvdata/ibm943.c: Likewise.
26050 * iconvdata/iso_11548-1.c: Likewise.
26051 * iconvdata/iso-2022-cn.c : Likewise.
26052 * iconvdata/iso-2022-cn-ext.c : Likewise.
26053 * iconvdata/iso-2022-jp-3.c: Likewise.
26054 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26055 * iconvdata/iso-2022-kr.c : Likewise.
26056 * iconvdata/iso646.c (gconv_end): Likewise.
26057 * iconvdata/iso_6937-2.c : Likewise.
26058 * iconvdata/iso_6937.c : Likewise.
26059 * iconvdata/iso8859-1.c: Likewise.
26060 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26061 * iconvdata/shift_jisx0213.c : Likewise.
26062 * iconvdata/sjis.c : Likewise.
26063 * iconvdata/t.61.c : Likewise.
26064 * iconvdata/tcvn5712-1.c : Likewise.
26065 * iconvdata/tscii.c: Likewise.
26066 * iconvdata/uhc.c : Likewise.
26067 * iconvdata/unicode.c (gconv_end): Likewise.
26068 * iconvdata/utf-16.c (gconv_end): Likewise.
26069 * iconvdata/utf-32.c (gconv_end): Likewise.
26070 * iconvdata/utf-7.c (base64): Likewise.
26071 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26072 * iconv/gconv_close.c (__gconv_close): Likewise.
26073 * iconv/gconv_open.c (__gconv_open): Likewise.
26074 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26075 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26076 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26077 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26078 (ucs4le_internal_loop_single): Likewise.
26079 * iconv/iconv.c (iconv): Likewise.
26080 * iconv/iconv_close.c: Likewise.
26081 * iconv/loop.c (SINGLE): Likewise.
26082 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26083 * include/atomic.h: Likewise.
26084 * inet/inet6_option.c (option_alloc): Likewise.
26085 * intl/bindtextdom.c (set_binding_values): Likewise.
26086 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26087 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26088 * intl/localealias.c (read_alias_file): Likewise.
26089 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26090 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26091 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26092 * libio/fmemopen.c (fmemopen): Likewise.
26093 * libio/iofgets.c (_IO_fgets): Likewise.
26094 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26095 * libio/iofgetws.c (fgetws): Likewise.
26096 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26097 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26098 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26099 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26100 * locale/findlocale.c (_nl_find_locale): Likewise.
26101 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26102 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26103 Likewise.
26104 * locale/setlocale.c (setlocale): Likewise.
26105 * login/programs/pt_chown.c (main): Likewise.
26106 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26107 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26108 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26109 (mmap, mmap64, mremap, munmap): Likewise.
26110 * math/e_exp2l.c: Likewise.
26111 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26112 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26113 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26114 * math/s_catan.c (__catan): Likewise.
26115 * math/s_catanf.c (__catanf): Likewise.
26116 * math/s_catanh.c (__catanh): Likewise.
26117 * math/s_catanhf.c (__catanhf): Likewise.
26118 * math/s_catanhl.c (__catanhl): Likewise.
26119 * math/s_catanl.c (__catanl): Likewise.
26120 * math/s_ccosh.c (__ccosh): Likewise.
26121 * math/s_ccoshf.c (__ccoshf): Likewise.
26122 * math/s_ccoshl.c (__ccoshl): Likewise.
26123 * math/s_cexp.c (__cexp): Likewise.
26124 * math/s_cexpf.c (__cexpf): Likewise.
26125 * math/s_cexpl.c (__cexpl): Likewise.
26126 * math/s_clog10.c (__clog10): Likewise.
26127 * math/s_clog10f.c (__clog10f): Likewise.
26128 * math/s_clog10l.c (__clog10l): Likewise.
26129 * math/s_clog.c (__clog): Likewise.
26130 * math/s_clogf.c (__clogf): Likewise.
26131 * math/s_clogl.c (__clogl): Likewise.
26132 * math/s_csin.c (__csin): Likewise.
26133 * math/s_csinf.c (__csinf): Likewise.
26134 * math/s_csinh.c (__csinh): Likewise.
26135 * math/s_csinhf.c (__csinhf): Likewise.
26136 * math/s_csinhl.c (__csinhl): Likewise.
26137 * math/s_csinl.c (__csinl): Likewise.
26138 * math/s_csqrt.c (__csqrt): Likewise.
26139 * math/s_csqrtf.c (__csqrtf): Likewise.
26140 * math/s_csqrtl.c (__csqrtl): Likewise.
26141 * math/s_ctan.c (__ctan): Likewise.
26142 * math/s_ctanf.c (__ctanf): Likewise.
26143 * math/s_ctanh.c (__ctanh): Likewise.
26144 * math/s_ctanhf.c (__ctanhf): Likewise.
26145 * math/s_ctanhl.c (__ctanhl): Likewise.
26146 * math/s_ctanl.c (__ctanl): Likewise.
26147 * math/w_pow.c: Likewise.
26148 * math/w_powf.c: Likewise.
26149 * math/w_powl.c: Likewise.
26150 * math/w_scalb.c (sysv_scalb): Likewise.
26151 * math/w_scalbf.c (sysv_scalbf): Likewise.
26152 * math/w_scalbl.c (sysv_scalbl): Likewise.
26153 * misc/error.c (error_tail): Likewise.
26154 * misc/pselect.c (__pselect): Likewise.
26155 * nis/nis_callback.c (__nis_create_callback): Likewise.
26156 * nis/nis_call.c (__nisfind_server): Likewise.
26157 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26158 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26159 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26160 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26161 * nis/nis_lookup.c (nis_lookup): Likewise.
26162 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26163 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26164 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26165 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26166 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26167 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26168 * nis/nss_compat/compat-initgroups.c (add_group)
26169 (internal_getgrent_r): Likewise.
26170 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26171 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26172 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26173 (internal_getspnam_r): Likewise.
26174 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26175 (_nss_nis_getaliasbyname_r): Likewise.
26176 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26177 (_nss_nis_getntohost_r): Likewise.
26178 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26179 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26180 (_nss_nis_getgrgid_r): Likewise.
26181 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26182 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26183 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26184 (_nss_nis_gethostbyname4_r): Likewise.
26185 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26186 (initgroups_netid): Likewise.
26187 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26188 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26189 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26190 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26191 (_nss_nis_getprotobynumber_r): Likewise.
26192 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26193 (_nss_nis_getsecretkey): Likewise.
26194 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26195 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26196 (_nss_nis_getpwuid_r): Likewise.
26197 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26198 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26199 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26200 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26201 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26202 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26203 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26204 Likewise.
26205 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26206 (_nss_nisplus_getntohost_r): Likewise.
26207 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26208 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26209 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26210 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26211 Likewise.
26212 * nis/nss_nisplus/nisplus-initgroups.c
26213 (_nss_nisplus_initgroups_dyn): Likewise.
26214 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26215 (_nss_nisplus_getnetbyaddr_r): Likewise.
26216 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26217 (_nss_nisplus_getprotobynumber_r): Likewise.
26218 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26219 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26220 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26221 Likewise.
26222 * nis/nss_nisplus/nisplus-service.c
26223 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26224 (_nss_nisplus_getservbyport_r): Likewise.
26225 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26226 (_nss_nisplus_getspnam_r): Likewise.
26227 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26228 Likewise.
26229 * nscd/aicache.c (addhstaiX): Likewise.
26230 * nscd/cache.c (cache_search, prune_cache): Likewise.
26231 * nscd/connections.c (register_traced_file, send_ro_fd)
26232 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26233 (main_loop_epoll): Likewise.
26234 * nscd/grpcache.c (addgrbyX): Likewise.
26235 * nscd/hstcache.c (addhstbyX): Likewise.
26236 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26237 * nscd/mem.c (gc, mempool_alloc): Likewise.
26238 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26239 (addinnetgrX): Likewise.
26240 * nscd/nscd-client.h (__nscd_acquire_maplock)
26241 (__nscd_drop_map_ref): Likewise.
26242 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26243 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26244 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26245 Likewise.
26246 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26247 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26248 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26249 (__nscd_get_map_ref): Likewise.
26250 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26251 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26252 Likewise.
26253 * nscd/pwdcache.c (addpwbyX): Likewise.
26254 * nscd/selinux.c (preserve_capabilities): Likewise.
26255 * nscd/servicescache.c (addservbyX): Likewise.
26256 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26257 * posix/fnmatch.c (fnmatch): Likewise.
26258 * posix/getopt.c (_getopt_internal_r): Likewise.
26259 * posix/glob.c (glob, glob_in_dir): Likewise.
26260 * posix/wordexp.c (exec_comm_child): Likewise.
26261 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26262 (getanswer_r, gaih_getanswer_slice): Likewise.
26263 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26264 * resolv/res_init.c: Likewise.
26265 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26266 * resolv/res_query.c (__libc_res_nquery): Likewise.
26267 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26268 Likewise.
26269 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26270 * stdio-common/perror.c (perror): Likewise.
26271 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26272 * stdio-common/tmpnam.c (tmpnam): Likewise.
26273 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26274 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26275 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26276 Likewise.
26277 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26278 * stdlib/putenv.c (putenv): Likewise.
26279 * stdlib/setenv.c (__add_to_environ): Likewise.
26280 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26281 * stdlib/strtol_l.c (INTERNAL): Likewise.
26282 * string/memmem.c (memmem): Likewise.
26283 * string/strerror.c (strerror): Likewise.
26284 * string/strnlen.c (__strnlen): Likewise.
26285 * string/test-memmem.c (simple_memmem): Likewise.
26286 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26287 * sunrpc/pm_getport.c (__get_socket): Likewise.
26288 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26289 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26290 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26291 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26292 Likewise.
26293 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26294 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26295 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26296 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26297 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26298 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26299 Likewise.
26300 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26301 Likewise.
26302 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26303 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26304 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26305 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26306 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26308 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26309 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26310 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26311 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26312 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26313 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26314 Likewise.
26315 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26316 Likewise.
26317 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26318 Likewise.
26319 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26320 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26321 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26323 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26324 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26325 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26326 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26328 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26329 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26331 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26332 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26333 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26334 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26335 Likewise.
26336 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26337 Likewise.
26338 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26339 Likewise.
26340 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26341 Likewise.
26342 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26344 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26345 Likewise.
26346 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26347 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26348 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26349 * sysdeps/posix/sleep.c: Likewise.
26350 * sysdeps/posix/tempname.c: Likewise.
26351 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26352 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26353 Likewise.
26354 * sysdeps/powerpc/powerpc32/dl-machine.h
26355 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26356 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26358 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26359 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26360 Likewise.
26361 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26362 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26363 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26364 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26365 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26366 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26367 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26368 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26369 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26370 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26372 (elf_machine_lazy_rel): Likewise.
26373 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26375 (elf_machine_lazy_rel): Likewise.
26376 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26377 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26378 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26379 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26380 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26381 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26382 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26384 Likewise.
26385 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26386 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26387 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26388 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26389 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26390 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26391 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26392 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26393 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26394 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26395 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26396 Likewise.
26397 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26398 (__posix_fallocate64_l64): Likewise.
26399 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26400 (posix_fallocate): Likewise.
26401 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26402 Likewise.
26403 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26404 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26405 (getifaddrs_internal): Likewise.
26406 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26407 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26408 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26409 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26410 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26411 (__posix_fallocate64_l64): Likewise.
26412 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26413 Likewise.
26414 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26415 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26416 (__get_clockfreq): Likewise.
26417 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26418 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26419 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26422 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26423 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26424 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26425 Likewise.
26426 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26427 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26428 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26429 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26430 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26431 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26432 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26433 Likewise.
26434 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26435 (posix_fallocate): Likewise.
26436 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26437 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26438 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26439 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26440 (elf_machine_rela, elf_machine_rela_relative)
26441 (elf_machine_lazy_rel): Likewise.
26442 * time/asctime.c (asctime_internal): Likewise.
26443 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26444 * time/tzset.c (__tzset_parse_tz): Likewise.
26445 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26446 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26447 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26448 * wcsmbs/wcsmbsload.h: Likewise.
26449
26450 [BZ #15894]
26451 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26452
26453 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26454 (arena_get2): Remove THREAD_STATS conditionals.
26455 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26456 (__malloc_stats, int): Likewise.
26457
26458 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26459
26460 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26461 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26462
26463 * manual/setjmp.texi: Fix typos/grammar errors.
26464
26465 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26466 Only return early when n is <= 0. Delete unused return statement.
26467
26468 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26469 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26470 * debug/tst-longjmp_chk3.c: New file.
26471
26472 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26473 (test_main): Replace code with set_fortify_handler call.
26474 * debug/test-strcpy_chk.c: Likewise.
26475 * debug/tst-chk1.c: Likewise.
26476 * debug/tst-longjmp_chk.c: Likewise.
26477 * test-skeleton.c: Include fcntl.h & paths.h
26478 (set_fortify_handler): Define.
26479
26480 * debug/tst-longjmp_chk.c: Add header comment and include
26481 ../test-skeleton.c.
26482 (do_test): Mark static.
26483 (TEST_FUNCTION): Define.
26484
26485 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26486 (IP_PMTUDISC_INTERFACE): Likewise.
26487 (IP_MULTICAST_IF): Likewise.
26488 (IP_MULTICAST_TTL): Likewise.
26489 (IP_MULTICAST_LOOP): Likewise.
26490 (IP_ADD_MEMBERSHIP): Likewise.
26491 (IP_DROP_MEMBERSHIP): Likewise.
26492 (IP_UNBLOCK_SOURCE): Likewise.
26493 (IP_BLOCK_SOURCE): Likewise.
26494 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26495 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26496 (IP_MSFILTER): Likewise.
26497 (MCAST_JOIN_GROUP): Likewise.
26498 (MCAST_BLOCK_SOURCE): Likewise.
26499 (MCAST_UNBLOCK_SOURCE): Likewise.
26500 (MCAST_LEAVE_GROUP): Likewise.
26501 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26502 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26503 (MCAST_MSFILTER): Likewise.
26504 (IP_MULTICAST_ALL): Likewise.
26505 (IP_UNICAST_IF): Likewise.
26506
26507 * timezone/Makefile: Delete $(have-ksh) check.
26508 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26509 * timezone/tzselect.ksh: Add +x mode bits.
26510
26511 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26512 (ANON_INODE_FS_MAGIC): Likewise.
26513 (BDEVFS_MAGIC): Likewise.
26514 (BINFMTFS_MAGIC): Likewise.
26515 (BTRFS_TEST_MAGIC): Likewise.
26516 (CRAMFS_MAGIC_WEND): Likewise.
26517 (DEBUGFS_MAGIC): Likewise.
26518 (ECRYPTFS_SUPER_MAGIC): Likewise.
26519 (EXT3_SUPER_MAGIC): Likewise.
26520 (EXT4_SUPER_MAGIC): Likewise.
26521 (FUTEXFS_SUPER_MAGIC): Likewise.
26522 (HOSTFS_SUPER_MAGIC): Likewise.
26523 (HUGETLBFS_MAGIC): Likewise.
26524 (MINIX3_SUPER_MAGIC): Likewise.
26525 (MTD_INODE_FS_MAGIC): Likewise.
26526 (NILFS_SUPER_MAGIC): Likewise.
26527 (OPENPROM_SUPER_MAGIC): Likewise.
26528 (PIPEFS_MAGIC): Likewise.
26529 (PSTOREFS_MAGIC): Likewise.
26530 (QNX6_SUPER_MAGIC): Likewise.
26531 (RAMFS_MAGIC): Likewise.
26532 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26533 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26534 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26535 (SECURITYFS_MAGIC): Likewise.
26536 (SELINUX_MAGIC): Likewise.
26537 (SMACK_MAGIC): Likewise.
26538 (SOCKFS_MAGIC): Likewise.
26539 (SQUASHFS_MAGIC): Likewise.
26540 (STACK_END_MAGIC): Likewise.
26541 (TMPFS_MAGIC): Likewise.
26542 (USBDEVICE_SUPER_MAGIC): Likewise.
26543 (V9FS_MAGIC): Likewise.
26544 (XENFS_SUPER_MAGIC): Likewise.
26545 (CRAMFS_MAGIC): Fix typo in comment.
26546 (EXT2_SUPER_MAGIC): Update comment.
26547 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26548
26549 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26550
26551 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26552 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26553 * sysdeps/unix/sysv/linux/arm: Move directory from
26554 ports/sysdeps/unix/sysv/linux/arm.
26555 * README: Update listing for arm-*-linux-gnueabi.
26556
26557 * README: Remove mention of am33.
26558
26559 2014-02-07 Roland McGrath <roland@hack.frob.com>
26560
26561 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26562 than the comma operator, to avoid "rhs of comma has no effect"
26563 compiler warnings.
26564 (__sigfillset, __sigandset, __sigorset): Likewise.
26565 * include/signal.h (__sigemptyset): Likewise.
26566 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26567
26568 2014-02-07 Allan McRae <allan@archlinux.org>
26569
26570 * version.h (RELEASE): Set to "development".
26571 (VERSION): Set to "2.19.90"
26572 * NEWS: Add 2.20 section.
26573
26574 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26575
26576 [BZ #16529]
26577 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26578
26579 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26580
26581 * manual/contrib.texi: Update entry for Carlos O'Donell,
26582 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26583
26584 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26585
26586 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26587
26588 * sysdeps/unix/sysv/linux/kernel-features.h
26589 [__LINUX_KERNEL_VERSION >= 0x020621]
26590 (__ASSUME_PROC_PID_TASK_COMM): Define.
26591
26592 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26593
26594 [BZ #16398]
26595 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26596 conversion when destination buffer does not have enough space.
26597 * libio/tst-ftell-partial-wide.c: New test case.
26598 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26599
26600 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26601 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26602 Leonard and Allan McRae.
26603
26604 2014-02-04 David S. Miller <davem@davemloft.net>
26605
26606 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26607 32-bit.
26608
26609 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26610
26611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26612 New file
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26614 New file
26615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26616 New file.
26617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26618 New file.
26619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26620 New file.
26621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26622 New file.
26623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26624 New file.
26625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26626 New file.
26627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26628 New file.
26629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26630 New file.
26631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26632 New file.
26633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26634 New file.
26635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26636 New file.
26637
26638 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26639
26640 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26641 * shlib-versions: Likewise.
26642
26643 2014-02-04 Roland McGrath <roland@hack.frob.com>
26644 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26645
26646 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26647 (abilist-pattern): New variable, set to %-le.abilist.
26648
26649 * Makerules (abilist-pattern): New variable.
26650 (vpath): Use $(abilist-pattern) in place of %.abilist.
26651 (check-abi-% pattern rule): Likewise.
26652 (check-abi, update-abi): Likewise.
26653
26654 2014-02-04 Eric Wong <normalperson@yhbt.net>
26655
26656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26657
26658 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26659
26660 * manual/startup.texi: Add next, previous, and top entries for
26661 the `Program Arguments' and `Environment Variables' nodes.
26662
26663 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26664
26665 * manual/macros.texi: Add comments before MTASC-safety macros.
26666
26667 * manual/users.texi: Document MTASC-safety properties.
26668
26669 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26670 (pthread_getspecific, pthread_setspecific): Format with
26671 @deftypefun, and add @safety note.
26672 * manual/signal.texi: Move comments that analyze the above
26673 functions to their home place.
26674
26675 2014-02-03 Allan McRae <allan@archlinux.org>
26676
26677 * po/sl.po: Update Slovenian translation from translation project.
26678
26679 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26680
26681 * manual/time.texi (timegm): Add missing blank after @c.
26682 Reported by Joseph Myers <joseph@codesourcery.com>.
26683
26684 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26685
26686 * manual/check-safety.sh: New.
26687 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26688
26689 * manual/terminal.texi: Document MTASC-safety properties.
26690
26691 * manual/filesys.texi: Document MTASC-safety properties.
26692
26693 * manual/errno.texi: Document MTASC-safety properties.
26694
26695 * manual/intro.texi: Document safety identifiers and
26696 conditionals.
26697
26698 * manual/string.texi (wcstok): Fix prototype.
26699 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26700
26701 * manual/time.texi: Document MTASC-safety properties.
26702
26703 * manual/string.texi: Document MTASC-safety properties.
26704
26705 * manual/threads.texi: Document MTASC-safety properties.
26706
26707 * manual/stdio.texi: Document MTASC-safety properties.
26708
26709 * manual/syslog.texi: Document MTASC-safety properties.
26710
26711 * manual/sysinfo.texi: Document MTASC-safety properties.
26712
26713 * manual/startup.texi: Document MTASC-safety properties.
26714
26715 * manual/socket.texi: Document MTASC-safety properties.
26716
26717 * manual/signal.texi: Document MTASC-safety properties.
26718
26719 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26720
26721 * manual/setjmp.texi: Document MTASC-safety properties.
26722
26723 * manual/search.texi: Document MTASC-safety properties.
26724
26725 * manual/resource.texi: Document MTASC-safety properties.
26726
26727 * manual/process.texi: Document MTASC-safety properties.
26728
26729 * manual/platform.texi: Document MTASC-safety properties.
26730
26731 * manual/pipe.texi: Document MTASC-safety properties.
26732
26733 * manual/pattern.texi: Document MTASC-safety properties.
26734
26735 * manual/message.texi: Document MTASC-safety properties.
26736
26737 [BZ #12751]
26738 * manual/memory.texi: Document MTASC-safety properties.
26739
26740 * manual/math.texi: Document MTASC-safety properties.
26741
26742 * manual/locale.texi: Document MTASC-safety properties.
26743
26744 * manual/llio.texi: Document MTASC-safety properties.
26745
26746 * manual/libdl.texi: New.
26747
26748 * manual/lang.texi: Document MTASC-safety properties.
26749
26750 * manual/job.texi: Document MTASC-safety properties.
26751
26752 * manual/getopt.texi: Document MTASC-safety properties.
26753
26754 * manual/ctype.texi: Document MTASC-safety properties.
26755
26756 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26757
26758 [BZ #16046]
26759 * csu/libc-tls.c (static_map): Remove variable.
26760 (__libc_setup_tls): Use main executable's link map for TLS data.
26761 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26762 casing for LM_ID_BASE and GL(dl_nns).
26763 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26764 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26765 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26766 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26767 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26768 member.
26769 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26770 l_phnum members.
26771
26772 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26773
26774 * manual/debug.texi: Document MTASC-safety properties.
26775
26776 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26777
26778 [BZ #16510]
26779 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26780 of __x86_64__ when disabling x87 inline functions.
26781
26782 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26783
26784 * manual/charset.texi: Document MTASC-safety properties.
26785
26786 * manual/crypt.texi: Document MTASC-safety properties.
26787
26788 * manual/conf.texi: Document MTASC-safety properties.
26789
26790 * manual/arith.texi: Document MTASC-safety properties.
26791
26792 * manual/argp.texi: Document MTASC-safety properties.
26793
26794 * manual/macros.texi: Introduce macros to document multi
26795 thread, asynchronous signal and asynchronous cancellation
26796 safety properties.
26797 * manual/intro.texi: Introduce the properties themselves.
26798
26799 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26800
26801 * sysdeps/sh/sh4/Makefile: New file.
26802
26803 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
26804
26805 * math/gen-libm-test.pl ($srcdir): New variable.
26806 ($auto_input): Use it.
26807
26808 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26809
26810 [BZ #16506]
26811 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26812 access beyond array bounds when parsing netgroups file.
26813
26814 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26815 the old buffer before realloc.
26816
26817 2014-01-27 Allan McRae <allan@archlinux.org>
26818
26819 * po/fr.po: Update French translation from translation project.
26820
26821 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26822
26823 * sysdeps/sh/libm-test-ulps: Regenerate.
26824
26825 2014-01-24 David S. Miller <davem@davemloft.net>
26826
26827 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26828
26829 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26830
26831 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26832 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26833
26834 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26835
26836 [BZ #16474]
26837 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26838 string pointers after reallocation.
26839
26840 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26841
26842 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26843 __SH4A__ instead of __SH_FPU_ANY__.
26844
26845 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26846
26847 * sysdeps/sh/fpu_control.h: New file.
26848 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26849 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26850 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26851 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26852 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26853 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26854 * sysdeps/sh/sys/ucontext.h: Remove.
26855 * sysdeps/sh/sys: Remove directory.
26856
26857 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26858
26859 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26860 s390/sys/ucontext.h.
26861 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26862 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26863
26864 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
26865
26866 [BZ #15605]
26867 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26868
26869 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26870
26871 [BZ#16431]
26872 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26873 Adjust the vDSO correctly for internal calls.
26874 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26875
26876 2014-01-20 Allan McRae <allan@archlinux.org>
26877
26878 * po/ca.po: Update Catalan translation from translation project.
26879
26880 2014-01-16 Mike Frysinger <vapier@gentoo.org>
26881
26882 * sysdeps/s390/sotruss-lib.c: New file.
26883
26884 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26885
26886 [BZ#16430]
26887 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26888 (__GI___gettimeofday): Alias for a different internal symbol to avoid
26889 local calls issues by not having a PLT stub required for IFUNC calls.
26890 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26891
26892 2014-01-16 Joseph Myers <joseph@codesourcery.com>
26893
26894 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26895 * math/test-fpucw-static.c: Likewise.
26896
26897 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26898
26899 [BZ #16453]
26900 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26901
26902 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26903
26904 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26905 implementation for powerpc.
26906
26907 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
26908
26909 [BZ #14782]
26910 * sysdeps/posix/system.c (__libc_system): Do not enable
26911 asynchronous cancellation.
26912
26913 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26914
26915 [BZ #16427]
26916 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26917 handling only for numbers special also in the IEEE case.
26918
26919 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26920
26921 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26922
26923 2014-01-11 Allan McRae <allan@archlinux.org>
26924
26925 * po/bg.po: Update Bulgarian translation from translation project.
26926
26927 * po/de.po: Update German translation from translation project.
26928
26929 2014-01-10 Roland McGrath <roland@hack.frob.com>
26930
26931 * sysdeps/generic/gcc-compat.h: New file.
26932
26933 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26934
26935 * benchtests/asin-inputs: Correct slow inputs.
26936 * benchtests/acos-inputs: Likewise.
26937
26938 2014-01-10 Allan McRae <allan@archlinux.org>
26939
26940 * po:sv.po: Update Swedish translation from translation project.
26941
26942 * po/vi.po: Update Vietnamese translation from translation project.
26943
26944 * po/eo.po: Update Esperanto translation from translation project.
26945
26946 * po/cs.po: Update Czech translation from translation project.
26947
26948 * po/nl.po: Update Dutch translation from translation project.
26949
26950 * po/pl.po: Update Polish translation from translation project.
26951
26952 * po/ru.po: Update Russian translation from translation project.
26953
26954 * po/uk.po: Update Ukrainian translation from translation project.
26955
26956 2014-01-08 Brooks Moses <bmoses@google.com>
26957
26958 * elf/dl-load.c: Fix comment typo.
26959
26960 2014-01-08 Carlos O'Donell <carlos@redhat.com>
26961
26962 * po/header.pot: Rename to...
26963 * po/pot.header: ... this.
26964 * po/Makefile: Use pot.header.
26965
26966 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
26967 Maxim Kuvyrkov <maxim@kugelworks.com>
26968
26969 [BZ #16394]
26970 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26971 SRC and DEST against LEN.
26972
26973 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26974
26975 [BZ #16414]
26976 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26977 implementation.
26978 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26979
26980 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26981
26982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26983
26984 2014-01-08 Joseph Myers <joseph@codesourcery.com>
26985
26986 [BZ #16408]
26987 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26988 for large positive arguments.
26989
26990 2014-01-07 Joseph Myers <joseph@codesourcery.com>
26991
26992 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26993
26994 * math/auto-libm-test-in: Mark various tests with
26995 xfail-rounding:ldbl-128ibm.
26996 * math/auto-libm-test-out: Regenerated.
26997
26998 [BZ #16407]
26999 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27000 Increase overflow threshold.
27001
27002 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27003
27004 [BZ #14286]
27005 * stdio-common/vfprintf.c: Check for integer overflow.
27006
27007 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27008
27009 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27010 the first argument and return value of __tls_get_addr_internal.
27011
27012 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27013
27014 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27015 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27016
27017 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27018
27019 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27020 * sysdeps/s390/rtld-global-offsets.sym: New file.
27021 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27022 GLIBC_2.19 symbol.
27023 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27024 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27025 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27026 ... this.
27027 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27028 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27029 ... this.
27030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27031 Regenerate.
27032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27033 Regenerate.
27034 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27035 halfs of GPRs for high_gprs contexts.
27036 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27037 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27038 field.
27039 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27040 uc_flags field.
27041 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27042 64 bit versions:
27043 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27044 for high GPRs (uc_high_gprs) and for future extensions
27045 (__reserved).
27046 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27047 for future extensions (__reserved).
27048 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27049 64 bit versions:
27050 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27051 SC_HIGHGPRS offset definition.
27052 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27053 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27054
27055 * Versions.def: Add GLIBC_2.19 for libpthread.
27056 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27057 siglongjmp for libpthread with GLIBC_2.19 symver.
27058 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27059 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27060 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27061 * sysdeps/s390/__longjmp.c: New file.
27062 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27063 * sysdeps/s390/longjmp.c: New file.
27064 * sysdeps/s390/setjmp.S: New file.
27065 * sysdeps/s390/sigjmp.S: New file.
27066 * sysdeps/s390/v1-longjmp.c: New file.
27067 * sysdeps/s390/v1-setjmp.h: New file.
27068 * sysdeps/s390/v1-sigjmp.c: New file.
27069 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27070 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27071 GLIBC_2.19 version.
27072 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27073 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27074 versioned symbols for ____longjmp_chk.
27075 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27076 Likewise.
27077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27078 Regenerate.
27079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27080 Regenerate.
27081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27082 Regenerate.
27083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27084 Regenerate.
27085 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27086 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27087 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27088 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27089 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27090 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27091 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27092 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27093 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27094 * sysdeps/s390/rtld-__longjmp.c: New file.
27095 * sysdeps/s390/rtld-setjmp.S: New file.
27096
27097 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27098
27099 [BZ #16400]
27100 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27101 Return -__logl (x) for small positive arguments without evaluating
27102 a polynomial.
27103
27104 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27105
27106 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27107 Rename to ...
27108 (__ptrace_peeksiginfo_args): ... this.
27109 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27111 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27112
27113 2014-01-06 Allan McRae <allan@archlinux.org>
27114
27115 * inet/netinet/in.h: Fix typo in comment.
27116
27117 2014-01-05 Andreas Jaeger <aj@suse.de>
27118
27119 * sysdeps/i386/fpu/libm-test-ulps: Update.
27120
27121 2014-01-05 Allan McRae <allan@archlinux.org>
27122
27123 * po/libc.pot: Regenerated.
27124
27125 * malloc/memusagestat.c: Fix gettext call formatting.
27126
27127 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27128
27129 * nscd/nscd.c: Improve usage() output.
27130
27131 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27132
27133 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27134 * sysdeps/unix/sysv/linux/configure: Regenerated.
27135 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27136 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27137
27138 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27139
27140 [BZ #16390]
27141 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27142 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27143
27144 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27145
27146 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27147 extra tokens at end of #undef directive.
27148 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27149 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27150 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27151
27152 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27153
27154 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27155
27156 * math/auto-libm-test-in: Mark various tests with
27157 xfail-rounding:ldbl-128ibm.
27158 * math/auto-libm-test-out: Regenerated.
27159
27160 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27161
27162 [BZ #16386]
27163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27164 numbers with subnormal high part when calculating exponent.
27165
27166 [BZ #16385]
27167 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27168 fabs.
27169
27170 [BZ #16384]
27171 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27172 M_LN2l.
27173 (__ieee754_acoshl): Use __log1pl not __log1p.
27174
27175 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27176
27177 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27178 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27179 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27180 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27181 (reused_arena, arena_get2): Convert to GNU style.
27182 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27183 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27184 (memalign_check, __malloc_set_state): Likewise.
27185 * malloc/mallocbug.c (main): Likewise.
27186 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27187 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27188 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27189 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27190 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27191 (__posix_memalign, malloc_info): Likewise.
27192 * malloc/malloc.h: Likewise.
27193 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27194 (mallochook, memalignhook, reallochook, mabort): Likewise.
27195 * malloc/mcheck.h: Likewise.
27196 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27197 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27198 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27199 * malloc/morecore.c (__default_morecore): Likewise.
27200 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27201 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27202 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27203 (print_and_abort): Likewise.
27204 * malloc/obstack.h: Likewise.
27205 * malloc/set-freeres.c (__libc_freeres): Likewise.
27206 * malloc/tst-mallocstate.c (main): Likewise.
27207 * malloc/tst-mtrace.c (main): Likewise.
27208 * malloc/tst-realloc.c (do_test): Likewise.
27209
27210 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27211
27212 [BZ #16366]
27213 * nscd/netgroupcache.c (do_notfound): New function.
27214 (addgetnetgrentX): Use it.
27215
27216 [BZ # 16365]
27217 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27218 NSS_STATUS_NOTFOUND.
27219
27220 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27221
27222 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27224
27225 2014-01-01 Allan McRae <allan@archlinux.org>
27226
27227 * scripts/update-copyrights: Update configure input file suffix.
27228
27229 * NEWS: Update copyright year.
27230 * catgets/gencat.c: Likewise.
27231 * csu/version.c: Likewise.
27232 * debug/catchsegv.sh: Likewise.
27233 * debug/pcprofiledump.c: Likewise.
27234 * debug/xtrace.sh: Likewise.
27235 * elf/ldconfig.c: Likewise.
27236 * elf/ldd.bash.in: Likewise.
27237 * elf/pldd.c: Likewise.
27238 * elf/sotruss.ksh: Likewise.
27239 * elf/sprof.c: Likewise.
27240 * iconv/iconv_prog.c: Likewise.
27241 * iconv/iconvconfig.c: Likewise.
27242 * locale/programs/locale.c: Likewise.
27243 * locale/programs/localedef.c: Likewise.
27244 * login/programs/pt_chown.c: Likewise.
27245 * malloc/memusage.sh: Likewise.
27246 * malloc/memusagestat.c: Likewise.
27247 * malloc/mtrace.pl: Likewise.
27248 * manual/libc.texinfo: Likewise.
27249 * nscd/nscd.c: Likewise.
27250 * nss/getent.c: Likewise.
27251 * nss/makedb.c: Likewise.
27252 * posix/getconf.c: Likewise.
27253 * scripts/test-installation.pl: Likewise.
27254
27255 * All files with FSF copyright notices: Update copyright dates
27256 using scripts/update-copyrights.
27257 * intl/plural.c: Regenerated.
27258 * locale/programs/charmap-kw.h: Likewise.
27259 * locale/programs/locfile-kw.h: Likewise.
27260
27261 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27262
27263 * sysdeps/unix/sysv/linux/configure: Regenerated.
27264 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27265 the linux/fanotify.h header.
27266 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27267 HAVE_LINUX_FANOTIFY_H is defined.
27268
27269 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27270
27271 * benchtests/cos-inputs: New inputs.
27272 * benchtests/sin-inputs: Likewise.
27273
27274 * benchtests/atan-inputs: New inputs. Fix name of multiple
27275 precision fallback inputs.
27276
27277 * benchtests/atanh-inputs: New inputs.
27278 * benchtests/tanh-inputs: Likewise.
27279
27280 * benchtests/acosh-inputs: New inputs.
27281 * benchtests/asinh-inputs: Likewise.
27282
27283 * benchtests/cosh-inputs: New inputs.
27284 * benchtests/sinh-inputs: Likewise.
27285
27286 * benchtests/acos-inputs: Add more inputs.
27287 * benchtests/asin-inputs: Likewise.
27288
27289 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27290
27291 [BZ #16375]
27292 * manual/arith.texi: Fix spelling.
27293 * manual/charset.texi: Likewise.
27294 * manual/errno.texi: Likewise.
27295 * manual/filesys.texi: Likewise.
27296 * manual/lang.texi: Likewise.
27297 * manual/llio.texi: Likewise.
27298 * manual/locale.texi: Likewise.
27299 * manual/message.texi: Likewise.
27300 * manual/resource.texi: Likewise.
27301 * manual/search.texi: Likewise.
27302 * manual/setjmp.texi: Likewise.
27303 * manual/stdio.texi: Likewise.
27304 * manual/string.texi: Likewise.
27305 * manual/sysinfo.texi: Likewise.
27306 * manual/time.texi: Likewise.
27307
27308 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27309
27310 * po/sl.po: New file.
27311
27312 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27313
27314 * .gitignore: Add core/.gdbinit/.gdb_history.
27315
27316 2013-12-27 Allan McRae <allan@archlinux.org>
27317
27318 [BZ #16369]
27319 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27320 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27321
27322 2013-12-24 Brooks Moses <bmoses@google.com>
27323
27324 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27325 all compilers that claim C++98 compliance, not just GCC.
27326 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27327 Likewise.
27328
27329 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27330
27331 * NEWS: Restore accidentally deleted bug-fix entries.
27332
27333 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27334 Ondřej Bílka <neleai@seznam.cz>
27335
27336 [BZ #15073]
27337 * malloc/malloc.c (_int_free): Perform sanity check only if we
27338 have_lock.
27339
27340 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27341
27342 [BZ #12986]
27343 * manual/stdio.texi (String Input Conversions): Clarify that character
27344 classes are not supported.
27345
27346 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27347
27348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27349
27350 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27351
27352 [BZ #16337]
27353 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27354 Calculate results for small negative arguments directly rather
27355 than using reflection formula with special underflow handling.
27356
27357 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27358 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27359 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27360 (fchflags): Likewise.
27361 (revoke): Likewise.
27362 (setlogin): Likewise.
27363 (sigaltstack): Likewise.
27364 (wait4): Likewise.
27365 (sigblock): Remove.
27366 (sigsetmask): Likewise.
27367 (wait3): Likewise.
27368 (waitpid): Likewise.
27369 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27370 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27371 file.
27372 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27373 * sysdeps/unix/bsd/Makefile: ... here.
27374 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27375 * sysdeps/unix/bsd/Versions: ... here.
27376 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27377 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27378 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27379 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27380 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27381 * sysdeps/unix/bsd/sigblock.c: ... here.
27382 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27383 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27384 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27385 * sysdeps/unix/bsd/sigvec.c: ... here.
27386 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27387 * sysdeps/unix/bsd/tcdrain.c: ... here.
27388 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27389 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27390 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27391 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27392 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27393 * sysdeps/unix/bsd/wait.c: ... here.
27394 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27395 * sysdeps/unix/bsd/wait3.c: ... here.
27396 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27397 * sysdeps/unix/bsd/waitpid.c: ... here.
27398
27399 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27400
27401 [BZ #16356]
27402 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27403 round-to-nearest for [!USE_AS_EXPM1L].
27404 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27405 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27406 more tests of exp and exp10. Expect some exp10 tests to miss
27407 exceptions or fail in directed rounding modes.
27408 * math/auto-libm-test-out: Regenerated.
27409 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27410 (exp10_test_tonearest): New function.
27411 (exp10_towardzero_test_data): New array.
27412 (exp10_test_towardzero): New function.
27413 (exp10_downward_test_data): New array.
27414 (exp10_test_downward): New function.
27415 (exp10_upward_test_data): New array.
27416 (exp10_test_upward): New function.
27417 (main): Call the new functions.
27418 * sysdeps/i386/fpu/libm-test-ulps: Update.
27419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27420
27421 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27422
27423 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27424 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27425 * math/auto-libm-test-out: Regenerated.
27426 * math/libm-test.inc (acosh_test_data): Add more tests.
27427 (atanh_test_data): Likewise.
27428 (ceil_test_data): Likewise.
27429 (copysign_test_data): Likewise.
27430 * sysdeps/i386/fpu/libm-test-ulps: Update.
27431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27432
27433 * timezone/checktab.awk: Update from tzcode 2013i.
27434 * timezone/private.h: Likewise.
27435 * timezone/scheck.c: Likewise.
27436 * timezone/tzfile.h: Likewise.
27437 * timezone/tzselect.ksh: Likewise.
27438 * timezone/zdump.c: Likewise.
27439 * timezone/zic.c: Likewise.
27440
27441 * math/auto-libm-test-in: Add tests of cpow.
27442 * math/auto-libm-test-out: Regenerated.
27443 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27444 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27445 mpc_cc_c.
27446 (func_calc_desc): Add mpc_cc_c union field.
27447 (test_functions): Add cpow.
27448 (special_fill_2pi): New function.
27449 (special_real_inputs): Add 2pi.
27450 (calc_generic_results): Handle mpc_cc_c.
27451 * sysdeps/i386/fpu/libm-test-ulps: Update.
27452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27453
27454 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27455 csqrt, ctan and ctanh.
27456 * math/auto-libm-test-out: Regenerated.
27457 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27458 (TEST_COND_x86): Likewise.
27459 (ccos_test_data): Use AUTO_TESTS_c_c.
27460 (ccosh_test_data): Likewise.
27461 (cexp_test_data): Likewise.
27462 (clog_test_data): Likewise.
27463 (csqrt_test_data): Likewise.
27464 (ctan_test_data): Likewise.
27465 (ctan_tonearest_test_data): Likewise.
27466 (ctan_towardzero_test_data): Likewise.
27467 (ctan_downward_test_data): Likewise.
27468 (ctan_upward_test_data): Likewise.
27469 (ctanh_test_data): Likewise.
27470 (ctanh_tonearest_test_data): Likewise.
27471 (ctanh_towardzero_test_data): Likewise.
27472 (ctanh_downward_test_data): Likewise.
27473 (ctanh_upward_test_data): Likewise.
27474 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27475 mpc_c_c.
27476 (func_calc_desc): Add mpc_c_c union field.
27477 (FUNC_mpc_c_c): New macro.
27478 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27479 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27480 ctanh.
27481 (special_fill_min_subnorm_p120): New function.
27482 (special_real_inputs): Add min_subnorm_p120.
27483 (calc_generic_results): Handle mpc_c_c.
27484 * sysdeps/i386/fpu/libm-test-ulps: Update.
27485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27486
27487 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27488
27489 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27490 (do_sin_slow): New functions.
27491 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27492 (cslow2, csloww1, csloww2): Use the new functions.
27493
27494 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27495 Use M to change sign of result instead of X. Assume X is
27496 positive.
27497 (csloww1): Likewise.
27498 (__sin): Adjust.
27499 (__cos): Adjust.
27500
27501 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27502 arguments A and DA.
27503 (__sin): Adjust.
27504 (__cos): Likewise.
27505
27506 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27507 (__cos): Likewise.
27508 (sloww1): Don't adjust sign of DX.
27509 (csloww1): Likewise.
27510 (sloww2): Use X directly and don't adjust sign of DX.
27511 (csloww2): Likewise.
27512
27513 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27514
27515 * math/auto-libm-test-in: Add tests of cabs and carg.
27516 * math/auto-libm-test-out: Regenerated.
27517 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27518 (carg_test_data): Likewise.
27519 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27520 mpc_c_f.
27521 (func_calc_desc): Add mpc_c_f union field.
27522 (test_functions): Add cabs and carg.
27523 (calc_generic_results): Handle mpc_c_f.
27524
27525 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27526 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27527 as a macro and a compat symbol.
27528 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27529 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27530 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27531 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27532 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27533 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27534 not use .hidden.
27535 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27536 Likewise.
27537 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27538 Likewise.
27539 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27540 Likewise.
27541 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27542 Likewise.
27543 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27544 Likewise.
27545 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27546 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27547 from GLIBC_2.3.2.
27548
27549 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27550
27551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27552
27553 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27554
27555 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27556 trailing whitespace removed.
27557 * scripts/config.guess: Update to version 2013-11-29.
27558 * scripts/config.sub: Update to version 2013-10-01.
27559
27560 * math/auto-libm-test-in: Add tests of sincos.
27561 * math/auto-libm-test-out: Regenerated.
27562 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27563 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27564 mpfr_f_11.
27565 (func_calc_desc): Add mpfr_f_11 union field.
27566 (test_functions): Add sincos.
27567 (calc_generic_results): Handle mpfr_f_11.
27568 * sysdeps/i386/fpu/libm-test-ulps: Update.
27569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27570
27571 2013-12-19 Andreas Schwab <schwab@suse.de>
27572
27573 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27574 CALL_MCOUNT.
27575 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27576 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27577 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27578
27579 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27580
27581 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27582 * sysdeps/i386/fpu/libm-test-ulps: Update.
27583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27584
27585 [BZ #16293]
27586 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27587 round-to-nearest mode when using frndint.
27588 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27589 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27590 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27591 Likewise.
27592 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27593 sinh test to fail.
27594 * math/auto-libm-test-out: Regenerated.
27595 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27596 (TEST_COND_x86): Likewise.
27597 (expm1_tonearest_test_data): New array.
27598 (expm1_test_tonearest): New function.
27599 (expm1_towardzero_test_data): New array.
27600 (expm1_test_towardzero): New function.
27601 (expm1_downward_test_data): New array.
27602 (expm1_test_downward): New function.
27603 (expm1_upward_test_data): New array.
27604 (expm1_test_upward): New function.
27605 (main): Run the new test functions.
27606 * sysdeps/i386/fpu/libm-test-ulps: Update.
27607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27608
27609 * include/features.h: Update comment documenting feature test
27610 macros. Mention _DEFAULT_SOURCE in comment.
27611 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27612 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27613 _BSD_SOURCE and _SVID_SOURCE.
27614 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27615 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27616 !_SVID_SOURCE]: Likewise.
27617 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27618 (__USE_POSIX_IMPLICITLY): Define.
27619 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27620 (_POSIX_SOURCE): Undefine and redefine.
27621 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27622 (_POSIX_C_SOURCE): Likewise.
27623 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27624 (Feature Test Macros): Update documentation of default features.
27625
27626 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27627
27628 * benchtests/Makefile: Add bench-strtok.
27629 * benchtests/bench-strtok.c: New file: strtok benchtest.
27630
27631 2013-12-19 Allan McRae <allan@archlinux.org>
27632
27633 * manual/install.texi: Suppress menu for plain text output.
27634 * INSTALL: Regenerated.
27635
27636 2013-12-18 Brooks Moses <bmoses@google.com>
27637
27638 [BZ #15846]
27639 * misc/getauxval.c: Include errno.h.
27640 (__getauxval): Set errno to ENOENT if the requested type is not
27641 found.
27642 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27643 don't declare with __attribute_const__.
27644 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27645 * manual/startup.texi: Document that getauxval sets errno.
27646
27647 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27648
27649 * math/auto-libm-test-in: Add tests of jn and yn.
27650 * math/auto-libm-test-out: Regenerated.
27651 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27652 (yn_test_data): Likewise.
27653 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27654 mpfr_if_f.
27655 (func_calc_desc): Add mpfr_if_f union field.
27656 (FUNC_mpfr_if_f): New macro.
27657 (test_functions): Add jn and yn.
27658 (calc_generic_results): Assert type of second input for
27659 mpfr_ff_f. Handle mpfr_if_f.
27660 (output_for_one_input_case): Disable all checking for arguments
27661 fitting floating-point types in case of an integer argument.
27662 * sysdeps/i386/fpu/libm-test-ulps: Update.
27663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27664
27665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27666 Don't expect fegetround reference in libm.so.
27667
27668 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27669
27670 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27671 $(config-cflags-nofma).
27672
27673 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27674
27675 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27676 * math/auto-libm-test-out: Regenerated.
27677
27678 [BZ #16338]
27679 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27680 to determine exponent and adjust argument to have exponent of -1.
27681 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27682 log2.
27683 * math/auto-libm-test-out: Regenerated.
27684 * sysdeps/i386/fpu/libm-test-ulps: Update.
27685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27686
27687 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27688
27689 * manual/probes.texi: Remove cases when per-thread arenas are
27690 disabled.
27691
27692 2013-12-18 Andreas Schwab <schwab@suse.de>
27693
27694 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27695 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27696 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27697 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27698 * sysdeps/i386/i686/multiarch/Makefile: Update.
27699 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27700
27701 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27702
27703 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27704 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27705
27706 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27707
27708 [BZ #15968]
27709 Support TZ transition times < 00:00:00.
27710 This is needed for version-3 tz-format files; it supports time
27711 stamps past 2037 for America/Godthab (the only entry in the tz
27712 database for which this change is relevant).
27713 * manual/time.texi (TZ Variable): Document transition times
27714 from -167:59:59 through -00:00:01.
27715 * time/tzset.c (tz_rule): Time of day is now signed.
27716 (__tzset_parse_tz): Parse negative time of day.
27717
27718 Document TZ transition times >= 25:00:00.
27719 * manual/time.texi (TZ Variable): Document transition times from
27720 25:00:00 through 167:59:59. These are already supported, and this
27721 support will help with version-3 tz-format files.
27722
27723 * manual/time.texi (TZ Variable): Modernize North America example
27724 to reflect current (i.e., 2007-and-later) daylight saving rules.
27725
27726 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27727
27728 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27729
27730 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27731 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27732 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27734 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27735 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27736 * sysdeps/unix/bsd/clock.c: Likewise.
27737 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27738 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27739 * sysdeps/unix/bsd/init-posix.c: Likewise.
27740 * sysdeps/unix/bsd/poll.c: Likewise.
27741 * sysdeps/unix/bsd/ptsname.c: Likewise.
27742 * sysdeps/unix/bsd/seekdir.c: Likewise.
27743 * sysdeps/unix/bsd/setegid.c: Likewise.
27744 * sysdeps/unix/bsd/seteuid.c: Likewise.
27745 * sysdeps/unix/bsd/setgid.c: Likewise.
27746 * sysdeps/unix/bsd/setrgid.c: Likewise.
27747 * sysdeps/unix/bsd/setruid.c: Likewise.
27748 * sysdeps/unix/bsd/setsid.c: Likewise.
27749 * sysdeps/unix/bsd/setuid.c: Likewise.
27750 * sysdeps/unix/bsd/sigaction.c: Likewise.
27751 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27752 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27753 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27754 * sysdeps/unix/bsd/telldir.c: Likewise.
27755 * sysdeps/unix/bsd/times.c: Likewise.
27756 * sysdeps/unix/bsd/usleep.c: Likewise.
27757
27758 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27759 ($(objpfx)libbsd-compat.a): Remove rule.
27760
27761 * include/features.h (__FAVOR_BSD): Do not define.
27762 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27763 features conflicting with POSIX.
27764 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27765 (_BSD_SOURCE): Remove description of not being a subset of other
27766 feature test macros.
27767 * manual/job.texi (getpgrp): Do not document BSD version.
27768 (getpgid): Do not document by reference to BSD getpgrp.
27769 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27770 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27771 * signal/signal.h [__FAVOR_BSD]: Likewise.
27772 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27773 instead of making contents conditional on [__FAVOR_BSD].
27774 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27775
27776 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27777
27778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27779
27780 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27781
27782 [BZ #16314]
27783 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27784 values below 2**-450, not 2**-500.
27785 * math/auto-libm-test-in: Don't allow spurious underflow from
27786 hypot.
27787 * math/auto-libm-test-out: Regenerated.
27788
27789 [BZ #16316]
27790 [BZ #16330]
27791 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27792 values of ha and hb and sort them after adjusting subnormal
27793 arguments.
27794 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27795 Likewise.
27796 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27797 values of ea and eb and sort them after adjusting subnormal
27798 arguments.
27799 * math/auto-libm-test-in: Do not expect some hypot tests of
27800 subnormals to fail. Add more hypot tests.
27801 * math/auto-libm-test-out: Regenerated.
27802
27803 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27804
27805 [BZ #13304]
27806 * sysdeps/sh/s_fma.c: New file.
27807 * sysdeps/sh/s_fmaf.c: New file.
27808 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
27809 version.
27810 * sysdeps/sh/Implies: Add sh/soft-fp.
27811
27812 2013-12-16 Roland McGrath <roland@hack.frob.com>
27813
27814 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
27815 level of indirection to members `objname', `errstring', `malloced'.
27816 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27817 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
27818 it as the __longjmp argument (just pass 1 instead).
27819 (_dl_catch_error): Initialize C with argument pointers and address of
27820 volatile local ERRCODE rather than copying values out of C at return.
27821
27822 2013-12-16 Joseph Myers <joseph@codesourcery.com>
27823
27824 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27825 * math/auto-libm-test-out: Regenerated.
27826 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27827 (hypot_test_data): Likewise.
27828 (pow_test_data): Likewise.
27829 (pow_tonearest_test_data): Likewise.
27830 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27831 mpfr_ff_f.
27832 (func_calc_desc): Add mpfr_ff_f union field.
27833 (FUNC_mpfr_ff_f): New macro.
27834 (test_functions): Add atan2, hypot and pow.
27835 (special_fill_min): New function.
27836 (special_fill_minus_min): Likewise.
27837 (special_fill_min_subnorm): Likewise.
27838 (special_fill_minus_min_subnorm): Likewise.
27839 (special_real_inputs): Add min, -min, min_subnorm and
27840 -min_subnorm.
27841 (calc_generic_results): Handle mpfr_ff_f.
27842 * sysdeps/i386/fpu/libm-test-ulps: Update.
27843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27844
27845 2013-12-16 Will Newton <will.newton@linaro.org>
27846
27847 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27848 (Aligned Memory Blocks): Add documentation for aligned_alloc
27849 and suggest it as an alternative to posix_memalign.
27850 (Hooks for Malloc): Document __memalign_hook is also called
27851 for aligned_alloc. (Summary of Malloc): Add summary for
27852 aligned alloc. Document __memalign_hook is also called
27853 for aligned_alloc.
27854
27855 2013-12-16 Will Newton <will.newton@linaro.org>
27856
27857 * manual/memory.texi (Malloc Examples): Clarify default
27858 alignment documentation. Suggest posix_memalign rather
27859 than memalign or valloc.
27860 (Aligned Memory Blocks): Remove suggestion to use memalign
27861 or valloc. Remove obsolete comment about BSD.
27862 Document memalign errno values and mark the function obsolete.
27863 Document posix_memalign returned error codes. Mark valloc
27864 as obsolete. (Hooks for Malloc): __memalign_hook is also
27865 called for posix_memalign and valloc.
27866 (Summary of Malloc): Add posix_memalign to function summary.
27867 __memalign_hook is also called for posix_memalign and valloc.
27868
27869 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27870
27871 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27872 TAYLOR_SIN.
27873 (__sin): Adjust.
27874 (__cos): Likewise.
27875 (sloww): Use mynumber union. Expand ternary operator into
27876 if-else statements.
27877 (cslow): use mynumber union.
27878
27879 2013-12-16 Allan McRae <allan@archlinux.org>
27880
27881 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27882 * configure: Regenerated.
27883
27884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27885
27886 [BZ #14120]
27887 * configure.ac: Added --enable-maintainer-mode. Check for
27888 autoconf when enabled.
27889 * configure: Regenerated.
27890
27891 * nscd/nscd.service: New file.
27892 * nscd/nscd.tmpfiles: New file.
27893
27894 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
27895
27896 [BZ #12100]
27897 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27898 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27899 * sysdeps/x86_64/multiarch/strstr.c: ... here.
27900 (strstr): Add __strstr_sse2_unaligned ifunc.
27901 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27902 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27903 (strcasestr): Remove __strcasestr_sse42 ifunc.
27904 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27905 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27907
27908 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27909
27910 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27911 * sysdeps/sh/bits/fenv.h: ... here.
27912 * sysdeps/sh/sh4/fpu/bits: Remove directory.
27913
27914 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27915
27916 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27917
27918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27919 hypotf multiarch implementations.
27920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27921 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27922 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27923 multiarch hypot for PPC64.
27924 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27925 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27926 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27927 multiarch hypotf for PPC64.
27928
27929 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27930 modff multiarch implementations.
27931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27934 multiarch modf for PPC64.
27935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27938 multiarch modff for PPC64.
27939
27940 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27941 and logl multiarch implementations.
27942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27945 multiarch logb for PPC64.
27946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27949 multiarch logb for PPC64.
27950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27953 multiarch logb for PPC64.
27954
27955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27956 isinff multiarch implementation.
27957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27958 file.
27959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27961 multiarch isinf for PPC64.
27962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27963 file.
27964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27965 multiarch isinff for PPC64.
27966
27967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27968 finitef multiarch implementation.
27969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27970 file.
27971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27973 multiarch finite for PPC64.
27974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27975 file.
27976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27977 multiarch finitef for PPC64.
27978
27979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27980 lrint multiarch implementation.
27981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27982 file.
27983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27985 multiarch llrint for PPC64.
27986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27987 multiarch lrint for PPC64.
27988
27989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27990 copysignf multiarch implementation.
27991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27992 file.
27993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27994 file.
27995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27996 multiarch copysign for PPC64.
27997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27998 multiarch copysignf for PPC64.
27999
28000 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28001 multiarch implementation.
28002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28003 file.
28004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28005 file.
28006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28007 file.
28008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28009 file.
28010 multiarch llround for PPC64.
28011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28012 multiarch trunc for PPC64.
28013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28014 multiarch truncf for PPC64.
28015
28016 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28017 multiarch implementation.
28018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28019 file.
28020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28021 file.
28022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28023 file.
28024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28025 file.
28026 multiarch llround for PPC64.
28027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28028 multiarch round for PPC64.
28029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28030 multiarch roundf for PPC64.
28031
28032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28033 multiarch implementation.
28034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28035 file.
28036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28037 file.
28038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28039 file.
28040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28041 file.
28042 multiarch llround for PPC64.
28043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28044 multiarch floor for PPC64.
28045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28046 multiarch floorf for PPC64.
28047
28048 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28049 multiarch implementation.
28050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28051 file.
28052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28053 file.
28054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28055 file.
28056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28057 file.
28058 multiarch llround for PPC64.
28059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28060 multiarch ceil for PPC64.
28061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28062 multiarch ceilf for PPC64.
28063
28064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28065 multiarch implementation.
28066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28067 file.
28068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28069 file.
28070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28071 file.
28072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28073 multiarch llround for PPC64.
28074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28075 multiarch lround for PPC64.
28076
28077 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28078 multiarch implementation.
28079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28082 file.
28083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28086 multiarch isnan for PPC64.
28087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28088 multiarch isnanf for PPC64.
28089
28090 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28091 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28092 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28093 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28094 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28096
28097 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28098 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28100 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28101
28102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28103 multiarch implementations.
28104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28105 (__libc_ifunc_impl_list): Likewise.
28106 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28107 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28108 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28109 multiarch stpcpy for PPC64.
28110
28111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28112 multiarch implementations.
28113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28114 (__libc_ifunc_impl_list): Likewise.
28115 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28116 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28117 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28118 multiarch strcpy for PPC64.
28119
28120 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28121 redefine function name.
28122 (_wordcopy_fwd_dest_aligned): Likewise.
28123 (_wordcopy_bwd_aligned): Likewise.
28124 (_wordcopy_bwd_dest_aligned): Likewise.
28125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28126 multiarch implementations.
28127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28128 (__libc_ifunc_impl_list): Likewise.
28129 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28130 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28131 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28132 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28133 multiarch wcscpy for PPC64.
28134
28135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28136 multiarch implementations.
28137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28138 (__libc_ifunc_impl_list): Likewise.
28139 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28140 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28141 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28142 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28143 multiarch wcscpy for PPC64.
28144
28145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28146 multiarch implementations.
28147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28148 (__libc_ifunc_impl_list): Likewise.
28149 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28150 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28151 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28152 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28153 multiarch wcsrchr for PPC64.
28154
28155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28156 multiarch implementations.
28157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28158 (__libc_ifunc_impl_list): Likewise.
28159 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28160 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28161 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28162 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28163 multiarch wcschr for PPC64.
28164
28165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28166 multiarch implementations.
28167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28168 (__libc_ifunc_impl_list): Likewise.
28169 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28170 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28171 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28172 multiarch strchrnul for PPC64.
28173
28174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28175 implementations.
28176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28177 (__libc_ifunc_impl_list): Likewise.
28178 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28179 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28180 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28181 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28182 strchr for PPC64.
28183
28184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28185 implementations.
28186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28187 (__libc_ifunc_impl_list): Likewise.
28188 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28189 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28190 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28191 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28192 strncmp for PPC64.
28193
28194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28195 multiarch implementations.
28196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28197 (__libc_ifunc_impl_list): Likewise.
28198 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28199 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28200 strncasecmp for PPC64.
28201 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28202 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28203 multiarch strncasecmp_l for PPC64.
28204
28205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28206 multiarch implementations.
28207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28208 (__libc_ifunc_impl_list): Likewise.
28209 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28210 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28211 multiarch strcasecmp for PPC64.
28212 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28213 file.
28214 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28215 multiarch strcasecmp_l for PPC64.
28216
28217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28218 implementations.
28219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28220 (__libc_ifunc_impl_list): Likewise.
28221 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28222 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28223 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28224 strnlen for PPC64.
28225
28226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28227 implementations.
28228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28229 (__libc_ifunc_impl_list): Likewise.
28230 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28231 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28232 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28233 strlen for PPC64.
28234
28235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28236 implementations.
28237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28238 (__libc_ifunc_impl_list): Likewise.
28239 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28240 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28241 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28242 rawmemrchr for PPC64.
28243
28244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28245 implementation.
28246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28247 (__libc_ifunc_impl_list): Likewise.
28248 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28249 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28250 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28251 memrchr for PPC64.
28252
28253 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28254 implementation.
28255 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28256 (__libc_ifunc_impl_list): Likewise.
28257 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28258 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28259 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28260 memchr for PPC64.
28261
28262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28263 implementation.
28264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28265 (__libc_ifunc_impl_list): Likewise.
28266 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28267 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28268 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28269 mempcpy for PPC64.
28270
28271 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28272 avoid cretion of __bzero symbol.
28273 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28274 Likewise.
28275 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28276 Likewise.
28277 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28278 Likewise.
28279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28280 multiarch implementations.
28281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28282 (__libc_ifunc_impl_list): Likewise.
28283 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28284 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28285 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28286 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28287 bzero for PPC32.
28288 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28289 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28290 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28291 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28292 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28293 memset for PPC64.
28294 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28295
28296 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28298 implementations.
28299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28300 (__libc_ifunc_impl_list): Likewise.
28301 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28302 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28303 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28304 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28305 memcmp for PPC64.
28306
28307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28308 multiarch for POWER/PPC64.
28309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28310 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28311 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28312 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28313 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28314 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28315 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28316 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28317 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28318 memcpy for PPC64.
28319
28320 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28321 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28322 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28323 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28324 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28325 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28326 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28327 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28328 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28329 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28330 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28331 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28332 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28333 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28334 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28342
28343 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28344
28345 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28346
28347 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28348
28349 * benchtests/Makefile (bench): Add exp2 and log2.
28350 (LDLIBS-bench-exp2): Add -lm.
28351 (LDLIBS-bench-log2): Likewise.
28352 * benchtests/exp2-inputs: New inputs file.
28353 * benchtests/log2-inputs: New inputs file.
28354 * benchtests/log-inputs: Add new inputs.
28355 * benchtests/tan-inputs: Likewise.
28356
28357 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28358
28359 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28360 definition...
28361 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28362 (csloww2): ... from here.
28363
28364 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28365 instead of structures.
28366 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28367 (POLYNOMIAL): Likewise.
28368 (TAYLOR_SLOW): Likewise.
28369 (__sin): Likewise.
28370 (__cos): Likewise.
28371 (slow1): Likewise.
28372 (slow2): Likewise.
28373 (sloww): Likewise.
28374 (sloww1); Likewise.
28375 (sloww2): Likewise.
28376 (bsloww1): Likewise.
28377 (bsloww2): Likewise.
28378 (cslow2): Likewise.
28379 (csloww): Likewise.
28380 (csloww1): Likewise.
28381 (csloww2): Likewise.
28382
28383 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28384
28385 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28386 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28387 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28388 * malloc/hooks.c (realloc_check): Likewise.
28389
28390 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28391 * malloc/arena.c: Remove PER_THREAD conditional.
28392 [!PER_THREAD]: Remove code.
28393 (ptmalloc_unlock_all2): Likewise.
28394 (ptmalloc_init): Likewise.
28395 (_int_new_arena): Likewise.
28396 (arena_get2): Likewise.
28397 * malloc/hooks.c (__malloc_get_state): Likewise.
28398 (__malloc_set_state): Likewise.
28399 * malloc/malloc.c: Likewise.
28400 (struct malloc_state): Likewise.
28401 (struct malloc_par): Likewise.
28402 (__libc_realloc): Likewise.
28403 (__libc_mallopt): Likewise.
28404
28405 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28406
28407 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28408
28409 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28410
28411 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28412 macro to a function. Check for zero perturb_byte.
28413 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28414
28415 * malloc/malloc.c: (force_reg): Remove.
28416 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28417 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28418 force_reg by atomic_forced_read.
28419 * malloc/arena.c (ptmalloc_init): Likewise.
28420 * malloc/hooks.c (top_check): Likewise.
28421
28422 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28423
28424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28425
28426 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28427
28428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28429
28430 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28431
28432 * math/auto-libm-test-in: Add tests of lgamma.
28433 * math/auto-libm-test-out: Regenerated.
28434 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28435 (M_LOG_2_SQRT_PIl): Likewise.
28436 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28437 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28438 mpfr_f_f1.
28439 (func_calc_desc): Add mpfr_f_f1 union field.
28440 (ARGS1): New macro.
28441 (ARGS2): Likewise.
28442 (ARGS3): Likewise.
28443 (ARGS4): Likewise.
28444 (RET1): Likewise.
28445 (RET2): Likewise.
28446 (CALC): Likewise.
28447 (FUNC): Likewise.
28448 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28449 (test_functions): Add lgamma.
28450 (calc_generic_results): Handle mpfr_f_f1.
28451 * sysdeps/i386/fpu/libm-test-ulps: Update.
28452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28453
28454 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28455
28456 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28457 __mpn_add_n for PowerPC64/POWER7.
28458 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28459 __mpn_sub_n for PowerPC64/POWER7.
28460
28461 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28462 __mpn_addmul_1 for PowerPC64.
28463 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28464 __mpn_submul_1 for PowerPC64.
28465 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28466 for PowerPC64.
28467 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28468 for PowerPC64.
28469
28470 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28471
28472 [BZ #15089]
28473 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28474
28475 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28476
28477 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28478
28479 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28480 add multiarch folders.
28481 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28482 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28483 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28484 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28485 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28486 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28487 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28488 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28489 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28490 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28491 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28498
28499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28500 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28502 New file.
28503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28504 New file.
28505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28506 multiarch __ieee754_hypot for PowerPC32.
28507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28508 New file.
28509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28510 New file.
28511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28512 multiarch __ieee754_hypotf for PowerPC32.
28513
28514 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28515 long_double_symbol only if __logbl is defined.
28516 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28517 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28519 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28520 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28521 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28522 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28523 path for implementation.
28524 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28525 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28527 logb, and logbl multiarch implementations for PowerPC32.
28528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28529 file.
28530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28531 file.
28532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28533 multiarch logb for PowerPC32.
28534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28535 file.
28536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28537 file.
28538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28539 multiarch logbf for PowerPC32.
28540 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28542 file.
28543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28544 multiarch logbl implementation for PowerPC32.
28545
28546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28547 and modff multiarch implementations.
28548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28549 New file.
28550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28551 New file.
28552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28553 multiarch modf for PowerPC32.
28554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28555 New file.
28556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28557 New file.
28558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28559 multiarch modff for PowerPC32.
28560
28561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28562 and lrintf multiarch implementations.
28563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28564 New file.
28565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28566 New file.
28567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28568 multiarch lrint for PowerPC32.
28569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28570 file: multiarch lrintf for PowerPC32.
28571
28572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28573 and lroundf multiarch implementations.
28574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28575 New file.
28576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28577 New file.
28578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28579 New file.
28580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28581 multiarch lround for PowerPC32.
28582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28583 file: multiarch lroundf for PowerPC32.
28584
28585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28586 copysign and copysignf multiarch implementations.
28587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28588 New file.
28589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28590 New file.
28591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28592 file: multiarch copysign for PowerPC32.
28593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28594 file: multiarch copysignf for PowerPC32.
28595
28596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28597 and truncf multiarch implementations.
28598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28599 New file.
28600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28601 file.
28602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28603 multiarch trunc for PowerPC32.
28604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28605 New file.
28606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28607 New file.
28608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28609 multiarch truncf for PowerPC32.
28610
28611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28612 and roundf multiarch implementations.
28613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28614 New file.
28615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28616 file.
28617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28618 multiarch round for PowerPC32.
28619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28620 New file.
28621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28622 New file.
28623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28624 multiarch roundf for PowerPC32.
28625
28626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28627 and floorf multiarch implementations.
28628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28629 New file.
28630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28631 file.
28632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28633 multiarch floor for PowerPC32.
28634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28635 New file.
28636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28637 New file.
28638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28639 multiarch floorf for PowerPC32.
28640
28641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28642 and ceilf multiarch implementations.
28643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28644 New file.
28645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28646 file.
28647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28648 multiarch ceil for PowerPC32.
28649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28650 New file.
28651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28652 file.
28653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28654 multiarch ceilf for PowerPC32.
28655
28656 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28657 is defined.
28658 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28659 FINITEF is defined.
28660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28661 and finitef multiarch implementations.
28662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28663 New file.
28664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28665 file.
28666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28667 multiarch finite for PowerPC32.
28668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28669 New file.
28670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28671 file: multiarch finitef for PowerPC32.
28672
28673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28674 and isinff multiarch implementations.
28675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28676 file.
28677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28678 file.
28679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28680 multiarch isinf for PowerPC32.
28681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28682 New file.
28683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28684 multiarch isinff for PowerPC32.
28685
28686 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28687 alias when __isnan is defined.
28688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28689 and isnanf multiarch implementations.
28690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28691 file.
28692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28693 file.
28694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28695 file.
28696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28697 file.
28698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28699 multiarch isnan for PowerPC32.
28700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28701 New file.
28702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28703 New file.
28704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28705 multiarch isnanf for PowerPC32.
28706
28707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28708 and sqrtf multiarch implementations.
28709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28710 file.
28711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28712 file.
28713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28714 multiarch sqrt for PowerPC32.
28715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28716 file.
28717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28718 file.
28719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28720 multiarch sqrtf for PowerPC32.
28721
28722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28723 and llroundf multiarch implementations.
28724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28725 New file.
28726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28727 New file.
28728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28729 New file.
28730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28731 file: multiarch llround for PowerPC32.
28732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28733 file: multiarch llroundf for PowerPC32.
28734
28735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28736 multiarch PowerPC32 fpu implementations.
28737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28738 New file.
28739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28740 New file.
28741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28742 multiarch llrint for PowerPC32.
28743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28744 New file.
28745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28746 New file.
28747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28748 file.
28749
28750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28751
28752 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28753 file.
28754 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28755 file.
28756 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28757 file.
28758 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28759 multiarch wordcopy for PPC32.
28760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28761 wordcopy objects.
28762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28763 (__libc_ifunc_impl_list): Likewise.
28764 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28765 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28766 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28767 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28768 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28769 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28770
28771 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28773 file.
28774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28775 file.
28776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28777 file.
28778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28779 multiarch wcscpy for PPC32.
28780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28781 multiarch objects.
28782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28783 (__libc_ifunc_impl_list): Likewise.
28784 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28785 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28786 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28787 sysdeps/powerpc/power6/wcscpy.c.
28788
28789 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28791 file.
28792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28793 file.
28794 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28795 file.
28796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28797 multiarch wcsrchr for PPC32.
28798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28799 multiarch objects.
28800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28801 (__libc_ifunc_impl_list): Likewise.
28802 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28803 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28804 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28805 sysdeps/powerpc/power6/wcsrchr.c.
28806
28807 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28808 file.
28809 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28810 file.
28811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28813 multiarch wcschr for PPc32.
28814 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28815 multiarch objects.
28816 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28817 (__libc_ifunc_impl_list): Likewise.
28818 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28819 * sysdeps/powerpc/power6/wcschr.c: ... to here.
28820 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28821 sysdeps/powerpc/power6/wcschr.c.
28822
28823 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28824 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28825 file.
28826 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28827 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28828 file: multiarch strchr for PPC32.
28829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28830 multiarch objects.
28831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28832 (__libc_ifunc_impl_list): Likewise.
28833
28834 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28835 name.
28836 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28837 file.
28838 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28839 file.
28840 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28841 multiarch strchrnul for PPC32.
28842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28843 multiarch objects.
28844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28845 (__libc_ifunc_impl_list): Likewise.
28846
28847 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28848 file.
28849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28850 multiarch strncasecmp for PPC32.
28851 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28852 file.
28853 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28854 multiarch strncasecmp_l for PPC32.
28855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28856 strncasecmp multiarch objects.
28857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28858 (__libc_ifunc_impl_list): Likewise.
28859
28860 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28861 file.
28862 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28863 multiarch strncasecmp for PPC32.
28864 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28865 New file.
28866 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28867 multiarch strcasecmp_l for PPC32.
28868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28869 multiarch objects.
28870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28871 (__libc_ifunc_impl_list): Likewise.
28872
28873 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28874 file.
28875 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28876 file.
28877 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28878 multiarch strncmp for PPC32.
28879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28880 multiarch objects.
28881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28882 (__libc_ifunc_impl_list): Likewise.
28883
28884 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28885 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28886 file.
28887 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28888 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28890 multiarch objects.
28891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28892 (__libc_ifunc_impl_list): Likewise.
28893
28894 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28895 file.
28896 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28897 file.
28898 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28900 multiarch objects.
28901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28902 (__libc_ifunc_impl_list): Likewise.
28903
28904 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28905 file.
28906 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28907 file.
28908 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28909 multiarch rawmemchr for PPC32.
28910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28911 multiarch objects.
28912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28913 (__libc_ifunc_impl_list): Likewise.
28914
28915 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28916 file.
28917 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28918 file.
28919 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28920 file: memrchr multiarch for PPC32.
28921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28922 multiarch objects.
28923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28924 (__libc_ifunc_impl_list): Likewise.
28925
28926 * string/memchr.c (__memchr): Using macro to redefine symbol name.
28927 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28928 file.
28929 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28930 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28931 multiarch memchr for PPC32.
28932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28933 multiarch objects.
28934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28935 (__libc_ifunc_impl_list): Likewise.
28936
28937 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28938 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28939 file.
28940 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28941 file.
28942 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28943 file: multiarch mempcpy for PPC32.
28944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28945 multiarch objects.
28946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28947 (__libc_ifunc_impl_list): Likewise.
28948
28949 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28950 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28951 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28952 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28953 multiarch bzero for PPC32.
28954 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28955 file.
28956 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28957 file.
28958 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28959 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28960 file: multiarch memset for PPC32.
28961 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28963 memset multiarch objects.
28964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28965 (__libc_ifunc_impl_list): Likewise.
28966
28967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28968 file.
28969 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28971 memcmp for PPC32.
28972 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28974 multiarch objects.
28975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28976 (__libc_ifunc_impl_list): Likewise.
28977
28978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28979 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28981 file.
28982 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28983 file.
28984 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28985 file.
28986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28987 multiarch memcpy for PPC32.
28988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28989 multiarch objects.
28990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28991 (__libc_ifunc_impl_list): Likewise.
28992
28993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28994 support multiarch for POWER/PPC32.
28995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28996 Likewise.
28997 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28999 Implies file to make multiarch folder appers before the fpu and
29000 default folder for power4 configuration.
29001
29002 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29003
29004 * scripts/bench.pl: Append volatile keyword to type.
29005
29006 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29007
29008 * sysdeps/sh/sotruss-lib.c: New file.
29009 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29010
29011 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29012
29013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29014
29015 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29016
29017 [BZ #6810]
29018 * math/w_tgamma.c: Include <errno.h>.
29019 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29020 * math/w_tgammaf.c: Include <errno.h>.
29021 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29022 * math/w_tgammal.c: Include <errno.h>.
29023 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29024 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29025 underflow. Add more tgamma tests.
29026 * math/auto-libm-test-out: Regenerated.
29027 * sysdeps/i386/fpu/libm-test-ulps: Update.
29028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29029
29030 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29031 sin, sinh, tan, tanh, tgamma, y0 and y1.
29032 * math/auto-libm-test-out: Regenerated.
29033 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29034 (TEST_COND_x86): Likewise.
29035 (M_E2l): Remove macro.
29036 (M_E3l): Likewise.
29037 (M_2_SQRT_PIl): Likewise.
29038 (M_SQRT_PIl): Likewise.
29039 (M_1_DIV_El): Likewise.
29040 (log_test_data): Use AUTO_TESTS_f_f.
29041 (log10_test_data): Likewise.
29042 (log1p_test_data): Likewise.
29043 (log2_test_data): Likewise.
29044 (sin_test_data): Likewise.
29045 (sin_tonearest_test_data): Likewise.
29046 (sin_towardzero_test_data): Likewise.
29047 (sin_downward_test_data): Likewise.
29048 (sin_upward_test_data): Likewise.
29049 (sinh_test_data): Likewise.
29050 (sinh_tonearest_test_data): Likewise.
29051 (sinh_towardzero_test_data): Likewise.
29052 (sinh_downward_test_data): Likewise.
29053 (sinh_upward_test_data): Likewise.
29054 (tan_test_data): Likewise.
29055 (tan_tonearest_test_data): Likewise.
29056 (tan_towardzero_test_data): Likewise.
29057 (tan_downward_test_data): Likewise.
29058 (tan_upward_test_data): Likewise.
29059 (tanh_test_data): Likewise.
29060 (tgamma_test_data): Likewise.
29061 (y0_test_data): Likewise.
29062 (y1_test_data): Likewise.
29063 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29064 (special_real_inputs): Add pi/4.
29065 * sysdeps/i386/fpu/libm-test-ulps: Update.
29066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29067
29068 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29069
29070 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29071 "longjmp_target" static probes.
29072 (__longjmp): Rename to __longjmp_symbol.
29073 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29074 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29075 on which longjmp to generate.
29076 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29077 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29078 probe.
29079 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29080 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29081 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29082 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29083 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29084 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29086 __longjmp_symbol based on which __longjmp to generate.
29087 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29088 probe.
29089 (setjmp): Rename to setjmp_symbol.
29090 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29091 (_setjmp): Rename to _setjmp_symbol.
29092 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29093 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29094 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29095 which setjmp to generate.
29096 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29097 "longjmp_target" static probes.
29098
29099 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29100
29101 * benchtests/README: Add note about output arguments.
29102 * benchtests/bench-sincos.c: Remove file.
29103 * benchtests/sincos-inputs: New file.
29104 * scripts/bench.pl: Identify output arguments and define
29105 static variables for them.
29106
29107 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29108
29109 [BZ #15941]
29110 * Makefile (INSTALL): Add install-plain.texi as the primary
29111 dependency.
29112 * manual/install-plain.texi: New file.
29113 * manual/install.texi: Include node directive only for
29114 non-plaintext output.
29115
29116 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29117
29118 * stdlib/longlong.h: Update from GCC.
29119
29120 [BZ #6807]
29121 [BZ #15901]
29122 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29123 * math/w_j0f.c (y0f): Likewise.
29124 * math/w_j0l.c (__y0l): Likewise.
29125 * math/w_j1.c (y1): Likewise.
29126 * math/w_j1f.c (y1f): Likewise.
29127 * math/w_j1l.c (__y1l): Likewise
29128 * math/w_jn.c (yn): Likewise.
29129 * math/w_jnf.c (ynf): Likewise.
29130 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29131 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29132 value for Bessel function domain errors outside _SVID_ mode.
29133 Adjust sign of return value for yn (negative integer, 0).
29134 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29135 by zero in return for negative x and set sign appropriately for
29136 negative n.
29137 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29138 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29139 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29140 expectations in error cases.
29141 (y1_test_data): Likewise.
29142 (yn_test_data): Likewise.
29143 * sysdeps/i386/fpu/libm-test-ulps: Update.
29144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29145
29146 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29147
29148 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29149 "64" to "64-v1". Add "64-v2".
29150 (abi-64-options): Rename to ...
29151 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29152 (abi-64-condition): Rename to ...
29153 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29154 (abi-64-ld-soname): Rename to ...
29155 (abi-64-v1-ld-soname): ... this.
29156 (abi-64-v2-options): Define.
29157 (abi-64-v2-condition): Likewise.
29158 (abi-64-v2-ld-soname): Likewise.
29159 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29160 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29164
29165 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29166 Alan Modra <amodra@gmail.com>
29167
29168 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29169 New versions for use with the ELFv2 ABI.
29170 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29171 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29172 declaration.
29173 (struct La_ppc64v2_retval): Likewise.
29174 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29175 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29176 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29177 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29178 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29179 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29180 Do not save or restore CR.
29181 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29182 (_dl_profile_resolve): Do no save or restore CR. Support extended
29183 return values for ELFv2 ABI. Fix location of FPR return registers.
29184 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29185 updated values for _CALL_ELF == 2.
29186 (La_regs, La_retval, int_retval): Likewise.
29187
29188 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29189
29190 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29191 (FRAME_MIN_SIZE_PARM): Likewise.
29192 (FRAME_BACKCHAIN): Likewise.
29193 (FRAME_CR_SAVE): Likewise.
29194 (FRAME_LR_SAVE): Likewise.
29195 (FRAME_TOC_SAVE): Likewise.
29196 (FRAME_PARM_SAVE): Likewise.
29197 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29198 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29199 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29200 (call_mcount_parm_offset): New macro.
29201 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29202 (PROF): Use symbolic stack frame offsets.
29203 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29204 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29205 Redefine in terms of FRAME_MIN_SIZE.
29206 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29207 (_dl_profile_resolve): Likewise. Update comment.
29208 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29209 symbols stack frame offsets.
29210 (__sigsetjmp): Likewise.
29211 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29212 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29213 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29214 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29215
29216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29217 (FRAME_BACKCHAIN): Remove.
29218 (FRAME_CR_SAVE): Likewise.
29219 (FRAME_LR_SAVE): Likewise.
29220 (FRAME_COMPILER_DW): Likewise.
29221 (FRAME_LINKER_DW): Likewise.
29222 (FRAME_TOC_SAVE): Likewise.
29223 (FRAME_PARM_SAVE): Likewise.
29224 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29225 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29226 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29228 (CHECK_SP): Use symbolic stack frame offsets.
29229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29230 zone" instead of caller's parameter save area for temp storage.
29231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29232 Likewise. Also, use symbolic stack frame offsets.
29233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29234 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29235 our own stack frame instead of the caller's.
29236 (__socket): Use symbolic stack frame offsets.
29237
29238 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29239 Alan Modra <amodra@gmail.com>
29240
29241 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29242 Define.
29243 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29244 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29245 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29246 New function.
29247 (elf_machine_fixup_plt): Call it.
29248 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29249 reloc arguments.
29250 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29251 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29252 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29253 r2 before calling target.
29254
29255 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29256 Alan Modra <amodra@gmail.com>
29257
29258 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29259 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29260 versions of macros to support ELFv2 ABI.
29261 (LOCALENTRY): New macro.
29262 (ENTRY, EALIGN): Use it.
29263 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29264 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29265 fall through into ENTRY entry point.
29266 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29267 Only define if _CALL_ELF != 2.
29268
29269 (elf_machine_matches_host): Verify ABI version matches.
29270 (RTLD_START): Use LOCALENTRY.
29271 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29272 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29273 (PLT_ENTRY_WORDS): New macro.
29274 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29275 (elf_machine_runtime_setup): Support ELFv2 ABI.
29276 (elf_machine_fixup_plt): Likewise.
29277 (elf_machine_plt_conflict): Likewise.
29278 (resolve_ifunc): Likewise.
29279 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29280 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29281 Likewise.
29282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29283 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29285 (makecontext): Support ELFv2 ABI.
29286 * elf/elf.h (EF_PPC64_ABI): Define.
29287
29288 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29289
29290 * sysdeps/powerpc/powerpc64/sysdep.h
29291 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29292 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29293 (ENTRY) [ASSEMBLER]: ... but instead here ...
29294 (EALIGN) [ASSEMBLER]: ... and here.
29295 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29296 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29297 (ENTRY_2) [!ASSEMBLER]: Use it.
29298 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29299 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29300 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29301 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29302 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29304 Use PPC64_LOAD_FUNCPTR.
29305
29306 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29307
29308 2013-12-04 Alan Modra <amodra@gmail.com>
29309
29310 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29311 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29312 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29313 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29314
29315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29316 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29317 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29318 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29319 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29320 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29321
29322 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29323
29324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29325 (__makecontext): Fix incorrect CFI when backtracing out of
29326 context created via makecontext.
29327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29328 (__setcontext): Fix incorrect CFI during switch to new context.
29329 (__novec_setcontext): Likewise.
29330
29331 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29332
29333 [BZ #4772]
29334 * time/strptime_l.c (__strptime_internal): Allow modifiers
29335 in strptime.
29336 * time/tst-strptime.c (day_tests): Add testcase.
29337
29338 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29339
29340 * scripts/bench.pl: Skip over blank lines.
29341
29342 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29343
29344 [BZ #926]
29345 * manual/time.texi (Calendar Time): Clarify what timezone functions
29346 use.
29347
29348 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29349
29350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29351
29352 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29353
29354 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29355 implementation.
29356 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29357 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29358 * debug/memset_chk.c (__memset_chk): Likewise.
29359 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29360 * debug/strncpy_chk.c: Likewise.
29361
29362 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29363
29364 [BZ #15268]
29365 [BZ #15425]
29366 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29367 (__ieee754_exp): For possibly underflowing results, check size of
29368 result and force underflow exception if required.
29369 * math/auto-libm-test-in: Add more tests of exp.
29370 * math/auto-libm-test-out: Regenerated.
29371 * sysdeps/i386/fpu/libm-test-ulps: Update.
29372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29373
29374 [BZ #16283]
29375 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29376 * math/w_exp2f.c (__exp2f): Likewise.
29377 * math/w_exp2l.c (__exp2l): Likewise.
29378 * math/auto-libm-test-in: Do not allow missing errno on exp2
29379 underflow.
29380 * math/auto-libm-test-out: Regenerated.
29381
29382 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29383
29384 [BZ #16274]
29385 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29386 handle filename validation.
29387 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29388 (do_open): Delete.
29389
29390 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29391
29392 [BZ #6786]
29393 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29394 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29395 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29396 <float.h>.
29397 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29398 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29399 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29401 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29402 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29403 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29404 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29405 Add more erfc tests.
29406 * math/auto-libm-test-out: Regenerated.
29407 * sysdeps/i386/fpu/libm-test-ulps: Update.
29408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29409
29410 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29411 exp2, expm1, j0 and j1.
29412 * math/auto-libm-test-out: Regenerated.
29413 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29414 (erfc_test_data): Likewise.
29415 (exp_test_data): Likewise.
29416 (exp_tonearest_test_data): Likewise.
29417 (exp_towardzero_test_data): Likewise.
29418 (exp_downward_test_data): Likewise.
29419 (exp_upward_test_data): Likewise.
29420 (exp10_test_data): Likewise.
29421 (exp2_test_data): Likewise.
29422 (expm1_test_data): Likewise.
29423 (j0_test_data): Likewise.
29424 (j1_test_data): Likewise.
29425 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29426 (input_flag_type): Add flag_xfail_rounding.
29427 (input_flags): Add xfail-rounding.
29428 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29429 (output_for_one_input_case): Handle flag_xfail_rounding.
29430 * sysdeps/i386/fpu/libm-test-ulps: Update.
29431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29432
29433 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29434
29435 [BZ #16289]
29436 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29437 division by 0.
29438
29439 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29440
29441 [BZ #16195]
29442 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29443 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29444 (STAP_PROBE0): New macro.
29445 (STAP_PROBE1): Likewise.
29446 (STAP_PROBE2): Likewise.
29447 (STAP_PROBE3): Likewise.
29448 (STAP_PROBE4): Likewise.
29449
29450 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29451
29452 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29453
29454 2013-12-02 Steve Ellcey <sellcey@mips.com>
29455
29456 * benchtests/Makefile (bench): Add sqrt.
29457 (LDLIBS-bench-sqrt): New.
29458 * benchtests/sqrt-input: New.
29459
29460 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29461
29462 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29463 (GAIH_EAI): Likewise.
29464 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29465 (gaih_inet): Likewise.
29466 (getaddrinfo): Don't use GAIH_EAI.
29467
29468 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29469 (struct gaih): Remove definition.
29470
29471 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29472
29473 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29474 Use HERRNOP directly.
29475
29476 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29477
29478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29479
29480 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29481
29482 * math/gen-auto-libm-tests.c (test_functions): Add more
29483 single-argument functions.
29484 (special_fill_pi_2): New function.
29485 (special_fill_minus_pi_2): Likewise.
29486 (special_fill_pi_6): Likewise.
29487 (special_fill_minus_pi_6): Likewise.
29488 (special_fill_pi_3): Likewise.
29489 (special_fill_2pi_3): Likewise.
29490 (special_fill_e): Likewise.
29491 (special_fill_1_e): Likewise.
29492 (special_fill_e_minus_1): Likewise.
29493 (special_real_inputs): Add more special inputs.
29494 (output_for_one_input_case): Do not require ERANGE on underflow to
29495 zero if round-to-nearest result does not underflow to zero, unless
29496 exact results required.
29497 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29498 atan, atanh, cbrt, cos and cosh.
29499 * math/auto-libm-test-out: Regenerated.
29500 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29501 (acos_tonearest_test_data): Likewise.
29502 (acos_towardzero_test_data): Likewise.
29503 (acos_downward_test_data): Likewise.
29504 (acos_upward_test_data): Likewise.
29505 (acosh_test_data): Likewise.
29506 (asin_test_data): Likewise.
29507 (asin_tonearest_test_data): Likewise.
29508 (asin_towardzero_test_data): Likewise.
29509 (asin_upward_test_data): Likewise.
29510 (asinh_test_data): Likewise.
29511 (atan_test_data): Likewise.
29512 (atanh_test_data): Likewise.
29513 (cbrt_test_data): Likewise.
29514 (cos_test_data): Likewise.
29515 (cos_tonearest_test_data): Likewise.
29516 (cos_towardzero_test_data): Likewise.
29517 (cos_downward_test_data): Likewise.
29518 (cos_upward_test_data): Likewise.
29519 (cosh_test_data): Likewise.
29520 (cosh_tonearest_test_data): Likewise.
29521 (cosh_towardzero_test_data): Likewise.
29522 (cosh_downward_test_data): Likewise.
29523 (cosh_upward_test_data): Likewise.
29524 * sysdeps/i386/fpu/libm-test-ulps: Update.
29525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29526
29527 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29528
29529 [BZ #6787]
29530 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29531 * math/w_exp10f.c (__exp10f): Likewise.
29532 * math/w_exp10l.c (__exp10l): Likewise.
29533 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29534 errno settings in existing tests.
29535
29536 [BZ #14032]
29537 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29538 precision control set to double precision.
29539 * sysdeps/i386/fpu/w_sqrt.c: New file.
29540 * math/auto-libm-test-in: Add more tests.
29541 * math/auto-libm-test-out: Update.
29542
29543 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29544 (sqrt_test_tonearest): New function.
29545 (sqrt_towardzero_test_data): New variable.
29546 (sqrt_test_towardzero): New function.
29547 (sqrt_downward_test_data): New variable.
29548 (sqrt_test_downward): New function.
29549 (sqrt_upward_test_data): New variable.
29550 (sqrt_test_upward): New function.
29551 (main): Call the new functions.
29552
29553 * math/gen-auto-libm-tests.c: New file.
29554 * math/auto-libm-test-in: Likewise.
29555 * math/auto-libm-test-out: New generated file.
29556 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29557 variables.
29558 (%beautify): Add generated representations of zero.
29559 (top level): Set $auto_input and call parse_auto_input.
29560 (beautify): Remove trailing "f" from hex float constants.
29561 (parse_args): Handle XFAIL_TEST.
29562 (convert_condition): New function.
29563 (or_value): Likewise.
29564 (or_cond_value): Likewise.
29565 (generate_testfile): Handle AUTO_TESTS_* lines.
29566 (parse_auto_input): New function.
29567 * math/libm-test.inc (XFAIL_TEST): New macro.
29568 (ERRNO_UNCHANGED): Update value.
29569 (ERRNO_EDOM): Likewise.
29570 (ERRNO_ERANGE): Likewise.
29571 (IGNORE_RESULT): Likewise.
29572 (TEST_COND_flt_32): New macro.
29573 (TEST_COND_dbl_64): Likewise.
29574 (TEST_COND_ldbl_96_intel): Likewise.
29575 (TEST_COND_ldbl_96_m68k): Likewise.
29576 (TEST_COND_ldbl_128): Likewise.
29577 (TEST_COND_ldbl_128ibm): Likewise.
29578 (TEST_COND_long32): Likewise.
29579 (TEST_COND_long64): Likewise.
29580 (TEST_COND_before_rounding): Likewise.
29581 (TEST_COND_after_rounding): Likewise.
29582 (enable_test): Handle XFAIL_TEST flag.
29583 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29584 with finite results.
29585 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29586 auto-libm-test-out.
29587
29588 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29589 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29590
29591 [BZ #16214]
29592 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29593 __tls_get_addr_internal instead of __tls_get_offset in order to
29594 avoid GOT pointer dependency. Make rtld export
29595 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29596 __tls_get_addr since we are a __tls_get_offset platform.
29597 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29598 GOT pointer being set up before.
29599 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29600
29601 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29602
29603 * manual/math.texi (Errors in Math Functions): Document accuracy
29604 goals.
29605
29606 [BZ #15004]
29607 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29608 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29609 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29610 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29611 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29612 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29613 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29614 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29615 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29616 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29617 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29618 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29619 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29620 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29621 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29622 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29623
29624 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29625 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29626 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29627 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29628 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29629 Likewise.
29630 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29631 Likewise.
29632 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29633 Likewise.
29634 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29635 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29636 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29637 atomic-feupdateenv and flt-rounds.
29638 * sysdeps/powerpc/nofpu/Versions (libc): Add
29639 __atomic_feholdexcept, __atomic_feclearexcept,
29640 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29641 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29642 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29643 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29644 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29645 here.
29646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29647 Update.
29648
29649 * manual/arith.texi (FP Exceptions): Document that exceptions may
29650 not be raised when matherr is used.
29651 (Math Error Reporting): Document overflow in directed rounding
29652 modes. Document that errno may not be set when finite values are
29653 returned on overflow. Document intent to set errno on underflow
29654 only for underflow to zero.
29655
29656 [BZ #16271]
29657 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29658 round-to-nearest then adjust result for other rounding modes.
29659 * include/fenv.h (fegetround): Use libm_hidden_proto.
29660 * math/fegetround.c (fegetround): Use libm_hidden_def.
29661 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29662 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29663 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29664 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29665 Likewise.
29666 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29667 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29668 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29669 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29670
29671 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29672
29673 [BZ #16077]
29674 * nss/Versions (libnss_files): Add
29675 _nss_files_gethostbyname3_r.
29676 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29677 New function.
29678 (HOST_DB_LOOKUP): Remove macro.
29679 (_nss_files_gethostbyname_r): Implement function without the
29680 HOST_DB_LOOKUP macro.
29681 (_nss_files_gethostbyname2_r): Likewise.
29682
29683 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29684
29685 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29686
29687 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29688
29689 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29690 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29691 warning.
29692
29693 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29694
29695 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29696 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29697 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29698 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29699 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29700 __fe_nomask_env_priv and attribute_hidden.
29701 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29702 (libc_feupdateenv_test_ppc): Likewise.
29703 (libc_feresetround_ppc): Likewise.
29704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29705 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29706 compat_symbol macro.
29707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29708 (__fe_nomask_env): Likewise.
29709 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29710
29711 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29712
29713 * string/Makefile: Remove ifunc tests.
29714 * string/test-string.h: Define TEST_IFUNC.
29715 * string/test-bcopy-ifunc.c: Remove.
29716 * string/test-bzero-ifunc.c: Likewise.
29717 * string/test-memccpy-ifunc.c: Likewise.
29718 * string/test-memchr-ifunc.c: Likewise.
29719 * string/test-memcmp-ifunc.c: Likewise.
29720 * string/test-memcpy-ifunc.c: Likewise.
29721 * string/test-memmem-ifunc.c: Likewise.
29722 * string/test-memmove-ifunc.c: Likewise.
29723 * string/test-mempcpy-ifunc.c: Likewise.
29724 * string/test-memrchr-ifunc.c: Likewise.
29725 * string/test-memset-ifunc.c: Likewise.
29726 * string/test-rawmemchr-ifunc.c: Likewise.
29727 * string/test-stpcpy-ifunc.c: Likewise.
29728 * string/test-stpncpy-ifunc.c: Likewise.
29729 * string/test-strcasecmp-ifunc.c: Likewise.
29730 * string/test-strcasestr-ifunc.c: Likewise.
29731 * string/test-strcat-ifunc.c: Likewise.
29732 * string/test-strchr-ifunc.c: Likewise.
29733 * string/test-strchrnul-ifunc.c: Likewise.
29734 * string/test-strcmp-ifunc.c: Likewise.
29735 * string/test-strcpy-ifunc.c: Likewise.
29736 * string/test-strcspn-ifunc.c: Likewise.
29737 * string/test-strlen-ifunc.c: Likewise.
29738 * string/test-strncasecmp-ifunc.c: Likewise.
29739 * string/test-strncat-ifunc.c: Likewise.
29740 * string/test-strncmp-ifunc.c: Likewise.
29741 * string/test-strncpy-ifunc.c: Likewise.
29742 * string/test-strnlen-ifunc.c: Likewise.
29743 * string/test-strpbrk-ifunc.c: Likewise.
29744 * string/test-strrchr-ifunc.c: Likewise.
29745 * string/test-strspn-ifunc.c: Likewise.
29746 * string/test-strstr-ifunc.c: Likewise.
29747
29748 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29749
29750 * benchtests/Makefile: Remove ifunc tests.
29751 * benchtests/bench-string.h: Define TEST_IFUNC.
29752 * benchtests/bench-bcopy-ifunc.c: Remove.
29753 * benchtests/bench-bzero-ifunc.c: Likewise.
29754 * benchtests/bench-memccpy-ifunc.c: Likewise.
29755 * benchtests/bench-memchr-ifunc.c: Likewise.
29756 * benchtests/bench-memcmp-ifunc.c: Likewise.
29757 * benchtests/bench-memcpy-ifunc.c: Likewise.
29758 * benchtests/bench-memmem-ifunc.c: Likewise.
29759 * benchtests/bench-memmove-ifunc.c: Likewise.
29760 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29761 * benchtests/bench-memrchr-ifunc.c: Likewise.
29762 * benchtests/bench-memset-ifunc.c: Likewise.
29763 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29764 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29765 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29766 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29767 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29768 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29769 * benchtests/bench-strcat-ifunc.c: Likewise.
29770 * benchtests/bench-strchr-ifunc.c: Likewise.
29771 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29772 * benchtests/bench-strcmp-ifunc.c: Likewise.
29773 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29774 * benchtests/bench-strcpy-ifunc.c: Likewise.
29775 * benchtests/bench-strcspn-ifunc.c: Likewise.
29776 * benchtests/bench-strlen-ifunc.c: Likewise.
29777 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29778 * benchtests/bench-strncat-ifunc.c: Likewise.
29779 * benchtests/bench-strncmp-ifunc.c: Likewise.
29780 * benchtests/bench-strncpy-ifunc.c: Likewise.
29781 * benchtests/bench-strnlen-ifunc.c: Likewise.
29782 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29783 * benchtests/bench-strrchr-ifunc.c: Likewise.
29784 * benchtests/bench-strsep-ifunc.c: Likewise.
29785 * benchtests/bench-strspn-ifunc.c: Likewise.
29786 * benchtests/bench-strstr-ifunc.c: Likewise.
29787
29788 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29789
29790 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29791
29792 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29793
29794 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29795 * rt/aio.h: Likewise.
29796 * sysdeps/gnu/bits/utmp.h: Likewise.
29797 * sysdeps/gnu/bits/utmpx.h: Likewise.
29798 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29799 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29800 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29801 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29802 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29803 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29804 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29805 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29806 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29807 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29808 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29809 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29810 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29812 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29813 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29814 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29815 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29816 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29817 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29818 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29819 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29820 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29821 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29822 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29824 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29825 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29826 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29827 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29828 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29829 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29830 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29831 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29832 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29833 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29834 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29835 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29836 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29837 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29838 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29839 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29840
29841 2013-11-25 Carlos O'Donell <carlos@redhat.com>
29842
29843 [BZ #16245]
29844 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29845 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29846
29847 2013-11-25 Joseph Myers <joseph@codesourcery.com>
29848
29849 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29850 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29851 Likewise.
29852
29853 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29854
29855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29856 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29857 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29858 (__fesetround): Remove define.
29859 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29860 rounding and exceptions handling.
29861 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29862 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29863 (__fe_nomask_env): Likewise.
29864 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29865 __fegetround instead of fegetround.
29866 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29867 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29868
29869 2013-11-21 Roland McGrath <roland@hack.frob.com>
29870
29871 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29872 it's there.
29873
29874 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29875
29876 2013-11-21 Meador Inge <meadori@codesourcery.com>
29877
29878 [BZ #11157]
29879 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29880 (encrypt_r): Likewise.
29881 * malloc/obstack.h (obstack_free): Likewise.
29882 * posix/unistd.h (encrypt): Likewise.
29883
29884 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
29885
29886 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29887 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29888 DL_CALL_DT_FINI() that call the functions directly.
29889 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29890 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29891 * elf/dl-fini.c: Likewise.
29892
29893 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
29894
29895 * malloc/hooks.c (memalign_check): Add alignment rounding.
29896 * malloc/malloc.c (_mid_memalign): New function.
29897 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29898 Implement by calling _mid_memalign.
29899 * manual/probes.texi (Memory Allocation Probes): Remove
29900 memory_valloc_retry and memory_pvalloc_retry.
29901
29902 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29903
29904 * locale/programs/locarchive.c (open_archive): Add const
29905 qualifier to ARCHIVEFNAME and copy default fname to
29906 DEFAULT_FNAME.
29907
29908 [BZ #15601]
29909 * libio/tst-widetext.input: Rename Oriya to Odia.
29910 * locale/iso-639.def: Likewise.
29911
29912 * manual/probes.texi (Mathematical Function Probes): Add
29913 documentation for sin, cos, asin and acos probes.
29914 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29915 (__sin32): Add slowasin probe.
29916 (__cos32): Add slowacos probe.
29917 (__mpsin): Add slowsin probe.
29918 (__mpcos): Add slowcos probe.
29919
29920 2013-11-19 Joseph Myers <joseph@codesourcery.com>
29921
29922 [BZ #15483]
29923 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29924 thread-local __sim_exceptions_thread and global
29925 __sim_exceptions_global.
29926 (__sim_disabled_exceptions): Change to thread-local
29927 __sim_disabled_exceptions_thread and global
29928 __sim_disabled_exceptions_global.
29929 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29930 and global __sim_round_mode_global.
29931 (__simulate_exceptions): Use thread-local floating-point state and
29932 set global state from it as needed.
29933 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29934 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29935 __sim_round_mode_thread.
29936 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29937 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29938 and global __sim_exceptions_global.
29939 (__sim_disabled_exceptions): Change to thread-local
29940 __sim_disabled_exceptions_thread and global
29941 __sim_disabled_exceptions_global.
29942 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29943 and global __sim_round_mode_global.
29944 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29945 (SIM_SET_GLOBAL): Likewise.
29946 * sysdeps/powerpc/soft-fp/sfp-machine.h
29947 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29948 __sim_round_mode_thread.
29949 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29950 __sim_disabled_exceptions_thread.
29951 (__sim_exceptions): Change to __sim_exceptions_thread.
29952 (__sim_disabled_exceptions): Change to
29953 __sim_disabled_exceptions_thread.
29954 (__sim_round_mode): Change to __sim_round_mode_thread.
29955 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29956 thread-local floating-point state and set global state from it as
29957 needed.
29958 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29959 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29960 (__sim_disabled_exceptions): Remove extern declaration.
29961 (feenableexcept): Use thread-local floating-point state and set
29962 global state from it as needed.
29963 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29964 extern declaration.
29965 (__sim_disabled_exceptions): Likewise.
29966 (__sim_round_mode): Likewise.
29967 (__fegetenv): Use thread-local floating-point state.
29968 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29969 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29970 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29971 floating-point state and set global state from it as needed.
29972 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29973 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29974 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29975 Likewise.
29976 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29977 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29978 Likewise.
29979 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29980 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29981 Use __sim_round_mode_thread.
29982 * math/test-fenv-tls.c: New file.
29983 * math/Makefile (tests): Add test-fenv-tls.
29984 ($(objpfx)test-fenv-tls): Depend on
29985 $(common-objpfx)nptl/libpthread.so.
29986
29987 2013-11-19 Andreas Schwab <schwab@suse.de>
29988
29989 * locale/programs/locale.c (show_info): Decode wordarray elements.
29990 * locale/categories.def (LC_MONETARY): Add element for
29991 _NL_MONETARY_CRNCYSTR.
29992 * locale/C-monetary.c (conversion_rate): New variable.
29993 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29994 element.
29995
29996 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
29997
29998 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29999 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30000
30001 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30002
30003 * elf/Makefile (tst-auxv): New test.
30004 * elf/tst-auxv.c: New
30005 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30006
30007 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30008
30009 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30010 (hidden_proto): Caller changed.
30011 (hidden_tls_proto): New macro.
30012 (libc_hidden_tls_proto): Likewise.
30013 (rtld_hidden_tls_proto): Likewise.
30014 (libm_hidden_tls_proto): Likewise.
30015 (libresolv_hidden_tls_proto): Likewise.
30016 (librt_hidden_tls_proto): Likewise.
30017 (libdl_hidden_tls_proto): Likewise.
30018 (libnss_files_hidden_tls_proto): Likewise.
30019 (libnsl_hidden_tls_proto): Likewise.
30020 (libnss_nisplus_hidden_tls_proto): Likewise.
30021 (libutil_hidden_tls_proto): Likewise.
30022
30023 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30024
30025 [BZ #10253]
30026 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30027 (decompose_rpath): Defer expansion to fillin_rpath.
30028 (_dl_init_paths): Pass linkmap to fillin_rpath.
30029
30030 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30031
30032 * benchtests/Makefile: Add strsep.
30033 * benchtests/bench-strsep.c: New file: strsep benchtest.
30034 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30035
30036 2013-11-18 Andreas Schwab <schwab@suse.de>
30037
30038 * locale/programs/locale.c (show_info) [case byte]: Check for
30039 '\377' instead of '\177'.
30040 * locale/C-monetary.c (not_available): Always use "\377".
30041 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30042 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30043 detect unavailable sign_posn locale elements.
30044 * locale/localeconv.c (__localeconv): For grouping and
30045 mon_grouping handle "\177" and "\377" like no grouping.
30046 (INT_ELEM): New macro. Use it to set all numeric members.
30047 * locale/programs/ld-monetary.c (monetary_read)
30048 <tok_mon_grouping>: Normalize single -1 to the empty string.
30049 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30050 Likewise.
30051
30052 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30053
30054 [BZ #16055]
30055 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30056 when we match (nil).
30057 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30058
30059 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30060
30061 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30062 (NO_TEST_INLINE): Update value.
30063 (ERRNO_UNCHANGED): Likewise.
30064 (ERRNO_EDOM): Likewise.
30065 (ERRNO_ERANGE): Likewise.
30066 (IGNORE_RESULT): Likewise.
30067 (check_float_internal): Check signs of NaN results if
30068 TEST_NAN_SIGN used.
30069 (check_complex): Pass TEST_NAN_SIGN flag through to second
30070 check_float_internal call.
30071 (copysign_test_data): Add tests with quiet NaNs as second
30072 argument. Use TEST_NAN_SIGN.
30073 (fabs_test_data): Add test of negative quiet NaN argument. Use
30074 TEST_NAN_SIGN.
30075 (signbit_test_data): Add tests of quiet NaN argument.
30076 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30077
30078 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30079 $ignore_result.
30080 (parse_args): Handle function results specified as IGNORE.
30081 * math/libm-test.inc (IGNORE_RESULT): New macro.
30082 (check_float_internal): Do not check numerical result if flag
30083 IGNORE_RESULT set.
30084 (check_complex): Pass through IGNORE_RESULT to second
30085 check_float_internal call.
30086 (check_int): Do not check numerical result if flag IGNORE_RESULT
30087 set.
30088 (check_long): Likewise.
30089 (check_bool): Likewise.
30090 (check_longlong): Likewise.
30091 (lrint_test_data): Add tests of infinite and NaN arguments.
30092 (lrint_tonearest_test_data): Likewise.
30093 (lrint_towardzero_test_data): Likewise.
30094 (lrint_downward_test_data): Likewise.
30095 (lrint_upward_test_data): Likewise.
30096 (llrint_test_data): Likewise.
30097 (llrint_tonearest_test_data): Likewise.
30098 (llrint_towardzero_test_data): Likewise.
30099 (llrint_downward_test_data): Likewise.
30100 (llrint_upward_test_data): Likewise.
30101 (lround_test_data): Likewise.
30102 (llround_test_data): Likewise.
30103
30104 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30105 (ERRNO_UNCHANGED): Update value.
30106 (ERRNO_EDOM): Likewise.
30107 (ERRNO_ERANGE): Likewise.
30108 (NO_TEST_INLINE_FLOAT): New macro.
30109 (NO_TEST_INLINE_DOUBLE): Likewise.
30110 (enable_test): New function.
30111 (RUN_TEST_f_f): Check enable_test before running test.
30112 (RUN_TEST_2_f): Likewise.
30113 (RUN_TEST_fff_f): Likewise.
30114 (RUN_TEST_c_f): Likewise.
30115 (RUN_TEST_f_f1): Likewise.
30116 (RUN_TEST_fF_f1): Likewise.
30117 (RUN_TEST_fI_f1): Likewise.
30118 (RUN_TEST_ffI_f1): Likewise.
30119 (RUN_TEST_c_c): Likewise.
30120 (RUN_TEST_cc_c): Likewise.
30121 (RUN_TEST_f_i): Likewise.
30122 (RUN_TEST_f_i_tg): Likewise.
30123 (RUN_TEST_ff_i_tg): Likewise.
30124 (RUN_TEST_f_b): Likewise.
30125 (RUN_TEST_f_b_tg): Likewise.
30126 (RUN_TEST_f_l): Likewise.
30127 (RUN_TEST_f_L): Likewise.
30128 (RUN_TEST_fFF_11): Likewise.
30129 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30130 conditionals.
30131 (cosh_test_data): Likewise.
30132 (exp_test_data): Likewise.
30133 (expm1_test_data): Likewise.
30134 (hypot_test_data): Likewise.
30135 (pow_test_data): Likewise.
30136 (sinh_test_data): Likewise.
30137 (tanh_test_data): Likewise.
30138 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30139 flags argument.
30140
30141 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30142 tests with quiet NaN input and output.
30143 (acosh_test_data): Likewise.
30144 (asin_test_data): Likewise.
30145 (asinh_test_data): Likewise.
30146 (atan_test_data): Likewise.
30147 (atanh_test_data): Likewise.
30148 (atan2_test_data): Likewise.
30149 (cbrt_test_data): Likewise.
30150 (cos_test_data): Likewise.
30151 (cosh_test_data): Likewise.
30152 (erf_test_data): Likewise.
30153 (erfc_test_data): Likewise.
30154 (exp_test_data): Likewise.
30155 (exp10_test_data): Likewise.
30156 (exp2_test_data): Likewise.
30157 (expm1_test_data): Likewise.
30158 (hypot_test_data): Likewise.
30159 (j0_test_data): Likewise.
30160 (j1_test_data): Likewise.
30161 (jn_test_data): Likewise.
30162 (lgamma_test_data): Likewise.
30163 (log_test_data): Likewise.
30164 (log10_test_data): Likewise.
30165 (log1p_test_data): Likewise.
30166 (log2_test_data): Likewise.
30167 (pow_test_data): Likewise.
30168 (scalb_test_data): Likewise.
30169 (sin_test_data): Likewise.
30170 (sincos_test_data): Likewise.
30171 (sinh_test_data): Likewise.
30172 (tan_test_data): Likewise.
30173 (tanh_test_data): Likewise.
30174 (tgamma_test_data): Likewise.
30175 (y0_test_data): Likewise.
30176 (y1_test_data): Likewise.
30177 (yn_test_data): Likewise.
30178
30179 [BZ #16167]
30180 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30181 argument being NaN and avoid computations with second argument in
30182 that case.
30183 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30184 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30185 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30186
30187 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30188
30189 * locale/iso-639.def: Add Chitwani Tharu (the).
30190
30191 2013-11-14 Andreas Schwab <schwab@suse.de>
30192
30193 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30194 word instead of empty string.
30195
30196 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30197
30198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30199 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30201 (__fe_nomask_env): Likewise.
30202
30203 2013-11-13 Steve Ellcey <sellcey@mips.com>
30204
30205 * benchtests/bench-timing.h: Include time.h.
30206
30207 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30208
30209 [BZ #15997]
30210 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30211 to 3.4.0 for x32.
30212 * sysdeps/unix/sysv/linux/configure: Regenerated.
30213
30214 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30215
30216 [BZ #16151]
30217 * stdlib/strtod_l.c (round_and_return): Do not consider
30218 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30219 exponent one less than half the least subnormal exponent.
30220 * stdlib/test-strtod-round-data: Add more tests.
30221 * stdlib/tst-strtod-round.c (tests): Regenerated.
30222
30223 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30224
30225 [BZ #14143]
30226 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30227 (__fe_mask_env): Likewise.
30228 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30229 libm_hidden_proto and add function prototype.
30230 (__fe_mask_env): Add function prototype.
30231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30232 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30234 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30236 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30237
30238 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30239
30240 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30241 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30242
30243 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30244
30245 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30246 of htab_find_slot().
30247
30248 2013-11-11 David S. Miller <davem@davemloft.net>
30249
30250 [BZ #16150]
30251 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30252 symbol in the non-vis3 case in static builds.
30253 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30254 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30255 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30256 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30257
30258 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30259
30260 [BZ #387]
30261 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30262 it is empty.
30263
30264 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30265
30266 * benchtests/Makefile: Add bench-strtod.
30267 * benchtests/bench-strtod.c: New file: strtod benchtest
30268
30269 2013-11-11 Andreas Schwab <schwab@suse.de>
30270
30271 [BZ #16153]
30272 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30273 terminating NUL in key length.
30274
30275 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30276
30277 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30278 Add artificial ODP entry for vDSO symbol for PPC64.
30279 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30280 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30281
30282 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30283
30284 [BZ #15374]
30285 * nss/getent.c (services_keys): Recognize services starting with digit.
30286
30287 2013-11-06 David S. Miller <davem@davemloft.net>
30288
30289 [BZ #15985]
30290 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30291 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30292
30293 2013-11-06 Will Newton <will.newton@linaro.org>
30294
30295 * manual/memory.texi (Malloc Examples): Remove register
30296 keyword from examples.
30297
30298 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30299
30300 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30301
30302 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30303
30304 [BZ #6981]
30305 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30306 depending on [__GCC_IEC_559 > 0].
30307 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30308 depending on [__GCC_IEC_559_COMPLEX > 0].
30309
30310 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30311
30312 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30313 to iso-639.def.
30314
30315 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30316
30317 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30318
30319 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30320
30321 [BZ #16112]
30322 * malloc/malloc (malloc_info): Do not handle first bin as
30323 special case.
30324
30325 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30326
30327 * locale/iso-639.def: Add Central Nahuatl (nhn).
30328
30329 2013-11-01 Bruno Haible <bruno@clisp.org>
30330
30331 [BZ #7003]
30332 * manual/math.texi (BSD Random): Specify range upper bound as
30333 in POSIX.
30334
30335 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30336
30337 * locale/iso-639.def: Add Meadow Mari (mhr).
30338
30339 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30340
30341 [BZ #14752], [BZ #15763]
30342 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30343 Validate name.
30344 * rt/tst_shm.c: Add test for escaping directory.
30345
30346 2013-10-31 Andreas Schwab <schwab@suse.de>
30347
30348 [BZ #15917]
30349 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30350 followed by 'x' as part of digit sequence.
30351 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30352
30353 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30354
30355 [BZ #16037]
30356 * configure.ac: allow GNU Make 4.0 and greater.
30357 * configure: Regenerated.
30358
30359 2013-10-30 Will Newton <will.newton@linaro.org>
30360
30361 [BZ #16038]
30362 * malloc/hooks.c (memalign_check): Limit alignment to the
30363 maximum representable power of two.
30364 * malloc/malloc.c (__libc_memalign): Likewise.
30365 * malloc/tst-memalign.c (do_test): Add test for very
30366 large alignment values.
30367 * malloc/tst-posix_memalign.c (do_test): Likewise.
30368
30369 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30370
30371 [BZ #11087]
30372 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30373 (munmap_chunk): Likewise.
30374 (mremap_chunk): Likewise.
30375
30376 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30377
30378 [BZ #15799]
30379 * stdlib/div.c (div): Remove obsolete code.
30380 * stdlib/ldiv.c (ldiv): Likewise.
30381 * stdlib/lldiv.c (lldiv): Likewise.
30382
30383 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30384
30385 [BZ #16071]
30386 * nss/nss_files/files-XXX.c (get_contents_ret): New
30387 enumerator.
30388 (get_contents): New function.
30389 (internal_getent): Use it. Expand size of LINEBUFLEN.
30390
30391 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30392
30393 * configure.in: Moved to ...
30394 * configure.ac: ... here. Change reference to configure.in
30395 to configure.ac.
30396 * sysdeps/arm/preconfigure.ac: ... here.
30397 configure.in to configure.ac.
30398 * sysdeps/gnu/configure.in: Moved to ...
30399 * sysdeps/gnu/configure.ac: ... here.
30400 * sysdeps/i386/configure.in: Moved to ...
30401 * sysdeps/i386/configure.ac: ... here.
30402 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30403 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30404 * sysdeps/mach/configure.in: Moved to ...
30405 * sysdeps/mach/configure.ac: ... here.
30406 * sysdeps/mach/hurd/configure.in: Moved to ...
30407 * sysdeps/mach/hurd/configure.ac: ... here.
30408 * sysdeps/powerpc/configure.in: Moved to ...
30409 * sysdeps/powerpc/configure.ac: ... here.
30410 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30411 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30412 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30413 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30414 * sysdeps/s390/s390-32/configure.in: Moved to ...
30415 * sysdeps/s390/s390-32/configure.ac: ... here.
30416 * sysdeps/s390/s390-64/configure.in: Moved to ...
30417 * sysdeps/s390/s390-64/configure.ac: ... here.
30418 * sysdeps/sh/configure.in: Moved to ...
30419 * sysdeps/sh/configure.ac: ... here.
30420 * sysdeps/sparc/configure.in: Moved to ...
30421 * sysdeps/sparc/configure.ac: ... here.
30422 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30423 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30424 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30425 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30426 * sysdeps/x86_64/configure.in: Moved to ...
30427 * sysdeps/x86_64/configure.ac: ... here.
30428 * sysdeps/x86_64/preconfigure.in: Moved to ...
30429 * sysdeps/x86_64/preconfigure.ac: ... here.
30430 * aclocal.m4: Change reference to configure.in to configure.ac.
30431 * config.h.in: Likewise.
30432 * manual/install.texi: Likewise.
30433 * manual/maint.texi: Likewise.
30434 * Makefile: Likewise.
30435 * malloc/Makefile: Likewise.
30436 * nscd/Makefile: Likewise.
30437 * Makeconfig: Change reference to configure.in and
30438 preconfigure.in to configure.ac and preconfigure.ac
30439 respectively.
30440 * INSTALL: Regenerated.
30441 * configure: Likewise.
30442 * sysdeps/gnu/configure: Likewise.
30443 * sysdeps/i386/configure: Likewise.
30444 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30445 * sysdeps/mach/configure: Likewise.
30446 * sysdeps/mach/hurd/configure: Likewise.
30447 * sysdeps/powerpc/configure: Likewise.
30448 * sysdeps/powerpc/powerpc32/configure: Likewise.
30449 * sysdeps/powerpc/powerpc64/configure: Likewise.
30450 * sysdeps/s390/s390-32/configure: Likewise.
30451 * sysdeps/s390/s390-64/configure: Likewise.
30452 * sysdeps/sh/configure: Likewise.
30453 * sysdeps/sparc/configure: Likewise.
30454 * sysdeps/unix/sysv/linux/configure: Likewise.
30455 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30456 * sysdeps/x86_64/configure: Likewise.
30457 * sysdeps/x86_64/preconfigure: Likewise.
30458
30459 2013-10-29 Andreas Schwab <schwab@suse.de>
30460
30461 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30462
30463 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30464
30465 * benchtests/pow-inputs: Add new inputs.
30466
30467 * benchtests/exp-inputs: Add new inputs.
30468
30469 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30470 conditional check for return value.
30471 (__cos32): Likewise.
30472
30473 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30474
30475 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30476 to provide a boost for large inputs with word alignment.
30477 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30478 implementation based on optimized PPC64 strcpy.
30479 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30480 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30481 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30482 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30483
30484 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30485
30486 [BZ #2801]
30487 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30488
30489 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30490
30491 [BZ #14876]
30492 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30493 * time/tst-strptime.c (day_tests): Add testcase.
30494
30495 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30496
30497 [BZ #14029]
30498 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30499
30500 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30501
30502 [BZ #16074]
30503 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30504 MAP_FAILED on error.
30505
30506 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30507
30508 [BZ #16072]
30509 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30510 heap for large requests.
30511
30512 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30513
30514 [BZ #9954]
30515 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30516 result if the result has no associated interface.
30517 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30518 interface for all 127.X.Y.Z addresses.
30519
30520 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30521
30522 * locale/iso-639.def: Add Ligurian (lij)
30523
30524 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30525
30526 [BZ #15825]
30527 * sunrpc/rpc_main.c: Document rpcgen -5.
30528
30529 2013-10-19 Michael Stahl <mstahl@redhat.com>
30530
30531 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30532
30533 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30534
30535 [BZ #10278]
30536 * posix/glob.c: Match only directories when trailing slash is present.
30537 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30538 (main): Add testcase.
30539
30540 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30541
30542 [BZ #15670]
30543 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30544
30545 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30546
30547 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30548 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30549 AUTH_DES and cindex for FIPS 140-2.
30550 (DES Encryption): Add cindex FIPS 46-3.
30551
30552 * locale/locarchive.h (struct locarhandle): Add fname.
30553 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30554 if an optional argument was specified to --list-archive,
30555 otherwise NULL.
30556 * locale/programs/locarchive.c (show_archive_content): Take new
30557 argument fname and pass it via ah.fname to open_archive.
30558 * locale/programs/localedef.h: Update decl.
30559 (open_archive): If AH->fname is non-null, open that file
30560 rather than the default file name, and don't ignore ENOENT.
30561 (create_archive): Set AH.fname to NULL.
30562 (delete_locales_from_archive): Likewise.
30563 (add_locales_to_archive): Likewise.
30564 * locale/programs/locfile.c (write_all_categories): Likewise.
30565
30566 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30567 Aldy Hernandez <aldyh@redhat.com>
30568
30569 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30570 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30571 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30572 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30573 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30574 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30576 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30577 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30578 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30579 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30580 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30581 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30582 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30583 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30584 Likewise.
30585 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30586 Likewise.
30587 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30588 Likewise.
30589 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30590 Likewise.
30591 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30592 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30593 Likewise.
30594 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30595 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30596 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30597 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30598 Likewise.
30599 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30600 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30601 * sysdeps/powerpc/preconfigure: Likewise.
30602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30603 Likewise.
30604 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30605 Replace contents of file by #include of <fenv_libc.h>.
30606 * sysdeps/powerpc/soft-fp/sfp-machine.h
30607 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30608 and <sys/prctl.h>.
30609 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30610 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30616 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30622 Allow copysignl PLT reference to be missing.
30623
30624 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30625 Joseph Myers <joseph@codesourcery.com
30626
30627 [BZ #15948]
30628 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30629 single character.
30630 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30631
30632 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30633
30634 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30635 * elf/tst-tls1.c: Likewise.
30636 * elf/tst-tls10.h: Likewise.
30637 * elf/tst-tls14.c: Likewise.
30638 * elf/tst-tls2.c: Likewise.
30639 * elf/tst-tls3.c: Likewise.
30640 * elf/tst-tls4.c: Likewise.
30641 * elf/tst-tls5.c: Likewise.
30642 * elf/tst-tls6.c: Likewise.
30643 * elf/tst-tls7.c: Likewise.
30644 * elf/tst-tls8.c: Likewise.
30645 * elf/tst-tls9.c: Likewise.
30646 * elf/tst-tlsmod1.c: Likewise.
30647 * elf/tst-tlsmod13.c: Likewise.
30648 * elf/tst-tlsmod13a.c: Likewise.
30649 * elf/tst-tlsmod14a.c: Likewise.
30650 * elf/tst-tlsmod16a.c: Likewise.
30651 * elf/tst-tlsmod16b.c: Likewise.
30652 * elf/tst-tlsmod2.c: Likewise.
30653 * elf/tst-tlsmod3.c: Likewise.
30654 * elf/tst-tlsmod4.c: Likewise.
30655 * elf/tst-tlsmod5.c: Likewise.
30656 * elf/tst-tlsmod6.c: Likewise.
30657
30658 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30659
30660 [BZ #12486]
30661 * malloc/malloc.c: remove checks for statistics.
30662
30663 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30664
30665 [BZ #15277]
30666 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30667 * inet/tst-network.c: Add testcase.
30668
30669 2013-10-17 Andreas Schwab <schwab@suse.de>
30670
30671 [BZ #15218]
30672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30673 to determine canonical name.
30674
30675 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30676
30677 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30678 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30679 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30680 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30682 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30683 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30684 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30685 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30686 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30687 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30688 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30689 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30690 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30691 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30692 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30694 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30695 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30696 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30697 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30698 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30699 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30700 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30701 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30702 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30703 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30704 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30705 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30706 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30707 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30708 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30709 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30710 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30711 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30712 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30713 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30714 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30715 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30716 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30717 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30718 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30719 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30720 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30721 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30722 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30723 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30724 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30725 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30726 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30727 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30728 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30729 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30730 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30731 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30732 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30734 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30735
30736 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30737
30738 [BZ #16041]
30739 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30740 make result into a quiet NaN.
30741
30742 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30743
30744 * soft-fp/adddf3.c: Fix horizontal whitespace.
30745 * soft-fp/addsf3.c: Likewise.
30746 * soft-fp/addtf3.c: Likewise.
30747 * soft-fp/divdf3.c: Likewise.
30748 * soft-fp/divsf3.c: Likewise.
30749 * soft-fp/divtf3.c: Likewise.
30750 * soft-fp/double.h: Likewise.
30751 * soft-fp/eqdf2.c: Likewise.
30752 * soft-fp/eqsf2.c: Likewise.
30753 * soft-fp/eqtf2.c: Likewise.
30754 * soft-fp/extenddftf2.c: Likewise.
30755 * soft-fp/extended.h: Likewise.
30756 * soft-fp/extendsfdf2.c: Likewise.
30757 * soft-fp/extendsftf2.c: Likewise.
30758 * soft-fp/extendxftf2.c: Likewise.
30759 * soft-fp/fixdfdi.c: Likewise.
30760 * soft-fp/fixdfsi.c: Likewise.
30761 * soft-fp/fixdfti.c: Likewise.
30762 * soft-fp/fixsfdi.c: Likewise.
30763 * soft-fp/fixsfsi.c: Likewise.
30764 * soft-fp/fixsfti.c: Likewise.
30765 * soft-fp/fixtfdi.c: Likewise.
30766 * soft-fp/fixtfsi.c: Likewise.
30767 * soft-fp/fixtfti.c: Likewise.
30768 * soft-fp/fixunsdfdi.c: Likewise.
30769 * soft-fp/fixunsdfsi.c: Likewise.
30770 * soft-fp/fixunsdfti.c: Likewise.
30771 * soft-fp/fixunssfdi.c: Likewise.
30772 * soft-fp/fixunssfsi.c: Likewise.
30773 * soft-fp/fixunssfti.c: Likewise.
30774 * soft-fp/fixunstfdi.c: Likewise.
30775 * soft-fp/fixunstfsi.c: Likewise.
30776 * soft-fp/fixunstfti.c: Likewise.
30777 * soft-fp/floatdidf.c: Likewise.
30778 * soft-fp/floatdisf.c: Likewise.
30779 * soft-fp/floatditf.c: Likewise.
30780 * soft-fp/floatsidf.c: Likewise.
30781 * soft-fp/floatsisf.c: Likewise.
30782 * soft-fp/floatsitf.c: Likewise.
30783 * soft-fp/floattidf.c: Likewise.
30784 * soft-fp/floattisf.c: Likewise.
30785 * soft-fp/floattitf.c: Likewise.
30786 * soft-fp/floatundidf.c: Likewise.
30787 * soft-fp/floatundisf.c: Likewise.
30788 * soft-fp/floatunditf.c: Likewise.
30789 * soft-fp/floatunsidf.c: Likewise.
30790 * soft-fp/floatunsisf.c: Likewise.
30791 * soft-fp/floatunsitf.c: Likewise.
30792 * soft-fp/floatuntidf.c: Likewise.
30793 * soft-fp/floatuntisf.c: Likewise.
30794 * soft-fp/floatuntitf.c: Likewise.
30795 * soft-fp/fmadf4.c: Likewise.
30796 * soft-fp/fmasf4.c: Likewise.
30797 * soft-fp/fmatf4.c: Likewise.
30798 * soft-fp/gedf2.c: Likewise.
30799 * soft-fp/gesf2.c: Likewise.
30800 * soft-fp/getf2.c: Likewise.
30801 * soft-fp/ledf2.c: Likewise.
30802 * soft-fp/lesf2.c: Likewise.
30803 * soft-fp/letf2.c: Likewise.
30804 * soft-fp/muldf3.c: Likewise.
30805 * soft-fp/mulsf3.c: Likewise.
30806 * soft-fp/multf3.c: Likewise.
30807 * soft-fp/negdf2.c: Likewise.
30808 * soft-fp/negsf2.c: Likewise.
30809 * soft-fp/negtf2.c: Likewise.
30810 * soft-fp/op-1.h: Likewise.
30811 * soft-fp/op-2.h: Likewise.
30812 * soft-fp/op-4.h: Likewise.
30813 * soft-fp/op-8.h: Likewise.
30814 * soft-fp/op-common.h: Likewise.
30815 * soft-fp/quad.h: Likewise.
30816 * soft-fp/single.h: Likewise.
30817 * soft-fp/soft-fp.h: Likewise.
30818 * soft-fp/sqrtdf2.c: Likewise.
30819 * soft-fp/sqrtsf2.c: Likewise.
30820 * soft-fp/sqrttf2.c: Likewise.
30821 * soft-fp/subdf3.c: Likewise.
30822 * soft-fp/subsf3.c: Likewise.
30823 * soft-fp/subtf3.c: Likewise.
30824 * soft-fp/truncdfsf2.c: Likewise.
30825 * soft-fp/trunctfdf2.c: Likewise.
30826 * soft-fp/trunctfsf2.c: Likewise.
30827 * soft-fp/trunctfxf2.c: Likewise.
30828 * soft-fp/unorddf2.c: Likewise.
30829 * soft-fp/unordsf2.c: Likewise.
30830 * soft-fp/unordtf2.c: Likewise.
30831
30832 2013-10-15 Joseph Myers <joseph@codesourcery.com>
30833
30834 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30835 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30836
30837 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
30838
30839 * elf/dl-libc.c: Clear initfini list after freeing.
30840
30841 2013-10-14 Joseph Myers <joseph@codesourcery.com>
30842
30843 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30844 * soft-fp/addsf3.c: Likewise.
30845 * soft-fp/addtf3.c: Likewise.
30846 * soft-fp/divdf3.c: Likewise.
30847 * soft-fp/divsf3.c: Likewise.
30848 * soft-fp/divtf3.c: Likewise.
30849 * soft-fp/double.h: Likewise.
30850 * soft-fp/eqdf2.c: Likewise.
30851 * soft-fp/eqsf2.c: Likewise.
30852 * soft-fp/eqtf2.c: Likewise.
30853 * soft-fp/extenddftf2.c: Likewise.
30854 * soft-fp/extended.h: Likewise.
30855 * soft-fp/extendsfdf2.c: Likewise.
30856 * soft-fp/extendsftf2.c: Likewise.
30857 * soft-fp/extendxftf2.c: Likewise.
30858 * soft-fp/fixdfdi.c: Likewise.
30859 * soft-fp/fixdfsi.c: Likewise.
30860 * soft-fp/fixdfti.c: Likewise.
30861 * soft-fp/fixsfdi.c: Likewise.
30862 * soft-fp/fixsfsi.c: Likewise.
30863 * soft-fp/fixsfti.c: Likewise.
30864 * soft-fp/fixtfdi.c: Likewise.
30865 * soft-fp/fixtfsi.c: Likewise.
30866 * soft-fp/fixtfti.c: Likewise.
30867 * soft-fp/fixunsdfdi.c: Likewise.
30868 * soft-fp/fixunsdfsi.c: Likewise.
30869 * soft-fp/fixunsdfti.c: Likewise.
30870 * soft-fp/fixunssfdi.c: Likewise.
30871 * soft-fp/fixunssfsi.c: Likewise.
30872 * soft-fp/fixunssfti.c: Likewise.
30873 * soft-fp/fixunstfdi.c: Likewise.
30874 * soft-fp/fixunstfsi.c: Likewise.
30875 * soft-fp/fixunstfti.c: Likewise.
30876 * soft-fp/floatdidf.c: Likewise.
30877 * soft-fp/floatdisf.c: Likewise.
30878 * soft-fp/floatditf.c: Likewise.
30879 * soft-fp/floatsidf.c: Likewise.
30880 * soft-fp/floatsisf.c: Likewise.
30881 * soft-fp/floatsitf.c: Likewise.
30882 * soft-fp/floattidf.c: Likewise.
30883 * soft-fp/floattisf.c: Likewise.
30884 * soft-fp/floattitf.c: Likewise.
30885 * soft-fp/floatundidf.c: Likewise.
30886 * soft-fp/floatundisf.c: Likewise.
30887 * soft-fp/floatunsidf.c: Likewise.
30888 * soft-fp/floatunsisf.c: Likewise.
30889 * soft-fp/floatuntidf.c: Likewise.
30890 * soft-fp/floatuntisf.c: Likewise.
30891 * soft-fp/floatuntitf.c: Likewise.
30892 * soft-fp/fmadf4.c: Likewise.
30893 * soft-fp/fmasf4.c: Likewise.
30894 * soft-fp/fmatf4.c: Likewise.
30895 * soft-fp/gedf2.c: Likewise.
30896 * soft-fp/gesf2.c: Likewise.
30897 * soft-fp/getf2.c: Likewise.
30898 * soft-fp/ledf2.c: Likewise.
30899 * soft-fp/lesf2.c: Likewise.
30900 * soft-fp/letf2.c: Likewise.
30901 * soft-fp/muldf3.c: Likewise.
30902 * soft-fp/mulsf3.c: Likewise.
30903 * soft-fp/multf3.c: Likewise.
30904 * soft-fp/negdf2.c: Likewise.
30905 * soft-fp/negsf2.c: Likewise.
30906 * soft-fp/negtf2.c: Likewise.
30907 * soft-fp/op-1.h: Likewise.
30908 * soft-fp/op-2.h: Likewise.
30909 * soft-fp/op-4.h: Likewise.
30910 * soft-fp/op-8.h: Likewise.
30911 * soft-fp/op-common.h: Likewise.
30912 * soft-fp/quad.h: Likewise.
30913 * soft-fp/single.h: Likewise.
30914 * soft-fp/soft-fp.h: Likewise.
30915 * soft-fp/sqrtdf2.c: Likewise.
30916 * soft-fp/sqrtsf2.c: Likewise.
30917 * soft-fp/sqrttf2.c: Likewise.
30918 * soft-fp/subdf3.c: Likewise.
30919 * soft-fp/subsf3.c: Likewise.
30920 * soft-fp/subtf3.c: Likewise.
30921 * soft-fp/truncdfsf2.c: Likewise.
30922 * soft-fp/trunctfdf2.c: Likewise.
30923 * soft-fp/trunctfsf2.c: Likewise.
30924 * soft-fp/trunctfxf2.c: Likewise.
30925 * soft-fp/unorddf2.c: Likewise.
30926 * soft-fp/unordsf2.c: Likewise.
30927 * soft-fp/unordtf2.c: Likewise.
30928
30929 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
30930
30931 [BZ #15672]
30932 * misc/error.c (error_tail): Fix possible buffer overflow.
30933
30934 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
30935
30936 [BZ #13028]
30937 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30938 address.
30939
30940 2013-10-14 P. J. McDermott <pj@pehjota.net>
30941
30942 [BZ #832]
30943 * elf/ldd.bash.in (try_trace): New function. Delete previous code
30944 testing pipefail option.
30945
30946 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30947
30948 * soft-fp/double.h: Indent preprocessor directives inside #if.
30949 * soft-fp/extended.h: Likewise.
30950 * soft-fp/op-2.h: Likewise.
30951 * soft-fp/op-4.h: Likewise.
30952 * soft-fp/op-common.h: Likewise.
30953 * soft-fp/quad.h: Likewise.
30954 * soft-fp/single.h: Likewise.
30955 * soft-fp/soft-fp.h: Likewise.
30956
30957 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
30958
30959 * iconv/iconv_prog.c: Fix typos.
30960 * stdio-common/psiginfo-data.h: Likewise.
30961
30962 2013-10-12 Reuben Thomas <rrt@sc3d.org>
30963
30964 [BZ #15764]
30965 * locale/setlocale.c: Fix typo.
30966
30967 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30968
30969 [BZ #16036]
30970 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30971 signaling NaN arguments.
30972 * soft-fp/unordsf2.c (__unordsf2): Likewise.
30973 * soft-fp/unordtf2.c (__unordtf2): Likewise.
30974
30975 [BZ #14910]
30976 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30977 unordered operands.
30978 * soft-fp/gesf2.c (__gesf2): Likewise.
30979 * soft-fp/getf2.c (__getf2): Likewise.
30980 * soft-fp/ledf2.c (__ledf2): Likewise.
30981 * soft-fp/lesf2.c (__lesf2): Likewise.
30982 * soft-fp/letf2.c (__letf2): Likewise.
30983
30984 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30985 * soft-fp/eqsf2.c (__eqsf2): Likewise.
30986 * soft-fp/eqtf2.c (__eqtf2): Likewise.
30987 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30988 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30989 * soft-fp/fixdfti.c (__fixdfti): Likewise.
30990 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30991 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30992 * soft-fp/fixsfti.c (__fixsfti): Likewise.
30993 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30994 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30995 * soft-fp/fixtfti.c (__fixtfti): Likewise.
30996 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30997 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30998 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30999 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31000 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31001 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31002 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31003 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31004 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31005 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31006 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31007 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31008 * soft-fp/floattidf.c (__floattidf): Likewise.
31009 * soft-fp/floattisf.c (__floattisf): Likewise.
31010 * soft-fp/floattitf.c (__floattitf): Likewise.
31011 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31012 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31013 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31014 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31015 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31016 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31017 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31018 * soft-fp/gesf2.c (__gesf2): Likewise.
31019 * soft-fp/getf2.c (__getf2): Likewise.
31020 * soft-fp/ledf2.c (__ledf2): Likewise.
31021 * soft-fp/lesf2.c (__lesf2): Likewise.
31022 * soft-fp/letf2.c (__letf2): Likewise.
31023
31024 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31025 Undefine and redefine.
31026 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31027 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31028 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31029 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31030 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31031 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31032 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31033 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31034 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31035 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31036 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31037 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31038 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31039 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31040 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31041
31042 [BZ #16032]
31043 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31044 without decrementing exponent if mantissa >= that for the
31045 denominator, not >.
31046 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31047 denominator, not >. Decrement exponent in < case instead of
31048 incrementing in >= case.
31049 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31050 without decrementing exponent if mantissa >= that for the
31051 denominator, not >.
31052
31053 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31054 computing saturated result for unsigned overflow.
31055
31056 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31057 Jeff Law <law@redhat.com>
31058
31059 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31060 (atan2Mp): Add systemtap probe marker.
31061 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31062 (__ieee754_log): Add systemtap probe marker.
31063 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31064 (atanMp): Add systemtap probe marker.
31065 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31066 (tanMp): Add systemtap probe marker.
31067 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31068 (__slowexp): Add systemtap probe marker.
31069 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31070 (__slowpow): Add systemtap probe marker.
31071 * manual/probes.texi: Document probes.
31072
31073 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31074
31075 [BZ #15362]
31076 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31077 written.
31078 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31079 written.
31080 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31081 written to buffer but not flushed.
31082 * libio/iofwrite_u.c: Likewise.
31083 * libio/iopadn.c: Return bytes returned even if EOF was
31084 encountered.
31085 * libio/iowpadn.c: Likewise.
31086 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31087 if _IO_padn does not write the whole buffer.
31088 [!COMPILE_WPRINTF] (PAD): Likewise.
31089
31090 2013-10-10 David S. Miller <davem@davemloft.net>
31091
31092 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31093 directory block.
31094
31095 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31096
31097 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31098 instead of FSF address.
31099 * soft-fp/fixdfti.c: Likewise.
31100 * soft-fp/fixsfti.c: Likewise.
31101 * soft-fp/fixtfti.c: Likewise.
31102 * soft-fp/fixunsdfti.c: Likewise.
31103 * soft-fp/fixunssfti.c: Likewise.
31104 * soft-fp/fixunstfti.c: Likewise.
31105 * soft-fp/floattidf.c: Likewise.
31106 * soft-fp/floattisf.c: Likewise.
31107 * soft-fp/floattitf.c: Likewise.
31108 * soft-fp/floatuntidf.c: Likewise.
31109 * soft-fp/floatuntisf.c: Likewise.
31110 * soft-fp/floatuntitf.c: Likewise.
31111 * soft-fp/trunctfxf2.c: Likewise.
31112
31113 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31114 * soft-fp/fixdfti.c: Likewise.
31115 * soft-fp/fixsfti.c: Likewise.
31116 * soft-fp/fixtfti.c: Likewise.
31117 * soft-fp/fixunsdfti.c: Likewise.
31118 * soft-fp/fixunssfti.c: Likewise.
31119 * soft-fp/fixunstfti.c: Likewise.
31120 * soft-fp/floattidf.c: Likewise.
31121 * soft-fp/floattisf.c: Likewise.
31122 * soft-fp/floattitf.c: Likewise.
31123 * soft-fp/floatuntidf.c: Likewise.
31124 * soft-fp/floatuntisf.c: Likewise.
31125 * soft-fp/floatuntitf.c: Likewise.
31126 * soft-fp/trunctfxf2.c: Likewise.
31127
31128 2013-10-10 David S. Miller <davem@davemloft.net>
31129
31130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31131
31132 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31133
31134 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31135 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31136 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31137 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31138 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31139 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31140 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31141
31142 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31143 for NaNs before doing comparisons on argument.
31144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31145 Likewise.
31146
31147 2013-10-10 Will Newton <will.newton@linaro.org>
31148
31149 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31150 passed to _int_memalign does not overflow.
31151
31152 2013-10-10 Torvald Riegel <triegel@redhat.com>
31153
31154 * scripts/bench.pl: Add include-sources directive.
31155 * benchtests/README: Update documentation.
31156
31157 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31158
31159 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31160 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31161 instead of FP_INIT_ROUNDMODE.
31162 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31163 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31164
31165 [BZ #16034]
31166 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31167 copy class of input value.
31168 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31169 not handle exceptions.
31170 * soft-fp/negsf2.c (__negsf2): Likewise.
31171 * soft-fp/negtf2.c (__negtf2): Likewise.
31172 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31173
31174 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31175
31176 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31177 semicolon. From Linux kernel.
31178
31179 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31180
31181 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31182
31183 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31184
31185 [BZ #156]
31186 * manual/socket.texi: Added statement about buffer
31187 for gethostbyname2_r.
31188
31189 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31190
31191 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31192 Use .p2align directive instead, throughout.
31193 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31194 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31195 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31196 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31197 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31198 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31199 * sysdeps/x86_64/strchr.S: Likewise.
31200 * sysdeps/x86_64/strrchr.S: Likewise.
31201
31202 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31203
31204 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31205
31206 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31207
31208 * sysdeps/generic/math_private.h (__mpsin1): Remove
31209 declaration.
31210 (__mpcos1): Likewise.
31211 (__mpsin): New argument __range_reduce.
31212 (__mpcos): Likewise.
31213 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31214 (slow): Use __mpsin and __mpcos.
31215 (slow1): Likewise.
31216 (slow2): Likewise.
31217 (sloww): Likewise.
31218 (sloww1): Likewise.
31219 (sloww2): Likewise.
31220 (bsloww): Likewise.
31221 (bsloww1): Likewise.
31222 (bsloww2): Likewise.
31223 (cslow2): Likewise.
31224 (csloww): Likewise.
31225 (csloww1): Likewise.
31226 (csloww2): Likewise.
31227 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31228 range_reduce. Merge in __mpsin1.
31229 (__mpcos): Likewise.
31230 (__mpsin1): Remove.
31231 (__mpcos1): Likewise.
31232
31233 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31234
31235 * locale/loadlocale.c (_nl_intern_locale_data): Use
31236 LOCFILE_ALIGNED_P.
31237 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31238 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31239 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31240 obstack data is appropriately aligned.
31241 (obstack_int32_grow_fast): Likewise.
31242 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31243 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31244 (add_locale_uint32_array): Likewise.
31245
31246 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31247
31248 * benchtests/Makefile: Remove ARGLIST and RET variables.
31249 ($(objpfx)bench-%.c): Pass only function name to the script.
31250 * benchtests/README: Update documentation.
31251 * benchtests/acos-inputs: Add new directives.
31252 * benchtests/acosh-inputs: Likewise.
31253 * benchtests/asin-inputs: Likewise.
31254 * benchtests/asinh-inputs: Likewise.
31255 * benchtests/atan-inputs: Likewise.
31256 * benchtests/atanh-inputs: Likewise.
31257 * benchtests/cos-inputs: Likewise.
31258 * benchtests/cosh-inputs: Likewise.
31259 * benchtests/exp-inputs: Likewise.
31260 * benchtests/log-inputs: Likewise.
31261 * benchtests/pow-inputs: Likewise.
31262 * benchtests/rint-inputs: Likewise.
31263 * benchtests/sin-inputs: Likewise.
31264 * benchtests/sinh-inputs: Likewise.
31265 * benchtests/tan-inputs: Likewise.
31266 * benchtests/tanh-inputs: Likewise.
31267 * scripts/bench.pl: Add support for new directives.
31268
31269 2013-10-07 Alan Modra <amodra@gmail.com>
31270
31271 * README: Fix careless merge.
31272
31273 2013-10-05 Alan Modra <amodra@gmail.com>
31274
31275 * NEWS: Mention powerpc64le support and bugs fixed.
31276 * README: Both big-endian and little-endian powerpc64 supported.
31277
31278 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31279
31280 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31281 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31282 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31283 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31284
31285 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31286
31287 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31288 match prototype.
31289
31290 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31291
31292 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31293 Move -mhard-float appending from
31294 ports/sysdeps/powerpc/powerpc32/Makefile.
31295 [$(with-fp) = yes] (ASFLAGS): Likewise.
31296 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31297 * sysdeps/powerpc/nofpu: Move directory from
31298 ports/sysdeps/powerpc/nofpu.
31299 * sysdeps/powerpc/soft-fp: Move directory from
31300 ports/sysdeps/powerpc/soft-fp.
31301 * sysdeps/powerpc/powerpc32/405: Move directory from
31302 ports/sysdeps/powerpc/powerpc32/405.
31303 * sysdeps/powerpc/powerpc32/440: Move directory from
31304 ports/sysdeps/powerpc/powerpc32/440.
31305 * sysdeps/powerpc/powerpc32/464: Move directory from
31306 ports/sysdeps/powerpc/powerpc32/464.
31307 * sysdeps/powerpc/powerpc32/476: Move directory from
31308 ports/sysdeps/powerpc/powerpc32/476.
31309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31310 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31312 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31314 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31316 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31318 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31319 * README: Update for powerpc-*-linux-gnu software floating point
31320 support in libc.
31321
31322 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31323 case to powerpc/powerpc32*.
31324 * sysdeps/unix/sysv/linux/configure: Regenerated.
31325
31326 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31327 (_FPU_MASK_OM): Define as 0x04.
31328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31330 0x00c10080.
31331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31332 0x0000003c.
31333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31334
31335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31336 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31337 getcontext_e500.
31338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31339 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31340 setcontext_e500.
31341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31342 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31343 and setcontext_e500.
31344
31345 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31346
31347 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31348
31349 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31350
31351 * manual/threads.texi (Default Thread Attributes): Fix typo.
31352
31353 2013-10-04 Will Newton <will.newton@linaro.org>
31354
31355 * malloc/Makefile: Add tst-memalign.
31356 * malloc/tst-memalign.c: New file.
31357
31358 * malloc/tst-posix_memalign.c: Add comments.
31359 (do_test): Add comments and call free on all potentially
31360 allocated pointers. Add space after cast.
31361
31362 * malloc/tst-pvalloc.c: Add comments.
31363 (do_test): Add comments and call free on all potentially
31364 allocated pointers. Remove duplicate check for NULL pointer.
31365 Add space after cast.
31366
31367 * malloc/tst-valloc.c: Add comments.
31368 (do_test): Add comments and call free on all potentially
31369 allocated pointers. Remove duplicate check for NULL pointer.
31370 Add space after cast.
31371
31372 2013-10-04 Alan Modra <amodra@gmail.com>
31373
31374 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31375 Use stdint types in rather than __attribute__((mode())).
31376 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31377
31378 2013-10-04 Alan Modra <amodra@gmail.com>
31379
31380 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31381 Correct handling of unaligned relocs for little-endian.
31382 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31383
31384 2013-10-04 Alan Modra <amodra@gmail.com>
31385
31386 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31387 * configure: Regenerate.
31388 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31389 * shlib-versions: Likewise.
31390
31391 2013-10-04 Alan Modra <amodra@gmail.com>
31392
31393 * string/tester.c (test_memrchr): Increment reported test cycle.
31394
31395 2013-10-04 Alan Modra <amodra@gmail.com>
31396
31397 * string/test-memcpy.c (do_one_test): When reporting errors, print
31398 string address and don't overrun end of string.
31399
31400 2013-10-04 Alan Modra <amodra@gmail.com>
31401
31402 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31403 insrdi. Make better use of reg selection to speed exit slightly.
31404 Schedule entry path a little better. Remove useless "are we done"
31405 checks on entry to main loop. Handle wrapping around zero address.
31406 Correct main loop count. Handle single left-over word from main
31407 loop inline rather than by using loop_small. Remove extra word
31408 case in loop_small caused by wrong loop count. Add little-endian
31409 support.
31410 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31411 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31412 cache hint.
31413 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31415 support. Avoid rlwimi.
31416 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31417
31418 2013-10-04 Alan Modra <amodra@gmail.com>
31419
31420 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31421 insrdi. Formatting.
31422 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31423 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31424 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31425 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31426 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31427 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31428
31429 2013-10-04 Alan Modra <amodra@gmail.com>
31430
31431 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31433 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31435 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31436 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31437 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31438 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31439 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31440 use of regs. Use power7 mtocrf. Tidy function tails.
31441
31442 2013-10-04 Alan Modra <amodra@gmail.com>
31443
31444 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31445 Formatting. Consistently use rXXX register defines or rN defines.
31446 Use early exit labels that avoid restoring unused non-volatile regs.
31447 Make cr field use more consistent with rWORDn compares. Rename
31448 regs used as shift registers for unaligned loop, using rN defines
31449 for short lifetime/multiple use regs.
31450 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31452 addi 1,1,64 to pop stack frame. Simplify return value code.
31453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31454
31455 2013-10-04 Alan Modra <amodra@gmail.com>
31456
31457 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31458 support. Correct typos, formatting. Optimize tail. Use insrdi
31459 rather than rlwimi.
31460 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31461 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31462 little-endian support. Correct typos.
31463 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31464 rather than rlwimi.
31465 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31466 in loop and entry code to keep "and." results.
31467 (strchr): Add little-endian support. Comment. Move cntlzd
31468 earlier in tail.
31469 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31470
31471 2013-10-04 Alan Modra <amodra@gmail.com>
31472
31473 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31474 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31475 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31476 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31477
31478 2013-10-04 Alan Modra <amodra@gmail.com>
31479
31480 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31481 (rTMP): Define as r11.
31482 (strcmp): Add little-endian support. Optimise tail.
31483 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31484 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31485 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31486 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31487 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31488 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31489 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31490
31491 2013-10-04 Alan Modra <amodra@gmail.com>
31492
31493 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31494 little-endian support. Remove unnecessary "are we done" tests.
31495 Handle "s" wrapping around zero and extremely large "size".
31496 Correct main loop count. Handle single left-over word from main
31497 loop inline rather than by using small_loop. Correct comments.
31498 Delete "zero" tail, use "end_max" instead.
31499 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31500
31501 2013-10-04 Alan Modra <amodra@gmail.com>
31502
31503 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31504 support. Don't branch over align.
31505 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31506 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31507 support. Rearrange tmp reg use to suit. Comment.
31508 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31509
31510 2013-10-04 Alan Modra <amodra@gmail.com>
31511
31512 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31513
31514 2013-10-04 Alan Modra <amodra@gmail.com>
31515
31516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31517 conditional form of branch and link when obtaining pc.
31518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31519
31520 2013-10-04 Alan Modra <amodra@gmail.com>
31521
31522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31523 HIWORD/LOWORD.
31524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31526
31527 2013-10-04 Alan Modra <amodra@gmail.com>
31528
31529 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31530 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31531 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31532 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31533 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31534 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31535 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31536 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31537 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31538 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31539
31540 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31541 Alistair Popple <alistair@ozlabs.au.ibm.com>
31542 Alan Modra <amodra@gmail.com>
31543
31544 [BZ #15723]
31545 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31546 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31547 _dl_hwcap access for little-endian.
31548 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31549 destroy vmx regs when saving unaligned.
31550 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31551 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31552 destroy vmx regs when saving unaligned.
31553
31554 2013-10-04 Alan Modra <amodra@gmail.com>
31555
31556 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31557 Don't use a union to pack hi/low value.
31558
31559 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31560
31561 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31562 for little-endian.
31563 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31564 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31565 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31566 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31567 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31568
31569 2013-10-04 Alan Modra <amodra@gmail.com>
31570
31571 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31572 constants to usual value for .cst8 section, and remove redundant
31573 high address load.
31574 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31575 constant for 0x1p52. Load little-endian words of double from
31576 correct stack offsets.
31577
31578 2013-10-04 Alan Modra <amodra@gmail.com>
31579
31580 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31581 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31582 words of double from correct stack offsets.
31583 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31584 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31585 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31586 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31588 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31590 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31591 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31592 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31595 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31596 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31597 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31598 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31599 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31600
31601 2013-10-04 Alan Modra <amodra@gmail.com>
31602
31603 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31604 64-bit int/double union.
31605 (_FPU_SETCW): Likewise.
31606 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31607 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31608
31609 2013-10-04 Alan Modra <amodra@gmail.com>
31610
31611 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31612 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31613
31614 2013-10-04 Alan Modra <amodra@gmail.com>
31615
31616 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31617 use vector int constants.
31618 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31619
31620 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31621
31622 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31623 array with long long.
31624 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31625 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31626 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31627 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31628 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31629 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31630 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31631 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31632 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31633 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31634 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31635 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31636 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31637
31638 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31639
31640 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31641 (__signbit): Likewise. Correct for little-endian.
31642 (__signbitl): Call __signbit.
31643 (lrint): Correct for little-endian.
31644 (lrintf): Call lrint.
31645
31646 2013-10-04 Alan Modra <amodra@gmail.com>
31647
31648 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31649 union 32-bit int array member with 64-bit int array.
31650 (t515, tm256): Double rather than long double.
31651 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31652
31653 2013-10-04 Alan Modra <amodra@gmail.com>
31654
31655 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31656 Delete.
31657 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31658 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31659 version of math_ldbl.h.
31660
31661 2013-10-04 Alan Modra <amodra@gmail.com>
31662
31663 [BZ #15734], [BZ #15735]
31664 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31665 all uses of ieee875 long double macros and unions. Simplify test
31666 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31667 ldbl_extract_mantissa value for ix,iy exponents. Properly
31668 normalize after ldbl_extract_mantissa, and don't add hidden bit
31669 already handled. Don't treat low word of ieee854 mantissa like
31670 low word of IBM long double and mask off bit when testing for
31671 zero.
31672 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31673 all uses of ieee875 long double macros and unions. Simplify tests
31674 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31675 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31676 two1022, instead use their values. Recognise that tests for large
31677 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31678 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31679 Rewrite all uses of ieee875 long double macros and unions. Simplify
31680 test for 0.0L and nan. Correct negation.
31681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31682 ieee875 long double macros and unions. Correct output for large
31683 magnitude x. Correct absolute value calculation.
31684 (__erfcl): Likewise.
31685 * math/libm-test.inc: Add tests for errors discovered in IBM long
31686 double versions of fmodl, remainderl, erfl and erfcl.
31687
31688 2013-10-04 Alan Modra <amodra@gmail.com>
31689
31690 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31691 all uses of ieee854 long double macros and unions. Simplify tests
31692 for long doubles that are fully specified by the high double.
31693 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31694 Likewise.
31695 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31696 Remove dead code too.
31697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31698 (__ieee754_ynl): Likewise.
31699 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31700 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31701 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31702 Remove dead code too.
31703 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31704 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31705 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31706 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31707 Simplify.
31708 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31709 Simplify.
31710 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31711 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31712 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31713 Comment on variable precision.
31714 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31715 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31716 Likewise.
31717 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31718 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31719 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31720 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31721 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31722
31723 2013-10-04 Alan Modra <amodra@gmail.com>
31724
31725 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31726 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31727 all uses of ieee854 long double macros and unions.
31728 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31729 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31730 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31731 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31732 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31733 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31734 Likewise.
31735 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31736 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31737 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31738 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31739 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31740 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31741 Simplify sign and nan test too.
31742 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31743 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31744 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31745 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31746 Likewise.
31747 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31748 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31749 Likewise.
31750 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31751 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31752 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31753 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31754 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31755 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31756
31757 2013-10-04 Alan Modra <amodra@gmail.com>
31758
31759 * stdio-common/printf_size.c (__printf_size): Don't use
31760 union ieee854_long_double in fpnum union.
31761 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31762 signbit macro to retrieve sign from long double.
31763 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31764 retrieve sign from long double.
31765 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31766 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31767 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31768 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31769 * math/test-misc.c (main): Don't use union ieee854_long_double.
31770
31771 2013-10-04 Alan Modra <amodra@gmail.com>
31772
31773 [BZ #15680]
31774 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31775 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31776 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31777 calculation. Remove unnecessary test for denormal exponent.
31778 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31779 Correct handling of denormals. Avoid undefined shift behaviour.
31780 Correct normalisation of low mantissa when low double is denormal.
31781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31782 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31783 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31784 Correct normalisation of low mantissa. Test for overflow of high
31785 mantissa and normalise.
31786 (ldbl_nearbyint): Use more readable constant for two52.
31787 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31788 (__mpn_construct_long_double): Fix test for overflow of high
31789 mantissa and correct normalisation. Avoid undefined shift.
31790
31791 2013-10-04 Alan Modra <amodra@gmail.com>
31792
31793 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31794 (union ibm_extended_long_double): Define as an array of ieee754_double.
31795 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31796 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31797 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31798 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31799 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31800 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31802 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31803 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31804 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31805 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31806
31807 2013-10-03 Joseph Myers <joseph@codesourcery.com>
31808
31809 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31810 page size instead of calling getpagesize.
31811
31812 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31813 (LOCFILE_ALIGN_MASK): Likewise.
31814 (LOCFILE_ALIGN_UP): Likewise.
31815 (LOCFILE_ALIGNED_P): Likewise.
31816 * locale/programs/ld-collate.c (collate_output): Use the new
31817 macros instead of __alignof__ (int32_t).
31818 * locale/weight.h (findidx): Likewise.
31819
31820 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
31821
31822 [BZ #431]
31823 * manual/string.texi: Fix strncat and wcsncat.
31824
31825 2013-10-03 Brooks Moses <bmoses@google.com>
31826
31827 [BZ #15915]
31828 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31829 * Makerules: ...here, and adjust associated comments.
31830
31831 2013-10-02 Will Newton <will.newton@linaro.org>
31832
31833 * malloc/Makefile: Add tst-pvalloc.
31834 * malloc/tst-pvalloc.c: New file.
31835
31836 2013-10-02 Will Newton <will.newton@linaro.org>
31837
31838 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31839 improve test coverage.
31840
31841 2013-10-02 Will Newton <will.newton@linaro.org>
31842
31843 * malloc/Makefile: Add tst-posix_memalign.
31844 * malloc/tst-posix_memalign.c: New file.
31845
31846 2013-10-01 Eric Blake <eblake@redhat.com>
31847
31848 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31849 Use __THROWNL rather than __THROW on static functions.
31850
31851 2013-09-30 Petr Machata <pmachata@redhat.com>
31852
31853 * elf/elf.h (R_AARCH64_ABS16): New macro.
31854 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31855 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31856 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31857 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31858 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31859 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31860 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31861 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31862 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31863 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31864 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31865 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31866 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31867 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31868 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31869 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31870 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31871 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31872 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31873 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31874 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31875 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31876 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31877 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31878 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31879 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31880 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31881 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31882 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31883 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31884 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31885 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31886 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31887 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31888 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31889 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31890 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31891 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31892 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31893 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31894 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31895 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31896 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31897 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31898 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31899 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31900 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31901 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31902 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31903 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31904 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31905 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31906 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31907 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31908 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31909 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31910 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31911 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31912 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31913 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31914 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31915 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31916 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31917 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31918 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31919 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31920 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31921 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31922 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31923 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31924 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31925 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31926 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31927 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31928 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31929 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31930 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31931 (R_AARCH64_TLSDESC_LDR): Likewise.
31932 (R_AARCH64_TLSDESC_ADD): Likewise.
31933 (R_AARCH64_TLSDESC_CALL): Likewise.
31934
31935 2013-09-30 Andreas Schwab <schwab@suse.de>
31936
31937 [BZ #15048]
31938 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31939 the nss database lookup.
31940 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31942
31943 2013-09-28 Mike Frysinger <vapier@gentoo.org>
31944
31945 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31946
31947 2013-09-28 P. J. McDermott <pj@pehjota.net>
31948
31949 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31950 ${Bash-specific parameter/pattern/string} parameter expansion.
31951 * sysdeps/unix/make-syscalls.sh: Likewise.
31952
31953 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31954
31955 * sysdeps/sh/stackguard-macros.h: New file.
31956
31957 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
31958
31959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31961 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31962 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31963 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31964 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31965
31966 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31967
31968 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31969 Fix thread ID register.
31970
31971 2013-09-25 Joseph Myers <joseph@codesourcery.com>
31972
31973 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31974 [POSIX || UNIX98]: Require rather than permitting all symbols from
31975 <time.h>.
31976 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31977 element of struct sched_param.
31978 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31979 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31980 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31981 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31982 constant.
31983
31984 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
31985
31986 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31987 argument calculation.
31988
31989 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31990
31991 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31992 Expect macro.
31993 [POSIX] (pthread_attr_t): Do not require type.
31994 [POSIX] (pthread_cond_t): Likewise.
31995 [POSIX] (pthread_condattr_t): Likewise.
31996 [POSIX] (pthread_key_t): Likewise.
31997 [POSIX] (pthread_mutex_t): Likewise.
31998 [POSIX] (pthread_mutexattr_t): Likewise.
31999 [POSIX] (pthread_once_t): Likewise.
32000 [POSIX] (pthread_t): Likewise.
32001 [POSIX-based standards] (pthread_atfork): Expect function.
32002
32003 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32004 Richard Sandiford <richard@codesourcery.com>
32005
32006 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32007 (swap_endianness_p): New extern variable.
32008 (set_big_endian): New inline function.
32009 (maybe_swap_uint32): Likewise.
32010 (maybe_swap_uint32_array): Likewise.
32011 (maybe_swap_uint32_obstack): Likewise.
32012 * locale/programs/locfile.c: Include <stdbool.h>.
32013 (swap_endianness_p): New variable.
32014 (add_locale_uint32): Call maybe_swap_uint32.
32015 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32016 (write_locale_data): Call maybe_swap_uint32_array.
32017 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32018 maybe_swap_uint32.
32019 (obstack_int32_grow_fast): Likewise.
32020 (output_weightwc): Call maybe_swap_uint32_obstack.
32021 (collate_output): Likewise.
32022 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32023 (OPT_LITTLE_ENDIAN): Likewise.
32024 (options): Add --little-endian and --big-endian options.
32025 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32026 * locale/programs/locarchive.c: Include "locfile.h".
32027 (GET): New macro.
32028 (SET): Likewise.
32029 (INC): Likewise.
32030 (create_archive): Use the new macros to access fields of
32031 structures directly mapped from or written to locale archives.
32032 (oldlocrecentcmp): Likewise.
32033 (enlarge_archive): Likewise.
32034 (insert_name): Likewise.
32035 (add_alias): Likewise.
32036 (add_locale): Likewise.
32037 (delete_locales_from_archive): Likewise.
32038 (show_archive_content): Likewise.
32039 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32040 locale data.
32041
32042 2013-09-24 Roland McGrath <roland@hack.frob.com>
32043
32044 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32045 http://www.gnu.org/doc/freemanuals.texi.
32046 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32047
32048 2013-09-24 Will Newton <will.newton@linaro.org>
32049
32050 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32051 macro.
32052
32053 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32054
32055 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32056 unsigned char.
32057
32058 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32059
32060 * manual/threads.texi (POSIX Threads): Fix a typo.
32061
32062 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32063
32064 [BZ #14547]
32065 * string/tst-strcoll-overflow.c: New test case.
32066 * string/Makefile (xtests): Add tst-strcoll-overflow.
32067 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32068 cache if string sizes may cause integer overflow.
32069
32070 [BZ #14547]
32071 * string/strcoll_l.c (coll_seq): New members rule, idx,
32072 save_idx and back_us.
32073 (get_next_seq_nocache): New function.
32074 (do_compare_nocache): New function.
32075 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32076 when malloc fails.
32077
32078 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32079
32080 [BZ #15754]
32081 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32082 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32083 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32084
32085 [BZ #15754]
32086 * elf/Makefile (tests): Add tst-ptrguard1.
32087 (tests-static): Add tst-ptrguard1-static.
32088 (tst-ptrguard1-ARGS): Define.
32089 (tst-ptrguard1-static-ARGS): Define.
32090 * elf/tst-ptrguard1.c: New file.
32091 * elf/tst-ptrguard1-static.c: New file.
32092 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32093 * sysdeps/i386/stackguard-macros.h: Likewise.
32094 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32095 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32096 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32097 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32098 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32099 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32100
32101 2013-09-23 Hector Marco <hecmargi@upv.es>
32102 Ismael Ripoll <iripoll@disca.upv.es>
32103 Carlos O'Donell <carlos@redhat.com>
32104
32105 [BZ #15754]
32106 * sysdeps/generic/stackguard-macros.h: Define
32107 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32108 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32109 Define __pointer_chk_guard_local.
32110 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32111 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32112
32113 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32114
32115 [BZ #15859]
32116 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32117
32118 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32119
32120 * include/string.h (__ffs): Declare as hidden.
32121 * string/ffs.c (__ffs): Define as hidden.
32122 * sysdeps/i386/ffs.c (__ffs): Likewise.
32123 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32124 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32125 * sysdeps/s390/ffs.c (__ffs): Likewise.
32126 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32127
32128 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32129
32130 * NEWS: Mention malloc probes.
32131
32132 * malloc/arena.c (new_heap): New memory_heap_new probe.
32133 (grow_heap): New memory_heap_more probe.
32134 (shrink_heap): New memory_heap_less probe.
32135 (heap_trim): New memory_heap_free probe.
32136 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32137 (systrim): New memory_sbrk_less probe.
32138 * manual/probes.texi: Document them.
32139
32140 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32141 * manual/probes.texi: Document it.
32142
32143 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32144 (__libc_realloc): Add memory_realloc_retry probe.
32145 (__libc_memalign): Add memory_memalign_retry probe.
32146 (__libc_valloc): Add memory_valloc_retry probe.
32147 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32148 (__libc_calloc): Add memory_calloc_retry probe.
32149 * manual/probes.texi: Document them.
32150
32151 * malloc/arena.c (get_free_list): Add probe
32152 memory_arena_reuse_free_list.
32153 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32154 and memory_arena_reuse.
32155 (arena_get2) [!PER_THREAD]: Likewise.
32156 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32157 memory_arena_reuse_realloc.
32158 * manual/probes.texi: Document them.
32159
32160 * malloc/malloc.c (__libc_free): Add
32161 memory_mallopt_free_dyn_thresholds probe.
32162 (__libc_mallopt): Add multiple memory_mallopt probes.
32163 * manual/probes.texi: Document them.
32164
32165 * malloc/malloc.c: Include stap-probe.h.
32166 (__libc_mallopt): Add memory_mallopt probe.
32167 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32168 * manual/probes.texi: New.
32169 * manual/Makefile (chapters): Add probes.
32170 * manual/threads.texi: Set next node.
32171
32172 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32173
32174 [BZ #15963, #13985]
32175 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32176 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32177 Add `Chinese' to `nan' entry name.
32178
32179 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32180
32181 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32182 (POLYNOMIAL): Likewise.
32183 (TAYLOR_SINCOS): Likewise.
32184 (TAYLOR_SLOW): Likewise.
32185 (__sin): Use TAYLOR_SINCOS.
32186 (__cos): Likewise.
32187 (slow): Use TAYLOR_SLOW.
32188 (sloww): Likewise.
32189 (bsloww): Likewise.
32190 (csloww): Likewise.
32191
32192 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32193
32194 * stdlib/strtod_l.c: Fix buffer overrun.
32195
32196 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32197
32198 * benchtests/Makefile (bench): Add sincos.
32199 * benchtests/bench-sincos.c: New file.
32200
32201 * math/libm-test.inc (cos_test_data): New test inputs.
32202 (sin_test_data): Likewise.
32203
32204 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32205 macro.
32206 (__sin): Use it.
32207 (__cos): Likewise.
32208 (slow1): Likewise.
32209 (slow2): Likewise.
32210 (sloww1): Likewise.
32211 (sloww2): Likewise.
32212 (bsloww1): Likewise.
32213 (bsloww2): Likewise.
32214 (cslow2): Likewise.
32215 (csloww1): Likewise.
32216 (csloww2): Likewise.
32217
32218 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32219 function.
32220 (__sin): Use it.
32221 (__cos): Likewise.
32222
32223 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32224 gotos.
32225 (__cos): Likewise.
32226
32227 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32228
32229 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32230 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32231 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32232 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32233 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32234 * elf/cache.c (print_entry): Handle the new cache flags.
32235
32236 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32237 Aldy Hernandez <aldyh@redhat.com>
32238
32239 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32240 Change condition to [_SOFT_FLOAT].
32241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32253 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32256 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32257 declaration.
32258
32259 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32260
32261 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32262 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32263 (__longjmp): Use LOAD_GP to load saved GPRs.
32264 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32265 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32266 (__sigsetjmp): Use SAVE_GP to save GPRs.
32267
32268 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32269 Do not append -msoft-float.
32270 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32271
32272 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32273
32274 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32275
32276 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32277
32278 [BZ #15966]
32279 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32280 (_FPU_GETCW): Use initial "__" on variable and field names but not
32281 on macro parameter name.
32282 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32283 parentheses around reference to macro parameter.
32284
32285 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32286
32287 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32288 prototype.
32289 (ctype_startup): Use uint32_t in cast and sizeof for
32290 ctype->charnames.
32291
32292 2013-09-11 Jia Liu <proljc@gmail.com>
32293
32294 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32295 __daddr_t_defined.
32296 [__FreeBSD__]: Likewise.
32297
32298 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32299
32300 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32301 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32302 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32303 (strchr): Remove __strchr_sse42 ifunc selection.
32304 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32305 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32306
32307 2013-09-11 Will Newton <will.newton@linaro.org>
32308
32309 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32310 parameter to RES. Remove hardcoded 1000 value.
32311 * benchtests/bench-skeleton.c (main): Pass RES parameter
32312 to TIMING_INIT and multiply result by 1000.
32313
32314 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32315
32316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32317
32318 2013-09-11 Andreas Schwab <schwab@suse.de>
32319
32320 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32321 if not defined.
32322 (O_TMPFILE) [__USE_GNU]: Define.
32323 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32324 Define.
32325
32326 2013-09-11 Will Newton <will.newton@linaro.org>
32327
32328 [BZ #15857]
32329 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32330 does not overflow.
32331
32332 2013-09-11 Will Newton <will.newton@linaro.org>
32333
32334 [BZ #15856]
32335 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32336 does not overflow.
32337
32338 2013-09-11 Will Newton <will.newton@linaro.org>
32339
32340 [BZ #15855]
32341 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32342 does not overflow.
32343
32344 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32345
32346 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32347 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32348 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32349 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32350 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32351
32352 2013-09-10 Allan McRae <allan@archlinux.org>
32353
32354 [BZ #15748]
32355 * manual/arith.texi (Parsing of Floats): Clarify
32356 cross-reference.
32357
32358 [BZ #15849]
32359 * manual/install.texi (Running make install): Mention
32360 --enable-pt-chown.
32361 * INSTALL: Regenerated.
32362
32363 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32364
32365 * csu/init-first.c (_init): Remove the !SHARED condition around
32366 FPU control word initialization.
32367 * elf/dl-support.c (_dl_fpu_control): New variable.
32368 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32369 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32370 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32371 * math/test-fpucw-static.c: New file.
32372 * math/test-fpucw-ieee.c: New file.
32373 * math/test-fpucw-ieee-static.c: New file.
32374 * math/Makefile (tests): Add `test-fpucw-ieee' and
32375 `$(tests-static)'.
32376 (tests-static): New variable.
32377 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32378 dependency to...
32379 [($(build-shared),yes)]
32380 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32381 ... this.
32382 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32383 New dependency.
32384
32385 2013-09-09 Allan McRae <allan@archlinux.org>
32386
32387 [BZ #15939]
32388 * manual/string.texi (Collation Functions): Fix typo in
32389 strcoll example.
32390 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32391
32392 [BZ #15893]
32393 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32394
32395 [BZ #15892]
32396 * libio/memstream.c (open_memstream): Fix memory leak.
32397 * libio/wmemstream.c (open_wmemstream): Likewise.
32398
32399 [BZ #15895]
32400 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32401
32402 2013-09-09 Will Newton <will.newton@linaro.org>
32403
32404 * malloc/Makefile: Add tst-realloc to tests.
32405 * malloc/tst-realloc.c: New file.
32406
32407 2013-09-09 Allan McRae <allan@archlinux.org>
32408
32409 [BZ #15844]
32410 * COPYING: Update from GNU website to fix FSF address.
32411 * COPYING.LIB: Likewise.
32412
32413 2013-09-06 David S. Miller <davem@davemloft.net>
32414
32415 * po/zh_TW.po: Update Chinese (traditional) translation from
32416 translation project.
32417
32418 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32419 Joseph Myers <joseph@codesourcery.com>
32420
32421 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32422 "localeinfo.h".
32423 (obstack_chunk_alloc): New macro.
32424 (obstack_chunk_free): Likewise.
32425 (record_offset): New function.
32426 (init_locale_data): Likewise.
32427 (align_locale_data): Likewise.
32428 (add_locale_empty): Likewise.
32429 (add_locale_raw_data): Likewise.
32430 (add_locale_raw_obstack): Likewise.
32431 (add_locale_string): Likewise.
32432 (add_locale_wstring): Likewise.
32433 (add_locale_uint32): Likewise.
32434 (add_locale_uint32_array): Likewise.
32435 (add_locale_char): Likewise.
32436 (start_locale_structure): Likewise.
32437 (end_locale_structure): Likewise.
32438 (start_locale_prelude): Likewise.
32439 (end_locale_prelude): Likewise.
32440 (write_locale_data): Take locale_file structure rather than an
32441 iovec.
32442 * locale/programs/locfile.h: Include "obstack.h".
32443 (struct locale_file): Change to store locale file contents instead
32444 of header.
32445 (init_locale_data): New prototype.
32446 (align_locale_data): Likewise.
32447 (add_locale_empty): Likewise.
32448 (add_locale_raw_data): Likewise.
32449 (add_locale_raw_obstack): Likewise.
32450 (add_locale_string): Likewise.
32451 (add_locale_wstring): Likewise.
32452 (add_locale_uint32): Likewise.
32453 (add_locale_uint32_array): Likewise.
32454 (add_locale_char): Likewise.
32455 (start_locale_structure): Likewise.
32456 (end_locale_structure): Likewise.
32457 (start_locale_prelude): Likewise.
32458 (end_locale_prelude): Likewise.
32459 (write_locale_data): Update prototype.
32460 * locale/programs/3level.h (struct TABLE): Remove result field.
32461 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32462 Use new locale_file interface.
32463 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32464 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32465 * locale/programs/ld-address.c (address_output): Use new
32466 locale_file interface.
32467 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32468 NO_ADD_LOCALE.
32469 (collate_finish): Don't call collseq_table_finalize.
32470 (collate_output): Use new locale_file interface.
32471 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32472 in file.
32473 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32474 (TABLE): Move defines earlier in file.
32475 (ELEMENT): Likewise.
32476 (DEFAULT): Likewise.
32477 (wctrans_table_add): Move macro and inline function earlier in
32478 file.
32479 (struct wctype_table): Move type earlier in file.
32480 (add_locale_wctype_table): New static prototype.
32481 (struct locale_ctype_t): Use logical types instead of struct iovec
32482 pointers for members.
32483 (ctype_output): Use new locale_file interface.
32484 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32485 new locale_file interface.
32486 (allocate_arrays): Update for use of new locale_file interface.
32487 * locale/programs/ld-identification.c (identification_output): Use
32488 new locale_file interface.
32489 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32490 * locale/programs/ld-messages.c (messages_output): Likewise.
32491 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32492 * locale/programs/ld-name.c (name_output): Likewise.
32493 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32494 * locale/programs/ld-paper.c (paper_output): Likewise.
32495 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32496 * locale/programs/ld-time.c (time_output): Likewise.
32497
32498 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32499
32500 * benchtests/Makefile: Add memrchr benchmark.
32501 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32502 benchmark as memrchr.
32503 * benchtests/bench-memrchr-ifunc.c: New file.
32504 * benchtests/bench-memrchr.c: New file.
32505
32506 2013-09-06 Will Newton <will.newton@linaro.org>
32507
32508 * benchtests/Makefile (string-bench): Add memcpy.
32509
32510 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32511 Cong Wang <amwang@redhat.com>
32512
32513 [BZ #15850]
32514 * sysdeps/unix/sysv/linux/bits/in.h
32515 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32516 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32517 before __USE_KERNEL_IPV6_DEFS uses.
32518 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32519 IPPROTO_BEETPH.
32520 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32521 sockaddr_in6, or ipv6_mreq.
32522
32523 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32524
32525 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32526 memory access for final bytes in some large inputs.
32527 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32528
32529 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32530
32531 * string/test-memrchr.c: New file.
32532 * string/test-memrchr-ifunc.c: New file.
32533 * string/Makefile: Add new memrchr testcase.
32534
32535 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32536
32537 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32538 fanotify_init returns EPERM.
32539
32540 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32541
32542 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32543 errors.
32544 (top level): Treat second token from macro or constant entries for
32545 allowed headers as allowed.
32546 * include/complex.h: Condition internal declarations on
32547 [!_ISOMAC].
32548 * include/fenv.h: Condition include of <stdbool.h> and internal
32549 declarations on [!_ISOMAC].
32550
32551 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32552
32553 [BZ #15923]
32554 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32555
32556 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32557
32558 * configure.in (--enable-versioning): Remove configure option.
32559 (libc_cv_asm_symver_directive): Remove configure test.
32560 (libc_cv_ld_version_script_option): Likewise.
32561 (VERSIONING): Remove variable and AC_SUBST.
32562 (DO_VERSIONING): Remove AC_DEFINE.
32563 * configure: Regenerated.
32564 * config.h.in (DO_VERSIONING): Remove macro.
32565 * Makerules [$(versioning) = yes]: Change conditionals to
32566 [$(build-shared) = yes].
32567 * config.make.in (versioning): Remove variable.
32568 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32569 [$(build-shared) = yes].
32570 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32571 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32572 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32573 [$(build-shared) = yes].
32574 * extra-lib.mk [$(versioning) = yes]: Likewise.
32575 * hurd/Makefile [$(versioning) = yes]: Likewise.
32576 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32577 [SHARED].
32578 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32579 [SHARED].
32580 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32581 [SHARED && !NO_HIDDEN].
32582 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32583 [SHARED].
32584 [SHARED && DO_VERSIONING]: Likewise..
32585 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32586 [$(build-shared) = yes].
32587 * manual/install.texi (--disable-versioning): Remove
32588 documentation.
32589 * INSTALL: Regenerated.
32590 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32591 to [SHARED].
32592 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32593 [$(build-shared) = yes].
32594 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32595 * sysdeps/i386/i686/multiarch/strstr-c.c
32596 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32597 [SHARED && !NO_HIDDEN].
32598 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32599 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32600 * sysdeps/powerpc/powerpc32/dl-machine.c
32601 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32602 * sysdeps/powerpc/powerpc32/sysdep.h
32603 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32604 to [SHARED && PIC && !NO_HIDDEN].
32605 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32606 conditional to [SHARED].
32607
32608 2013-09-04 Will Newton <will.newton@linaro.org>
32609
32610 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32611 * benchtests/bench-string.h: Include bench-timing.h instead
32612 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32613 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32614 call to HP_TIMING_DIFF_INIT.
32615 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32616 instead of hp-timing.h macros.
32617 * benchtests/bench-memchr.c: Likewise.
32618 * benchtests/bench-memcmp.c: Likewise.
32619 * benchtests/bench-memcpy.c: Likewise.
32620 * benchtests/bench-memmem.c: Likewise.
32621 * benchtests/bench-memmove.c: Likewise.
32622 * benchtests/bench-memset.c: Likewise.
32623 * benchtests/bench-rawmemchr.c: Likewise.
32624 * benchtests/bench-strcasecmp.c: Likewise.
32625 * benchtests/bench-strcasestr.c: Likewise.
32626 * benchtests/bench-strcat.c: Likewise.
32627 * benchtests/bench-strchr.c: Likewise.
32628 * benchtests/bench-strcmp.c: Likewise.
32629 * benchtests/bench-strcpy.c: Likewise.
32630 * benchtests/bench-strcpy_chk.c: Likewise.
32631 * benchtests/bench-strlen.c: Likewise.
32632 * benchtests/bench-strncasecmp.c: Likewise.
32633 * benchtests/bench-strncat.c: Likewise.
32634 * benchtests/bench-strncmp.c: Likewise.
32635 * benchtests/bench-strncpy.c: Likewise.
32636 * benchtests/bench-strnlen.c: Likewise.
32637 * benchtests/bench-strpbrk.c: Likewise.
32638 * benchtests/bench-strrchr.c: Likewise.
32639 * benchtests/bench-strspn.c: Likewise.
32640 * benchtests/bench-strstr.c: Likewise.
32641
32642 2013-09-04 Will Newton <will.newton@linaro.org>
32643
32644 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32645
32646 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32647
32648 [BZ #15427]
32649 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32650 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32651 * math/libm-test.inc (lgamma_test_data): Add more tests.
32652 * sysdeps/i386/fpu/libm-test-ulps: Update.
32653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32654
32655 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32656
32657 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32658 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32659 Add ifunc.
32660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32661 Add strcmp-sse2-unaligned
32662 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32663
32664 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32665
32666 * Versions.def (libc): Add GLIBC_2.19.
32667
32668 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32669
32670 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32671 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32672
32673 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32674
32675 [BZ #14155]
32676 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32677 intermediate calculations in recurrence.
32678 (__ieee754_ynf): Likewise.
32679 * math/libm-test.inc (jn_test_data): Do not allow spurious
32680 underflow exception. Add more tests.
32681 (yn_test_data): Add more tests.
32682 * sysdeps/i386/fpu/libm-test-ulps: Update.
32683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32684
32685 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32686
32687 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32688
32689 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32690
32691 * csu/init-first.c: Fix then/than typos.
32692 * locale/programs/ld-collate.c: Likewise.
32693 * locale/programs/linereader.h: Likewise.
32694 * manual/charset.texi: Likewise.
32695 * manual/filesys.texi: Likewise.
32696 * manual/stdio.texi: Likewise.
32697 * manual/string.texi: Likewise.
32698 * stdlib/fmtmsg.c: Likewise.
32699 * sysdeps/i386/stpncpy.S: Likewise.
32700 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32701 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32702 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32703 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32704
32705 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32706
32707 * elf/dl-open.c: Fix typos.
32708 * iconvdata/gbbig5.c: Likewise.
32709 * iconvdata/iso-2022-jp.c: Likewise.
32710 * iconv/gconv_int.h: Likewise.
32711 * iconv/loop.c: Likewise.
32712 * nis/rpcsvc/nis.h: Likewise.
32713 * resolv/ns_name.c: Likewise.
32714 * stdio-common/vfscanf.c: Likewise.
32715 * streams/stropts.h: Likewise.
32716 * sunrpc/rpc_thread.c: Likewise.
32717 * sysdeps/i386/strpbrk.S: Likewise.
32718 * sysdeps/ieee754/k_standard.c: Likewise.
32719 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32721 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32722 * sysdeps/mach/hurd/profil.c: Likewise.
32723 * sysdeps/s390/dl-procinfo.h: Likewise.
32724 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32725 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32726 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32727 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32729
32730 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32731
32732 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32734
32735 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32736
32737 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32738 aix specific files.
32739 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32740 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32741 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32742 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32743 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32744 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32745 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32746 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32747
32748 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32749 Roland McGrath <roland@hack.frob.com>
32750
32751 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32752 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32753
32754 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32755
32756 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32757 __executable_start symbol instead of _start.
32758
32759 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32760
32761 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32762 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32763 Move macros to...
32764 * sysdeps/gnu/ldsodefs.h: ... this new file.
32765
32766 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32767 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32768 instead of ELFOSABI_LINUX.
32769
32770 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32771 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32772 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32773 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32774 Likewise.
32775 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32776 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32777 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32778 Likewise.
32779 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32780 (ibm_extended_long_double): Add ieee_nan member.
32781 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32782 (do_test): New function.
32783
32784 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32785 TEST_TRUNC.
32786 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32787 functions, renamed from truncdfsf_test, trunctfsf_test,
32788 trunctfdf_test.
32789 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32790 functions.
32791 (do_test): Run all these.
32792
32793 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32794
32795 * argp/argp-help.c: Fix typos.
32796 * argp/argp-parse.c: Likewise.
32797 * debug/backtracesyms.c: Likewise.
32798 * elf/elf.h: Likewise.
32799 * malloc/malloc.c: Likewise.
32800 * nis/nis_print.c: Likewise.
32801 * resolv/res_comp.c: Likewise.
32802 * stdlib/stdlib.h: Likewise.
32803 * sunrpc/clnt_tcp.c: Likewise.
32804 * sunrpc/clnt_udp.c: Likewise.
32805 * sunrpc/clnt_unix.c: Likewise.
32806 * sysdeps/unix/bsd/ptsname.c: Likewise.
32807 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32808 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32810 Likewise.
32811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32812 Likewise.
32813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32814 Likewise.
32815 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32816
32817 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32818
32819 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32821
32822 2013-08-27 Mike Frysinger <vapier@gentoo.org>
32823
32824 [BZ #15897]
32825 * dlfcn/Makefile (tests): Add bug-dl-leaf.
32826 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32827 ($(objpfx)bug-dl-leaf): New rule.
32828 ($(objpfx)bug-dl-leaf.so): Likewise.
32829 ($(objpfx)bug-dl-leaf.out): Likewise.
32830 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32831 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32832 * dlfcn/bug-dl-leaf.c: New test.
32833 * dlfcn/bug-dl-leaf-lib.c: Likewise.
32834 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32835 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32836 (dlclose): Likewise.
32837 (dlmopen): Likewise.
32838
32839 2013-08-27 Roland McGrath <roland@hack.frob.com>
32840
32841 * include/netdb.h [!_ISOMAC]:
32842 Don't include <tls.h>.
32843 (h_errno, __libc_h_errno): Move declaration and macros out of
32844 [_LIBC_REENTRANT].
32845
32846 * include/resolv.h [_RESOLV_H_]:
32847 Don't include <tls.h>.
32848 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32849 * resolv/res_libc.c: Don't include <tls.h>.
32850 (_res): Use __attribute__ ((nocommon)) in place of
32851 __attribute__ ((section (".bss"))).
32852
32853 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32854 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32855
32856 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32857
32858 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32859 only under [SIOCGIFCONF && SIOCGIFNETMASK].
32860
32861 * resolv/res_mkquery.c: Include <sys/time.h>.
32862
32863 * inet/ifreq.c: Moved to ...
32864 * sysdeps/unix/ifreq.c: ... here.
32865 * inet/ifreq.c: New file, true stub version.
32866
32867 * socket/sa_len.c: New file.
32868 * socket/Makefile (aux): Add it.
32869 * sysdeps/unix/sysv/linux/Makefile
32870 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32871 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32872 and #include <socket/sa_len.c>.
32873 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32874 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32875
32876 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32877 * bits/socket.h: ... here.
32878
32879 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32880 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32881 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32882
32883 2013-08-27 Andreas Schwab <schwab@suse.de>
32884
32885 [BZ #15736]
32886 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32887 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32888 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32889 * string/test-strcasecmp.c (test_main): Run tests in several
32890 locales.
32891 * string/test-strncasecmp.c (test_main): Likewise.
32892
32893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32894 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32895 to __strcasecmp_nonascii and __strncasecmp_nonascii.
32896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32897 (__strncasecmp_ssse3) [PIC]: Likewise.
32898
32899 2013-08-26 Roland McGrath <roland@hack.frob.com>
32900
32901 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32902
32903 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32904 instead of explicitly declaring xdecrypt.
32905 * nis/nss_nis/nis-publickey.c: Likewise.
32906
32907 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32908
32909 [BZ #15890]
32910 * nscd/aicache.c: Include res_hconf.h.
32911 (addhstaiX): Initialize res_hconf.
32912
32913 2013-08-26 Andreas Schwab <schwab@suse.de>
32914
32915 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32916 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32917
32918 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32919
32920 * nscd/aicache.c (addhstaiX): Fix indentation.
32921
32922 2013-08-25 Mike Frysinger <vapier@gentoo.org>
32923
32924 * configure.ac: Quote $build_pt_chown test.
32925 * configure: Regenerated.
32926
32927 2013-08-23 Joseph Myers <joseph@codesourcery.com>
32928
32929 [BZ #15532]
32930 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32931 * math/s_cexpf.c (__cexpf): Likewise.
32932 * math/s_cexpl.c (__cexpl): Likewise.
32933 * math/libm-test.inc (cexp_test_data): Correct expected return
32934 value for NaN + i0. Add another test.
32935
32936 2013-08-22 David S. Miller <davem@davemloft.net>
32937
32938 * po/ca.po: Update Catalan translation from translation project.
32939 * po/uk.po: Add Ukrainian translations from translation project.
32940
32941 2013-08-21 Joseph Myers <joseph@codesourcery.com>
32942
32943 [BZ #15797]
32944 * math/s_fdim.c (__fdim): Check for infinite arguments if result
32945 is infinite, not alongside NaN test.
32946 * math/s_fdimf.c (__fdimf): Likewise.
32947 * math/s_fdiml.c (__fdiml): Likewise.
32948 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
32949 errno is unchanged.
32950
32951 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
32952
32953 * argp/argp-help.c: Fix typos.
32954 * crypt/speeds.c: Likewise.
32955 * csu/check_fds.c: Likewise.
32956 * elf/dl-load.c: Likewise.
32957 * elf/dl-open.c: Likewise.
32958 * elf/reldep3.c: Likewise.
32959 * elf/reldep.c: Likewise.
32960 * elf/sprof.c: Likewise.
32961 * iconv/iconv_charmap.c: Likewise.
32962 * iconv/skeleton.c: Likewise.
32963 * iconv/strtab.c: Likewise.
32964 * io/lockf64.c: Likewise.
32965 * libio/libioP.h: Likewise.
32966 * resolv/gai_notify.c: Likewise.
32967 * resolv/ns_name.c: Likewise.
32968 * resolv/ns_samedomain.c: Likewise.
32969 * resolv/res_send.c: Likewise.
32970 * stdlib/random.c: Likewise.
32971 * sunrpc/rpc/xdr.h: Likewise.
32972 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32974 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32975 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32976 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32979 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32980 * sysdeps/mach/hurd/check_fds.c: Likewise.
32981 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32982 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32983 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32984 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32985 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32986 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32987 * sysdeps/pthread/aio_notify.c: Likewise.
32988 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32989 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32990 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32991 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32992 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32993
32994 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32995
32996 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32997 version if bit_Slow_SSE4_2 is set.
32998 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32999 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33000
33001 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33002
33003 [BZ #15867]
33004 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33005 trampoline stack frame information.
33006 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33007 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33008 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33009 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33010 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33011 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33012 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33013 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33014 sa_flags value.
33015 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33016 interrupting a syscall and set with option SA_SIGINFO.
33017
33018 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33019
33020 [BZ #15531]
33021 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33022 argument is infinite.
33023 * math/s_cprojf.c (__cprojf): Likewise.
33024 * math/s_cprojl.c (__cprojl): Likewise.
33025 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33026 * math/libm-test.inc (cproj_test_data): Add more tests.
33027
33028 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33029
33030 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33031 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33032 size. Use __ffs to determine corresponding shift.
33033
33034 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33035 Roland McGrath <roland@hack.frob.com>
33036
33037 * Makefile (INSTALL): Remove trailing blank lines from output of
33038 makeinfo.
33039
33040 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33041
33042 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33043 Align 32 bit compat elf_greg to 8 bytes.
33044
33045 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33046
33047 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33048
33049 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33050
33051 * string/strcoll_l.c (coll_seq): New structure.
33052 (get_next_seq_cached): New function.
33053 (get_next_seq): New function.
33054 (do_compare): New function.
33055 (STRCOLL): Use GNU style definition. Simplify implementation
33056 by using get_next_seq, get_next_seq_cached and do_compare.
33057
33058 2013-08-16 Florian Weimer <fweimer@redhat.com>
33059
33060 [BZ #14699]
33061 CVE-2013-4237
33062 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33063 member.
33064 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33065 member.
33066 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33067 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33068 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33069 conditional.
33070 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33071 GETDENTS_64BIT_ALIGNED.
33072 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33073 * manual/filesys.texi (Reading/Closing Directory): Document
33074 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33075 strongly.
33076 * manual/conf.texi (Limits for Files): Add portability note to
33077 NAME_MAX, PATH_MAX.
33078 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33079
33080 2013-08-13 Andreas Schwab <schwab@suse.de>
33081
33082 [BZ #15749]
33083 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33084 of fabs.
33085 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33086 LDBL_MAX_EXP >= 16384]: Add tests for it.
33087
33088 2013-08-12 David S. Miller <davem@davemloft.net>
33089
33090 * version.h (RELEASE): Set to "development".
33091 (VERSION): Set to "2.18.90".
33092 * NEWS: Add 2.19 section.
33093
33094 2013-08-03 David S. Miller <davem@davemloft.net>
33095
33096 * po/ko.po: Update Korean translation from translation project.
33097
33098 2013-08-01 David S. Miller <davem@davemloft.net>
33099
33100 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33101 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33102 Bilka.
33103
33104 2013-07-30 David S. Miller <davem@davemloft.net>
33105
33106 * po/fr.po: Update French translation from translation project.
33107
33108 2013-07-28 David S. Miller <davem@davemloft.net>
33109
33110 * po/cs.po: Update Czech translation from translation project.
33111
33112 * po/sv.po: Update Swedish translation from translation project.
33113
33114 2013-07-27 David S. Miller <davem@davemloft.net>
33115
33116 * po/eo.po: Update Esperanto translation from translation project.
33117
33118 * po/vi.po: Update Vietnamese translation from translation project.
33119
33120 * po/de.po: Update German translation from translation project.
33121
33122 2013-07-26 David S. Miller <davem@davemloft.net>
33123
33124 * po/bg.po: Update Bulgarian translation from translation project.
33125
33126 * po/nl.po: Update Dutch translation from translation project.
33127 * po/pl.po: Update Polish translation from translation project.
33128 * po/ru.po: Update Russian translation from translation project.
33129
33130 2013-07-24 David S. Miller <davem@davemloft.net>
33131
33132 * po/libc.pot: Update.
33133
33134 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33135
33136 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33137 variable page size.
33138 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33139 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33140 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33141
33142 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33143
33144 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33145
33146 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33147 Andreas Schwab <schwab@suse.de>
33148 Roland McGrath <roland@hack.frob.com>
33149 Joseph Myers <joseph@codesourcery.com>
33150 Carlos O'Donell <carlos@redhat.com>
33151
33152 [BZ #15755]
33153 * config.h.in: Define HAVE_PT_CHOWN.
33154 * config.make.in (build-pt-chown): New variable.
33155 * configure.in (--enable-pt_chown): New configure option.
33156 * configure: Regenerate.
33157 * login/Makefile: Include Makeconfig. Build pt_chown only if
33158 build-pt-chown is enabled.
33159 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33160 pt_chown to fix pty ownership.
33161 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33162 CLOSE_ALL_FDS.
33163 * manual/install.texi (Configuring and compiling): Mention
33164 --enable-pt_chown. Add @findex for grantpt.
33165 * INSTALL: Regenerate.
33166
33167 2013-07-20 David S. Miller <davem@davemloft.net>
33168
33169 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33170 difference between 32-bit and 64-bit.
33171
33172 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33173
33174 [BZ #15711]
33175 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33176 Avoid system header dependency with -ffreestanding.
33177 ($(objpfx)bits/syscall%d): Likewise.
33178
33179 2013-07-13 David S. Miller <davem@davemloft.net>
33180
33181 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33182 underflows from atanl/atan2l due to bug 15319.
33183 (casinh_test_data): Likewise.
33184
33185 2013-07-07 David S. Miller <davem@davemloft.net>
33186
33187 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33188
33189 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33190
33191 * sysdeps/i386/fpu/libm-test-ulps: Update.
33192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33193
33194 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33195
33196 * configure.in (--enable-lock-elision): Fix message text.
33197 * INSTALL: Regenerate.
33198 * configure: Regenerate.
33199
33200 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33201
33202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33203
33204 2013-07-03 Andreas Jaeger <aj@suse.de>
33205
33206 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33207 define.
33208 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33209 (ptrace_peeksiginfo_args): Add.
33210 (__ptrace_peeksiginfo_flags): Add.
33211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33213 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33214
33215 2013-07-03 Allan McRae <allan@archlinux.org>
33216
33217 * sysdeps/i386/fpu/libm-test-ulps: Update.
33218
33219 2013-07-02 David S. Miller <davem@davemloft.net>
33220
33221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33222
33223 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33224
33225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33226
33227 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33228
33229 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33231
33232 2013-07-02 Andi Kleen <ak@linux.intel.com>
33233
33234 * config.h.in (ENABLE_LOCK_ELISION): Add.
33235 * configure.in (--enable-lock-elision): Add option.
33236 * manual/install.texi: Document --enable lock elision.
33237 * configure: Regenerate
33238 * INSTALL: Regenerate.
33239
33240 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33241
33242 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33243 SSE4.2 strcasecmp for libc.a.
33244 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33245
33246 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33247
33248 [BZ #13304]
33249 * soft-fp/op-common.h (_FP_FMA): New macro.
33250 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33251 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33252 (_FP_MUL_MEAT_1_imm): ... here.
33253 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33254 (_FP_MUL_MEAT_1_wide): ... here.
33255 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33256 (_FP_MUL_MEAT_1_hard): ... here.
33257 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33258 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33259 (_FP_MUL_MEAT_2_wide): ... here.
33260 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33261 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33262 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33263 (_FP_MUL_MEAT_2_gmp): ... here.
33264 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33265 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33266 (_FP_MUL_MEAT_4_wide): ... here.
33267 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33268 (_FP_MUL_MEAT_4_gmp): ... here.
33269 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33270 (_FP_WFRACBITS_DW_S): Likewise.
33271 (_FP_WFRACXBITS_DW_S): Likewise.
33272 (_FP_HIGHBIT_DW_S): Likewise.
33273 (FP_FMA_S): Likewise.
33274 (_FP_FRAC_HIGH_DW_S): Likewise.
33275 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33276 (_FP_WFRACBITS_DW_D): Likewise.
33277 (_FP_WFRACXBITS_DW_D): Likewise.
33278 (_FP_HIGHBIT_DW_D): Likewise.
33279 (FP_FMA_D): Likewise.
33280 (_FP_FRAC_HIGH_DW_D): Likewise.
33281 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33282 (_FP_WFRACBITS_DW_E): Likewise.
33283 (_FP_WFRACXBITS_DW_E): Likewise.
33284 (_FP_HIGHBIT_DW_E): Likewise.
33285 (FP_FMA_E): Likewise.
33286 (_FP_FRAC_HIGH_DW_E): Likewise.
33287 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33288 (_FP_WFRACBITS_DW_Q): Likewise.
33289 (_FP_WFRACXBITS_DW_Q): Likewise.
33290 (_FP_HIGHBIT_DW_Q): Likewise.
33291 (FP_FMA_Q): Likewise.
33292 (_FP_FRAC_HIGH_DW_Q): Likewise.
33293 * soft-fp/fmasf4.c: New file.
33294 * soft-fp/fmadf4.c: Likewise.
33295 * soft-fp/fmatf4.c: Likewise.
33296
33297 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33298
33299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33300 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33301 Silvermont.
33302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33303 macro.
33304 (index_Slow_SSE4_2): Likewise.
33305 (index_Prefer_PMINUB_for_stringop): Likewise.
33306 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33307 bit_Slow_SSE4_2 is set.
33308 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33309 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33310
33311 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33312
33313 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33314 rtld_global._dl_hwcap2.
33315 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33316 POWER8.
33317 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33318 POWER8 feature descriptions defined in _dl_hwcap2.
33319 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33320 string handling for POWER8 feature bits.
33321 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33322 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33323 _dl_powerpc_cap_flags.
33324 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33325 * sysdeps/powerpc/rtld-global-offsets.sym
33326 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33327 _dl_hwcap2 in the rtld_global_ro structure.
33328
33329 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33330
33331 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33332 hardware capabilities in support of AT_HWCAP2.
33333 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33334 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33335 GLRO(dl_hwcap2).
33336 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33337 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33338 explicitly the unknown a_type display mechanism is used.
33339 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33340 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33341 struct member.
33342 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33343 to macro prototype for AT_HWCAP2 support.
33344 * sysdeps/i386/dl-procinfo.h: Likewise.
33345 * sysdeps/s390/dl-procinfo.h: Likewise.
33346 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33347 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33348 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33349 return -1 for unknown a_type display fallback.
33350 * sysdeps/sparc/dl-procinfo.h: Likewise.
33351 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33352 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33353
33354 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33355
33356 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33357 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33358
33359 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33360
33361 [BZ #12492]
33362 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33363 mprotect making __stack_prot writable.
33364
33365 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33366 Joseph Myers <joseph@codesourcery.com>
33367
33368 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33369 as being properly aligned.
33370
33371 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33372
33373 * dlfcn/modstatic5.c: New file.
33374 * dlfcn/tststatic5.c: New file.
33375 * dlfcn/Makefile (tests): Add tststatic5.
33376 (tests-static): Likewise.
33377 (modules-names): Add modstatic5.
33378 (tststatic5-ENV): New variable.
33379 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33380
33381 [BZ #15022]
33382 * elf/dl-support.c (_dl_main_map): New variable.
33383 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33384 (_dl_nns, _dl_load_adds): Set to 1.
33385 (_dl_initial_searchlist): Refer to _dl_main_map.
33386 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33387 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33388 call to _dl_get_origin.
33389 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33390 around call_map.
33391 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33392 * dlfcn/modstatic3.c: New file.
33393 * dlfcn/tststatic3.c: New file.
33394 * dlfcn/tststatic4.c: New file.
33395 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33396 (tests-static): Likewise.
33397 (modules-names): Add modstatic3.
33398 (tststatic3-ENV, tststatic4-ENV): New variables.
33399 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33400 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33401
33402 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33403
33404 * configure.in (CC): Require GCC version 4.4 or later.
33405 * configure: Regenerated.
33406 * manual/install.texi (Tools for Compilation): Update GCC version
33407 requirement.
33408 * INSTALL: Regenerated.
33409
33410 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33411
33412 [BZ #15674]
33413 * string/test-memcmp.c (check2): New.
33414 (main): Call check2.
33415
33416 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33417
33418 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33419
33420 [BZ #15022]
33421 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33422 over to...
33423 (dl_open_worker) [!SHARED]: ... here.
33424
33425 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33426
33427 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33428
33429 2013-06-25 Richard Henderson <rth@redhat.com>
33430
33431 * locale/programs/locarchive.c: Include <libc-internal.h>
33432
33433 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33434
33435 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33436 trailing whitespace removed.
33437
33438 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33439
33440 [BZ #10283]
33441 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33442 * locale/programs/locarchive.c: Include libc-mmap.h.
33443 (prepare_address_space): Take two new outputs (the mmap base and len).
33444 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33445 values.
33446 (create_archive): Declare new mmap base and len values for
33447 prepare_address_space, and store the result in ah.
33448 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33449 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33450 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33451 Declare new mmap base and len values for
33452 prepare_address_space, and store the result in new_ah.
33453 (open_archive): Declare new mmap base and len values for
33454 prepare_address_space, and store the result in ah.
33455 (close_archive): If ah->mmap_base is not NULL, use that and
33456 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33457 * sysdeps/generic/libc-mmap.h: New file.
33458
33459 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33460
33461 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33462 (ALIGN_UP): Likewise.
33463 (PTR_ALIGN_DOWN): Likewise.
33464 (PTR_ALIGN_UP): Likewise.
33465
33466 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33467
33468 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33469 entry mapped to PPC_PLATFORM_POWER8.
33470 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33471 POWER8.
33472 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33473 (_dl_string_platform): Add case for exporting platform position for
33474 POWER8.
33475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33476 search path to sysdeps/powerpc/powerpc32/power8 directory.
33477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33478 search path to sysdeps/powerpc/powerpc64/power8 directory.
33479 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33480 power7 directories.
33481 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33482 power7 directories.
33483
33484 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33485
33486 * INSTALL: Regenerate.
33487
33488 * nscd/connections.c (nscd_init): Fix comment.
33489
33490 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33491
33492 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33493
33494 [BZ #15667]
33495 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33496 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33497
33498 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33499
33500 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33501 DL_DST_REQ_STATIC.
33502 (DL_DST_REQ_STATIC): Remove macro.
33503
33504 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33505
33506 [BZ #7006]
33507 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33508 with a shift of 0 bits.
33509
33510 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33511
33512 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33513 $(tststatic-ENV).
33514
33515 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33516
33517 [BZ #15655]
33518 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33519
33520 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33521
33522 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33523 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33524 accepts -fno-tree-loop-distribute-patterns.
33525 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33526 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33527 recursive call.
33528 * string/memset.c (memset): Likewise.
33529 * string/test-memmove.c (simple_memmove): Disable loop transformation
33530 to library calls.
33531 * string/test-memset.c (simple_memset): Likewise.
33532 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33533 * benchtests/bench-memset.c (simple_memset): Likewise.
33534 * configure: Regenerated.
33535
33536 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33537
33538 * math/test-misc.c (main): Ignore fesetround failure when failures
33539 of subsequent rounding tests would be ignored.
33540
33541 [BZ #15654]
33542 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33543 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33544 * math/fegetenv.c (__fegetenv): Return 0.
33545 * math/fegetexcept.c (fegetexcept): Return 0.
33546 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33547 FE_TONEAREST.
33548 * math/feholdexcpt.c (feholdexcept): Return 0.
33549 * math/fesetenv.c (__fesetenv): Return 0.
33550 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33551 argument FE_TONEAREST.
33552 * math/feupdateenv.c (__feupdateenv): Return 0.
33553 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33554
33555 2013-06-18 Roland McGrath <roland@hack.frob.com>
33556
33557 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33558 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33559 ($(objpfx)rtld-%.os rules): Use them.
33560
33561 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33562
33563 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33564 fields.
33565
33566 2013-06-17 Roland McGrath <roland@hack.frob.com>
33567
33568 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33569 length of target pattern, then descending length of dependency pattern.
33570 * configure.in (AWK): Require gawk 3.1.2 or newer.
33571 * manual/install.texi (Tools for Compilation): Say that we do.
33572 * configure: Regenerated.
33573
33574 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33575 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33576 * scripts/sysd-rules.awk: ... this new script.
33577 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33578 than a glob-style pattern.
33579
33580 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33581
33582 * math/test-misc.c (main): Do not treat incorrectly rounded
33583 conversions as failure unless ROUNDING_TESTS passes.
33584
33585 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33586
33587 [BZ #15631]
33588 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33589 restore exception state around main square root computation, then
33590 check for inexactness explicitly.
33591
33592 * math/libm-test.inc (fma_test_data): Add another test.
33593
33594 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33595
33596 * manual/threads.texi (Non-POSIX Extensions): New document
33597 node. Document pthread_getattr_default_np and
33598 pthread_setattr_default_np.
33599
33600 * Versions.def (libpthread): Add GLIBC_2.18.
33601 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33603 Likewise.
33604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33605 Likewise.
33606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33607 Likewise.
33608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33609 Likewise.
33610 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33611 Likewise.
33612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33613 Likewise.
33614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33615 Likewise.
33616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33617 Likewise.
33618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33619 Likewise.
33620
33621 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33622
33623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33624 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33625
33626 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33627 H.J. Lu <hjl.tools@gmail.com>
33628
33629 [BZ #15627]
33630 * sysdeps/x86_64/rtld-memset.c: Remove file.
33631 * sysdeps/x86_64/rtld-memset.S: New file.
33632
33633 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33634
33635 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33636 (test_in_one_mode): Take arguments for whether the rounding mode
33637 is supported for each floating-point type.
33638 (do_test): Pass new arguments to test_in_one_mode using
33639 ROUNDING_TESTS.
33640
33641 2013-06-13 Roland McGrath <roland@hack.frob.com>
33642
33643 * posix/tst-waitid.c (do_test): Distinguish different instances of
33644 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33645 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33646 before entering the kernel for waitpid.
33647
33648 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33649
33650 * NEWS: Fix note on clock function precision. Text by Roland
33651 McGrath.
33652
33653 2013-06-13 Roland McGrath <roland@hack.frob.com>
33654
33655 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33656 it into place only when and if the sanity check passes.
33657
33658 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33659
33660 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33661 output for whether conversion result is exact. Take argument
33662 indicating whether type is IBM long double.
33663 (round_for_all): Change need_exact field to ibm_ld.
33664 * stdlib/tst-strtod-round.c (struct exactness): New type.
33665 (struct test): Change bool ld_ok field to struct exactness exact.
33666 (TEST): Update all definitions for change to field.
33667 (tests): Regenerate array contents.
33668 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33669 field value. Check for IBM long double here.
33670 (do_test): Update calls to test_in_one_mode.
33671
33672 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33673
33674 [BZ #12515]
33675 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33676 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33677
33678 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33679
33680 [BZ #15605]
33681 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33682 generated by the compiler on loop optimizations.
33683 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33684 general definitions.
33685
33686 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33687
33688 * math/bug-nextafter.c: Include <math-tests.h>.
33689 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33690 the relevant type.
33691 * math/bug-nexttoward.c: Include <math-tests.h>.
33692 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33693 the relevant type.
33694 * math/test-misc.c: Include <math-tests.h>.
33695 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33696 the relevant type.
33697
33698 2013-06-12 Andreas Jaeger <aj@suse.de>
33699
33700 * po/ia.po: Update Interlingua translation from translation
33701 project.
33702
33703 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33704
33705 * include/fenv.h: Include stdbool.h.
33706 (struct rm_ctx): New structure.
33707 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33708 Define macro.
33709 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33710 (SET_RESTORE_ROUNDF): Likewise.
33711 (SET_RESTORE_ROUNDL): Likewise.
33712 (SET_RESTORE_ROUND_NOEX): Likewise.
33713 (SET_RESTORE_ROUND_NOEXF): Likewise.
33714 (SET_RESTORE_ROUND_NOEXL): Likewise.
33715 (SET_RESTORE_ROUND_53BIT): Likewise.
33716 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33717 (libc_feresetround_noexf_ctx): Likewise.
33718 (libc_feresetround_noexl_ctx): Likewise.
33719 (libc_feholdsetround_53bit_ctx): Likewise.
33720 (libc_feresetround_53bit_ctx): Likewise.
33721 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33722 (libc_feholdexcept_setround_sse_ctx): New function.
33723 (libc_fesetenv_sse_ctx): Likewise.
33724 (libc_feupdateenv_sse_ctx): Likewise.
33725 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33726 (libc_feholdexcept_setround_387_ctx): Likewise.
33727 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33728 (libc_feholdsetround_387_prec_ctx): Likewise.
33729 (libc_feholdsetround_387_ctx): Likewise.
33730 (libc_feholdsetround_387_53bit_ctx): Likewise.
33731 (libc_feholdsetround_sse_ctx): Likewise.
33732 (libc_feresetround_sse_ctx): Likewise.
33733 (libc_feresetround_387_ctx): Likewise.
33734 (libc_feupdateenv_387_ctx): Likewise.
33735 (libc_feholdexcept_setroundf_ctx): Define macro.
33736 (libc_fesetenvf_ctx): Likewise.
33737 (libc_feupdateenvf_ctx): Likewise.
33738 (libc_feholdsetroundf_ctx): Likewise.
33739 (libc_feresetroundf_ctx): Likewise.
33740 (libc_feholdexcept_setround_ctx): Likewise.
33741 (libc_fesetenv_ctx): Likewise.
33742 (libc_feupdateenv_ctx): Likewise.
33743 (libc_feholdsetround_ctx): Likewise.
33744 (libc_feresetround_ctx): Likewise.
33745 (libc_feholdexcept_setroundl_ctx): Likewise.
33746 (libc_feupdateenvl_ctx): Likewise.
33747 (libc_feholdsetroundl_ctx): Likewise.
33748 (libc_feresetroundl_ctx): Likewise.
33749 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33750 (libc_feresetround_53bit_ctx): Likewise.
33751
33752 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33753
33754 * locale/iso-639.def: Convert to UTF-8.
33755
33756 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33757
33758 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33759 (EXCEPTION_TESTS_double): Likewise.
33760 (EXCEPTION_TESTS_long_double): Likewise.
33761 (EXCEPTION_TESTS): Likewise.
33762 * math/libm-test.inc (test_exceptions): Only test exceptions if
33763 EXCEPTION_TESTS (FLOAT).
33764
33765 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33766
33767 * benchtests/Makefile (string-bench): Add strcpy_chk and
33768 stpcpy_chk.
33769 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33770 * benchtests/bench-stpcpy_chk.c: New file.
33771 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33772 * benchtests/bench-strcpy_chk.c: New file.
33773 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33774 code.
33775 (do_test): Likewise.
33776
33777 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33778
33779 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33780 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33781 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33782 with tabs where appropriate.
33783 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33784 dl-procinfo.h.
33785 [PPC_PLATFORM_PPC440]: Likewise.
33786 [PPC_PLATFORM_PPC464]: Likewise.
33787 [PPC_PLATFORM_PPC476]: Likewise.
33788 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33789 ppc464, and ppc476 platform strings merging from ports/
33790 dl-procinfo.h.
33791
33792 2013-06-11 Andreas Schwab <schwab@suse.de>
33793
33794 [BZ #14991]
33795 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33796 (from_ucs4_idx): Regenerate.
33797 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33798 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33799 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33800 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33801 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33802 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33803 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33804 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33805 from FROM_LOOP and TO_LOOP specific macros.
33806 (BODY): Handle combining characters.
33807 * iconvdata/BIG5HKSCS.irreversible: Update.
33808 * iconvdata/BIG5HKSCS.precomposed: New file.
33809 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33810 characters.
33811 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33812
33813 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33814
33815 * include/sys/time.h: Fix indentation and add copyright header.
33816
33817 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33818 (do_test): Likewise.
33819 * string/test-memchr.c (do_one_test): Likewise.
33820 (do_test): Likewise.
33821 * string/test-memcmp.c (do_one_test): Likewise.
33822 (do_test): Likewise.
33823 * string/test-memcpy.c (do_one_test): Likewise.
33824 (do_test): Likewise.
33825 * string/test-memmem.c (do_one_test): Likewise.
33826 (do_test): Likewise.
33827 (do_random_tests): Likewise.
33828 * string/test-memmove.c (do_one_test): Likewise.
33829 (do_test): Likewise.
33830 * string/test-memset.c (do_one_test): Likewise.
33831 (do_test): Likewise.
33832 * string/test-rawmemchr.c (do_one_test): Likewise.
33833 (do_test): Likewise.
33834 * string/test-strcasecmp.c (do_one_test): Likewise.
33835 (do_test): Likewise.
33836 * string/test-strcasestr.c (do_one_test): Likewise.
33837 (do_test): Likewise.
33838 * string/test-strcat.c (do_one_test): Likewise.
33839 (do_test): Likewise.
33840 * string/test-strchr.c (do_one_test): Likewise.
33841 (do_test): Likewise.
33842 * string/test-strcmp.c (do_one_test): Likewise.
33843 (do_test): Likewise.
33844 * string/test-strcpy.c (do_one_test): Likewise.
33845 (do_test): Likewise.
33846 * string/test-string.h: Likewise.
33847 (test_init): Likewise.
33848 * string/test-strlen.c (do_one_test): Likewise.
33849 (do_test): Likewise.
33850 * string/test-strncasecmp.c (do_one_test): Likewise.
33851 (do_test): Likewise.
33852 * string/test-strncat.c (do_one_test): Likewise.
33853 (do_test): Likewise.
33854 * string/test-strncmp.c (do_one_test): Likewise.
33855 (do_test_limit): Likewise.
33856 (do_test): Likewise.
33857 * string/test-strncpy.c (do_one_test): Likewise.
33858 (do_test): Likewise.
33859 * string/test-strnlen.c (do_one_test): Likewise.
33860 (do_test): Likewise.
33861 * string/test-strpbrk.c (do_one_test): Likewise.
33862 (do_test): Likewise.
33863 * string/test-strrchr.c (do_one_test): Likewise.
33864 (do_test): Likewise.
33865 * string/test-strspn.c (do_one_test): Likewise.
33866 (do_test): Likewise.
33867 * string/test-strstr.c (do_one_test): Likewise.
33868 (do_test): Likewise.
33869
33870 * benchtests/Makefile (string-bench): Add string benchmarks.
33871 * benchtests/bench-bcopy-ifunc.c: New file.
33872 * benchtests/bench-bcopy.c: New file.
33873 * benchtests/bench-bzero-ifunc.c: New file.
33874 * benchtests/bench-bzero.c: New file.
33875 * benchtests/bench-memccpy-ifunc.c: New file.
33876 * benchtests/bench-memccpy.c: New file.
33877 * benchtests/bench-memchr-ifunc.c: New file.
33878 * benchtests/bench-memchr.c: New file.
33879 * benchtests/bench-memcmp-ifunc.c: New file.
33880 * benchtests/bench-memcmp.c: New file.
33881 * benchtests/bench-memmem-ifunc.c: New file.
33882 * benchtests/bench-memmem.c: New file.
33883 * benchtests/bench-memmove-ifunc.c: New file.
33884 * benchtests/bench-memmove.c: New file.
33885 * benchtests/bench-mempcpy-ifunc.c: New file.
33886 * benchtests/bench-mempcpy.c: New file.
33887 * benchtests/bench-memset-ifunc.c: New file.
33888 * benchtests/bench-memset.c: New file.
33889 * benchtests/bench-rawmemchr-ifunc.c: New file.
33890 * benchtests/bench-rawmemchr.c: New file.
33891 * benchtests/bench-stpcpy-ifunc.c: New file.
33892 * benchtests/bench-stpcpy.c: New file.
33893 * benchtests/bench-stpncpy-ifunc.c: New file.
33894 * benchtests/bench-stpncpy.c: New file.
33895 * benchtests/bench-strcasecmp-ifunc.c: New file.
33896 * benchtests/bench-strcasecmp.c: New file.
33897 * benchtests/bench-strcasestr-ifunc.c: New file.
33898 * benchtests/bench-strcasestr.c: New file.
33899 * benchtests/bench-strcat-ifunc.c: New file.
33900 * benchtests/bench-strcat.c: New file.
33901 * benchtests/bench-strchr-ifunc.c: New file.
33902 * benchtests/bench-strchr.c: New file.
33903 * benchtests/bench-strchrnul-ifunc.c: New file.
33904 * benchtests/bench-strchrnul.c: New file.
33905 * benchtests/bench-strcmp-ifunc.c: New file.
33906 * benchtests/bench-strcmp.c: New file.
33907 * benchtests/bench-strcpy-ifunc.c: New file.
33908 * benchtests/bench-strcpy.c: New file.
33909 * benchtests/bench-strcspn-ifunc.c: New file.
33910 * benchtests/bench-strcspn.c: New file.
33911 * benchtests/bench-strlen-ifunc.c: New file.
33912 * benchtests/bench-strlen.c: New file.
33913 * benchtests/bench-strncasecmp-ifunc.c: New file.
33914 * benchtests/bench-strncasecmp.c: New file.
33915 * benchtests/bench-strncat-ifunc.c: New file.
33916 * benchtests/bench-strncat.c: New file.
33917 * benchtests/bench-strncmp-ifunc.c: New file.
33918 * benchtests/bench-strncmp.c: New file.
33919 * benchtests/bench-strncpy-ifunc.c: New file.
33920 * benchtests/bench-strncpy.c: New file.
33921 * benchtests/bench-strnlen-ifunc.c: New file.
33922 * benchtests/bench-strnlen.c: New file.
33923 * benchtests/bench-strpbrk-ifunc.c: New file.
33924 * benchtests/bench-strpbrk.c: New file.
33925 * benchtests/bench-strrchr-ifunc.c: New file.
33926 * benchtests/bench-strrchr.c: New file.
33927 * benchtests/bench-strspn-ifunc.c: New file.
33928 * benchtests/bench-strspn.c: New file.
33929 * benchtests/bench-strstr-ifunc.c: New file.
33930 * benchtests/bench-strstr.c: New file.
33931
33932 * benchtests/Makefile: Disable parallel execution of targets.
33933 (string-bench): Add memcpy.
33934 (benchset): New variable to store a list of benchmark sets.
33935 (bench-func): Renamed from bench.
33936 (bench-set): New target.
33937 (bench): Depend on bench-func and bench-set.
33938 * benchtests/README: Add section on benchmark sets.
33939 * benchtests/bench-memcpy-ifunc.c: New file.
33940 * benchtests/bench-memcpy.c: New file.
33941 * benchtests/bench-string.h: New file.
33942
33943 2013-06-11 Andreas Schwab <schwab@suse.de>
33944
33945 [BZ #15577]
33946 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33947 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33948 values in the triple.
33949 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33950 terminator in the group key.
33951
33952 2013-06-11 Andreas Jaeger <aj@suse.de>
33953
33954 * po/zh_TW.po: Update Chinese (traditional) translation from
33955 translation project.
33956
33957 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33958
33959 * include/time.h (__clock_gettime): Add libc_hidden_proto.
33960 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33961 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
33962 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33963 (clock_getcpuclockid): Likewise.
33964 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33965 Add weak_alias and libc_hidden_def.
33966 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33967 * rt/clock_gettime.c (clock_gettime): Rename to
33968 __clock_gettime. Add weak_alias and libc_hidden_def.
33969 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33970 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33971 __clock_nanosleep. Add weak_alias and libc_hidden_def.
33972 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33973 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33974 Likewise.
33975 * rt/clock_settime.c (clock_settime): Rename to
33976 __clock_settime. Add weak_alias and libc_hidden_def.
33977 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33978
33979 2013-06-10 Joseph Myers <joseph@codesourcery.com>
33980
33981 * mach/err_boot.sub: Remove trailing whitespace.
33982 * mach/err_ipc.sub: Likewise.
33983 * mach/err_mach.sub: Likewise.
33984
33985 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33986 (ROUNDING_TESTS_double): Likewise.
33987 (ROUNDING_TESTS_long_double): Likewise.
33988 (ROUNDING_TESTS): Likewise.
33989 * math/libm-test.inc: Include <math-tests.h>.
33990 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33991 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33992 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33993 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33994
33995 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33996
33997 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33998 of assigning.
33999
34000 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34001
34002 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34003 otherwise empty TRANS lines.
34004 * sysdeps/gnu/errlist.c: Regenerated.
34005
34006 * catgets/gencat.c (error_print): Use (void) in function
34007 definition.
34008 * crypt/crypt_util.c (__init_des): Likewise.
34009 * crypt/speeds.c (Stop): Likewise.
34010 (main): Likewise.
34011 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34012 * inet/ruserpass.c (token): Likewise.
34013 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34014 * intl/localealias.c (extend_alias_table): Likewise.
34015 * intl/plural-exp.c (init_germanic_plural): Likewise.
34016 * libio/fcloseall.c (__fcloseall): Likewise.
34017 * libio/genops.c (_IO_flush_all): Likewise.
34018 (_IO_flush_all_linebuffered): Likewise.
34019 (_IO_cleanup): Likewise.
34020 (_IO_iter_begin): Likewise.
34021 (_IO_iter_end): Likewise.
34022 (_IO_list_lock): Likewise.
34023 (_IO_list_unlock): Likewise.
34024 (_IO_list_resetlock): Likewise.
34025 * libio/getchar.c (getchar): Likewise.
34026 * libio/getchar_u.c (getchar_unlocked): Likewise.
34027 * libio/getwchar.c (getwchar): Likewise.
34028 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34029 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34030 * login/getpt.c (__getpt): Likewise.
34031 * login/tst-utmp.c (main): Likewise.
34032 * malloc/hooks.c (__malloc_check_init): Likewise.
34033 * malloc/malloc.c (__malloc_stats): Likewise.
34034 * malloc/mtrace.c (tr_break): Likewise.
34035 (mtrace): Likewise.
34036 (muntrace): Likewise.
34037 * misc/fstab.c (endfsent): Likewise.
34038 * misc/getclktck.c (__getclktck): Likewise.
34039 * misc/getdtsz.c (__getdtablesize): Likewise.
34040 * misc/gethostid.c (gethostid): Likewise.
34041 * misc/getpagesize.c (__getpagesize): Likewise.
34042 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34043 (__get_nprocs): Likewise.
34044 (__get_phys_pages): Likewise.
34045 (__get_avphys_pages): Likewise.
34046 * misc/getttyent.c (getttyent): Likewise.
34047 (setttyent): Likewise.
34048 (endttyent): Likewise.
34049 * misc/getusershell.c (getusershell): Likewise.
34050 (endusershell): Likewise.
34051 (setusershell): Likewise.
34052 (initshells): Likewise.
34053 * misc/hsearch.c (__hdestroy): Likewise.
34054 * misc/sync.c (sync): Likewise.
34055 * misc/syslog.c (closelog_internal): Likewise.
34056 (closelog): Likewise.
34057 * misc/ttyslot.c (ttyslot): Likewise.
34058 * misc/vhangup.c (vhangup): Likewise.
34059 * posix/fork.c (__fork): Likewise.
34060 * posix/getegid.c (__getegid): Likewise.
34061 * posix/geteuid.c (__geteuid): Likewise.
34062 * posix/getgid.c (__getgid): Likewise.
34063 * posix/getpid.c (__getpid): Likewise.
34064 * posix/getppid.c (__getppid): Likewise.
34065 * posix/getuid.c (__getuid): Likewise.
34066 * posix/pause.c (pause): Likewise.
34067 * posix/setpgrp.c (setpgrp): Likewise.
34068 * posix/setsid.c (__setsid): Likewise.
34069 * posix/test-vfork.c (noop): Likewise.
34070 * resolv/gethnamaddr.c (_endhtent): Likewise.
34071 (_gethtent): Likewise.
34072 (ht_endhostent): Likewise.
34073 (gethostent): Likewise.
34074 (dns_service): Likewise.
34075 * stdlib/drand48.c (drand48): Likewise.
34076 * stdlib/lrand48.c (lrand48): Likewise.
34077 * stdlib/mrand48.c (mrand48): Likewise.
34078 * stdlib/rand.c (rand): Likewise.
34079 * stdlib/random.c (__random): Likewise.
34080 * stdlib/setenv.c (clearenv): Likewise.
34081 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34082 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34083 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34084 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34085 (__get_nprocs): Likewise.
34086 (__get_phys_pages): Likewise.
34087 (__get_avphys_pages): Likewise.
34088 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34089 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34090 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34091 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34092 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34093 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34094 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34095 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34096 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34097 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34098 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34099 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34100 * sysdeps/posix/clock.c (clock): Likewise.
34101 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34102 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34103 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34104 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34105 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34107 (__get_nprocs_conf): Likewise.
34108 (__get_phys_pages): Likewise.
34109 (__get_avphys_pages): Likewise.
34110 * time/clock.c (clock): Likewise.
34111 * time/tzset.c (__tzname_max): Likewise.
34112
34113 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34114
34115 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34116 (__bswap_32): Do not use "register".
34117 * crypt/crypt.c (_ufc_doit_r): Likewise.
34118 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34119 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34120 * gmon/gmon.c (__monstartup): Likewise.
34121 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34122 * hurd/hurdmalloc.c (more_memory): Likewise.
34123 (malloc): Likewise.
34124 (free): Likewise.
34125 (realloc): Likewise.
34126 (malloc_fork_prepare): Likewise.
34127 (malloc_fork_parent): Likewise.
34128 (malloc_fork_child): Likewise.
34129 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34130 (_svcauth_des): Likewise.
34131 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34132 * inet/inet_net.c (inet_network): Likewise.
34133 * inet/inet_netof.c (inet_netof): Likewise.
34134 * inet/rcmd.c (__validuser2_sa): Likewise.
34135 * io/fts.c (fts_open): Likewise.
34136 (fts_load): Likewise.
34137 (fts_close): Likewise.
34138 (fts_read): Likewise.
34139 (fts_children): Likewise.
34140 (fts_build): Likewise.
34141 (fts_stat): Likewise.
34142 (fts_sort): Likewise.
34143 (fts_alloc): Likewise.
34144 (fts_lfree): Likewise.
34145 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34146 (_IO_file_xsgetn): Likewise.
34147 (_IO_file_xsgetn_mmap): Likewise.
34148 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34149 (_IO_cookie_write): Likewise.
34150 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34151 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34152 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34153 * malloc/obstack.c (_obstack_begin): Likewise.
34154 (_obstack_begin_1): Likewise.
34155 (_obstack_newchunk): Likewise.
34156 (_obstack_allocated_p): Likewise.
34157 (obstack_free): Likewise.
34158 (_obstack_memory_used): Likewise.
34159 * misc/getttyent.c (getttynam): Likewise.
34160 (getttyent): Likewise.
34161 (skip): Likewise.
34162 (value): Likewise.
34163 * misc/getusershell.c (initshells): Likewise.
34164 * misc/syslog.c (__vsyslog_chk): Likewise.
34165 * misc/ttyslot.c (ttyslot): Likewise.
34166 * nis/nis_hash.c (__nis_hash): Likewise.
34167 * posix/fnmatch_loop.c (FCT): Likewise.
34168 * posix/getconf.c (print_all): Likewise.
34169 (main): Likewise.
34170 * posix/getopt.c (exchange): Likewise.
34171 * posix/glob.c (globfree): Likewise.
34172 (prefix_array): Likewise.
34173 (__glob_pattern_type): Likewise.
34174 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34175 (NS_GET32): Likewise.
34176 (NS_PUT16): Likewise.
34177 (NS_PUT32): Likewise.
34178 * resolv/gethnamaddr.c (getanswer): Likewise.
34179 (gethostbyname2): Likewise.
34180 (gethostbyaddr): Likewise.
34181 (_gethtent): Likewise.
34182 (_gethtbyname2): Likewise.
34183 (_gethtbyaddr): Likewise.
34184 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34185 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34186 * resolv/res_init.c (__res_vinit): Likewise.
34187 (net_mask): Likewise.
34188 * resolv/res_mkquery.c (outchar): Likewise.
34189 (PRINT): Likewise.
34190 * stdio-common/printf_fp.c (outchar): Likewise.
34191 (PRINT): Likewise.
34192 * stdio-common/printf_fphex.c (outchar): Likewise.
34193 (PRINT): Likewise.
34194 * stdio-common/printf_size.c (outchar): Likewise.
34195 (PRINT): Likewise.
34196 * stdio-common/test_rdwr.c (main): Likewise.
34197 * stdio-common/tfformat.c (matches): Likewise.
34198 * stdio-common/vfprintf.c (outchar): Likewise.
34199 (printf_unknown): Likewise.
34200 (buffered_vfprintf): Likewise.
34201 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34202 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34203 (ReadFile): Likewise.
34204 * stdlib/qsort.c (SWAP): Likewise.
34205 (_quicksort): Likewise.
34206 * stdlib/setenv.c (__add_to_environ): Likewise.
34207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34208 * stdlib/strtol_l.c (__strtol_l): Likewise.
34209 * stdlib/tst-strtod.c (main): Likewise.
34210 * stdlib/tst-strtol.c (main): Likewise.
34211 * stdlib/tst-strtoll.c (main): Likewise.
34212 * string/bits/string2.h (__strcmp_cc): Likewise.
34213 (__strcmp_cg): Likewise.
34214 (__strcspn_c1): Likewise.
34215 (__strcspn_c2): Likewise.
34216 (__strcspn_c3): Likewise.
34217 (__strspn_c1): Likewise.
34218 (__strspn_c2): Likewise.
34219 (__strspn_c3): Likewise.
34220 (__strsep_1c): Likewise.
34221 (__strsep_2c): Likewise.
34222 (__strsep_3c): Likewise.
34223 * string/memccpy.c (__memccpy): Likewise.
34224 * string/stpcpy.c (__stpcpy): Likewise.
34225 * string/strcmp.c (strcmp): Likewise.
34226 * string/strrchr.c (strrchr): Likewise.
34227 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34228 Likewise.
34229 * sysdeps/mach/hurd/getcwd.c
34230 (_hurd_canonicalize_directory_name_internal): Likewise.
34231 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34232 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34233 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34234 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34235 Likewise, in both definitions.
34236 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34237 definitions.
34238 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34239 64] (__bswap_64): Likewise.
34240 * time/test_time.c (main): Likewise.
34241 * time/tzfile.c (__tzfile_read): Likewise.
34242 (__tzfile_compute): Likewise.
34243 * time/tzset.c (__tzset_parse_tz): Likewise.
34244 (tzset_internal): Likewise.
34245 (compute_change): Likewise.
34246 * wcsmbs/wcscat.c (__wcscat): Likewise.
34247 * wcsmbs/wcschr.c (wcschr): Likewise.
34248 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34249 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34250 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34251 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34252 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34253 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34254 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34255 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34256 * wcsmbs/wmemset.c (wmemset): Likewise.
34257
34258 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34259
34260 * scripts/config.guess: Update to version 2013-05-16.
34261 * scripts/config.sub: Update to version 2013-04-24.
34262 * scripts/install-sh: Update to version 2011-11-20.07.
34263 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34264 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34265
34266 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34267
34268 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34269 * elf/sln.c: Likewise.
34270 * hurd/hurd/ioctl.h: Likewise.
34271 * hurd/hurdmalloc.c: Likewise.
34272 * hurd/xattr.c: Likewise.
34273 * include/shlib-compat.h: Likewise.
34274 * inet/ruserpass.c: Likewise.
34275 * libio/iofgets_u.c: Likewise.
34276 * libio/iofgetws_u.c: Likewise.
34277 * locale/programs/ld-identification.c: Likewise.
34278 * locale/programs/ld-time.c: Likewise.
34279 * mach/msg-destroy.c: Likewise.
34280 * nss/nss_files/files-netgrp.c: Likewise.
34281 * resolv/res_data.c: Likewise.
34282 * soft-fp/op-1.h: Likewise.
34283 * soft-fp/op-2.h: Likewise.
34284 * soft-fp/op-4.h: Likewise.
34285 * soft-fp/op-common.h: Likewise.
34286 * stdio-common/printf_fphex.c: Likewise.
34287 * stdlib/strtod_l.c: Likewise.
34288 * sunrpc/rpc/clnt.h: Likewise.
34289 * sysdeps/generic/framestate.c: Likewise.
34290 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34291 * sysdeps/i386/bsd-setjmp.S: Likewise.
34292 * sysdeps/i386/__longjmp.S: Likewise.
34293 * sysdeps/i386/setjmp.S: Likewise.
34294 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34295 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34297 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34298 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34299 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34300 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34303 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34304 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34306 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34307 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34308 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34310 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34311 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34312 * sysdeps/ieee754/support.c: Likewise.
34313 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34314 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34315 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34316 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34317 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34318 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34319 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34320 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34321 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34322 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34323 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34324 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34325 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34326 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34327 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34328 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34329 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34331
34332 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34333
34334 * posix/transbug.c: Remove executable mode.
34335
34336 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34337
34338 * crypt/speeds.c: Remove trailing whitespace.
34339 * dlfcn/default.c: Likewise.
34340 * elf/ifuncdep2.c: Likewise.
34341 * elf/ifuncmain1.c: Likewise.
34342 * elf/ifuncmain1vis.c: Likewise.
34343 * elf/testobj.h: Likewise.
34344 * elf/tst-stackguard1.c: Likewise.
34345 * gmon/sys/gmon.h: Likewise.
34346 * hurd/hurdmsg.c: Likewise.
34347 * hurd/new-fd.c: Likewise.
34348 * hurd/ports-get.c: Likewise.
34349 * iconvdata/ibm1008_420.c: Likewise.
34350 * inet/tst-getni1.c: Likewise.
34351 * inet/tst-getni2.c: Likewise.
34352 * libio/ioungetc.c: Likewise.
34353 * libio/wfiledoalloc.c: Likewise.
34354 * manual/libm-err-tab.pl: Likewise.
34355 * math/w_dremf.c: Likewise.
34356 * misc/ftruncate.c: Likewise.
34357 * posix/bug-glob2.c: Likewise.
34358 * posix/tst-pcre.c: Likewise.
34359 * posix/wait4.c: Likewise.
34360 * resolv/README: Likewise.
34361 * resolv/res_debug.h: Likewise.
34362 * resolv/tst-inet_ntop.c: Likewise.
34363 * setjmp/bug269-setjmp.c: Likewise.
34364 * soft-fp/extended.h: Likewise.
34365 * soft-fp/op-1.h: Likewise.
34366 * soft-fp/op-2.h: Likewise.
34367 * soft-fp/op-4.h: Likewise.
34368 * soft-fp/op-8.h: Likewise.
34369 * soft-fp/testit.c: Likewise.
34370 * stdio-common/bug16.c: Likewise.
34371 * stdlib/random.c: Likewise.
34372 * sunrpc/rpcsvc/rquota.x: Likewise.
34373 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34374 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34375 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34376 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34377 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34378 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34379 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34380 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34381 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34382 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34383 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34384 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34385 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34386 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34388 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34389 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34391 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34394 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34395 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34396 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34397 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34398 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34401 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34402 * sysdeps/ieee754/s_lib_version.c: Likewise.
34403 * sysdeps/mach/hurd/check_fds.c: Likewise.
34404 * sysdeps/mach/hurd/getsockname.c: Likewise.
34405 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34406 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34407 * sysdeps/powerpc/bits/link.h: Likewise.
34408 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34409 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34410 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34411 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34412 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34413 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34414 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34415 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34416 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34417 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34418 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34419 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34420 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34421 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34422 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34423 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34424 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34427 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34429 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34431 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34432 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34435 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34437 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34438 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34439 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34440 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34441 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34442 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34443 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34444 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34445 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34446 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34447 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34448 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34449 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34450 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34451 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34452 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34453 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34454 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34455 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34456 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34457 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34460 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34461 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34462 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34463 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34464 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34465 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34466 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34467 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34468 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34469 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34470 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34471 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34472 * sysdeps/powerpc/sysdep.h: Likewise.
34473 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34474 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34475 * sysdeps/sh/dl-trampoline.S: Likewise.
34476 * sysdeps/sh/memset.S: Likewise.
34477 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34478 * sysdeps/sh/strlen.S: Likewise.
34479 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34480 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34481 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34482 * sysdeps/sparc/sparc32/rem.S: Likewise.
34483 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34484 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34485 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34486 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34487 * sysdeps/sparc/sparc32/urem.S: Likewise.
34488 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34489 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34490 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34491 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34493 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34494 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34495 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34496 * sysdeps/unix/bsd/times.c: Likewise.
34497 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34498 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34502 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34503 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34504 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34505 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34506 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34507 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34508 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34509 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34510 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34511 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34512 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34513 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34514 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34515 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34516 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34517 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34518 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34519 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34520 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34521 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34522 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34523 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34524 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34525 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34526 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34527 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34528 * sysdeps/x86_64/strcspn.S: Likewise.
34529
34530 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34531
34532 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34533 generated file. Regenerate properly from gen-translit.pl.
34534 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34535 locale/C-translit.h.
34536
34537 2013-06-05 Andreas Schwab <schwab@suse.de>
34538
34539 [BZ #15100]
34540 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34541 week as 6 instead of -1.
34542 * time/tst-strptime.c (day_tests): Add test case.
34543
34544 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34545
34546 * sysdeps/generic/math_private.h
34547 (libc_feholdexcept_setround_53bit): Replace with
34548 libc_feholdsetround_53bit.
34549 (libc_feupdateenv_53bit): Replace with
34550 libc_feresetround_53bit.
34551 (SET_RESTORE_ROUND_53BIT): Adjust.
34552
34553 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34554
34555 * string/test-strchrnul.c: Add copyright header.
34556
34557 * posix/tst-getaddrinfo4.c: Increase test timeout.
34558
34559 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34560
34561 [BZ #15536]
34562 * math/libm-test.inc (MAX_EXP): Remove
34563 (MIN_EXP): Define.
34564 (ulp): Use MIN_EXP - MANT_DIG.
34565 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34566
34567 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34568
34569 * po/be.po: Revert last change.
34570 * po/zh_CN.po: Likewise.
34571 * po/header.pot: Likewise.
34572
34573 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34574
34575 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34576 link-libc-deps to empty as target-specific variable.
34577 * Makerules (link-libc-args): New variable.
34578 (libc-for-link): Likewise.
34579 (link-libc-deps): Likewise.
34580 (lib%.so): Depend on $(link-libc-deps). Link with
34581 $(link-libc-args).
34582 (build-module): Link with $(link-libc-args).
34583 (build-module-asneeded): Likewise.
34584 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34585 list of objects.
34586 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34587 target-specific variable.
34588 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34589 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34590 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34591 libc.
34592 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34593 libc and ld.so.
34594 ($(objpfx)libpcprofile.so): Likewise.
34595 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34596 libc_nonshared.a.
34597 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34598 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34599 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34600 $(link-libc-deps).
34601 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34602 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34603 * login/Makefile ($(objpfx)libutil.so): Likewise.
34604 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34605 * math/Makefile ($(objpfx)libm.so): Likewise.
34606 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34607 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34608 variable instead of depending directly on libc.
34609 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34610 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34611 $(link-libc-deps).
34612 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34613 libc.
34614 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34615 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34616 ($(objpfx)libanl.so): Likewise.
34617 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34618 ld.so.
34619 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34620 $(link-libc-deps).
34621 * sysdeps/i386/fpu/Makefile: Remove file.
34622 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34623 ($(objpfx)libm.so): Remove dependency on ld.so.
34624
34625 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34626
34627 [BZ # 15553]
34628 * nis/yp_xdr.c (XDRMAXNAME): Define.
34629 (XDRMAXRECORD): Define.
34630 (xdr_domainname): Use XDRMAXNAME.
34631 (xdr_mapname): Likewise.
34632 (xdr_peername): Likewise.
34633 (xdr_keydat): Use XDRMAXRECORD.
34634 (xdr_valdat): Likewise.
34635
34636 2013-05-30 Jeff Law <law@redhat.com>
34637
34638 [BZ #14256]
34639 * manual/errno.texi (ESTALE): Update to account for more than
34640 just NFS file systems.
34641 * sysdeps/gnu/errlist.c: Regenerated.
34642
34643 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34644
34645 [BZ #15465]
34646 * elf/Makefile (tests): Add tst-null-argv.
34647 (modules-names): Add tst-null-argv-lib.
34648 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34649 (tst-null-argv-ENV): Set environment for tst-null-argv.
34650 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34651 (RTLD_PROGNAME): New macro.
34652 * elf/tst-null-argv.c: New test case.
34653 * elf/tst-null-argv-lib.c: Library for test case.
34654 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34655 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34656 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34657 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34658 * elf/dl-init.c (call_init): Likewise.
34659 (_dl_init): Likewise.
34660 * elf/dl-load.c (print_search_path): Likewise.
34661 (_dl_map_object): Likewise.
34662 * elf/dl-lookup.c (do_lookup_x): Likewise.
34663 (add_dependency): Likewise.
34664 (_dl_lookup_symbol_x): Likewise.
34665 (_dl_debug_bindings): Likewise.
34666 * elf/dl-open.c (_dl_show_scope): Likewise.
34667 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34668 * elf/dl-version.c (match_symbol): Likewise.
34669 (_dl_check_map_versions): Likewise.
34670 * elf/rtld.c (dl_main): Likewise.
34671 (print_unresolved): Use RTLD_PROGNAME.
34672 (print_missing_version): Likewise.
34673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34674 (elf_machine_rela): Likewise.
34675 * sysdeps/powerpc/powerpc32/dl-machine.c
34676 (__process_machine_rela): Likewise.
34677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34678 Likewise.
34679 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34680 Likewise.
34681 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34682 Likewise.
34683 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34685 Likewise.
34686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34687 Likewise.
34688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34689
34690 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34691
34692 * po/be.po: Add descriptive title.
34693 * po/zh_CN.po: Likewise.
34694 * po/header.pot: Likewise.
34695
34696 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34697
34698 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34699 error message.
34700 (enlarge_archive): Likewise.
34701
34702 2013-05-28 Ben North <ben@redfrontdoor.org>
34703
34704 * manual/arith.texi (frexp): It is the magnitude of the return
34705 value which lies in [0.5, 1), not the return value itself.
34706
34707 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34708
34709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34710
34711 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34712
34713 * stdio-common/bug26.c (main): Correct fscanf template.
34714
34715 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34716 declare _dl_skip_args.
34717
34718 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34719 Don't declare.
34720
34721 * manual/platform.texi: Add missing @end deftypefun.
34722
34723 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34724
34725 [BZ #15529]
34726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34727 bit of mantissa of 2^16382.
34728 * math/libm-test.inc (hypot_test_data): Add more tests.
34729
34730 * math/libm-test.inc: Add drem and pow10 to list of tested
34731 functions.
34732 (pow10_test): New function.
34733 (drem_test): Likewise.
34734 (drem_test_tonearest): Likewise.
34735 (drem_test_towardzero): Likewise.
34736 (drem_test_downward): Likewise.
34737 (drem_test_upward): Likewise.
34738 (main): Call the new functions.
34739
34740 * math/libm-test.inc (finite_test_data): Remove.
34741 (finite_test): Run tests from isfinite_test_data.
34742 (gamma_test_data): Remove.
34743 (gamma_test): Run tests from lgamma_test_data.
34744 * sysdeps/i386/fpu/libm-test-ulps: Update.
34745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34746
34747 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34748
34749 * manual/platform.texi: Add PowerPC PPR function set documentation.
34750 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34751 implementation.
34752
34753 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34754
34755 * math/libm-test.inc (MAX_EXP): Define.
34756 (ULPDIFF): Define.
34757 (ulp): New function.
34758 (check_float_internal): Use ULPDIFF.
34759 (cpow_test): Disable failing test.
34760 (check_ulp): Test ulp() implemetnation.
34761 (main): Call check_ulp before starting tests.
34762
34763 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34764
34765 * math/gen-libm-test.pl (generate_testfile): Do not handle
34766 START_DATA and END_DATA.
34767 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34768 END_DATA.
34769 (acos_tonearest_test_data): Likewise.
34770 (acos_towardzero_test_data): Likewise.
34771 (acos_downward_test_data): Likewise.
34772 (acos_upward_test_data): Likewise.
34773 (acosh_test_data): Likewise.
34774 (asin_test_data): Likewise.
34775 (asin_tonearest_test_data): Likewise.
34776 (asin_towardzero_test_data): Likewise.
34777 (asin_downward_test_data): Likewise.
34778 (asin_upward_test_data): Likewise.
34779 (asinh_test_data): Likewise.
34780 (atan_test_data): Likewise.
34781 (atanh_test_data): Likewise.
34782 (atan2_test_data): Likewise.
34783 (cabs_test_data): Likewise.
34784 (cacos_test_data): Likewise.
34785 (cacosh_test_data): Likewise.
34786 (carg_test_data): Likewise.
34787 (casin_test_data): Likewise.
34788 (casinh_test_data): Likewise.
34789 (catan_test_data): Likewise.
34790 (catanh_test_data): Likewise.
34791 (cbrt_test_data): Likewise.
34792 (ccos_test_data): Likewise.
34793 (ccosh_test_data): Likewise.
34794 (ceil_test_data): Likewise.
34795 (cexp_test_data): Likewise.
34796 (cimag_test_data): Likewise.
34797 (clog_test_data): Likewise.
34798 (clog10_test_data): Likewise.
34799 (conj_test_data): Likewise.
34800 (copysign_test_data): Likewise.
34801 (cos_test_data): Likewise.
34802 (cos_tonearest_test_data): Likewise.
34803 (cos_towardzero_test_data): Likewise.
34804 (cos_downward_test_data): Likewise.
34805 (cos_upward_test_data): Likewise.
34806 (cosh_test_data): Likewise.
34807 (cosh_tonearest_test_data): Likewise.
34808 (cosh_towardzero_test_data): Likewise.
34809 (cosh_downward_test_data): Likewise.
34810 (cosh_upward_test_data): Likewise.
34811 (cpow_test_data): Likewise.
34812 (cproj_test_data): Likewise.
34813 (creal_test_data): Likewise.
34814 (csin_test_data): Likewise.
34815 (csinh_test_data): Likewise.
34816 (csqrt_test_data): Likewise.
34817 (ctan_test_data): Likewise.
34818 (ctan_tonearest_test_data): Likewise.
34819 (ctan_towardzero_test_data): Likewise.
34820 (ctan_downward_test_data): Likewise.
34821 (ctan_upward_test_data): Likewise.
34822 (ctanh_test_data): Likewise.
34823 (ctanh_tonearest_test_data): Likewise.
34824 (ctanh_towardzero_test_data): Likewise.
34825 (ctanh_downward_test_data): Likewise.
34826 (ctanh_upward_test_data): Likewise.
34827 (erf_test_data): Likewise.
34828 (erfc_test_data): Likewise.
34829 (exp_test_data): Likewise.
34830 (exp_tonearest_test_data): Likewise.
34831 (exp_towardzero_test_data): Likewise.
34832 (exp_downward_test_data): Likewise.
34833 (exp_upward_test_data): Likewise.
34834 (exp10_test_data): Likewise.
34835 (exp2_test_data): Likewise.
34836 (expm1_test_data): Likewise.
34837 (fabs_test_data): Likewise.
34838 (fdim_test_data): Likewise.
34839 (finite_test_data): Likewise.
34840 (floor_test_data): Likewise.
34841 (fma_test_data): Likewise.
34842 (fma_towardzero_test_data): Likewise.
34843 (fma_downward_test_data): Likewise.
34844 (fma_upward_test_data): Likewise.
34845 (fmax_test_data): Likewise.
34846 (fmin_test_data): Likewise.
34847 (fmod_test_data): Likewise.
34848 (fpclassify_test_data): Likewise.
34849 (frexp_test_data): Likewise.
34850 (gamma_test_data): Likewise.
34851 (hypot_test_data): Likewise.
34852 (ilogb_test_data): Likewise.
34853 (isfinite_test_data): Likewise.
34854 (isgreater_test_data): Likewise.
34855 (isgreaterequal_test_data): Likewise.
34856 (isinf_test_data): Likewise.
34857 (isless_test_data): Likewise.
34858 (islessequal_test_data): Likewise.
34859 (islessgreater_test_data): Likewise.
34860 (isnan_test_data): Likewise.
34861 (isnormal_test_data): Likewise.
34862 (issignaling_test_data): Likewise.
34863 (isunordered_test_data): Likewise.
34864 (j0_test_data): Likewise.
34865 (j1_test_data): Likewise.
34866 (jn_test_data): Likewise.
34867 (ldexp_test_data): Likewise.
34868 (lgamma_test_data): Likewise.
34869 (lrint_test_data): Likewise.
34870 (lrint_tonearest_test_data): Likewise.
34871 (lrint_towardzero_test_data): Likewise.
34872 (lrint_downward_test_data): Likewise.
34873 (lrint_upward_test_data): Likewise.
34874 (llrint_test_data): Likewise.
34875 (llrint_tonearest_test_data): Likewise.
34876 (llrint_towardzero_test_data): Likewise.
34877 (llrint_downward_test_data): Likewise.
34878 (llrint_upward_test_data): Likewise.
34879 (log_test_data): Likewise.
34880 (log10_test_data): Likewise.
34881 (log1p_test_data): Likewise.
34882 (log2_test_data): Likewise.
34883 (logb_test_data): Likewise.
34884 (logb_downward_test_data): Likewise.
34885 (lround_test_data): Likewise.
34886 (llround_test_data): Likewise.
34887 (modf_test_data): Likewise.
34888 (nearbyint_test_data): Likewise.
34889 (nextafter_test_data): Likewise.
34890 (nexttoward_test_data): Likewise.
34891 (pow_test_data): Likewise.
34892 (pow_tonearest_test_data): Likewise.
34893 (pow_towardzero_test_data): Likewise.
34894 (pow_downward_test_data): Likewise.
34895 (pow_upward_test_data): Likewise.
34896 (remainder_test_data): Likewise.
34897 (remainder_tonearest_test_data): Likewise.
34898 (remainder_towardzero_test_data): Likewise.
34899 (remainder_downward_test_data): Likewise.
34900 (remainder_upward_test_data): Likewise.
34901 (remquo_test_data): Likewise.
34902 (rint_test_data): Likewise.
34903 (rint_tonearest_test_data): Likewise.
34904 (rint_towardzero_test_data): Likewise.
34905 (rint_downward_test_data): Likewise.
34906 (rint_upward_test_data): Likewise.
34907 (round_test_data): Likewise.
34908 (scalb_test_data): Likewise.
34909 (scalbn_test_data): Likewise.
34910 (scalbln_test_data): Likewise.
34911 (signbit_test_data): Likewise.
34912 (sin_test_data): Likewise.
34913 (sin_tonearest_test_data): Likewise.
34914 (sin_towardzero_test_data): Likewise.
34915 (sin_downward_test_data): Likewise.
34916 (sin_upward_test_data): Likewise.
34917 (sincos_test_data): Likewise.
34918 (sinh_test_data): Likewise.
34919 (sinh_tonearest_test_data): Likewise.
34920 (sinh_towardzero_test_data): Likewise.
34921 (sinh_downward_test_data): Likewise.
34922 (sinh_upward_test_data): Likewise.
34923 (sqrt_test_data): Likewise.
34924 (tan_test_data): Likewise.
34925 (tan_tonearest_test_data): Likewise.
34926 (tan_towardzero_test_data): Likewise.
34927 (tan_downward_test_data): Likewise.
34928 (tan_upward_test_data): Likewise.
34929 (tanh_test_data): Likewise.
34930 (tgamma_test_data): Likewise.
34931 (trunc_test_data): Likewise.
34932 (y0_test_data): Likewise.
34933 (y1_test_data): Likewise.
34934 (yn_test_data): Likewise.
34935 (significand_test_data): Likewise.
34936
34937 * math/gen-libm-test.pl (@functions): Remove variable.
34938 (generate_testfile): Don't handle START and END lines.
34939 * math/libm-test.inc (START): New macro.
34940 (END): Likewise.
34941 (END_COMPLEX): Likewise.
34942 (acos_test): Use END macro without arguments.
34943 (acos_test_tonearest): Likewise.
34944 (acos_test_towardzero): Likewise.
34945 (acos_test_downward): Likewise.
34946 (acos_test_upward): Likewise.
34947 (acosh_test): Likewise.
34948 (asin_test): Likewise.
34949 (asin_test_tonearest): Likewise.
34950 (asin_test_towardzero): Likewise.
34951 (asin_test_downward): Likewise.
34952 (asin_test_upward): Likewise.
34953 (asinh_test): Likewise.
34954 (atan_test): Likewise.
34955 (atanh_test): Likewise.
34956 (atan2_test): Likewise.
34957 (cabs_test): Likewise.
34958 (cacos_test): Use END_COMPLEX macro without arguments.
34959 (cacosh_test): Likewise.
34960 (carg_test): Use END macro without arguments.
34961 (casin_test): Use END_COMPLEX macro without arguments.
34962 (casinh_test): Likewise.
34963 (catan_test): Likewise.
34964 (catanh_test): Likewise.
34965 (cbrt_test): Use END macro without arguments.
34966 (ccos_test): Use END_COMPLEX macro without arguments.
34967 (ccosh_test): Likewise.
34968 (ceil_test): Use END macro without arguments.
34969 (cexp_test): Use END_COMPLEX macro without arguments.
34970 (cimag_test): Use END macro without arguments.
34971 (clog_test): Use END_COMPLEX macro without arguments.
34972 (clog10_test): Likewise.
34973 (conj_test): Likewise.
34974 (copysign_test): Use END macro without arguments.
34975 (cos_test): Likewise.
34976 (cos_test_tonearest): Likewise.
34977 (cos_test_towardzero): Likewise.
34978 (cos_test_downward): Likewise.
34979 (cos_test_upward): Likewise.
34980 (cosh_test): Likewise.
34981 (cosh_test_tonearest): Likewise.
34982 (cosh_test_towardzero): Likewise.
34983 (cosh_test_downward): Likewise.
34984 (cosh_test_upward): Likewise.
34985 (cpow_test): Use END_COMPLEX macro without arguments.
34986 (cproj_test): Likewise.
34987 (creal_test): Use END macro without arguments.
34988 (csin_test): Use END_COMPLEX macro without arguments.
34989 (csinh_test): Likewise.
34990 (csqrt_test): Likewise.
34991 (ctan_test): Likewise.
34992 (ctan_test_tonearest): Likewise.
34993 (ctan_test_towardzero): Likewise.
34994 (ctan_test_downward): Likewise.
34995 (ctan_test_upward): Likewise.
34996 (ctanh_test): Likewise.
34997 (ctanh_test_tonearest): Likewise.
34998 (ctanh_test_towardzero): Likewise.
34999 (ctanh_test_downward): Likewise.
35000 (ctanh_test_upward): Likewise.
35001 (erf_test): Use END macro without arguments.
35002 (erfc_test): Likewise.
35003 (exp_test): Likewise.
35004 (exp_test_tonearest): Likewise.
35005 (exp_test_towardzero): Likewise.
35006 (exp_test_downward): Likewise.
35007 (exp_test_upward): Likewise.
35008 (exp10_test): Likewise.
35009 (exp2_test): Likewise.
35010 (expm1_test): Likewise.
35011 (fabs_test): Likewise.
35012 (fdim_test): Likewise.
35013 (finite_test): Likewise.
35014 (floor_test): Likewise.
35015 (fma_test): Likewise.
35016 (fma_test_towardzero): Likewise.
35017 (fma_test_downward): Likewise.
35018 (fma_test_upward): Likewise.
35019 (fmax_test): Likewise.
35020 (fmin_test): Likewise.
35021 (fmod_test): Likewise.
35022 (fpclassify_test): Likewise.
35023 (frexp_test): Likewise.
35024 (gamma_test): Likewise.
35025 (hypot_test): Likewise.
35026 (ilogb_test): Likewise.
35027 (isfinite_test): Likewise.
35028 (isgreater_test): Likewise.
35029 (isgreaterequal_test): Likewise.
35030 (isinf_test): Likewise.
35031 (isless_test): Likewise.
35032 (islessequal_test): Likewise.
35033 (islessgreater_test): Likewise.
35034 (isnan_test): Likewise.
35035 (isnormal_test): Likewise.
35036 (issignaling_test): Likewise.
35037 (isunordered_test): Likewise.
35038 (j0_test): Likewise.
35039 (j1_test): Likewise.
35040 (jn_test): Likewise.
35041 (ldexp_test): Likewise.
35042 (lgamma_test): Likewise.
35043 (lrint_test): Likewise.
35044 (lrint_test_tonearest): Likewise.
35045 (lrint_test_towardzero): Likewise.
35046 (lrint_test_downward): Likewise.
35047 (lrint_test_upward): Likewise.
35048 (llrint_test): Likewise.
35049 (llrint_test_tonearest): Likewise.
35050 (llrint_test_towardzero): Likewise.
35051 (llrint_test_downward): Likewise.
35052 (llrint_test_upward): Likewise.
35053 (log_test): Likewise.
35054 (log10_test): Likewise.
35055 (log1p_test): Likewise.
35056 (log2_test): Likewise.
35057 (logb_test): Likewise.
35058 (logb_test_downward): Likewise.
35059 (lround_test): Likewise.
35060 (llround_test): Likewise.
35061 (modf_test): Likewise.
35062 (nearbyint_test): Likewise.
35063 (nextafter_test): Likewise.
35064 (nexttoward_test): Likewise.
35065 (pow_test): Likewise.
35066 (pow_test_tonearest): Likewise.
35067 (pow_test_towardzero): Likewise.
35068 (pow_test_downward): Likewise.
35069 (pow_test_upward): Likewise.
35070 (remainder_test): Likewise.
35071 (remainder_test_tonearest): Likewise.
35072 (remainder_test_towardzero): Likewise.
35073 (remainder_test_downward): Likewise.
35074 (remainder_test_upward): Likewise.
35075 (remquo_test): Likewise.
35076 (rint_test): Likewise.
35077 (rint_test_tonearest): Likewise.
35078 (rint_test_towardzero): Likewise.
35079 (rint_test_downward): Likewise.
35080 (rint_test_upward): Likewise.
35081 (round_test): Likewise.
35082 (scalb_test): Likewise.
35083 (scalbn_test): Likewise.
35084 (scalbln_test): Likewise.
35085 (signbit_test): Likewise.
35086 (sin_test): Likewise.
35087 (sin_test_tonearest): Likewise.
35088 (sin_test_towardzero): Likewise.
35089 (sin_test_downward): Likewise.
35090 (sin_test_upward): Likewise.
35091 (sincos_test): Likewise.
35092 (sinh_test): Likewise.
35093 (sinh_test_tonearest): Likewise.
35094 (sinh_test_towardzero): Likewise.
35095 (sinh_test_downward): Likewise.
35096 (sinh_test_upward): Likewise.
35097 (sqrt_test): Likewise.
35098 (tan_test): Likewise.
35099 (tan_test_tonearest): Likewise.
35100 (tan_test_towardzero): Likewise.
35101 (tan_test_downward): Likewise.
35102 (tan_test_upward): Likewise.
35103 (tanh_test): Likewise.
35104 (tgamma_test): Likewise.
35105 (trunc_test): Likewise.
35106 (y0_test): Likewise.
35107 (y1_test): Likewise.
35108 (yn_test): Likewise.
35109 (significand_test): Likewise.
35110
35111 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35112
35113 [BZ #15381]
35114 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35115
35116 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35117
35118 [BZ #14894]
35119 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35120 __ppc_mdoio and __ppc_mdoom.
35121 * manual/platform.texi: Document new functions __ppc_yield,
35122 __ppc_mdoio and __ppc_mdoom.
35123
35124 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35125
35126 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35127 (main): Mention "tls" pseudo-hwcap is legacy.
35128 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35129
35130 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35131
35132 * math/gen-libm-test.pl (parse_args): Output only string of
35133 arguments as text for test name, not full call or descriptions of
35134 tests for extra outputs.
35135 (generate_testfile): Do not pass function name to parse_args.
35136 Generate this_func variable from START.
35137 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35138 field to arg_str.
35139 (struct test_ff_f_data): Likewise.
35140 (test_ff_f_data_nexttoward): Likewise.
35141 (struct test_fi_f_data): Likewise.
35142 (struct test_fl_f_data): Likewise.
35143 (struct test_if_f_data): Likewise.
35144 (struct test_fff_f_data): Likewise.
35145 (struct test_c_f_data): Likewise.
35146 (struct test_f_f1_data): Likewise. Remove field extra_name.
35147 (struct test_fF_f1_data): Likewise.
35148 (struct test_ffI_f1_data): Likewise.
35149 (struct test_c_c_data): Rename test_name field to arg_str.
35150 (struct test_cc_c_data): Likewise.
35151 (struct test_f_i_data): Likewise.
35152 (struct test_ff_i_data): Likewise.
35153 (struct test_f_l_data): Likewise.
35154 (struct test_f_L_data): Likewise.
35155 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35156 and extra2_name.
35157 (COMMON_TEST_SETUP): New macro.
35158 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35159 (COMMON_TEST_CLEANUP): Likewise.
35160 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35161 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35162 macros.
35163 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35164 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35165 macros.
35166 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35167 (RUN_TEST_fff_f): Take argument string. Call new setup and
35168 cleanup macros.
35169 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35170 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35171 macros.
35172 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35173 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35174 macros.
35175 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35176 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35177 cleanup macros.
35178 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35179 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35180 cleanup macros.
35181 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35182 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35183 cleanup macros.
35184 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35185 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35186 macros.
35187 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35188 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35189 macros.
35190 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35191 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35192 macros.
35193 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35194 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35195 cleanup macros.
35196 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35197 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35198 cleanup macros.
35199 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35200 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35201 macros.
35202 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35203 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35204 cleanup macros.
35205 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35206 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35207 macros.
35208 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35209 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35210 macros.
35211 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35212 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35213 cleanup macros.
35214 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35215
35216 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35217
35218 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35219 to _sifields.sigfault.
35220 (si_addr_lsb): Define new macro.
35221 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35222 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35223 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35224
35225 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35226
35227 [BZ #15441]
35228 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35229 returns -1.
35230 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35231 null return -1.
35232 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35233 loading the domain.
35234
35235 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35236
35237 * math/gen-libm-test.pl (parse_args): Do not include expected
35238 result in test name.
35239 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35240 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35241 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35242 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35243 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35245
35246 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35247
35248 * benchtests/Makefile: Sort function entries.
35249
35250 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35251 tanh, asinh, acosh, atanh.
35252 * benchtests/acos-inputs: New file.
35253 * benchtests/acosh-inputs: New file.
35254 * benchtests/asin-inputs: New file.
35255 * benchtests/asinh-inputs: New file.
35256 * benchtests/atanh-inputs: New file.
35257 * benchtests/cosh-inputs: New file.
35258 * benchtests/log-inputs: New file.
35259 * benchtests/sinh-inputs: New file.
35260 * benchtests/tanh-inputs: New file.
35261
35262 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35263
35264 [BZ #15339]
35265 * posix/tst-getaddrinfo4.c: New test.
35266 * posix/Makefile (tests): Add it.
35267
35268 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35269
35270 [BZ #15339]
35271 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35272 when no services were used.
35273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35274 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35275
35276 2013-05-21 Andreas Schwab <schwab@suse.de>
35277
35278 [BZ #15014]
35279 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35280 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35281 successful.
35282 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35283 redundant variable declarations and reallocation of buffer when
35284 parsing as IPv6 address. Always set NSS status when called from
35285 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35286 buffer too small. Correct computation of needed size.
35287 * nss/Makefile (tests): Add test-digits-dots.
35288 * nss/test-digits-dots.c: New test.
35289
35290 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35291
35292 * benchtests/Makefile: Remove instructions for adding
35293 benchmark tests.
35294 * benchtests/README: New file to explain how to execute and
35295 enhance the benchmark tests.
35296
35297 2013-05-21 Andreas Schwab <schwab@suse.de>
35298
35299 [BZ #15493]
35300 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35301 * setjmp/tst-sigsetjmp.c: New test.
35302
35303 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35304
35305 * sysdeps/x86_64/memset.S (memset): New implementation.
35306 (__bzero): Likewise.
35307 (__memset_tail): New function.
35308
35309 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35310
35311 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35312 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35313 __memcpy_sse2_unaligned ifunc selection.
35314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35315 Add memcpy-sse2-unaligned.S.
35316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35317 Add: __memcpy_sse2_unaligned.
35318
35319 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35320
35321 [BZ #15490]
35322 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35323 math_force_eval before restoring floating-point envrionment.
35324 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35326 Likewise.
35327 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35328 <math_private.h>.
35329 (__nearbyintl): Use math_force_eval before restoring
35330 floating-point environment.
35331 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35332
35333 * math/gen-libm-test.pl (special_functions): Remove.
35334 (parse_args): Don't handle TEST_extra. Handle functions with no
35335 return value.
35336 * math/libm-test.inc (struct test_sincos_data): Replace with
35337 struct test_fFF_11_data.
35338 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35339 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35340 (sincos_test_data): Change element type to struct
35341 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35342 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35343 RUN_TEST_LOOP_sincos.
35344 * math/README.libm-test: Don't mention special handling of
35345 individual functions.
35346 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35348 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35349 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35350 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35352
35353 * math/gen-libm-test.pl (get_variable): Remove function.
35354 (parse_args): Don't show pointer parameters to call in test
35355 names. Use "extra output N" in test names for extra outputs
35356 rather than naming variables.
35357
35358 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35359
35360 [BZ #15488]
35361 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35362 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35363 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35364 double tests.
35365 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35366 disable.
35367 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35368 check_long_double.
35369
35370 * math/gen-libm-test.pl (@tests): Remove variable.
35371 ($count): Likewise.
35372 (new_test): Remove function.
35373 (show_exceptions): New function.
35374 (special_functions): Use show_exceptions instead of new_test.
35375 (parse_args): Likewise.
35376 (generate_testfile): Pass only function name in generated call to
35377 print_max_error or print_complex_max_error.
35378 (get_ulps): Do not handle complex tests specially.
35379 (output_test): Rename to ...
35380 (get_all_ulps_for_test): ... this. Return a string rather than
35381 printing to a file. Require ulps to be present.
35382 (output_ulps): Generate arrays rather than #defines.
35383 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35384 (struct ulp_data): New type.
35385 (BUILD_COMPLEX_ULP): Remove macro.
35386 (compare_ulp_data): New function.
35387 (find_ulps): Likewise.
35388 (find_test_ulps): Likewise.
35389 (find_function_ulps): Likewise.
35390 (find_complex_function_ulps): Likewise.
35391 (print_max_error): Determine allowed ulps using
35392 find_function_ulps.
35393 (print_complex_max_error): Determine allowed ulps using
35394 find_complex_function_ulps.
35395 (check_float_internal): Determine max ulps using find_test_ulps.
35396 (check_float): Do not take max_ulp parameter. Update call to
35397 check_float_internal.
35398 (check_complex): Likewise.
35399 (check_int): Do not take max_ulp parameter.
35400 (check_long): Likewise.
35401 (check_bool): Likewise.
35402 (check_longlong): Likewise.
35403 (struct test_f_f_data): Remove max_ulp field.
35404 (struct test_ff_f_data): Likewise.
35405 (struct test_ff_f_data_nexttoward): Likewise.
35406 (struct test_fi_f_data): Likewise.
35407 (struct test_fl_f_data): Likewise.
35408 (struct test_if_f_data): Likewise.
35409 (struct test_fff_f_data): Likewise.
35410 (struct test_c_f_data): Likewise.
35411 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35412 (struct test_fF_f1_data): Likewise.
35413 (struct test_ffI_f1_data): Likewise.
35414 (struct test_c_c_data): Remove max_ulp field.
35415 (struct test_cc_c_data): Likewise.
35416 (struct test_f_i_data): Likewise.
35417 (struct test_ff_i_data): Likewise.
35418 (struct test_f_l_data): Likewise.
35419 (struct test_f_L_data): Likewise.
35420 (struct test_sincos_data): Likewise.
35421 (RUN_TEST_f_f): Do not handle ulps.
35422 (RUN_TEST_LOOP_f_f): Likewise.
35423 (RUN_TEST_2_f): Likewise.
35424 (RUN_TEST_LOOP_2_f): Likewise.
35425 (RUN_TEST_fff_f): Likewise.
35426 (RUN_TEST_LOOP_fff_f): Likewise.
35427 (RUN_TEST_c_f): Likewise.
35428 (RUN_TEST_LOOP_c_f): Likewise.
35429 (RUN_TEST_f_f1): Likewise.
35430 (RUN_TEST_LOOP_f_f1): Likewise.
35431 (RUN_TEST_fF_f1): Likewise.
35432 (RUN_TEST_LOOP_fF_f1): Likewise.
35433 (RUN_TEST_fI_f1): Likewise.
35434 (RUN_TEST_LOOP_fI_f1): Likewise.
35435 (RUN_TEST_ffI_f1): Likewise.
35436 (RUN_TEST_LOOP_ffI_f1): Likewise.
35437 (RUN_TEST_c_c): Likewise.
35438 (RUN_TEST_LOOP_c_c): Likewise.
35439 (RUN_TEST_cc_c): Likewise.
35440 (RUN_TEST_LOOP_cc_c): Likewise.
35441 (RUN_TEST_f_i): Likewise.
35442 (RUN_TEST_LOOP_f_i): Likewise.
35443 (RUN_TEST_f_i_tg): Likewise.
35444 (RUN_TEST_LOOP_f_i_tg): Likewise.
35445 (RUN_TEST_ff_i_tg): Likewise.
35446 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35447 (RUN_TEST_f_b): Likewise.
35448 (RUN_TEST_LOOP_f_b): Likewise.
35449 (RUN_TEST_f_b_tg): Likewise.
35450 (RUN_TEST_LOOP_f_b_tg): Likewise.
35451 (RUN_TEST_f_l): Likewise.
35452 (RUN_TEST_LOOP_f_l): Likewise.
35453 (RUN_TEST_f_L): Likewise.
35454 (RUN_TEST_LOOP_f_L): Likewise.
35455 (RUN_TEST_sincos): Likewise.
35456 (RUN_TEST_LOOP_sincos): Likewise.
35457
35458 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35459
35460 [BZ #15480]
35461 [BZ #15485]
35462 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35463 main case of finite arguments, set rounding mode to FE_TONEAREST
35464 and discard exceptions.
35465 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35466 exceptions.
35467 (remainder_tonearest_test_data): New variable.
35468 (remainder_test_tonearest): New function.
35469 (remainder_towardzero_test_data): New variable.
35470 (remainder_test_towardzero): New function.
35471 (remainder_downward_test_data): New variable.
35472 (remainder_test_downward): New function.
35473 (remainder_upward_test_data): New variable.
35474 (remainder_test_upward): New function.
35475 (main): Call the new test functions.
35476
35477 * math/libm-test.inc (struct test_f_f1_data): Remove field
35478 extra_init.
35479 (struct test_fF_f1_data): Likewise.
35480 (struct test_ffI_f1_data): Likewise.
35481 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35482 based on value of EXTRA_EXPECTED.
35483 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35484 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35485 EXTRA_VAR based on value of EXTRA_EXPECTED.
35486 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35487 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35488 EXTRA_VAR based on value of EXTRA_EXPECTED.
35489 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35490 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35491 EXTRA_VAR based on value of EXTRA_EXPECTED.
35492 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35493 * math/gen-libm-test.pl (parse_args): Don't output initializers
35494 for extra output values.
35495
35496 * math/libm-test.inc (check_int): Expect result to be exactly
35497 equal to expected value and do not handle ulps.
35498 (check_long): Likewise.
35499 (check_longlong): Likewise.
35500
35501 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35502 exceptions.
35503 (cimag_test_data): Likewise.
35504 (conj_test_data): Likewise.
35505 (copysign_test_data): Likewise.
35506 (cproj_test_data): Likewise.
35507 (creal_test_data): Likewise.
35508 (fabs_test_data): Likewise.
35509 (fdim_test_data): Likewise.
35510 (finite_test_data): Likewise.
35511 (floor_test_data): Likewise.
35512 (fmax_test_data): Likewise.
35513 (fmin_test_data): Likewise.
35514 (fmod_test_data): Likewise.
35515 (fpclassify_test_data): Likewise.
35516 (frexp_test_data): Likewise.
35517 (ilogb_test_data): Likewise.
35518 (isfinite_test_data): Likewise.
35519 (isgreater_test_data): Likewise.
35520 (isgreaterequal_test_data): Likewise.
35521 (isinf_test_data): Likewise.
35522 (isless_test_data): Likewise.
35523 (islessequal_test_data): Likewise.
35524 (islessgreater_test_data): Likewise.
35525 (isnan_test_data): Likewise.
35526 (isnormal_test_data): Likewise.
35527 (issignaling_test_data): Likewise.
35528 (isunordered_test_data): Likewise.
35529 (ldexp_test_data): Likewise.
35530 (lrint_test_data): Likewise.
35531 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35532 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35533 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35534 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35535 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35536 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35537 test input.
35538 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35539 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35540 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35541 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35542 that test input.
35543 (lrint_downward_test_data): Test for "inexact" exceptions.
35544 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35545 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35546 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35547 test input.
35548 (lrint_upward_test_data): Test for "inexact" exceptions.
35549 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35550 test input.
35551 (llrint_test_data): Test for "inexact" exceptions.
35552 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35553 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35554 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35555 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35556 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35557 (llrint_downward_test_data): Test for "inexact" exceptions.
35558 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35559 (llrint_upward_test_data): Test for "inexact" exceptions.
35560 (logb_test_data): Likewise.
35561 (logb_downward_test_data): Likewise.
35562 (nextafter_test_data): Likewise.
35563 (nexttoward_test_data): Likewise.
35564 (remainder_test_data): Likewise.
35565 (remquo_test_data): Likewise.
35566 (scalbn_test_data): Likewise.
35567 (scalbln_test_data): Likewise.
35568 (signbit_test_data): Likewise.
35569 (sqrt_test_data): Likewise.
35570 (significand_test_data): Likewise.
35571
35572 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35573
35574 [BZ #15424]
35575 * benchtests/bench-modf.c (struct args): Mark arg0 as
35576 volatile.
35577 * scripts/bench.pl: Mark members of struct args as volatile.
35578
35579 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35580
35581 [BZ # 15497]
35582 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35583 negative infinity on POWER6 or lower.
35584 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35585
35586 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35587
35588 [BZ #15442]
35589 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35590 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35591 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35592 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35593 (_FP_SETQNAN): New macro.
35594 (_FP_SETQNAN_SEMIRAW): Likewise.
35595 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35596 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35597 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35598 (FP_EXTEND): Use _FP_FRAC_SNANP.
35599 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35600 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35601 into account.
35602 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35603 New macro.
35604 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35605 Likewise.
35606
35607 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35608
35609 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35610 with DIVIDE_BY_ZERO_EXCEPTION.
35611 (gamma_test_data): Likewise.
35612 (lgamma_test_data): Likewise.
35613 (log_test_data): Likewise.
35614 (log10_test_data): Likewise.
35615 (log2_test_data): Likewise.
35616 (tgamma_test_data): Likewise.
35617
35618 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35619 (acos_test_tonearest): Likewise.
35620 (acos_test_towardzero): Likewise.
35621 (acos_test_downward): Likewise.
35622 (acos_test_upward): Likewise.
35623 (acosh_test): Likewise.
35624 (asin_test): Likewise.
35625 (asin_test_tonearest): Likewise.
35626 (asin_test_towardzero): Likewise.
35627 (asin_test_downward): Likewise.
35628 (asin_test_upward): Likewise.
35629 (asinh_test): Likewise.
35630 (atan_test): Likewise.
35631 (atanh_test): Likewise.
35632 (atan2_test): Likewise.
35633 (cabs_test): Likewise.
35634 (cacos_test): Likewise.
35635 (cacosh_test): Likewise.
35636 (casin_test): Likewise.
35637 (casinh_test): Likewise.
35638 (catan_test): Likewise.
35639 (catanh_test): Likewise.
35640 (cbrt_test): Likewise.
35641 (ccos_test): Likewise.
35642 (ccosh_test): Likewise.
35643 (cexp_test): Likewise.
35644 (clog_test): Likewise.
35645 (clog10_test): Likewise.
35646 (cos_test): Likewise.
35647 (cos_test_tonearest): Likewise.
35648 (cos_test_towardzero): Likewise.
35649 (cos_test_downward): Likewise.
35650 (cos_test_upward): Likewise.
35651 (cosh_test): Likewise.
35652 (cosh_test_tonearest): Likewise.
35653 (cosh_test_towardzero): Likewise.
35654 (cosh_test_downward): Likewise.
35655 (cosh_test_upward): Likewise.
35656 (cpow_test): Likewise.
35657 (csin_test): Likewise.
35658 (csinh_test): Likewise.
35659 (csqrt_test): Likewise.
35660 (ctan_test): Likewise.
35661 (ctan_test_tonearest): Likewise.
35662 (ctan_test_towardzero): Likewise.
35663 (ctan_test_downward): Likewise.
35664 (ctan_test_upward): Likewise.
35665 (ctanh_test): Likewise.
35666 (ctanh_test_tonearest): Likewise.
35667 (ctanh_test_towardzero): Likewise.
35668 (ctanh_test_downward): Likewise.
35669 (ctanh_test_upward): Likewise.
35670 (erf_test): Likewise.
35671 (erfc_test): Likewise.
35672 (exp_test): Likewise.
35673 (exp_test_tonearest): Likewise.
35674 (exp_test_towardzero): Likewise.
35675 (exp_test_downward): Likewise.
35676 (exp_test_upward): Likewise.
35677 (exp10_test): Likewise.
35678 (exp2_test): Likewise.
35679 (expm1_test): Likewise.
35680 (fmod_test): Likewise.
35681 (gamma_test): Likewise.
35682 (hypot_test): Likewise.
35683 (j0_test): Likewise.
35684 (j1_test): Likewise.
35685 (jn_test): Likewise.
35686 (lgamma_test): Likewise.
35687 (log_test): Likewise.
35688 (log10_test): Likewise.
35689 (log1p_test): Likewise.
35690 (log2_test): Likewise.
35691 (logb_test_downward): Likewise.
35692 (pow_test): Likewise.
35693 (pow_test_tonearest): Likewise.
35694 (pow_test_towardzero): Likewise.
35695 (pow_test_downward): Likewise.
35696 (pow_test_upward): Likewise.
35697 (remainder_test): Likewise.
35698 (remquo_test): Likewise.
35699 (sin_test): Likewise.
35700 (sin_test_tonearest): Likewise.
35701 (sin_test_towardzero): Likewise.
35702 (sin_test_downward): Likewise.
35703 (sin_test_upward): Likewise.
35704 (sincos_test): Likewise.
35705 (sinh_test): Likewise.
35706 (sinh_test_tonearest): Likewise.
35707 (sinh_test_towardzero): Likewise.
35708 (sinh_test_downward): Likewise.
35709 (sinh_test_upward): Likewise.
35710 (sqrt_test): Likewise.
35711 (tan_test): Likewise.
35712 (tan_test_tonearest): Likewise.
35713 (tan_test_towardzero): Likewise.
35714 (tan_test_downward): Likewise.
35715 (tan_test_upward): Likewise.
35716 (tanh_test): Likewise.
35717 (tgamma_test): Likewise.
35718 (y0_test): Likewise.
35719 (y1_test): Likewise.
35720 (yn_test): Likewise.
35721
35722 * math/gen-libm-test.pl (adjust_arg): Remove function.
35723 (special_function): Remove argument $in_func. Only handle
35724 generating output for tables of tests, not inside functions.
35725 (parse_args): Likewise.
35726 (generate_testfile): Remove variable $in_func. Update call to
35727 parse_args.
35728 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35729 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35730 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35731 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35732 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35733 (MAX_VALUE_INIT): Rename macro to max_value.
35734 (MIN_VALUE_INIT): Rename macro to min_value.
35735 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35736 (plus_zero): Remove variable.
35737 (minus_zero): Likewise.
35738 (plus_infty): Likewise.
35739 (minus_infty): Likewise.
35740 (qnan_value): Likewise.
35741 (max_value): Likewise.
35742 (min_value): Likewise.
35743 (min_subnorm_value): Likewise.
35744
35745 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35746
35747 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35748 uint64_t or uint32_t usage.
35749 * crypt/sha256-block.c: Likewise.
35750 * crypt/sha256-crypt.c: Likewise.
35751 * crypt/sha256.c: Likewise.
35752 * crypt/sha512-block.c: Likewise.
35753 * crypt/sha512-crypt.c: Likewise.
35754 * crypt/sha512.c: Likewise.
35755 * debug/backtrace-tst.c: Likewise.
35756 * debug/pcprofiledump.c: Likewise.
35757 * elf/cache.c: Likewise.
35758 * elf/dl-cache.c: Likewise.
35759 * elf/dl-misc.c: Likewise.
35760 * elf/dl-profile.c: Likewise.
35761 * elf/dl-support.c: Likewise.
35762 * elf/ldconfig.c: Likewise.
35763 * elf/sprof.c: Likewise.
35764 * iconv/dummy-repertoire.c: Likewise.
35765 * iconv/iconv_charmap.c: Likewise.
35766 * iconv/skeleton.c: Likewise.
35767 * iconvdata/8bit-generic.c: Likewise.
35768 * iconvdata/cp737.h: Likewise.
35769 * iconvdata/cp775.h: Likewise.
35770 * iconvdata/ibm1008.h: Likewise.
35771 * iconvdata/ibm1025.h: Likewise.
35772 * iconvdata/ibm1046.h: Likewise.
35773 * iconvdata/ibm1097.h: Likewise.
35774 * iconvdata/ibm1112.h: Likewise.
35775 * iconvdata/ibm1122.h: Likewise.
35776 * iconvdata/ibm1123.h: Likewise.
35777 * iconvdata/ibm1124.h: Likewise.
35778 * iconvdata/ibm1129.h: Likewise.
35779 * iconvdata/ibm1130.h: Likewise.
35780 * iconvdata/ibm1132.h: Likewise.
35781 * iconvdata/ibm1133.h: Likewise.
35782 * iconvdata/ibm1137.h: Likewise.
35783 * iconvdata/ibm1140.h: Likewise.
35784 * iconvdata/ibm1141.h: Likewise.
35785 * iconvdata/ibm1142.h: Likewise.
35786 * iconvdata/ibm1143.h: Likewise.
35787 * iconvdata/ibm1144.h: Likewise.
35788 * iconvdata/ibm1145.h: Likewise.
35789 * iconvdata/ibm1146.h: Likewise.
35790 * iconvdata/ibm1147.h: Likewise.
35791 * iconvdata/ibm1148.h: Likewise.
35792 * iconvdata/ibm1149.h: Likewise.
35793 * iconvdata/ibm1153.h: Likewise.
35794 * iconvdata/ibm1154.h: Likewise.
35795 * iconvdata/ibm1155.h: Likewise.
35796 * iconvdata/ibm1156.h: Likewise.
35797 * iconvdata/ibm1157.h: Likewise.
35798 * iconvdata/ibm1158.h: Likewise.
35799 * iconvdata/ibm1160.h: Likewise.
35800 * iconvdata/ibm1161.h: Likewise.
35801 * iconvdata/ibm1162.h: Likewise.
35802 * iconvdata/ibm1163.h: Likewise.
35803 * iconvdata/ibm1164.h: Likewise.
35804 * iconvdata/ibm1166.h: Likewise.
35805 * iconvdata/ibm1167.h: Likewise.
35806 * iconvdata/ibm12712.h: Likewise.
35807 * iconvdata/ibm1390.h: Likewise.
35808 * iconvdata/ibm1399.h: Likewise.
35809 * iconvdata/ibm16804.h: Likewise.
35810 * iconvdata/ibm4517.h: Likewise.
35811 * iconvdata/ibm4899.h: Likewise.
35812 * iconvdata/ibm4909.h: Likewise.
35813 * iconvdata/ibm4971.h: Likewise.
35814 * iconvdata/ibm5347.h: Likewise.
35815 * iconvdata/ibm803.h: Likewise.
35816 * iconvdata/ibm856.h: Likewise.
35817 * iconvdata/ibm901.h: Likewise.
35818 * iconvdata/ibm902.h: Likewise.
35819 * iconvdata/ibm9030.h: Likewise.
35820 * iconvdata/ibm9066.h: Likewise.
35821 * iconvdata/ibm921.h: Likewise.
35822 * iconvdata/ibm922.h: Likewise.
35823 * iconvdata/ibm9448.h: Likewise.
35824 * iconvdata/isiri-3342.h: Likewise.
35825 * iconvdata/jis0201.h: Likewise.
35826 * include/link.h: Likewise.
35827 * include/netdb.h: Likewise.
35828 * inet/check_native.c: Likewise.
35829 * inet/check_pf.c: Likewise.
35830 * inet/getipv4sourcefilter.c: Likewise.
35831 * inet/getnameinfo.c: Likewise.
35832 * inet/getsourcefilter.c: Likewise.
35833 * inet/htonl.c: Likewise.
35834 * inet/setipv4sourcefilter.c: Likewise.
35835 * inet/setsourcefilter.c: Likewise.
35836 * inet/test-inet6_opt.c: Likewise.
35837 * inet/tst-network.c: Likewise.
35838 * locale/C-collate.c: Likewise.
35839 * locale/C-ctype.c: Likewise.
35840 * locale/C-time.c: Likewise.
35841 * locale/C-translit.h: Likewise.
35842 * locale/loadarchive.c: Likewise.
35843 * locale/programs/3level.h: Likewise.
35844 * locale/programs/charmap.c: Likewise.
35845 * locale/programs/charmap.h: Likewise.
35846 * locale/programs/ld-address.c: Likewise.
35847 * locale/programs/ld-collate.c: Likewise.
35848 * locale/programs/ld-ctype.c: Likewise.
35849 * locale/programs/ld-identification.c: Likewise.
35850 * locale/programs/ld-measurement.c: Likewise.
35851 * locale/programs/ld-messages.c: Likewise.
35852 * locale/programs/ld-monetary.c: Likewise.
35853 * locale/programs/ld-name.c: Likewise.
35854 * locale/programs/ld-numeric.c: Likewise.
35855 * locale/programs/ld-paper.c: Likewise.
35856 * locale/programs/ld-telephone.c: Likewise.
35857 * locale/programs/ld-time.c: Likewise.
35858 * locale/programs/linereader.c: Likewise.
35859 * locale/programs/locale.c: Likewise.
35860 * locale/programs/locarchive.c: Likewise.
35861 * locale/programs/locfile.h: Likewise.
35862 * locale/programs/repertoire.c: Likewise.
35863 * locale/programs/simple-hash.c: Likewise.
35864 * locale/programs/simple-hash.h: Likewise.
35865 * malloc/memusage.c: Likewise.
35866 * malloc/memusagestat.c: Likewise.
35867 * nis/nis_defaults.c: Likewise.
35868 * nis/nis_hash.c: Likewise.
35869 * nis/nis_print.c: Likewise.
35870 * nis/nis_xdr.c: Likewise.
35871 * nscd/connections.c: Likewise.
35872 * nscd/hstcache.c: Likewise.
35873 * nscd/nscd_gethst_r.c: Likewise.
35874 * nscd/nscd_getserv_r.c: Likewise.
35875 * nscd/nscd_helper.c: Likewise.
35876 * nscd/servicescache.c: Likewise.
35877 * nss/makedb.c: Likewise.
35878 * nss/nss_db/db-XXX.c: Likewise.
35879 * nss/nss_db/db-initgroups.c: Likewise.
35880 * nss/nss_db/db-netgrp.c: Likewise.
35881 * nss/nss_files/files-network.c: Likewise.
35882 * nss/nss_files/files-parse.c: Likewise.
35883 * posix/bug-regex5.c: Likewise.
35884 * posix/fnmatch_loop.c: Likewise.
35885 * posix/regcomp.c: Likewise.
35886 * posix/regexec.c: Likewise.
35887 * posix/tst-rfc3484-2.c: Likewise.
35888 * posix/tst-rfc3484-3.c: Likewise.
35889 * posix/tst-rfc3484.c: Likewise.
35890 * resolv/nss_dns/dns-canon.c: Likewise.
35891 * resolv/nss_dns/dns-network.c: Likewise.
35892 * resolv/res_init.c: Likewise.
35893 * resolv/res_mkquery.c: Likewise.
35894 * resolv/tst-aton.c: Likewise.
35895 * stdlib/cxa_atexit.c: Likewise.
35896 * stdlib/cxa_finalize.c: Likewise.
35897 * stdlib/gen-fpioconst.c: Likewise.
35898 * stdlib/strtol_l.c: Likewise.
35899 * string/tst-endian.c: Likewise.
35900 * sunrpc/auth_des.c: Likewise.
35901 * sunrpc/clnt_udp.c: Likewise.
35902 * sunrpc/rtime.c: Likewise.
35903 * sunrpc/svcauth_des.c: Likewise.
35904 * sunrpc/xdr.c: Likewise.
35905 * sunrpc/xdr_intXX_t.c: Likewise.
35906 * sunrpc/xdr_rec.c: Likewise.
35907 * sysdeps/generic/ldconfig.h: Likewise.
35908 * sysdeps/generic/ldsodefs.h: Likewise.
35909 * sysdeps/generic/memusage.h: Likewise.
35910 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35912 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35916 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35918 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35920 * sysdeps/posix/getaddrinfo.c: Likewise.
35921 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35922 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35923 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35924 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35925 * sysdeps/powerpc/test-gettimebase.c: Likewise.
35926 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35927 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35928 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35929 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35930 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35931 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35932 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35933 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35934 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35935 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35936 * sysdeps/x86_64/dl-tls.h: Likewise.
35937 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35938 * time/alt_digit.c: Likewise.
35939 * time/era.c: Likewise.
35940 * wcsmbs/tst-c16c32-1.c: Likewise.
35941
35942 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35943
35944 * math/libm-test.inc (struct test_sincos_data): New type.
35945 (RUN_TEST_LOOP_sincos): New macro.
35946 (sincos_test_data): New variable.
35947 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35948
35949 2013-05-16 Richard Henderson <rth@redhat.com>
35950
35951 * math/atest-exp2.c (LIMB64): New macro.
35952 (CONSTSZ): New macro.
35953 (mp_exp1, mp_exp_m1, mp_log2): New variables.
35954 (hexdig): Move ...
35955 (print_mpn_fp): ... to function scope.
35956 (read_mpn_hex): Remove.
35957 (get_log2): Remove.
35958 (exp2_mpn): Use mp_log2.
35959 (main): Use mp_exp1.
35960
35961 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35962
35963 * math/libm-test.inc: Remove comment about not testing "inexact"
35964 exceptions.
35965 (INEXACT_EXCEPTION): New macro.
35966 (NO_INEXACT_EXCEPTION): Likewise.
35967 (INVALID_EXCEPTION_OK): Update value.
35968 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35969 (OVERFLOW_EXCEPTION_OK): Likewise.
35970 (UNDERFLOW_EXCEPTION_OK): Likewise.
35971 (IGNORE_ZERO_INF_SIGN): Likewise.
35972 (ERRNO_UNCHANGED): Likewise.
35973 (ERRNO_EDOM): Likewise.
35974 (ERRNO_ERANGE): Likewise.
35975 (test_exceptions): Handle testing "inexact" exceptions.
35976 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35977 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35978 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35979 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35980 INEXACT_EXCEPTION.
35981 (rint_towardzero_test_data): Likewise.
35982 (rint_downward_test_data): Likewise.
35983 (rint_upward_test_data): Likewise.
35984
35985 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35986 with OVERFLOW_EXCEPTION.
35987 (exp10_test_data): Likewise.
35988 (exp2_test_data): Likewise.
35989 (expm1_test_data): Likewise.
35990 (lgamma_test_data): Likewise.
35991 (pow_test_data): Likewise.
35992 (tgamma_test_data): Likewise.
35993 (yn_test_data): Remove duplicate test of overflow.
35994
35995 * math/libm-test.inc (struct test_cc_c_data): New type.
35996 (RUN_TEST_LOOP_cc_c): New macro.
35997 (cpow_test_data): New variable.
35998 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35999
36000 * math/libm-test.inc (struct test_f_L_data): New type.
36001 (RUN_TEST_LOOP_f_L): New macro.
36002 (llrint_test_data): New variable.
36003 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36004 (llrint_tonearest_test_data): New variable.
36005 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36006 (llrint_towardzero_test_data): New variable.
36007 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36008 (llrint_downward_test_data): New variable.
36009 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36010 (llrint_upward_test_data): New variable.
36011 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36012 (llround_test_data): New variable.
36013 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36014
36015 2013-05-13 Peter Collingbourne <pcc@google.com>
36016
36017 * math/atest-exp2.c (get_log2): Remove const attribute.
36018
36019 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36020
36021 * math/libm-test.inc (struct test_f_l_data): New type.
36022 (RUN_TEST_LOOP_f_l): New macro.
36023 (lrint_test_data): New variable.
36024 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36025 (lrint_tonearest_test_data): New variable.
36026 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36027 (lrint_towardzero_test_data): New variable.
36028 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36029 (lrint_downward_test_data): New variable.
36030 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36031 (lrint_upward_test_data): New variable.
36032 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36033 (lround_test_data): New variable.
36034 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36035
36036 2013-05-15 Peter Collingbourne <pcc@google.com>
36037
36038 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36039 (EXTRACT_WORDS64) Use where appropriate.
36040 (INSERT_WORDS64) Likewise.
36041
36042 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36043 constraints with x constraints.
36044 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36045
36046 * malloc/obstack.c (_obstack_compat): Add initializer.
36047
36048 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36049
36050 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36051 si_trapno and add si_addr_lsb to _sifields.sigfault.
36052 (si_trapno): Remove macro.
36053 (si_addr_lsb): Define new macro.
36054 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36055
36056 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36057
36058 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36059 instead of TEST_f_l.
36060 (llrint_test_tonearest): Likewise.
36061 (llrint_test_towardzero): Likewise.
36062 (llrint_test_downward): Likewise.
36063 (llrint_test_upward): Likewise.
36064 (llround_test): Likewise.
36065
36066 * math/libm-test.inc (struct test_f_i_data): Add comment.
36067 (RUN_TEST_LOOP_f_b): New macro.
36068 (RUN_TEST_LOOP_f_b_tg): Likewise.
36069 (finite_test_data): New variable.
36070 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36071 (isfinite_test_data): New variable.
36072 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36073 (isinf_test_data): New variable.
36074 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36075 (isnan_test_data): New variable.
36076 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36077 (isnormal_test_data): New variable.
36078 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36079 (issignaling_test_data): New variable.
36080 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36081 (signbit_test_data): New variable.
36082 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36083
36084 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36085 with INVALID_EXCEPTION.
36086 (acosh_test_data): Likewise.
36087 (asin_test_data): Likewise.
36088 (atanh_test_data): Likewise.
36089 (fmod_test_data): Likewise.
36090 (log_test_data): Likewise.
36091 (log10_test_data): Likewise.
36092 (log2_test_data): Likewise.
36093 (pow_test_data): Likewise.
36094 (sqrt_test_data): Likewise.
36095 (y0_test_data): Likewise.
36096 (y1_test_data): Likewise.
36097 (yn_test_data): Likewise.
36098
36099 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36100 function contents.
36101
36102 * math/libm-test.inc (struct test_ff_i_data): New type.
36103 (RUN_TEST_LOOP_ff_i_tg): New macro.
36104 (isgreater_test_data): New variable.
36105 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36106 (isgreaterequal_test_data): New variable.
36107 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36108 (isless_test_data): New variable.
36109 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36110 (islessequal_test_data): New variable.
36111 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36112 (islessgreater_test_data): New variable.
36113 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36114 (isunordered_test_data): New variable.
36115 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36116
36117 2013-05-14 David S. Miller <davem@davemloft.net>
36118
36119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36120
36121 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36122
36123 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36124
36125 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36126 extra_test to int.
36127 (struct test_f_i_data): Change type of max_ulp to int.
36128
36129 * math/libm-test.inc (test_ffI_f1_data): New type.
36130 (RUN_TEST_LOOP_ffI_f1): New macro.
36131 (remquo_test_data): New variable.
36132 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36133
36134 * setjmp/tst-setjmp-fp.c: New file.
36135 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36136 (link-libm): New variable.
36137 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36138
36139 * math/libm-test.inc (struct test_f_i_data): New type.
36140 (RUN_TEST_LOOP_f_i): New macro.
36141 (RUN_TEST_LOOP_f_i_tg): Likewise.
36142 (fpclassify_test_data): New variable.
36143 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36144 (ilogb_test_data): New variable.
36145 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36146
36147 * math/libm-test.inc (scalbln_test): Correct function name in END
36148 call.
36149
36150 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36151 (RUN_TEST_LOOP_fI_f1): New macro.
36152 (frexp_test_data): New variable.
36153 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36154
36155 * math/libm-test.inc (struct test_fF_f1_data): New type.
36156 (RUN_TEST_LOOP_fF_f1): New macro.
36157 (modf_test_data): New variable.
36158 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36159
36160 * math/libm-test.inc (struct test_f_f1_data): New type.
36161 (RUN_TEST_LOOP_f_f1): New macro.
36162 (gamma_test_data): New variable.
36163 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36164 (lgamma_test_data): New variable.
36165 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36166
36167 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36168
36169 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36170 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36171 (main): Comment "tls" pseudo-hwcap.
36172
36173 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36174
36175 * math/libm-test.inc (struct test_fl_f_data): New type.
36176 (RUN_TEST_LOOP_fl_f): New variable.
36177 (scalbln_test_data): New variable.
36178 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36179
36180 * math/libm-test.inc (struct test_fi_f_data): New type.
36181 (RUN_TEST_LOOP_fi_f): New macro.
36182 (ldexp_test_data): New variable.
36183 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36184 (scalbn_test_data): New variable.
36185 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36186
36187 * math/libm-test.inc (struct test_c_f_data): New type.
36188 (RUN_TEST_LOOP_c_f): New macro.
36189 (cabs_test_data): New variable.
36190 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36191 (carg_test_data): New variable.
36192 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36193 (cimag_test_data): New variable.
36194 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36195 (creal_test_data): New variable.
36196 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36197
36198 * math/libm-test.inc (struct test_if_f_data): New type.
36199 (RUN_TEST_LOOP_if_f): New macro.
36200 (jn_test_data): New variable.
36201 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36202 (yn_test_data): New variable.
36203 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36204
36205 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36206
36207 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36208
36209 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36210 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36211
36212 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36213
36214 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36215 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36216 (bench-deps): Add bench-timing.h.
36217 * benchtests-bench-skeleton.c: Include bench-timing.h.
36218 (main): Use TIMING_* macros instead of clock_gettime.
36219 * benchtests/bench-timing.h: New file.
36220
36221 [BZ #14582]
36222 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36223 Renamed from _LIB_VERSION.
36224 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36225
36226 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36227
36228 * math/libm-test.inc (struct test_fff_f_data): New type.
36229 (RUN_TEST_LOOP_fff_f): New macro.
36230 (fma_test_data): New variable.
36231 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36232 (fma_towardzero_test_data): New variable.
36233 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36234 (fma_downward_test_data): New variable.
36235 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36236 (fma_upward_test_data): New variable.
36237 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36238
36239 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36240 (struct test_c_c_data): New type.
36241 (RUN_TEST_LOOP_c_c): New macro.
36242 (cacos_test_data): New variable.
36243 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36244 (cacosh_test_data): New variable.
36245 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36246 (casin_test_data): New variable.
36247 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36248 (casinh_test_data): New variable.
36249 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36250 (catan_test_data): New variable.
36251 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36252 (catanh_test_data): New variable.
36253 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36254 (ccos_test_data): New variable.
36255 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36256 (ccosh_test_data): New variable.
36257 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36258 (cexp_test_data): New variable.
36259 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36260 (clog_test_data): New variable.
36261 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36262 (clog10_test_data): New variable.
36263 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36264 (conj_test_data): New variable.
36265 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36266 (cproj_test_data): New variable.
36267 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36268 (csin_test_data): New variable.
36269 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36270 (csinh_test_data): New variable.
36271 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36272 (csqrt_test_data): New variable.
36273 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36274 (ctan_test_data): New variable.
36275 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36276 (ctan_tonearest_test_data): New variable.
36277 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36278 (ctan_towardzero_test_data): New variable.
36279 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36280 (ctan_downward_test_data): New variable.
36281 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36282 (ctan_upward_test_data): New variable.
36283 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36284 (ctanh_test_data): New variable.
36285 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36286 (ctanh_tonearest_test_data): New variable.
36287 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36288 (ctanh_towardzero_test_data): New variable.
36289 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36290 (ctanh_downward_test_data): New variable.
36291 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36292 (ctanh_upward_test_data): New variable.
36293 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36294 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36295 of BUILD_COMPLEX.
36296
36297 * math/libm-test.inc (struct test_ff_f_data): New type.
36298 (struct test_ff_f_data_nexttoward): Likewise.
36299 (RUN_TEST_LOOP_2_f): New macro.
36300 (RUN_TEST_LOOP_ff_f): Likewise.
36301 (atan2_test_data): New variable.
36302 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36303 (copysign_test_data): New variable.
36304 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36305 (fdim_test_data): New variable.
36306 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36307 (fmax_test_data): New variable.
36308 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36309 (fmin_test_data): New variable.
36310 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36311 (fmod_test_data): New variable.
36312 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36313 (hypot_test_data): New variable.
36314 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36315 (nextafter_test_data): New variable.
36316 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36317 (nexttoward_test_data): New variable.
36318 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36319 (pow_test_data): New variable.
36320 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36321 (pow_tonearest_test_data): New variable.
36322 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36323 (pow_towardzero_test_data): New variable.
36324 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36325 (pow_downward_test_data): New variable.
36326 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36327 (pow_upward_test_data): New variable.
36328 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36329 (remainder_test_data): New variable.
36330 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36331 (scalb_test_data): New variable.
36332 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36333 * sysdeps/i386/fpu/libm-test-ulps: Update.
36334
36335 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36336
36337 * math/libm-test.inc (fma_test): Use max_value instead of local
36338 variable fltmax.
36339 (nextafter_test): Likewise.
36340
36341 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36342 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36343 (acos_downward_test_data): New variable.
36344 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36345 (acos_upward_test_data): New variable.
36346 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36347 (acosh_test_data): New variable.
36348 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36349 (asin_test_data): New variable.
36350 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36351 (asin_tonearest_test_data): New variable.
36352 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36353 (asin_towardzero_test_data): New variable.
36354 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36355 (asin_downward_test_data): New variable.
36356 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36357 (asin_upward_test_data): New variable.
36358 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36359 (asinh_test_data): New variable.
36360 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36361 (atan_test_data): New variable.
36362 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36363 (atanh_test_data): New variable.
36364 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36365 (cbrt_test_data): New variable.
36366 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36367 (ceil_test_data): New variable.
36368 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36369 (cos_test_data): New variable.
36370 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36371 (cos_tonearest_test_data): New variable.
36372 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36373 (cos_towardzero_test_data): New variable.
36374 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36375 (cos_downward_test_data): New variable.
36376 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36377 (cos_upward_test_data): New variable.
36378 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36379 (cosh_test_data): New variable.
36380 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36381 (cosh_tonearest_test_data): New variable.
36382 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36383 (cosh_towardzero_test_data): New variable.
36384 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36385 (cosh_downward_test_data): New variable.
36386 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36387 (cosh_upward_test_data): New variable.
36388 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36389 (erf_test_data): New variable.
36390 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36391 (erfc_test_data): New variable.
36392 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36393 (exp_test_data): New variable.
36394 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36395 (exp_tonearest_test_data): New variable.
36396 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36397 (exp_towardzero_test_data): New variable.
36398 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36399 (exp_downward_test_data): New variable.
36400 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36401 (exp_upward_test_data): New variable.
36402 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36403 (exp10_test_data): New variable.
36404 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36405 (exp2_test_data): New variable.
36406 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36407 (expm1_test_data): New variable.
36408 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36409 (fabs_test_data): New variable.
36410 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36411 (floor_test_data): New variable.
36412 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36413 (j0_test_data): New variable.
36414 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36415 (j1_test_data): New variable.
36416 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36417 (log_test_data): New variable.
36418 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36419 (log10_test_data): New variable.
36420 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36421 (log1p_test_data): New variable.
36422 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36423 (log2_test_data): New variable.
36424 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36425 (logb_test_data): New variable.
36426 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36427 (logb_downward_test_data): New variable.
36428 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36429 (nearbyint_test_data): New variable.
36430 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36431 (rint_test_data): New variable.
36432 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36433 (rint_tonearest_test_data): New variable.
36434 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36435 (rint_towardzero_test_data): New variable.
36436 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36437 (rint_downward_test_data): New variable.
36438 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36439 (rint_upward_test_data): New variable.
36440 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36441 (round_test_data): New variable.
36442 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36443 (sin_test_data): New variable.
36444 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36445 (sin_tonearest_test_data): New variable.
36446 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36447 (sin_towardzero_test_data): New variable.
36448 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36449 (sin_downward_test_data): New variable.
36450 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36451 (sin_upward_test_data): New variable.
36452 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36453 (sinh_test_data): New variable.
36454 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36455 (sinh_tonearest_test_data): New variable.
36456 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36457 (sinh_towardzero_test_data): New variable.
36458 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36459 (sinh_downward_test_data): New variable.
36460 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36461 (sinh_upward_test_data): New variable.
36462 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36463 (sqrt_test_data): New variable.
36464 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36465 (tan_test_data): New variable.
36466 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36467 (tan_tonearest_test_data): New variable.
36468 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36469 (tan_towardzero_test_data): New variable.
36470 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36471 (tan_downward_test_data): New variable.
36472 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36473 (tan_upward_test_data): New variable.
36474 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36475 (tanh_test_data): New variable.
36476 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36477 (tgamma_test_data): New variable.
36478 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36479 (trunc_test_data): New variable.
36480 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36481 (y0_test_data): New variable.
36482 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36483 (y1_test_data): New variable.
36484 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36485 (significand_test_data): New variable.
36486 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36487
36488 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36489
36490 [BZ #12387]
36491 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36492
36493 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36494
36495 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36496
36497 2013-05-10 Andreas Jaeger <aj@suse.de>
36498
36499 [BZ #15448]
36500 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36501 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36502
36503 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36504
36505 * math/gen-libm-test.pl (adjust_arg): New function.
36506 (special_functions): Handle generating output in both functions
36507 and arrays.
36508 (parse_args): Likewise.
36509 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36510 $in_func argument to parse_args.
36511 * math/libm-test.inc (struct test_f_f_data): New type.
36512 (IF_ROUND_INIT_): New macro.
36513 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36514 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36515 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36516 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36517 (ROUND_RESTORE_): Likewise.
36518 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36519 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36520 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36521 (ROUND_RESTORE_FE_UPWARD): Likewise.
36522 (RUN_TEST_LOOP_f_f): New macro.
36523 (acos_test_data): New variable.
36524 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36525 (acos_tonearest_test_data): New variable.
36526 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36527
36528 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36529
36530 * benchtests/bench-skeleton.c (startup): Fix coding style.
36531
36532 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36533
36534 [BZ #6809]
36535 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36536 negative infinity argument.
36537 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36538 negative infinity argument.
36539 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36540 negative infinity argument.
36541 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36542 domain errors.
36543
36544 2013-05-10 Florian Weimer <fweimer@redhat.com>
36545
36546 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36547 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36548 * iconv/iconv_prog.c (main): Likewise.
36549 * locale/programs/charmap-dir.c (charmap_readdir)
36550 (fopen_uncompressed): Likewise.
36551 * locale/programs/locfile.c (siblings_uncached)
36552 (write_locale_data): Use lstat64 instead of lstat.
36553 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36554 stat.
36555
36556 2013-05-10 Andreas Jaeger <aj@suse.de>
36557
36558 [BZ #15395]
36559 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36560 localization.
36561 Include <locale.h>.
36562
36563 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36564
36565 * elf/dl-close.c (_dl_close_worker): Add comments.
36566
36567 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36568
36569 [BZ #15359]
36570 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36571 high part of pi/2.
36572 (__ieee754_rem_pio2l): Update comments.
36573
36574 [BZ #15429]
36575 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36576 high part of pi/2.
36577 (__ieee754_rem_pio2l): Update comments.
36578
36579 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36580 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36581
36582 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36583 M_PI_4l.
36584
36585 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36586 (M_PI_34_LOG10El): Likewise.
36587 (M_PI2_LOG10El): Likewise.
36588 (M_PI4_LOG10El): Likewise.
36589 (M_PI_LOG10El): Likewise.
36590
36591 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36592
36593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36594
36595 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36596
36597 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36598 (MINUS_ZERO_INIT): Likewise.
36599 (PLUS_INFTY_INIT): Likewise.
36600 (MINUS_INFTY_INIT): Likewise.
36601 (QNAN_VALUE_INIT): Likewise.
36602 (MAX_VALUE_INIT): Likewise.
36603 (MIN_VALUE_INIT): Likewise.
36604 (MIN_SUBNORM_VALUE_INIT): Likewise.
36605 (plus_zero): Initialize with PLUS_ZERO_INIT.
36606 (minus_zero): Initialize with MINUS_ZERO_INIT.
36607 (plus_infty): Initialize with PLUS_INFTY_INIT.
36608 (minus_infty): Initialize with MINUS_INFTY_INIT.
36609 (qnan_value): Initialize with QNAN_VALUE_INIT.
36610 (max_value): Initialize with MAX_VALUE_INIT.
36611 (min_value): Initialize with MIN_VALUE_INIT.
36612 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36613
36614 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36615 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36616 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36617 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36618
36619 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36620 (RUN_TEST_2_f): Likewise.
36621 (RUN_TEST_ff_f): Likewise.
36622 (RUN_TEST_fi_f): Likewise.
36623 (RUN_TEST_fl_f): Likewise.
36624 (RUN_TEST_fff_f): Likewise.
36625 (RUN_TEST_c_f): Likewise.
36626 (RUN_TEST_f_f1): Likewise.
36627 (RUN_TEST_fF_f1): Likewise.
36628 (RUN_TEST_fI_f1): Likewise.
36629 (RUN_TEST_ffI_f1): Likewise.
36630 (RUN_TEST_c_c): Likewise.
36631 (RUN_TEST_cc_c): Likewise.
36632 (RUN_TEST_f_i): Likewise.
36633 (RUN_TEST_f_i_tg): Likewise.
36634 (RUN_TEST_ff_i_tg): Likewise.
36635 (RUN_TEST_f_b): Likewise.
36636 (RUN_TEST_f_b_tg): Likewise.
36637 (RUN_TEST_f_l): Likewise.
36638 (RUN_TEST_f_L): Likewise.
36639 (RUN_TEST_sincos): Likewise.
36640 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36641 whether to show exceptions. Do not include ");\n" in return
36642 value.
36643 (special_functions): Output call to RUN_TEST_sincos instead of
36644 check_float calls. Update calls to new_test.
36645 (parse_args): Output call to single RUN_TEST_* macro instead of
36646 check_* calls and other assignments. Update calls to new_test.
36647
36648 [BZ #2546]
36649 [BZ #2560]
36650 [BZ #5159]
36651 [BZ #15426]
36652 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36653 input to result for tgamma overflow.
36654 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36655 (gamma_coeff): New variable.
36656 (NCOEFF): New macro.
36657 (gamma_positive): New function.
36658 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36659 underflow here. Use gamma_positive instead of exp (lgamma) for
36660 other arguments.
36661 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36662 (gamma_coeff): New variable.
36663 (NCOEFF): New macro.
36664 (gammaf_positive): New function.
36665 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36666 underflow here. Use gamma_positive instead of exp (lgamma) for
36667 other arguments.
36668 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36669 (gamma_coeff): New variable.
36670 (NCOEFF): New macro.
36671 (gammal_positive): New function.
36672 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36673 underflow here. Use gamma_positive instead of exp (lgamma) for
36674 other arguments.
36675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36676 (gamma_coeff): New variable.
36677 (NCOEFF): New macro.
36678 (gammal_positive): New function.
36679 (__ieee754_gammal_r): Handle positive infinity, overflow and
36680 underflow here. Handle NaN the same as positive infinity. Remove
36681 check x < 0xffffffff for negative integers. Use gamma_positive
36682 instead of exp (lgamma) for other arguments.
36683 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36684 (gamma_coeff): New variable.
36685 (NCOEFF): New macro.
36686 (gammal_positive): New function.
36687 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36688 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36689 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36690 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36691 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36692 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36693 * sysdeps/generic/math_private.h (__gamma_productf): New
36694 prototype.
36695 (__gamma_product): Likewise.
36696 (__gamma_productl): Likewise.
36697 * math/Makefile (libm-calls): Add gamma_product.
36698 * math/libm-test.inc (tgamma_test): Add more tests.
36699 * sysdeps/i386/fpu/libm-test-ulps: Update.
36700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36701
36702 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36703
36704 * benchtests/bench-skeleton.c (main): Preheat CPU.
36705
36706 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36707
36708 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36709
36710 2013-05-07 Roland McGrath <roland@hack.frob.com>
36711
36712 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36713 and _dl_skip_args_internal.
36714
36715 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36716
36717 * manual/message.texi (Message Translation): Talk about users.
36718 Message to key mapping impacts design.
36719
36720 2013-05-06 Roland McGrath <roland@hack.frob.com>
36721
36722 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36723
36724 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36725
36726 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36727 * sysdeps/wordsize-64/glob64.c: ... here.
36728
36729 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36730 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36731 New macros.
36732
36733 * debug/getlogin_r_chk.c: Moved to ...
36734 * login/getlogin_r_chk.c: ... here.
36735 * debug/Makefile (routines): Move getlogin_r_chk to ...
36736 * login/Makefile (routines): ... here.
36737 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36738 * login/Versions (libc: GLIBC_2.4): ... here.
36739
36740 * io/poll.c (__poll): Renamed from poll.
36741 Add libc_hidden_def.
36742 (poll): Define as weak alias.
36743
36744 * debug/ptsname_r_chk.c: Moved to ...
36745 * login/ptsname_r_chk.c: ... here.
36746 * debug/Makefile (routines): Move ptsname_r_chk to ...
36747 * login/Makefile (routines): ... here.
36748 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36749 * login/Versions (libc: GLIBC_2.4): ... here.
36750
36751 * posix/getlogin.c: Moved to ...
36752 * login/getlogin.c: ... here.
36753 * posix/getlogin_r.c: Moved to ...
36754 * login/getlogin_r.c: ... here.
36755 * posix/getlogin_r.c: Moved to ...
36756 * login/getlogin_r.c: ... here.
36757 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36758 * login/Makefile (routines): ... here.
36759 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36760 * login/Versions (libc: GLIBC_2.0): ... here.
36761
36762 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36763 (setrlimit): Define as weak alias.
36764
36765 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36766 Call __ names for open, ftruncate, and close.
36767 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36768 (truncate): Define as weak alias.
36769
36770 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36771
36772 * math/gen-libm-test.pl (parse_args): Initialize x before each
36773 test of frexp, modf and remquo.
36774
36775 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36776 test signgam value.
36777
36778 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36779
36780 [BZ #15418]
36781 [BZ #15419]
36782 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36783 internal tests.
36784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36785
36786 2013-05-06 Roland McGrath <roland@hack.frob.com>
36787
36788 * elf/dl-writev.h: New file.
36789 * elf/dl-misc.c: Include it.
36790 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36791 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36792
36793 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36794
36795 * math/libm-test.inc (noXFails): Remove variable.
36796 (noXPasses): Likewise.
36797 (BUILD_COMPLEX_INT): Remove macro.
36798 (print_screen): Remove xfail argument.
36799 (print_screen_max_error): Likewise.
36800 (update_stats): Likewise.
36801 (print_max_error): Likewise. Update calls to other affected
36802 functions.
36803 (print_complex_max_error): Likewise.
36804 (test_single_exception): Update calls to print_screen.
36805 (test_single_errno): Likewise.
36806 (check_float_internal): Remove xfail argument. Update calls to
36807 other affected functions.
36808 (check_float): Likewise.
36809 (check_complex): Likewise.
36810 (check_int): Likewise.
36811 (check_long): Likewise.
36812 (check_bool): Likewise.
36813 (check_longlong): Likewise.
36814 (main): Don't print noXFails and noXPasses.
36815 * math/gen-libm-test.pl (top level): Don't mention expected
36816 failure handling in comment.
36817 (new_test): Don't handle expected failures.
36818 (parse_args): Don't mention expected failure handling in comment.
36819 (generate_testfile): Don't handle expected failures.
36820 (parse_ulps): Likewise.
36821 (print_ulps_file): Likewise.
36822 (get_failure): Remove function.
36823 (output_test): Don't handle expected failures.
36824 * make/README.libm-test: Don't mention expected failure handling.
36825
36826 * math/libm-test.inc (plus_zero): Make const. Add initializer.
36827 (minus_zero): Likewise.
36828 (plus_infty): Likewise.
36829 (minus_infty): Likewise.
36830 (qnan_value): Likewise.
36831 (max_value): Likewise.
36832 (min_value): Likewise.
36833 (min_subnorm_value): Likewise.
36834 (initialize): Do not initialize those variables dynamically.
36835
36836 2013-05-03 Roland McGrath <roland@hack.frob.com>
36837
36838 * io/open.c (__open_2): Moved to ...
36839 * io/open_2.c: ... this new file.
36840 * io/open64.c (__open64_2): Moved to ...
36841 * io/open64_2.c: ... this new file.
36842 * io/openat.c (__openat_2): Moved to ...
36843 * io/openat_2.c: ... this new file.
36844 * io/openat64.c (__openat64_2): Moved to ...
36845 * io/openat64_2.c: ... this new file.
36846 * io/Makefile (routines): Add them.
36847 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36848 * sysdeps/unix/sysv/linux/open_2.c: File removed.
36849 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36850 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36851 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36852 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36853 (__openat64): Add hidden_ver.
36854 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36855 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36856
36857 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36858 Separately conditionalize setting of GLRO(dl_sysinfo) so
36859 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36860 as well, but the actual setting is only under [NEED_DL_SYSINFO].
36861
36862 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36863
36864 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36865 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36866 definition.
36867 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36868 * sysdeps/unix/sysv/linux/powerpc/init-first.c
36869 (_libc_vdso_platform_setup): Add __vdso_time initialization.
36870 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36871 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36872
36873 2013-05-03 Joseph Myers <joseph@codesourcery.com>
36874
36875 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36876 test signgam value.
36877
36878 * math/libm-test.inc (hypot_test): Do not use
36879 IGNORE_ZERO_INF_SIGN.
36880
36881 2013-05-03 Andreas Jaeger <aj@suse.de>
36882
36883 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36884 Linux 3.9.
36885 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36886 (PF_MAX): Adjust for VSOCK change.
36887
36888 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36889
36890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36891
36892 2013-05-02 Carlos O'Donell <carlos@redhat.com>
36893
36894 [BZ #15264]
36895 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36896 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36897 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36898
36899 2013-05-02 David S. Miller <davem@davemloft.net>
36900
36901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36902
36903 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
36904
36905 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36906
36907 2013-05-01 Roland McGrath <roland@hack.frob.com>
36908
36909 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36910
36911 2013-05-01 Richard Smith <richard@metafoo.co.uk>
36912
36913 [BZ #14952]
36914 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36915 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36916 Use __attribute__ ((__gnu_inline__)).
36917 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36918 Don't use __attribute__ ((__gnu_inline__)).
36919
36920 2013-05-01 Joseph Myers <joseph@codesourcery.com>
36921
36922 [BZ #15423]
36923 * math/s_catan.c (__catan): Handle small real or imaginary part of
36924 input specially to avoid spurious underflow.
36925 * math/s_catanf.c (__catanf): Likewise.
36926 * math/s_catanh.c (__catanh): Likewise.
36927 * math/s_catanhf.c (__catanhf): Likewise.
36928 * math/s_catanhl.c (__catanhl): Likewise.
36929 * math/s_catanl.c (__catanl): Likewise.
36930 * math/libm-test.inc (catan_test): Add more tests.
36931 (catanh_test): Likewise.
36932 * sysdeps/i386/fpu/libm-test-ulps: Update.
36933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36934
36935 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36936
36937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36938
36939 2013-04-30 Joseph Myers <joseph@codesourcery.com>
36940
36941 [BZ #15416]
36942 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36943 accurately for denominator in atan2.
36944 * math/s_catanf.c (__catanf): Likewise.
36945 * math/s_catanh.c (__catanh): Likewise.
36946 * math/s_catanhf.c (__catanhf): Likewise.
36947 * math/s_catanhl.c (__catanhl): Likewise.
36948 * math/s_catanl.c (__catanl): Likewise.
36949 * math/libm-test.inc (catan_test): Add more tests.
36950 (catanh_test): Likewise.
36951 * sysdeps/i386/fpu/libm-test-ulps: Update.
36952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36953
36954 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36955
36956 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36957
36958 * benchtests/Makefile (bench): Remove slow benchmarks.
36959 * benchtests/atan-inputs: Add slow benchmark inputs.
36960 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36961 (BENCH_FUNC): Accept variant offset.
36962 (VARIANT): Define.
36963 * benchtests/bench-skeleton.c (main): Run benchmark for each
36964 variant.
36965 * benchtests/cos-inputs: Add slow benchmark inputs.
36966 * benchtests/exp-inputs: Likewise.
36967 * benchtests/pow-inputs: Likewise.
36968 * benchtests/sin-inputs: Likewise.
36969 * benchtests/slowatan-inputs: Remove.
36970 * benchtests/slowatan.c: Remove.
36971 * benchtests/slowcos-inputs: Remove.
36972 * benchtests/slowcos.c: Remove.
36973 * benchtests/slowexp-inputs: Remove.
36974 * benchtests/slowexp.c: Remove.
36975 * benchtests/slowpow-inputs: Remove.
36976 * benchtests/slowpow.c: Remove.
36977 * benchtests/slowsin-inputs: Remove.
36978 * benchtests/slowsin.c: Remove.
36979 * benchtests/slowtan-inputs: Remove.
36980 * benchtests/slowtan.c: Remove.
36981 * benchtests/tan-inputs: Add slow benchmark inputs.
36982 * scripts/bench.pl: Parse comments and directives.
36983
36984 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
36985 in CPPFLAGS.
36986 ($(objpfx)bench-%.c): Remove *-ITER.
36987 * benchtests/bench-modf.c: Remove definition of ITER.
36988 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36989 (main): Loop for DURATION seconds instead of fixed number of
36990 iterations.
36991 * scripts/bench.pl: Don't expect iterations in parameters.
36992
36993 2013-04-29 Roland McGrath <roland@hack.frob.com>
36994
36995 * io/fchdir.c (__fchdir): Renamed from fchdir.
36996 (fchdir): Define as weak alias.
36997
36998 2013-04-29 Joseph Myers <joseph@codesourcery.com>
36999
37000 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37001 (ERRNO_EDOM): Likewise.
37002 (ERRNO_ERANGE): Likewise.
37003 (noErrnoTests): New variable.
37004 (init_max_error): Set errno to 0.
37005 (test_single_errno): New function.
37006 (test_errno): Likewise.
37007 (check_float_internal): Call test_errno. Set errno to 0.
37008 (check_complex): Refer to errno tests in comment.
37009 (check_int): Call test_errno. Set errno to 0.
37010 (check_long): Likewise.
37011 (check_bool): Likewise.
37012 (check_longlong): Likewise.
37013 (cos_test): Use ERRNO_* flags for errno tests instead of
37014 check_int.
37015 (expm1_test): Likewise.
37016 (fmod_test): Likewise.
37017 (ilogb_test): Likewise.
37018 (lgamma_test): Likewise.
37019 (pow_test): Likewise.
37020 (remainder_test): Likewise.
37021 (sin_test): Likewise.
37022 (tan_test): Likewise.
37023 (yn_test): Likewise.
37024 (initialize): Set errno to 0.
37025 (main): Print number of errno tests.
37026 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37027
37028 2013-04-29 Andreas Jaeger <aj@suse.de>
37029
37030 [BZ #15084]
37031 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37032 and RES_USEVC.
37033
37034 [BZ #15085]
37035 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37036 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37037 unimplemented.
37038
37039 [BZ #15380]
37040 * stdlib/random.c (__initstate): Return NULL if
37041 __initstate fails.
37042
37043 [BZ #15086]
37044 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37045 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37046 RES_SNGLKUPREOP.
37047
37048 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37049
37050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37051
37052 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37053
37054 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37055 of individual tests.
37056 (casin_test): Likewise.
37057 (casinh_test): Likewise.
37058
37059 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37060
37061 [BZ #15409]
37062 * math/s_catan.c (__catan): Handle arguments with large real or
37063 imaginary part separately without squaring.
37064 * math/s_catanf.c (__catanf): Likewise.
37065 * math/s_catanh.c (__catanh): Likewise.
37066 * math/s_catanhf.c (__catanhf): Likewise.
37067 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37068 and redefine.
37069 (__catanhl): Handle arguments with large real or imaginary part
37070 separately without squaring.
37071 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37072 and redefine.
37073 (__catanl): Handle arguments with large real or imaginary part
37074 separately without squaring.
37075 * math/libm-test.inc (catan_test): Add more tests.
37076 (catanh_test): Likewise.
37077 * sysdeps/i386/fpu/libm-test-ulps: Update.
37078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37079
37080 2013-04-27 Andreas Jaeger <aj@suse.de>
37081
37082 [BZ #15007]
37083 * stdlib/stdlib.h: Update guards for qecvt.
37084 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37085 <stdlib.h>.
37086
37087 2013-04-27 Allan McRae <allan@archlinux.org>
37088
37089 * sysdeps/i386/fpu/libm-test-ulps: Update.
37090
37091 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37092
37093 [BZ #15406]
37094 * math/s_catan.c: Include <float.h>.
37095 (__catan): Ensure underflow exception occurs for underflowed
37096 result.
37097 * math/s_catanf.c: Include <float.h>.
37098 (__catanf): Ensure underflow exception occurs for underflowed
37099 result.
37100 * math/s_catanh.c: Include <float.h>.
37101 (__catanh): Ensure underflow exception occurs for underflowed
37102 result.
37103 * math/s_catanhf.c: Include <float.h>.
37104 (__catanhf): Ensure underflow exception occurs for underflowed
37105 result.
37106 * math/s_catanhl.c: Include <float.h>.
37107 (__catanhl): Ensure underflow exception occurs for underflowed
37108 result.
37109 * math/s_catanl.c: Include <float.h>.
37110 (__catanl): Ensure underflow exception occurs for underflowed
37111 result.
37112 * math/libm-test.inc (catan_test): Add more tests.
37113 (catanh_test): Likewise.
37114
37115 [BZ #15405]
37116 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37117 underflowed result.
37118 * math/s_ccoshf.c (__ccoshf): Likewise.
37119 * math/s_ccoshl.c (__ccoshl): Likewise.
37120 * math/s_csin.c (__csin): Likewise.
37121 * math/s_csinf.c (__csinf): Likewise.
37122 * math/s_csinh.c (__csinh): Likewise.
37123 * math/s_csinhf.c (__csinhf): Likewise.
37124 * math/s_csinhl.c (__csinhl): Likewise.
37125 * math/s_csinl.c (__csinl): Likewise.
37126 * math/libm-test.inc (ccos_test): Add more tests.
37127 (ccosh_test): Likewise.
37128 (csin_test): Likewise.
37129 (csinh_test): Likewise.
37130
37131 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37132
37133 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37134 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37135 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37136 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37137 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37138 powerpc/power5+/fpu folders.
37139 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37140
37141
37142 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37143
37144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37145
37146 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37147
37148 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37149 additions to variable.
37150 [$(config-machine) = x86_64] (modules-names): Likewise.
37151 ($(objpfx)tst-audit3): Remove dependency.
37152 ($(objpfx)tst-audit3.out): Likewise.
37153 ($(objpfx)tst-audit4): Likewise.
37154 ($(objpfx)tst-audit4.out): Likewise.
37155 ($(objpfx)tst-audit5): Likewise.
37156 ($(objpfx)tst-audit5.out): Likewise.
37157 ($(objpfx)tst-audit6): Likewise.
37158 ($(objpfx)tst-audit6.out): Likewise.
37159 ($(objpfx)tst-audit7): Likewise.
37160 ($(objpfx)tst-audit7.out): Likewise.
37161 (tst-audit3-ENV): Remove variable.
37162 (tst-audit4-ENV): Likewise.
37163 (tst-audit5-ENV): Likewise.
37164 (tst-audit6-ENV): Likewise.
37165 (tst-audit7-ENV): Likewise.
37166 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37167 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37168 addition to variable.
37169 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37170 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37171 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37172 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37173 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37174 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37175 tst-audit3, tst-audit4 and tst-audit5.
37176 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37177 tst-audit6 and tst-audit7.
37178 [$(subdir) = elf] (modules-names): Add audit modules for those
37179 tests.
37180 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37181 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37182 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37183 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37184 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37185 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37186 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37187 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37188 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37189 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37190 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37191 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37192 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37193 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37194 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37195 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37196 Likewise.
37197 [$(subdir) = elf && $(config-cflags-avx) = yes]
37198 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37199 [$(subdir) = elf && $(config-cflags-avx) = yes]
37200 (CFLAGS-tst-auditmod4a.c): Likewise.
37201 [$(subdir) = elf && $(config-cflags-avx) = yes]
37202 (CFLAGS-tst-auditmod4b.c): Likewise.
37203 [$(subdir) = elf && $(config-cflags-avx) = yes]
37204 (CFLAGS-tst-auditmod6b.c): Likewise.
37205 [$(subdir) = elf && $(config-cflags-avx) = yes]
37206 (CFLAGS-tst-auditmod6c.c): Likewise.
37207 [$(subdir) = elf && $(config-cflags-avx) = yes]
37208 (CFLAGS-tst-auditmod7b.c): Likewise.
37209 * elf/tst-audit3.c: Move to ...
37210 * sysdeps/x86_64/tst-audit3.c: ... here.
37211 * elf/tst-audit4.c: Move to ...
37212 * sysdeps/x86_64/tst-audit4.c: ... here.
37213 * elf/tst-audit5.c: Move to ...
37214 * sysdeps/x86_64/tst-audit5.c: ... here.
37215 * elf/tst-audit6.c: Move to ...
37216 * sysdeps/x86_64/tst-audit6.c: ... here.
37217 * elf/tst-audit7.c: Move to ...
37218 * sysdeps/x86_64/tst-audit7.c: ... here.
37219 * elf/tst-auditmod3a.c: Move to ...
37220 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37221 * elf/tst-auditmod3b.c: Move to ...
37222 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37223 * elf/tst-auditmod4a.c: Move to ...
37224 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37225 * elf/tst-auditmod4b.c: Move to ...
37226 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37227 * elf/tst-auditmod5a.c: Move to ...
37228 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37229 * elf/tst-auditmod5b.c: Move to ...
37230 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37231 * elf/tst-auditmod6a.c: Move to ...
37232 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37233 * elf/tst-auditmod6b.c: Move to ...
37234 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37235 * elf/tst-auditmod6c.c: Move to ...
37236 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37237 * elf/tst-auditmod7a.c: Move to ...
37238 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37239 * elf/tst-auditmod7b.c: Move to ...
37240 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37241
37242 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37243
37244 [BZ #15366]
37245 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37246 define unconditionally.
37247 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37248 define unconditionally.
37249 (INT8_C, INT16_C, etc.): Likewise.
37250
37251 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37252
37253 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37254 __ehdr_start with hidden visibility.
37255
37256 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37257
37258 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37259
37260 * math/libm-test.inc (cos_test): Use accurate hex constants.
37261 (sincost_test): Likewise.
37262
37263 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37264
37265 * math/libm-test.inc (catan_test): Add more tests.
37266 (catanh_test): Likewise.
37267
37268 * math/s_catanf.c (__catanf): Use suffixed floating-point
37269 constants.
37270 * math/s_catanhf.c (__catanhf): Likewise.
37271 * math/s_catanhl.c (__catanhl): Likewise.
37272 * math/s_catanl.c (__catanl): Likewise.
37273
37274 [BZ #15394]
37275 * math/s_catan.c (__catan): Calculate imaginary part of result
37276 with log1p not log unless computing log of number close to 0.
37277 * math/s_catanf.c (__catanf): Likewise.
37278 * math/s_catanl.c (__catanl): Likewise.
37279 * math/s_catanh.c (__catanh): Calculate real part of result with
37280 log1p not log unless computing log of number close to 0.
37281 * math/s_catanhf.c (__catanhf): Likewise.
37282 * math/s_catanhl.c (__catanhl): Likewise.
37283 * math/libm-test.inc (catan_test): Add more tests.
37284 (catanh_test): Likewise.
37285 * sysdeps/i386/fpu/libm-test-ulps: Update.
37286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37287
37288 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37289
37290 * benchtests/Makefile: Mention files in which fast and slow
37291 paths of math functions are implemented.
37292
37293 2013-04-23 Roland McGrath <roland@hack.frob.com>
37294
37295 * sysdeps/posix/timespec_get.c: New file.
37296
37297 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37298
37299 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37300 POWER.
37301 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37302 for POWER.
37303 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37304 powerpc/power5/fpu folders.
37305 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37306 * benchtests/Makefile: Add modf testcase.
37307 * benchtests/bench-modf.c: New file: Benchmark test for mo
37308
37309 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37310
37311 [BZ #14888]
37312 * time/Makefile (tests): Add tst-strptime-whitespace.
37313 * time/strptime_l.c (get_number): Use ISSPACE.
37314 (__strptime_internal): Likewise.
37315 * time/tst-strptime-whitespace.c: New test case.
37316
37317 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37318
37319 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37320 member.
37321 (_nss_files_init): Set it here.
37322
37323 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37324
37325 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37326 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37327 unsigned.
37328
37329 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37330
37331 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37332
37333 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37334
37335 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37336 size just once.
37337
37338 2013-04-21 David S. Miller <davem@davemloft.net>
37339
37340 * po/ru.po: Update Russion translation from translation project.
37341
37342 2013-04-17 Adam Conrad <adconrad@0c3.net>
37343
37344 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37345 and setfsgid.
37346
37347 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37348
37349 * configure.in: Remove i386 configure warning. Remove i386 case.
37350 * configure: Regenerate.
37351 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37352 Add example to error message.
37353 * sysdeps/i386/configure: Regenerate.
37354
37355 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37356
37357 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37358 slowtan.
37359 * benchtests/cos-inputs: New file.
37360 * benchtests/slowcos-inputs: New file.
37361 * benchtests/slowcos.c: New file.
37362 * benchtests/slowtan-inputs: New file.
37363 * benchtests/slowtan.c: New file.
37364 * benchtests/tan-inputs: New file.
37365
37366 2013-04-16 Roland McGrath <roland@hack.frob.com>
37367
37368 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37369 considered kosher.
37370
37371 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37372
37373 * benchtests/Makefile: Include cppflags-iterator.mk to add
37374 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37375
37376 * Makefile.in (bench-clean): New target.
37377 * benchtests/Makefile (bench-clean): Likewise.
37378
37379 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37380
37381 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37382
37383 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37384
37385 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37386
37387 2013-04-15 Andreas Schwab <schwab@suse.de>
37388
37389 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37391 * nscd/pwdcache.c (cache_addpw): Likewise.
37392 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37393 more than recsize.
37394
37395 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37396
37397 * benchtests/Makefile (bench): Write all output to
37398 bench-out.tmp together.
37399
37400 2013-04-15 Andreas Schwab <schwab@suse.de>
37401
37402 * nscd/nscd.c (main): Don't fork again after closing files.
37403
37404 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37405
37406 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37407
37408 * benchtests/Rules (bench-deps): Collect dependencies into a
37409 single variable. Add Makefile to dependencies.
37410 ($(objpfx)bench-%.c): Depend on bench-deps.
37411
37412 2013-04-12 Roland McGrath <roland@hack.frob.com>
37413 Xavier Roche <roche+kml2@exalead.com>
37414
37415 [BZ #15361]
37416 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37417 just that it's a file descriptor.
37418 * manual/llio.texi (Synchronizing AIO Operations): Update description
37419 for EBADF error from aio_fsync.
37420
37421 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37422
37423 * Rules (bench): Move target definition...
37424 * benchtests/Makefile: ... here.
37425
37426 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37427
37428 * math/libm-test.inc (cos_test): Fix PI/2 test.
37429 (sincos_test): Likewise.
37430 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37431 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37432
37433 2013-04-11 Andreas Schwab <schwab@suse.de>
37434
37435 [BZ #13988]
37436 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37437 accept exponent character only when digits were seen.
37438 * stdio-common/Makefile (tests): Add bug26.
37439 * stdio-common/bug26.c: New file.
37440
37441 [BZ #14293]
37442 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37443 non-freeable.
37444
37445 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37446
37447 * Makeconfig (rtld-prefix): Define built linker prefix.
37448 * Rules (run-bench): Use it.
37449 * math/Makefile (run-regen-ulps): Likewise.
37450
37451 * Rules (bench): Remove eval.
37452
37453 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37454 Roland McGrath <roland@hack.frob.com>
37455 Ondrej Bilka <neleai@seznam.cz>
37456
37457 [BZ #15346]
37458 * time/getdate.c: Include ctype.h and alloca.h.
37459 (__getdate_r): Trim leading and trailing spaces of input.
37460 * time/tst-getdate.c (tests): Add tests with leading and
37461 trailing spaces.
37462
37463 2013-04-08 Roland McGrath <roland@hack.frob.com>
37464
37465 [BZ #14280]
37466 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37467 when computing value.
37468
37469 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37470
37471 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37472 Use testrun.sh to run libm tests.
37473
37474 [BZ #15309]
37475 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37476
37477 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37478
37479 [BZ #15264]
37480 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37481
37482 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37483
37484 * Makefile.in (regen-ulps): New target.
37485 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37486 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37487 [ifneq (no,$(PERL)] (regen-ulps): New target.
37488 [ifeq (no,$(PERL)] (regen-ulps): New target.
37489 * math/libm-test.inc (ulps_file_name): Define.
37490 (output_dir): New variable.
37491 (options): Add "output-dir" option.
37492 (parse_opt): Handle 'o' case.
37493 (main): If output_dir is non-NULL use it as a prefix
37494 otherwise use "".
37495 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37496
37497 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37498
37499 [BZ #10060, #10062]
37500 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37501 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37502 fail configure if __sync_val_compare_and_swap is not inlined.
37503 * sysdeps/i386/configure: Regenerate.
37504 * configure.in: Build for i686 when configured for i386.
37505 * configure: Regenerate.
37506 * README: Remove i386 reference.
37507
37508 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37509
37510 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37511 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37512
37513 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37514
37515 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37516 (lmsnanval): New variables.
37517 (F): Add conversion tests.
37518 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37519 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37520
37521 * stdio-common/tstdiomisc.c (F): Properly collect individual
37522 tests' results.
37523
37524 [BZ #14686, #15336]
37525 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37526 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37527 Instead, use input NaN values or generate a qNaN by arithmetic
37528 operation. Also fix bugs to comply with the standard.
37529 * math/libm-test.inc (remainder_test): Add more tests.
37530
37531 [BZ #15335, #15342]
37532 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37534 input NaN values or generate a qNaN by arithmetic operation.
37535
37536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37537 unreachable code.
37538
37539 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37540 definitions.
37541
37542 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37543
37544 [BZ #14478]
37545 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37546 underflowed result.
37547 * math/s_cexpf.c (__cexpf): Likewise.
37548 * math/s_cexpl.c (__cexpl): Likewise.
37549 * math/libm-test.inc (cexp_test): Add more tests.
37550
37551 2013-04-03 Andreas Schwab <schwab@suse.de>
37552
37553 [BZ #15330]
37554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37555 order arrays from heap if bigger than alloca cutoff.
37556
37557 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37558
37559 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37560 (SNAN_TESTS_double): Refer to GCC PR56831.
37561 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37562 GCC PR56828.
37563
37564 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37565
37566 * Rules (bench): Move bench.out after the run is complete.
37567
37568 * Rules (bench): Echo currently running benchmark.
37569
37570 * benchtests/Makefile (bench): Add atan and slowatan.
37571 * benchtests/atan-inputs: New file.
37572 * benchtests/slowatan-inputs: New file.
37573 * benchtests/slowatan.c: New file.
37574
37575 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37576 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37577 its value.
37578
37579 [BZ #15305]
37580 * sysdeps/unix/sysv/linux/kernel-features.h
37581 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37582 __ASSUME_XFS_RESTRICTED_CHOWN.
37583 * sysdeps/unix/sysv/linux/pathconf.c
37584 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37585 Save and restore errno.
37586
37587 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37588
37589 [BZ #15327]
37590 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37591 arguments using __kernel_casinh.
37592 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37593 arguments using __kernel_casinhf.
37594 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37595 arguments using __kernel_casinhl.
37596 * math/libm-test.inc (cacosh_test): Add more tests.
37597 * sysdeps/i386/fpu/libm-test-ulps: Update.
37598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37599
37600 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37601
37602 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37603 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37604
37605 * bench/Makefile (bench): Add sin and slowsin.
37606 * benchtests/sin-inputs: New file.
37607 * benchtests/slowsin-inputs: New file.
37608 * benchtests/slowsin.c: New file.
37609
37610 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37611 (bench): Add slowexp and slowpow.
37612 (exp-ITER): Increase iterations.
37613 (pow-ITER): Likewise.
37614 * benchtests/exp-inputs: Change input.
37615 * benchtests/pow-inputs: Likewise.
37616 * benchtests/slowexp-inputs: New file.
37617 * benchtests/slowexp.c: New file.
37618 * benchtests/slowpow-inputs: New file.
37619 * benchtests/slowpow.c: New file.
37620
37621 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37622
37623 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37624 instructions.
37625 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37626 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37627 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37628 * benchtests/Makefile: Add rint benchtest.
37629 * benchtests/rint-inputs: Input for rint benchtest.
37630
37631 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37632
37633 * Versions.def (libm): Add GLIBC_2.18.
37634 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37635 hidden libm prototypes.
37636 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37637 * math/Makefile (libm-calls): Add s_issignaling.
37638 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37639 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37640 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37641 declaration.
37642 * math/math.h [__USE_GNU] (issignaling): New macro.
37643 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37644 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37646 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37647 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37648 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37649 * manual/arith.texi (issignaling): New section.
37650 * manual/libm-err-tab.pl (@all_functions): Update comment.
37651 * math/gen-libm-test.pl (parse_args): Apply special handling for
37652 issignaling.
37653 * math/libm-test.inc (print_float, issignaling_test): New
37654 functions.
37655 (check_float_internal): Add issignaling checks.
37656 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37657 default definition.
37658 * sysdeps/powerpc/math-tests.h: New file.
37659 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37660 tests.
37661 * math/test-snan.c (TEST_FUNC): Likewise.
37662
37663 2013-03-30 David S. Miller <davem@davemloft.net>
37664
37665 * po/de.po: Update from translation team.
37666
37667 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37668
37669 [BZ #10357]
37670 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37671 imaginary part less than 1.0 and real part less than 0.5
37672 specially.
37673 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37674 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37675 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37676 (cacos_test): Add more tests.
37677 (casin_test): Likewise.
37678 (casinh_test): Likewise.
37679 * sysdeps/i386/fpu/libm-test-ulps: Update.
37680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37681
37682 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37683
37684 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37685 ONE with its value.
37686
37687 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37688 (__pow_mp): Replace ONE and MONE with their values.
37689 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37691 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37692 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37693 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37694 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37695
37696 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37697
37698 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37699 (__pow_mp): Replace ZERO and MZERO with their values.
37700 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37702 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37704 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37705 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37706 (__sqr): Likewise.
37707
37708 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37709
37710 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37711
37712 2013-03-28 Roland McGrath <roland@hack.frob.com>
37713
37714 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37715 Declare with __attribute__ ((weak)).
37716 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37717 Call __call_tls_dtors only if it's not NULL.
37718
37719 2013-03-28 Roland McGrath <roland@hack.frob.com>
37720
37721 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37722 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37723 magic __ehdr_start linker symbol if it's defined.
37724 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37725 them up here if it was already done.
37726
37727 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37728 (_dl_aux_init): Use const in cast when setting it.
37729 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37730 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37731 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37732
37733 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37734 Declare them here.
37735 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37736 * csu/libc-tls.c: Nor here.
37737 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37738
37739 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37740 (__libc_message): Never call vsyslog.
37741
37742 2013-03-28 Alan Modra <amodra@gmail.com>
37743
37744 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37745 Define as empty.
37746 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37747 Likewise.
37748
37749 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37750
37751 [BZ #15214]
37752 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37753 underflow.
37754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37755
37756 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37757
37758 [BZ #15304]
37759 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37760 Don't add gid passed as argument.
37761
37762 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37763
37764 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37765
37766 [BZ #15307]
37767 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37768 imaginary part between 1.0 and 1.5 and real part less than 0.5
37769 specially.
37770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37772 * math/libm-test.inc (cacos_test): Add more tests.
37773 (casin_test): Likewise.
37774 (casinh_test): Likewise.
37775 * sysdeps/i386/fpu/libm-test-ulps: Update.
37776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37777
37778 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37779
37780 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37781 constants.
37782 (norm): Likewise.
37783 (denorm): Likewise.
37784 (__dbl_mp): Likewise.
37785 (add_magnitudes): Likewise.
37786 (sub_magnitudes): Likewise.
37787 (__add): Likewise.
37788 (__sub): Likewise.
37789 (__mul): Likewise.
37790 (__sqr): Likewise.
37791 (__inv): Likewise.
37792 (__dvd): Likewise.
37793
37794 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37795 commented code.
37796 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37797 (__dubcos): Likewise.
37798 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37799 (__ieee754_acos): Likewise.
37800 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37801 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37802 (__exp1): Likewise.
37803 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37805 (log1): Likewise.
37806 (my_log2): Likewise.
37807 (checkint): Likewise.
37808 * sysdeps/ieee754/dbl-64/e_remainder.c
37809 (__ieee754_remainder): Likewise.
37810 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37812 (bsloww): Likewise.
37813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37814
37815 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37816 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37817 MANTISSA_STORE_T to store computations on mantissa. Use
37818 macros for rounding and division.
37819 (denorm): Likewise.
37820 (__dbl_mp): Likewise.
37821 (add_magnitudes): Likewise.
37822 (sub_magnitudes): Likewise.
37823 (__mul): Likewise.
37824 (__sqr): Likewise.
37825 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
37826 powers of two in terms of TWOPOW macro.
37827 (mp_no): Make type of mantissa as MANTISSA_T.
37828 [!RADIXI]: Define RADIXI.
37829 [!TWO52]: Define TWO52.
37830 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37831
37832 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37833
37834 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37835 llroundl symbol when building for PPC32.
37836
37837 2013-03-24 Mark H Weaver <mhw@netris.org>
37838
37839 * manual/arith.texi (Normalization Functions): Fix prototypes for
37840 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37841
37842 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37843
37844 [BZ #13889]
37845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37846 high value to check if expl overflow.
37847 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37848 to check for underflow and overflow.
37849 * math/libm-test.inc: Add exp test.
37850
37851 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
37852
37853 [BZ #11120]
37854 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37855 with NOT_IN_libc.
37856
37857 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37858
37859 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37860 symbol.
37861
37862 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
37863
37864 * math/gen-libm-test.pl (parse_args, special_functions): Properly
37865 wrap blocks consisting of several statements.
37866
37867 * sysdeps/generic/math-tests.h: New file.
37868 * sysdeps/i386/fpu/math-tests.h: Likewise.
37869 * math/test-snan.c: Include it.
37870 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37871
37872 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37873
37874 [BZ #15285]
37875 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37876 (__ieee754_j0l): Do not improve calculations using cos of twice
37877 input for inputs above LDBL_MAX / 2.0L.
37878 (__ieee754_y0l): Likewise.
37879 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37880 (__ieee754_j1l): Do not improve calculations using cos of twice
37881 input for inputs above LDBL_MAX / 2.0L.
37882 (__ieee754_y1l): Likewise.
37883 * math/libm-test.inc (j0_test): Add another test.
37884 (j1_test): Likewise.
37885 (y0_test): Likewise.
37886 (y1_test): Likewise.
37887 * sysdeps/i386/fpu/libm-test-ulps: Update.
37888
37889 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37890
37891 * Rules ($(objpfx)bench-%.c): Include code from a C source
37892 file.
37893
37894 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37895
37896 [BZ #15287]
37897 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37898 imaginary part 1.0 and real part less than 0.5 specially.
37899 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37900 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37901 * math/libm-test.inc (cacos_test): Add more tests.
37902 (casin_test): Likewise.
37903 (casinh_test): Likewise.
37904 * sysdeps/i386/fpu/libm-test-ulps: Update.
37905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37906
37907 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37908
37909 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37910 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37911
37912 2013-03-20 Joseph Myers <joseph@codesourcery.com>
37913
37914 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37915 * config.make.in (config-cflags-sse4): Remove variable.
37916 (config-cflags-avx): Likewise.
37917 (config-cflags-sse2avx): Likewise.
37918 (config-cflags-novzeroupper): Likewise.
37919 (config-asflags-i686): Likewise.
37920 (have-mfma4): Likewise.
37921 (have-as-vis3): Likewise.
37922 (MIG): Likewise.
37923 * configure.in (MIG): Do not AC_SUBST.
37924 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37925 (libc_cv_cc_sse4): Do not AC_SUBST.
37926 (libc_cv_cc_avx): Likewise.
37927 (libc_cv_cc_sse2avx): Likewise.
37928 (libc_cv_cc_novzeroupper): Likewise.
37929 (libc_cv_cc_fma4): Likewise.
37930 (libc_cv_as_i686): Likewise.
37931 (libc_cv_sparc_as_vis3): Likewise.
37932 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37933 LIBC_CONFIG_VAR.
37934 (config-asflags-i686): Likewise.
37935 (config-cflags-avx): Likewise.
37936 (config-cflags-sse2avx): Likewise.
37937 (have-mfma4): Likewise.
37938 (config-cflags-novzeroupper): Likewise.
37939 * sysdeps/mach/configure.in (MIG): Likewise.
37940 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37941 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37942 LIBC_CONFIG_VAR.
37943 (config-cflags-avx): Likewise.
37944 (config-cflags-sse2avx): Likewise.
37945 (have-mfma4): Likewise.
37946 (config-cflags-novzeroupper): Likewise.
37947 * configure: Regenerated.
37948 * sysdeps/i386/configure: Likewise.
37949 * sysdeps/mach/configure: Likewise.
37950 * sysdeps/sparc/configure: Likewise.
37951 * sysdeps/x86_64/configure: Likewise.
37952
37953 2013-03-20 Roland McGrath <roland@hack.frob.com>
37954
37955 [BZ #14812]
37956 * locale/programs/localedef.c (options): Put N_ translation marker
37957 on argument names, not just descriptions.
37958
37959 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37960
37961 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37962
37963 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
37964
37965 [BZ #14176]
37966 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37967
37968 2013-03-19 Roland McGrath <roland@hack.frob.com>
37969
37970 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37971 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37972 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37973 [!BEFORE_ABORT] (before_abort): New function.
37974 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37975 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37976 (writev_for_fatal): New function.
37977 (WRITEV_FOR_FATAL): New macro; call that.
37978 (backtrace_and_maps): New function.
37979 (BEFORE_ABORT): New macro; call that.
37980 (struct str_list): Type removed.
37981 (__libc_message, __libc_fatal): Functions removed.
37982 Include <sysdeps/posix/libc_fatal.c> instead.
37983
37984 2013-03-19 Joseph Myers <joseph@codesourcery.com>
37985
37986 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37987 constants.
37988 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37989 double constants.
37990
37991 2013-03-19 Andreas Schwab <schwab@suse.de>
37992
37993 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37994 * sysdeps/gnu/configure: Regenerate.
37995
37996 * configure.in: Substitute libc_cv_rtlddir.
37997 * configure: Regenerate.
37998 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37999 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38000 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38001 * elf/Makefile (install-others, CFLAGS-interp.c)
38002 (ldso_install, common-ldd-rewrite): Likewise.
38003 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38004 $(inst_slibdir)/$(rtld-installed-name).
38005 * scripts/rellns-sh: Add -p option.
38006 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38007 for source.
38008
38009 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38010
38011 * manual/nptl.texi: Renamed to ...
38012 * manual/threads.texi: ... this.
38013 * manual/Makefile (chapters): Update.
38014
38015 2013-03-18 Roland McGrath <roland@hack.frob.com>
38016
38017 [BZ #14812]
38018 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38019 on argument names, not just descriptions.
38020 * malloc/memusagestat.c (options): Likewise.
38021 * nss/getent.c (options): Likewise.
38022
38023 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38024
38025 [BZ #14812]
38026 * iconv/iconv_prog.c (options): Put N_ translation marker
38027 on argument names, not just descriptions.
38028 * iconv/iconvconfig.c (options): Likewise.
38029
38030 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38031
38032 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38033 implementation which is faster on all x86_64 architectures.
38034 Tested on AMD, Intel Nehalem, SNB, IVB.
38035 * sysdeps/x86_64/strnlen.S: Likewise.
38036
38037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38038 Remove all multiarch strlen and strnlen versions.
38039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38040 Remove strlen and strnlen related parts.
38041
38042 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38043 Inline strlen part.
38044 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38045
38046 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38047 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38048 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38049 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38050 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38051 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38052
38053 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38054
38055 * manual/memory.texi (Malloc Tunable Parameters):
38056 Sort parameters alphabetically. Add comments for missing entries.
38057
38058 2013-03-17 David S. Miller <davem@davemloft.net>
38059
38060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38061
38062 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38063
38064 [BZ #15283]
38065 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38066 for arguments at most half maximum finite value.
38067 * math/libm-test.inc (j0_test): Add more tests.
38068 (j1_test): Likewise.
38069 (y0_test): Likewise.
38070 (y1_test): Likewise.
38071 * sysdeps/i386/fpu/libm-test-ulps: Update.
38072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38073
38074 [BZ #14155]
38075 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38076 1 / x and functions P and Q for arguments above 0x1p256L.
38077 (__ieee754_y0l): Likewise.
38078 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38079 (__ieee754_y1l): Likewise.
38080 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38081 (j1_test): Likewise.
38082 (y0_test): Likewise.
38083 (y1_test): Likewise.
38084
38085 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38086
38087 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38088 variable.
38089
38090 2013-03-15 Roland McGrath <roland@hack.frob.com>
38091
38092 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38093 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38094 zero since it's initialized to EXEC_PAGESIZE.
38095
38096 * sysdeps/unix/sysv/linux/ldsodefs.h
38097 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38098 * sysdeps/generic/ldsodefs.h: ... here.
38099
38100 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38101
38102 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38103
38104 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38105 math/test-snan.c.
38106 * math/test-snan.c: Renamed from
38107 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38108 * math/Makefile (tests): Add test-snan.
38109 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38110 test-powerpc-snan.
38111
38112 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38113 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38114 functions.
38115 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38116 __builtin_nan family of functions.
38117 * math/libm-test.inc (initialize): Initialize qnan_value with
38118 __builtin_nan family of functions.
38119 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38120 Remove variables.
38121 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38122 Remove functions.
38123 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38124 storage class. Initialize qNaN_var and sNaN_var with
38125 __builtin_nan and __builtin_nans families of functions,
38126 respectively.
38127
38128 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38129 (sqrt_test): Remove duplicate test with qNaN input.
38130 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38131 (round_test, signbit_test, significand_test): Note missing +/-Inf
38132 as well as qNaN tests.
38133
38134 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38135 qNaN_var. Fix a few strings, too.
38136 * math/libm-test.inc (nan_value): Rename to qnan_value.
38137 * math/gen-libm-test.pl (%beautify): Adjust to that.
38138 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38139 * math/test-misc.c (main): Likewise.
38140 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38141 to __qnan_bytes, and __qnan_union, respectively.
38142 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38143 Likewise.
38144 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38145 and lqnanval, respectively.
38146 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38147 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38148 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38149 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38150
38151 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38152 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38153 doubles.
38154
38155 * math/test-misc.c (main): Fix copy'n'pastos.
38156 * misc/tst-efgcvt.c (special): Likewise.
38157
38158 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38159 Remove declarations.
38160
38161 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38162
38163 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38164 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38165 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38166 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38167
38168 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38169
38170 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38171 macro to return vdso values correctly in IFUNC implementations.
38172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38173 Optimization by using IFUNC.
38174
38175 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38176 Richard Henderson <rth@redhat.com>
38177 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38178
38179 * Makefile.in (bench): New target.
38180 * NEWS: Mention the benchmark framework.
38181 * Rules (bench): Likewise.
38182 (binaries-bench): Generate binaries for functions to
38183 benchmark.
38184 * benchtests/Makefile: New makefile for benchmark tests.
38185 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38186 programs.
38187 * benchtests/exp-inputs: New input file for EXP function.
38188 * benchtests/pow-inputs: New input file for POW function.
38189 * scripts/bench.pl: New script to generate source files for
38190 benchmark programs.
38191
38192 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38193
38194 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38195 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38196 computations on mantissa. Use macros for rounding and
38197 division.
38198 (denorm): Likewise.
38199 (__dbl_mp): Likewise.
38200 (add_magnitudes): Likewise.
38201 (sub_magnitudes): Likewise.
38202 (__mul): Likewise.
38203 (__sqr): Likewise.
38204 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38205 powers of two in terms of TWOPOW macro.
38206 (mp_no): Make type of mantissa as MANTISSA_T.
38207 [!RADIXI]: Define RADIXI.
38208 [!TWO52]: Define TWO52.
38209 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38210
38211 * manual/nptl.texi (cindex): Modify threads to pthreads.
38212
38213 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38214
38215 * sysdeps/x86_64/preconfigure: Regenerated.
38216
38217 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38218
38219 [BZ #14155]
38220 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38221 0x1p28 and above.
38222 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38223 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38224 0x1p28 and above.
38225 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38226 * math/libm-test.inc (j0_test): Do not allow one spurious
38227 underflow exception.
38228 (y1_test): Likewise.
38229
38230 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38231
38232 * manual/Makefile (chapters): Add nptl.
38233 * manual/debug.texi (Debugging Support): Add link to Threads
38234 chapter.
38235 * manual/nptl.texi: New file.
38236
38237 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38238
38239 2013-03-14 Petr Baudis <pasky@ucw.cz>
38240
38241 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38242 for non-NULL pointer before the memory validity test. Pointed
38243 out by Holger Brunck <holger.brunck@keymile.com>.
38244
38245 2013-03-13 Andreas Schwab <schwab@suse.de>
38246
38247 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38248 instead of .os.
38249
38250 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38251
38252 * timezone/zic.c: Update from tzcode 2013b.
38253
38254 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38255
38256 * manual/install.texi (Configuring and compiling):
38257 Mention i686 and i586.
38258 * INSTALL: Regenerate.
38259
38260 2013-03-12 Roland McGrath <roland@hack.frob.com>
38261
38262 * sysdeps/init_array/elf-init.c: New file.
38263 * csu/elf-init.c
38264 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38265 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38266
38267 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38268 __gmon_start__ as global, but as static with a .preinit_array pointer.
38269 * sysdeps/init_array/gmon-start.c: New file. Use that.
38270 * sysdeps/init_array/crti.S: New file, empty except for comments.
38271 * sysdeps/init_array/crtn.S: Likewise.
38272
38273 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38274
38275 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38276 definining bcopy.
38277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38278 Remove Prefer_SSE_for_memop.
38279 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38280 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38281 HAS_PREFER_SSE_FOR_MEMOP.
38282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38283 memset-x86-64.
38284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38285 Remove bzero, memset ifunc support.
38286 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38287 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38288 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38289 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38290
38291 2013-03-11 Andreas Schwab <schwab@suse.de>
38292
38293 [BZ #15234]
38294 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38295 by SHLIB_COMPAT.
38296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38297 (GLIBC_2.16): Remove pthread_atfork.
38298
38299 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38300
38301 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38302 (ptestcases.h): Likewise.
38303
38304 2013-03-08 Roland McGrath <roland@hack.frob.com>
38305
38306 * Makeconfig ($(common-objpfx)config.status): Depend on
38307 sysdeps/*/preconfigure{,.in} too.
38308
38309 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38310
38311 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38312 (__free_hook): Use void * instead of __malloc_ptr_t.
38313 (__malloc_hook): Likewise.
38314 (__realloc_hook): Likewise.
38315 (__memalign_hook): Likewise.
38316 (__after_morecore_hook): Likewise.
38317 * malloc/arena.c (save_malloc_hook): Likewise.
38318 (save_free_hook): Likewise.
38319 * malloc/hooks.c (malloc_hook_ini): Likewise.
38320 (realloc_hook_ini): Likewise.
38321 (memalign_hook_ini): Likewise.
38322 * malloc/malloc.c (malloc_hook_ini): Likewise.
38323 (realloc_hook_ini): Likewise.
38324 (memalign_hook_ini): Likewise.
38325 (__free_hook): Likewise.
38326 (__malloc_hook): Likewise.
38327 (__realloc_hook): Likewise.
38328 (__memalign_hook): Likewise.
38329 (__libc_malloc): Likewise.
38330 (__libc_free): Likewise.
38331 (__libc_realloc): Likewise.
38332 (__libc_memalign): Likewise.
38333 (__libc_valloc): Likewise.
38334 (__libc_pvalloc): Likewise.
38335 (__libc_calloc): Likewise.
38336 (__posix_memalign): Likewise.
38337 * malloc/morecore.c (__sbrk): Likewise.
38338 (__default_morecore): Likewise.
38339
38340 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38341
38342 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38343 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38344 __malloc_ptrdiff_t.
38345
38346 * malloc/malloc.h (__malloc_size_t): Remove macro.
38347 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38348 __malloc_size_t.
38349 (old_memalign_hook): Likewise.
38350 (old_realloc_hook): Likewise.
38351 (struct hdr): Likewise.
38352 (flood): Likewise.
38353 (mallochook): Likewise.
38354 (memalignhook): Likewise.
38355 (reallochook): Likewise.
38356 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38357 (tr_old_realloc_hook): Likewise.
38358 (tr_old_memalign_hook): Likewise.
38359 (tr_mallochook): Likewise.
38360 (tr_reallochook): Likewise.
38361 (tr_memalignhook): Likewise.
38362
38363 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38364
38365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38366 default_ldbl_pack and using as default implementation.
38367 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38368 implementation.
38369 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38370 redundant definition.
38371 (ldbl_insert_mantissa): Likewise.
38372 (ldbl_canonicalize): Likewise.
38373 (ldbl_nearbyint): Likewise.
38374 (ldbl_pack): Rename to ldbl_pack_ppc.
38375 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38376 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38377 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38378
38379 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38380
38381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38382 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38383 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38384 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38386 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38387 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38388 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38389
38390 2013-03-07 Andreas Jaeger <aj@suse.de>
38391
38392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38393 bits/mman-linux.h.
38394
38395 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38396
38397 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38398 Include mpa.h and declare __MPEXP.
38399 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38400 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38401 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38402 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38403 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38404 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38405 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38406
38407 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38408 (__slowpow): Use long double EXPL and LOGL functions to
38409 compute POW.
38410 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38411 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38412 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38413 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38414 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38416
38417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38418 intermediate variable to calculate exponent.
38419 (__sqr): Likewise.
38420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38421 Likewise.
38422 (__sqr): Likewise.
38423
38424 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38425 [!NO__SQR]: Define __sqr.
38426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38427 and NO__SQR. Remove all code except __mul and __sqr. Include
38428 sysdeps/ieee754/dbl-64/mpa.c.
38429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38430
38431 [BZ #12723]
38432 * posix/Makefile (tests): Add tst-pathconf.
38433 * posix/tst-pathconf.c: New test case.
38434 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38435 _PC_PIPE_BUF.
38436 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38437
38438 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38439
38440 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38441
38442 2013-03-06 Andreas Jaeger <aj@suse.de>
38443
38444 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38445 definition via __MAP_ANONYMOUS.
38446
38447 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38448 it's not part of Linux headers.
38449
38450 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38451 (MAP_HUGE_MASK): Define.
38452
38453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38454 Define.
38455 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38457 Define.
38458 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38459 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38460 Define.
38461 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38463 Define.
38464 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38465
38466 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38467 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38468 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38469 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38470 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38471 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38472
38473 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38474 Handle f2fs.
38475
38476 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38477 Handle f2fs and efivarfs.
38478
38479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38480 f2fs.
38481
38482 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38483 (EFIVARFS_MAGIC): Add.
38484 (F2FS_LINK_MAX): Add.
38485
38486 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38487
38488 * stdio-common/vfprintf.c: Replace __builtin_expect with
38489 __glibc_unlikely.
38490
38491 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38492
38493 [BZ #13550]
38494 * sysdeps/generic/bp-sym.h: Remove file.
38495 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38496 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38497 <bp-sym.h> and <bp-asm.h>.
38498 (__longjmp): Don't use BP_SYM.
38499 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38500 and <bp-asm.h>.
38501 (memcpy): Don't use BP_SYM.
38502 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38503 <bp-sym.h> and <bp-asm.h>.
38504 (memcpy): Don't use BP_SYM.
38505 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38506 <bp-asm.h>.
38507 (memcpy): Don't use BP_SYM.
38508 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38509 <bp-asm.h>.
38510 (memset): Don't use BP_SYM.
38511 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38512 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38513 (__bzero): Don't use BP_SYM.
38514 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38515 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38517 <bp-sym.h> and <bp-asm.h>.
38518 (memcmp): Don't use BP_SYM. Remove comment about bounded
38519 pointers.
38520 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38521 <bp-sym.h> and <bp-asm.h>.
38522 (memcpy): Don't use BP_SYM.
38523 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38524 <bp-sym.h> and <bp-asm.h>.
38525 (memset): Don't use BP_SYM.
38526 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38527 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38528 (__bzero): Don't use BP_SYM.
38529 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38530 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38531 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38532 <bp-sym.h> and <bp-asm.h>.
38533 (strncmp): Don't use BP_SYM. Remove comment about bounded
38534 pointers.
38535 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38536 <bp-sym.h> and <bp-asm.h>.
38537 (memcpy): Don't use BP_SYM.
38538 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38539 <bp-sym.h> and <bp-asm.h>.
38540 (memset): Don't use BP_SYM.
38541 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38542 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38543 (__bzero): Don't use BP_SYM.
38544 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38545 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38547 <bp-sym.h> and <bp-asm.h>.
38548 (__memchr): Don't use BP_SYM.
38549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38550 <bp-sym.h> and <bp-asm.h>.
38551 (memcmp): Don't use BP_SYM. Remove comment about bounded
38552 pointers.
38553 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38554 <bp-sym.h> and <bp-asm.h>.
38555 (memcpy): Don't use BP_SYM.
38556 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38557 <bp-sym.h> and <bp-asm.h>.
38558 (__mempcpy): Don't use BP_SYM.
38559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38560 <bp-sym.h> and <bp-asm.h>.
38561 (__memrchr): Don't use BP_SYM.
38562 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38563 <bp-sym.h> and <bp-asm.h>.
38564 (memset): Don't use BP_SYM.
38565 (__bzero): Likewise.
38566 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38567 <bp-sym.h> and <bp-asm.h>.
38568 (__rawmemchr): Don't use BP_SYM.
38569 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38570 <bp-sym.h> and <bp-asm.h>.
38571 (__STRCMP): Don't use BP_SYM.
38572 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38573 <bp-sym.h> and <bp-asm.h>.
38574 (strchr): Don't use BP_SYM.
38575 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38576 <bp-sym.h> and <bp-asm.h>.
38577 (__strchrnul): Don't use BP_SYM.
38578 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38579 <bp-sym.h> and <bp-asm.h>.
38580 (strlen): Don't use BP_SYM.
38581 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38582 <bp-sym.h> and <bp-asm.h>.
38583 (strncmp): Don't use BP_SYM. Remove comment about bounded
38584 pointers.
38585 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38586 <bp-sym.h> and <bp-asm.h>.
38587 (__strnlen): Don't use BP_SYM.
38588 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38589 <bp-sym.h> and <bp-asm.h>.
38590 (__GI__setjmp): Don't use BP_SYM.
38591 (_setjmp): Likewise.
38592 (__sigsetjmp): Likewise.
38593 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38594 (L(start_addresses)): Don't use BP_SYM.
38595 (_start): Likewise.
38596 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38597 <bp-asm.h>.
38598 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38599 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38600 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38601 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38602 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38603 <bp-asm.h>.
38604 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38605 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38606 about bounded pointers.
38607 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38608 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38609 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38610 <bp-asm.h>.
38611 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38612 about bounded pointers. Remove GKM FIXME comments.
38613 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38614 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38615 <bp-asm.h>.
38616 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38617 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38618 Remove GKM FIXME comments.
38619 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38620 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38621 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38622 <bp-asm.h>.
38623 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38624 about bounded pointers. Remove GKM FIXME comment.
38625 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38626 and <bp-asm.h>.
38627 (strncmp): Don't use BP_SYM. Remove comment about bounded
38628 pointers.
38629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38630 <bp-sym.h> and <bp-asm.h>.
38631 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38633 <bp-sym.h> and <bp-asm.h>.
38634 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38635 comment.
38636
38637 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38638
38639 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38640 call free(NULL).
38641
38642 2013-03-05 David S. Miller <davem@davemloft.net>
38643
38644 * po/es.po: Update from translation team.
38645
38646 2013-03-05 Andreas Jaeger <aj@suse.de>
38647
38648 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38649 <bits/mman-linux.h>.
38650 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38651 is fine.
38652 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38653 <bits/mman-linux.h> to end of file.
38654 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38655 is fine.
38656 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38657 <bits/mman-linux.h> to end of file.
38658 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38659 is fine.
38660 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38661 <bits/mman-linux.h> to end of file.
38662
38663 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38664 (MCL_CURRENT, MCL_FUTURE): Define here.
38665
38666 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38667
38668 [BZ #15232]
38669 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38670 attribute_hidden.
38671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38672
38673 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38674
38675 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38676 fourth parameter needed for rt_sigprocmask syscall.
38677 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38678 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38679 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38680 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38681 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38682 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38683
38684 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38685
38686 [BZ #13550]
38687 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38688 comment about bounded pointers.
38689 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38690 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38691
38692 2013-03-04 Andreas Jaeger <aj@suse.de>
38693
38694 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38695 common definitions.
38696
38697 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38698 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38703
38704 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38705
38706 [BZ #15055]
38707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38708 __ieee754_sqrl instead of __sqrl.
38709
38710 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38711
38712 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38713 * sysdeps/powerpc/fpu_control.h: ... here.
38714 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38715 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38716 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38717 * sysdeps/powerpc/bits/mathinline.h: ... here.
38718
38719 2013-03-01 Roland McGrath <roland@hack.frob.com>
38720
38721 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38722 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38723 to just [NEED_DL_SYSINFO_DSO].
38724 * elf/dl-support.c: Likewise.
38725 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38726 * elf/rtld.c (dl_main): Likewise.
38727 * elf/setup-vdso.h (setup_vdso): Likewise.
38728 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38729 * sysdeps/unix/sysv/linux/dl-sysdep.c
38730 (_dl_discover_osversion): Likewise.
38731
38732 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38733
38734 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38735 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38736
38737 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38738
38739 * NEWS: Mention libm performance improvements and non-x86 PI
38740 futex support.
38741
38742 * csu/libc-start.c (__pthread_initialize_minimal): Change
38743 function arguments.
38744 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38745
38746 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38747
38748 [BZ #13550]
38749 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38750 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38751 <bp-sym.h> and <bp-asm.h>.
38752 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38753 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38754 and <bp-asm.h>.
38755 (memcpy): Don't use BP_SYM.
38756 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38757 <bp-asm.h>.
38758 (__mpn_add_n): Don't use BP_SYM.
38759 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38760 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38761 and <bp-asm.h>.
38762 (__mpn_addmul_1): Don't use BP_SYM.
38763 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38764 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38765 <bp-sym.h>.
38766 (_setjmp): Don't use BP_SYM.
38767 (__novmx_setjmp): Likewise.
38768 (__GI__setjmp): Likewise.
38769 (__vmx_setjmp): Likewise.
38770 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38771 <bp-sym.h>.
38772 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38773 (__bzero): Don't use BP_SYM.
38774 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38775 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38776 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38777 <bp-sym.h> and <bp-asm.h>.
38778 (memcpy): Don't use BP_SYM.
38779 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38780 <bp-sym.h> and <bp-asm.h>.
38781 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38782 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38783 <bp-sym.h> and <bp-asm.h>.
38784 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38785 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38786 <bp-asm.h>.
38787 (__mpn_lshift): Don't use BP_SYM.
38788 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38789 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38790 <bp-asm.h>.
38791 (memset): Don't use BP_SYM.
38792 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38793 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38794 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38795 <bp-asm.h>.
38796 (__mpn_mul_1): Don't use BP_SYM.
38797 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38799 <bp-sym.h> and <bp-asm.h>.
38800 (memcmp): Don't use BP_SYM.
38801 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38802 <bp-sym.h> and <bp-asm.h>.
38803 (memcpy): Don't use BP_SYM.
38804 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38805 <bp-sym.h> and <bp-asm.h>.
38806 (memset): Don't use BP_SYM.
38807 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38808 <bp-sym.h> and <bp-asm.h>.
38809 (strncmp): Don't use BP_SYM.
38810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38811 <bp-sym.h> and <bp-asm.h>.
38812 (memcpy): Don't use BP_SYM.
38813 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38814 <bp-sym.h> and <bp-asm.h>.
38815 (memset): Don't use BP_SYM.
38816 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38817 <bp-sym.h> and <bp-asm.h>.
38818 (__memchr): Don't use BP_SYM.
38819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38820 <bp-sym.h> and <bp-asm.h>.
38821 (memcmp): Don't use BP_SYM.
38822 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38823 <bp-sym.h> and <bp-asm.h>.
38824 (memcpy): Don't use BP_SYM.
38825 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38826 <bp-sym.h> and <bp-asm.h>.
38827 (__mempcpy): Don't use BP_SYM.
38828 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38829 <bp-sym.h> and <bp-asm.h>.
38830 (__memrchr): Don't use BP_SYM.
38831 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38832 <bp-sym.h> and <bp-asm.h>.
38833 (memset): Don't use BP_SYM.
38834 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38835 <bp-sym.h> and <bp-asm.h>.
38836 (__rawmemchr): Don't use BP_SYM.
38837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38838 <bp-sym.h> and <bp-asm.h>.
38839 (__STRCMP): Don't use BP_SYM.
38840 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38841 <bp-sym.h> and <bp-asm.h>.
38842 (strchr): Don't use BP_SYM.
38843 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38844 <bp-sym.h> and <bp-asm.h>.
38845 (__strchrnul): Don't use BP_SYM.
38846 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38847 <bp-sym.h> and <bp-asm.h>.
38848 (strlen): Don't use BP_SYM.
38849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38850 <bp-sym.h> and <bp-asm.h>.
38851 (strncmp): Don't use BP_SYM.
38852 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38853 <bp-sym.h> and <bp-asm.h>.
38854 (__strnlen): Don't use BP_SYM.
38855 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38856 <bp-asm.h>.
38857 (__mpn_rshift): Don't use BP_SYM.
38858 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38859 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38860 <bp-sym.h> and <bp-asm.h>.
38861 (__sigsetjmp): Don't use BP_SYM.
38862 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38863 (L(start_addresses)): Don't use BP_SYM.
38864 (_start): Likewise.
38865 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38866 <bp-asm.h>.
38867 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38868 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38869 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38870 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38871 <bp-asm.h>.
38872 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38873 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38874 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38875 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38876 <bp-asm.h>.
38877 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38878 comments.
38879 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38880 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38881 <bp-asm.h>.
38882 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
38883 FIXME comments.
38884 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38885 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38886 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38887 <bp-asm.h>.
38888 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38889 comment.
38890 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38891 and <bp-asm.h>.
38892 (strncmp): Don't use BP_SYM,
38893 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38894 <bp-asm.h>.
38895 (__mpn_sub_n): Don't use BP_SYM.
38896 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38897 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38898 and <bp-asm.h>.
38899 (__mpn_submul_1): Don't use BP_SYM.
38900 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38902 <bp-sym.h> and <bp-asm.h>.
38903 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38905 <bp-sym.h> and <bp-asm.h>.
38906 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38907 comment.
38908
38909 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38910
38911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38912 Use ZK to minimize writes to Z.
38913 (sub_magnitudes): Simplify code a bit.
38914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38915 Use ZK to minimize writes to Z.
38916 (sub_magnitudes): Simplify code a bit.
38917
38918 2013-02-27 Roland McGrath <roland@hack.frob.com>
38919
38920 * csu/gmon-start.c: Add special exception to license text.
38921
38922 2013-02-27 Richard Henderson <rth@redhat.com>
38923
38924 * scripts/config.guess: Update from config.git.
38925 * scripts/config.sub: Likewise.
38926
38927 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38928
38929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38930
38931 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38932
38933 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38934
38935 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38936
38937 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38938
38939 2013-02-26 Roland McGrath <roland@hack.frob.com>
38940
38941 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38942 [$(build-shared = yes].
38943
38944 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38945
38946 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38947 (__mul): Reduce iterations for calculating mantissa.
38948
38949 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38950 MPTWO.
38951 (__mpranred): Likewise.
38952
38953 [BZ #15160]
38954 * malloc/memusagestat.c (main): Draw graphs for heap and stack
38955 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38956
38957 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
38958
38959 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38960 Define __attribute__.
38961
38962 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38963
38964 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38965 unused.
38966 * posix/regex_internal.h (__attribute): Remove.
38967 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38968 (re_string_context_at): Likewise.
38969 (bitset_not): Use __attribute__ and mark function as possibly
38970 unused.
38971 (bitset_merge): Likewise.
38972 (bitset_mask): Likewise.
38973 (re_string_char_size_at): Likewise.
38974 (re_string_wchar_at): Likewise.
38975 (re_string_elem_size_at): Likewise.
38976
38977 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38978
38979 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38980 code.
38981 (cc32): Likewise.
38982
38983 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38984 (__acr): Likewise.
38985 (__cpy): Likewise.
38986 (norm): Likewise.
38987 (denorm): Likewise.
38988 (__dbl_mp): Likewise.
38989 (add_magnitudes): Likewise.
38990 (sub_magnitudes): Likewise.
38991 (__mul): Likewise.
38992 (__inv): Likewise.
38993
38994 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38995 style.
38996
38997 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38998 style.
38999
39000 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39001 code.
39002
39003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39004 up changes with default code.
39005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39006 Likewise.
39007
39008 2013-02-24 Allan McRae <allan@archlinux.org>
39009
39010 * manual/socket.texi (The Internet Namespace): Order menu items
39011 to match that in the file.
39012
39013 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39014 node listing of the info page menu.
39015
39016 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39017
39018 [BZ #13550]
39019 * sysdeps/i386/bp-asm.h: Remove file.
39020 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39021 (PARMS): Do not use macros from bp-asm.h.
39022 (S1): Likewise.
39023 (S2): Likewise.
39024 (SIZE): Likewise.
39025 (__mpn_add_n): Do not use BP_SYM
39026 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39027 "bp-asm.h".
39028 (PARMS): Do not use macros from bp-asm.h.
39029 (S1): Likewise.
39030 (SIZE): Likewise.
39031 (__mpn_addmul_1): Do not use BP_SYM
39032 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39033 "bp-asm.h".
39034 (PARMS): Do not use macros from bp-asm.h.
39035 (SIGMSK): Likewise.
39036 (_setjmp): Likewise. Do not use BP_SYM.
39037 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39038 "bp-asm.h".
39039 (PARMS): Do not use macros from bp-asm.h.
39040 (SIGMSK): Likewise.
39041 (setjmp): Likewise. Do not use BP_SYM.
39042 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39043 "bp-asm.h".
39044 (PARMS): Do not use macros from bp-asm.h.
39045 (__frexp): Do not use BP_SYM.
39046 (frexp): Likewise.
39047 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39048 "bp-asm.h".
39049 (PARMS): Do not use macros from bp-asm.h.
39050 (__frexpf): Do not use BP_SYM.
39051 (frexpf): Likewise.
39052 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39053 "bp-asm.h".
39054 (PARMS): Do not use macros from bp-asm.h.
39055 (__frexpl): Do not use BP_SYM.
39056 (frexpl): Likewise.
39057 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39058 "bp-asm.h".
39059 (PARMS): Do not use macros from bp-asm.h.
39060 (__remquo): Do not use BP_SYM.
39061 (remquo): Likewise.
39062 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39063 "bp-asm.h".
39064 (PARMS): Do not use macros from bp-asm.h.
39065 (__remquof): Do not use BP_SYM.
39066 (remquof): Likewise.
39067 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39068 "bp-asm.h".
39069 (PARMS): Do not use macros from bp-asm.h.
39070 (__remquol): Do not use BP_SYM.
39071 (remquol): Likewise.
39072 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39073 "bp-asm.h".
39074 (PARMS): Do not use macros from bp-asm.h.
39075 (DEST): Likewise.
39076 (SRC): Likewise.
39077 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39078 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39079 "bp-asm.h".
39080 (PARMS): Do not use macros from bp-asm.h.
39081 (strlen): Do not use BP_SYM.
39082 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39083 "bp-asm.h".
39084 (PARMS): Do not use macros from bp-asm.h.
39085 (S1): Likewise.
39086 (S2): Likewise.
39087 (SIZE): Likewise.
39088 (__mpn_add_n): Do not use BP_SYM.
39089 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39090 "bp-asm.h".
39091 (PARMS): Do not use macros from bp-asm.h.
39092 (S1): Likewise.
39093 (SIZE): Likewise.
39094 (__mpn_addmul_1): Do not use BP_SYM.
39095 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39096 weak_alias.
39097 (bzero): Likewise.
39098 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39099 "bp-asm.h".
39100 (PARMS): Do not use macros from bp-asm.h.
39101 (S): Likewise.
39102 (SIZE): Likewise.
39103 (__mpn_lshift): Do not use BP_SYM.
39104 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39105 "bp-asm.h".
39106 (PARMS): Do not use macros from bp-asm.h.
39107 (DEST): Likewise.
39108 (SRC): Likewise.
39109 (LEN): Likewise.
39110 (memcpy): Likewise. Do not use BP_SYM.
39111 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39112 libc_hidden_def and weak_alias.
39113 (mempcpy): Do not use BP_SYM in weak_alias.
39114 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39115 "bp-asm.h".
39116 (PARMS): Do not use macros from bp-asm.h.
39117 (DEST): Likewise.
39118 (LEN): Likewise.
39119 [!BZERO_P] (CHR): Likewise.
39120 (memset): Likewise. Do not use BP_SYM.
39121 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39122 "bp-asm.h".
39123 (PARMS): Do not use macros from bp-asm.h.
39124 (S1): Likewise.
39125 (SIZE): Likewise.
39126 (__mpn_mul_1): Do not use BP_SYM.
39127 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39128 "bp-asm.h".
39129 (PARMS): Do not use macros from bp-asm.h.
39130 (S): Likewise.
39131 (SIZE): Likewise.
39132 (__mpn_rshift): Do not use BP_SYM.
39133 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39134 "bp-asm.h".
39135 (PARMS): Do not use macros from bp-asm.h.
39136 (STR): Likewise.
39137 (CHR): Likewise.
39138 (strchr): Likewise. Do not use BP_SYM.
39139 (index): Do not use BP_SYM in weak_alias.
39140 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39141 "bp-asm.h".
39142 (PARMS): Do not use macros from bp-asm.h.
39143 (DEST): Likewise.
39144 (SRC): Likewise.
39145 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39146 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39147 "bp-asm.h".
39148 (PARMS): Do not use macros from bp-asm.h.
39149 (strlen): Do not use BP_SYM.
39150 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39151 "bp-asm.h".
39152 (PARMS): Do not use macros from bp-asm.h.
39153 (S1): Likewise.
39154 (S2): Likewise.
39155 (SIZE): Likewise.
39156 (__mpn_sub_n): Do not use BP_SYM.
39157 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39158 "bp-asm.h".
39159 (PARMS): Do not use macros from bp-asm.h.
39160 (S1): Likewise.
39161 (SIZE): Likewise.
39162 (__mpn_submul_1): Do not use BP_SYM.
39163 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39164 "bp-asm.h".
39165 (PARMS): Do not use macros from bp-asm.h.
39166 (S1): Likewise.
39167 (S2): Likewise.
39168 (SIZE): Likewise.
39169 (__mpn_add_n): Do not use BP_SYM.
39170 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39171 weak_alias.
39172 (bzero): Likewise.
39173 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39174 "bp-asm.h".
39175 (PARMS): Do not use macros from bp-asm.h.
39176 (BLK2): Likewise.
39177 (LEN): Likewise.
39178 (memcmp): Do not use BP_SYM.
39179 (bcmp): Do not use BP_SYM in weak_alias.
39180 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39181 "bp-asm.h".
39182 (PARMS): Do not use macros from bp-asm.h.
39183 (DEST): Likewise.
39184 (SRC): Likewise.
39185 (LEN): Likewise.
39186 (memcpy): Likewise. Do not use BP_SYM.
39187 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39188 "bp-asm.h".
39189 (PARMS): Do not use macros from bp-asm.h.
39190 (DEST): Likewise.
39191 (SRC): Likewise.
39192 (LEN): Likewise.
39193 (memmove): Likewise. Do not use BP_SYM.
39194 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39195 "bp-asm.h".
39196 (PARMS): Do not use macros from bp-asm.h.
39197 (DEST): Likewise.
39198 (SRC): Likewise.
39199 (LEN): Likewise.
39200 (__mempcpy): Likewise. Do not use BP_SYM.
39201 (mempcpy): Do not use BP_SYM in weak_alias.
39202 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39203 "bp-asm.h".
39204 (PARMS): Do not use macros from bp-asm.h.
39205 (DEST): Likewise.
39206 (LEN): Likewise.
39207 [!BZERO_P] (CHR): Likewise.
39208 (memset): Likewise. Do not use BP_SYM.
39209 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39210 "bp-asm.h".
39211 (PARMS): Do not use macros from bp-asm.h.
39212 (STR2): Likewise.
39213 (strcmp): Do not use BP_SYM.
39214 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39215 "bp-asm.h".
39216 (PARMS): Do not use macros from bp-asm.h.
39217 (STR): Likewise.
39218 (DELIM): Likewise.
39219 [USE_AS_STRTOK_R] (SAVE): Likewise.
39220 (FUNCTION): Likewise. Do not use BP_SYM.
39221 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39222 aliases.
39223 (strtok_r): Likewise.
39224 (__GI___strtok_r): Likewise.
39225 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39226 (PARMS): Do not use macros from bp-asm.h.
39227 (S): Likewise.
39228 (SIZE): Likewise.
39229 (__mpn_lshift): Do not use BP_SYM.
39230 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39231 (PARMS): Do not use macros from bp-asm.h.
39232 (STR): Likewise.
39233 (CHR): Likewise.
39234 (__memchr): Do not use BP_SYM.
39235 (memchr): Do not use BP_SYM in weak_alias.
39236 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39237 (PARMS): Do not use macros from bp-asm.h.
39238 (BLK2): Likewise.
39239 (LEN): Likewise.
39240 (memcmp): Do not use BP_SYM.
39241 (bcmp): Do not use BP_SYM in weak_alias.
39242 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39243 (PARMS): Do not use macros from bp-asm.h.
39244 (S1): Likewise.
39245 (SIZE): Likewise.
39246 (__mpn_mul_1): Do not use BP_SYM.
39247 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39248 "bp-asm.h".
39249 (PARMS): Do not use macros from bp-asm.h.
39250 (STR): Likewise.
39251 (CHR): Likewise.
39252 (__rawmemchr): Do not use BP_SYM.
39253 (rawmemchr): Do not use BP_SYM in weak_alias.
39254 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39255 (PARMS): Do not use macros from bp-asm.h.
39256 (S): Likewise.
39257 (SIZE): Likewise.
39258 (__mpn_rshift): Do not use BP_SYM.
39259 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39260 (PARMS): Do not use macros from bp-asm.h.
39261 (SIGMSK): Likewise.
39262 (__sigsetjmp): Likewise. Do not use BP_SYM.
39263 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39264 (_start): Do not use BP_SYM.
39265 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39266 (PARMS): Do not use macros from bp-asm.h.
39267 (DEST): Likewise.
39268 (SRC): Likewise.
39269 (__stpcpy): Likewise. Do not use BP_SYM.
39270 (stpcpy): Do not use BP_SYM in weak_alias.
39271 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39272 "bp-asm.h".
39273 (PARMS): Do not use macros from bp-asm.h.
39274 (DEST): Likewise.
39275 (SRC): Likewise.
39276 (LEN): Likewise.
39277 (__stpncpy): Likewise. Do not use BP_SYM.
39278 (stpncpy): Do not use BP_SYM in weak_alias.
39279 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39280 (PARMS): Do not use macros from bp-asm.h.
39281 (STR): Likewise.
39282 (CHR): Likewise.
39283 (strchr): Likewise. Do not use BP_SYM.
39284 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39285 "bp-asm.h".
39286 (PARMS): Do not use macros from bp-asm.h.
39287 (STR): Likewise.
39288 (CHR): Likewise.
39289 (__strchrnul): Likewise. Do not use BP_SYM.
39290 (strchrnul): Do not use BP_SYM in weak_alias.
39291 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39292 "bp-asm.h".
39293 (PARMS): Do not use macros from bp-asm.h.
39294 (STOP): Likewise.
39295 (strcspn): Do not use BP_SYM.
39296 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39297 "bp-asm.h".
39298 (PARMS): Do not use macros from bp-asm.h.
39299 (STR): Likewise.
39300 (STOP): Likewise.
39301 (strpbrk): Likewise. Do not use BP_SYM.
39302 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39303 "bp-asm.h".
39304 (PARMS): Do not use macros from bp-asm.h.
39305 (STR): Likewise.
39306 (CHR): Likewise.
39307 (strrchr): Likewise. Do not use BP_SYM.
39308 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39309 (PARMS): Do not use macros from bp-asm.h.
39310 (SKIP): Likewise.
39311 (strspn): Do not use BP_SYM.
39312 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39313 (PARMS): Do not use macros from bp-asm.h.
39314 (STR): Likewise.
39315 (DELIM): Likewise.
39316 (SAVE): Likewise.
39317 (FUNCTION): Likewise. Do not use BP_SYM.
39318 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39319 aliases.
39320 (strtok_r): Likewise.
39321 (__GI___strtok_r): Likewise.
39322 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39323 (PARMS): Do not use macros from bp-asm.h.
39324 (S1): Likewise.
39325 (S2): Likewise.
39326 (SIZE): Likewise.
39327 (__mpn_sub_n): Do not use BP_SYM.
39328 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39329 "bp-asm.h".
39330 (PARMS): Do not use macros from bp-asm.h.
39331 (S1): Likewise.
39332 (SIZE): Likewise.
39333 (__mpn_submul_1): Do not use BP_SYM.
39334 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39335 <bp-sym.h>.
39336 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39337 and <bp-asm.h>.
39338 (PARMS): Do not use macros from bp-asm.h.
39339 (FLAGS): Likewise.
39340 (PTID): Likewise.
39341 (TLS): Likewise.
39342 (CTID): Likewise.
39343 (__clone): Do not use BP_SYM.
39344 (clone): Do not use BP_SYM in weak_alias.
39345 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39346 and <bp-asm.h>.
39347 (PARMS): Do not use macros from bp-asm.h.
39348 (LEN): Likewise.
39349 (__mmap64): Do not use BP_SYM.
39350 (mmap64): Do not use BP_SYM in weak_alias.
39351 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39352 <bp-sym.h> and <bp-asm.h>.
39353 (PARMS): Do not use macros from bp-asm.h.
39354 (__posix_fadvise64_l64): Do not use BP_SYM.
39355 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39356 (PARMS): Do not use macros from bp-asm.h.
39357 (NSOPS): Likewise.
39358 (semtimedop): Do not use BP_SYM.
39359 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39360 and <bp-asm.h>.
39361
39362 2013-02-21 Allan McRae <allan@archlinux.org>
39363
39364 * manual/message.texi (Charset conversion in gettext):
39365 Move @end statement to beginning of line.
39366
39367 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39368
39369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39370 static.
39371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39372 Likewise.
39373
39374 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39375 (denorm): Likewise.
39376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39378
39379 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39380
39381 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39382 tail-call to the resolved function if pltexit isn't needed.
39383
39384 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39385
39386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39387 or Y being zero as being unlikely.
39388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39389 Likewise.
39390
39391 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39392
39393 * manual/nss.texi (System Databases and Name Service Switch):
39394 Remove frobnicate @pxref.
39395
39396 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39397
39398 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39399 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39400
39401 2013-02-20 Petr Machata <pmachata@redhat.com>
39402
39403 * elf/elf.h (R_ARM_TARGET1): New macro.
39404 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39405 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39406 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39407 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39408 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39409 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39410 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39411 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39412 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39413 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39414 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39415 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39416 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39417 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39418 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39419 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39420 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39421 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39422 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39423 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39424 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39425 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39426 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39427 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39428 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39429 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39430 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39431 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39432 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39433 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39434 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39435 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39436 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39437 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39438 (R_ARM_THM_GOT_BREL12): Likewise.
39439 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39440 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39441 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39442 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39443 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39444 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39445 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39446 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39447 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39448
39449 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39450
39451 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39452 __attribute_used__ to __attribute__ ((unused)).
39453
39454 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39455
39456 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39457 powerpc mpa.c.
39458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39459 comment formatting.
39460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39461
39462 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39463
39464 [BZ #13550]
39465 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39466 Remove macro.
39467 (ENTER): Remove both macro definitions.
39468 (LEAVE): Likewise.
39469 (CHECK_BOUNDS_LOW): Likewise.
39470 (CHECK_BOUNDS_HIGH): Likewise.
39471 (CHECK_BOUNDS_BOTH): Likewise.
39472 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39473 (RETURN_BOUNDED_POINTER): Likewise.
39474 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39475 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39476 (POP_ERRNO_LOCATION_RETURN): Likewise.
39477 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39478 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39479 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39480 macros.
39481 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39482 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39483 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39484 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39485 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39486 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39487 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39488 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39489 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39490 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39491 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39492 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39493 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39494 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39495 removed macros.
39496 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39497 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39498 macros.
39499 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39500 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39501 * sysdeps/i386/i586/memset.S (memset): Likewise.
39502 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39503 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39504 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39505 macros.
39506 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39507 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39508 Change uses of L(2) to L(out).
39509 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39510 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39511 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39512 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39513 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39514 removed macros.
39515 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39516 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39517 macros.
39518 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39519 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39520 (RETURN): Do not use macro LEAVE.
39521 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39522 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39523 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39524 * sysdeps/i386/i686/memset.S (memset): Likewise.
39525 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39526 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39527 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39528 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39529 Likewise.
39530 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39531 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39532 L(1_2) and L(1_3) into L(1).
39533 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39534 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39535 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39536 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39537 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39538 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39539 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39540 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39541 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39542 macros.
39543 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39544 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39545 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39546 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39547 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39548 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39549 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39550 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39551 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39552 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39553 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39554 * sysdeps/i386/strspn.S (strspn): Likewise.
39555 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39556 conditional code.
39557 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39558 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39559 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39560 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39561 L(1_3) into L(1_1).
39562 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39563 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39564 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39565 macros.
39566 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39567
39568 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39569
39570 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39571 macro.
39572
39573 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39574
39575 * math/atest-exp.c (exp_mpn): Remove ROUND.
39576 * math/atest-exp2.c (exp_mpn): Likewise.
39577 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39578
39579 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39580 * stdlib/tst-tls-atexit-lib.c: Likewise.
39581 * stdlib/tst-tls-atexit.c: Likewise.
39582
39583 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39584
39585 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39586 and __attribute_alloc_size__.
39587
39588 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39589
39590 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39591 __attribute_alloc_size__.
39592 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39593 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39594
39595 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39596
39597 * include/programs/xmalloc.h: New file.
39598 * catgets/gencat.c: Include it.
39599 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39600 * elf/pldd.c: Likewise.
39601 * iconv/iconv_charmap.c: Likewise.
39602 * iconv/iconvconfig.c: Likewise.
39603 * iconv/strtab.c: Likewise.
39604 * locale/programs/locale.c: Likewise.
39605 * locale/programs/localedef.h: Likewise.
39606 * locale/programs/simple-hash.c: Likewise.
39607 * nscd/nscd.h: Likewise.
39608 * nss/makedb.c: Likewise.
39609 * sysdeps/generic/ldconfig.h: Likewise.
39610
39611 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39612
39613 * Versions.def: Add GLIBC_2.18.
39614 * include/link.h (struct link_map): New member l_tls_dtor_count.
39615 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39616 (__call_tls_dtors): Likewise.
39617 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39618 __cxa_thread_atexit_impl.
39619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39620 Likewise.
39621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39622 Likewise.
39623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39624 Likewise.
39625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39626 Likewise.
39627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39629 Likewise.
39630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39631 Likewise.
39632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39634 Likewise.
39635 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39636 (tests): Add test case tst-tls-atexit.
39637 (modules-names): Add shared library for tst-tls-atexit.
39638 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39639 (GLIBC_PRIVATE): Add __call_tls_dtors.
39640 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39641 for libstdc++.
39642 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39643 * stdlib/tst-tls-atexit.c: New test case.
39644 * stdlib/tst-tls-atexit-lib.c: New test case.
39645
39646 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39647
39648 * elf/Versions (ld): Add _dl_find_dso_for_object.
39649 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39650 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39651 (dl_open_worker): Use _dl_find_dso_for_object.
39652 * elf/dl-sym.c (do_sym): Likewise.
39653 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39654
39655 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39656
39657 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39658 Syntactic changes only.
39659 (_dl_runtime_profile): Do a tail-call to the resolved function.
39660
39661 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39662
39663 [BZ #13550]
39664 * sysdeps/x86_64/bp-asm.h: Remove file.
39665 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39666 <bp-sym.h> and <bp-asm.h>.
39667 (__clone): Do not use BP_SYM.
39668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39669 <bp-sym.h> and <bp-asm.h>.
39670 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39671 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39672 "bp-asm.h".
39673 (_setjmp): Do not use BP_SYM.
39674 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39675 "bp-asm.h".
39676 (setjmp): Do not use BP_SYM.
39677 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39678 libc_hidden_def.
39679 (mempcpy): Do not use BP_SYM in weak_alias.
39680 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39681 "bp-asm.h".
39682 (strchr): Do not use BP_SYM.
39683 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39684 "bp-asm.h".
39685 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39686 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39687 (_start): Do not use BP_SYM.
39688 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39689 "bp-asm.h".
39690 (strcat): Do not use BP_SYM.
39691 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39692 "bp-asm.h".
39693 (STRCMP): Do not use BP_SYM.
39694 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39695 "bp-asm.h".
39696 (STRCPY): Do not use BP_SYM.
39697 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39698 "bp-asm.h".
39699 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39700 "bp-asm.h".
39701 (FUNCTION): Do not use BP_SYM.
39702 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39703 weak_alias.
39704 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39705
39706 2013-02-17 Andreas Jaeger <aj@suse.de>
39707
39708 * time/Versions: Sort entries.
39709 * string/Versions: Likewise.
39710 * resolv/Versions: Likewise.
39711 * posix/Versions: Likewise.
39712 * iconv/Versions: Likewise.
39713 * elf/Versions: Likewise.
39714 * wcsmbs/Versions: Likewise.
39715
39716 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39717
39718 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39719 loop termination condition.
39720
39721 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39722 variable to calculate EZ.
39723 (__sqr): Likewise.
39724
39725 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39726 the lower precision input.
39727
39728 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39729
39730 [BZ #13550]
39731 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39732 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39733 (run-via-rtld-prefix): Do not handle %-bp tests.
39734 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39735 (all-object-suffixes): Remove .ob.
39736 (bppfx): Remove variable.
39737 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39738 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39739 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39740 [$(build-bounded) = yes] (libtype.ob): Likewise.
39741 * Makerules (elide-routines.ob): Remove variable.
39742 (do-tests-clean): Do not handle *-bp.out.
39743 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39744 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39745 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39746 (tests): Do not include $(tests-bp.out).
39747 (xtests): Do not include $(xtests-bp.out).
39748 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39749 [$(build-bounded) = yes] ($(addprefix
39750 $(objpfx),$(binaries-bounded))): Remove rule.
39751 ($(objpfx)%-bp.out): Remove rule.
39752 * config.make.in (build-bounded): Remove variable.
39753 * crypt/Makefile [$(build-bounded) = yes]
39754 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39755 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39756 append to variable.
39757 [$(build-bounded) = yes] (install-lib): Likewise.
39758 [$(build-bounded) = yes] (generated): Likewise.
39759 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39760 Remove rule.
39761 * intl/Makefile [$(build-bounded) = yes]
39762 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39763 * math/Makefile [$(build-bounded) = yes]
39764 ($(tests:%=$(objpfx)%-bp): Likewise.
39765 * misc/Makefile [$(build-bounded) = yes]
39766 ($(objpfx)tst-tsearch-bp): Likewise.
39767 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39768 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39769 Remove dependency.
39770 * string/Makefile (o-objects.ob): Remove variable.
39771 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39772 (CFLAGS-.ob): Remove variable.
39773 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39774 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39775 both definitions of variable.
39776 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39777 (ASFLAGS-.ob): Remove variable.
39778
39779 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39780
39781 [BZ #13550]
39782 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39783 Remove __BOUNDED_POINTERS__ from condition.
39784 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39785 * string/bits/string2.h [!__NO_STRING_INLINES &&
39786 !__BOUNDED_POINTERS__]: Likewise.
39787 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39788 Likewise.
39789 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39790 Remove conditional code.
39791 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39792 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39793 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39794 condition.
39795
39796 [BZ #13550]
39797 * csu/libc-start.c: Do not include <bp-sym.h>.
39798 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39799 * elf/dl-open.c: Do not include <bp-sym.h>.
39800 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39801 * math/fegetenv.c: Do not include <bp-sym.h>.
39802 (fegetenv): Do not use BP_SYM in versioned symbols.
39803 * nptl/sysdeps/pthread/bits/libc-lockP.h
39804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39805 <bp-sym.h>.
39806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39807 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39809 (__pthread_mutex_destroy): Likewise.
39810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39811 (__pthread_mutex_lock): Likewise.
39812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39813 (__pthread_mutex_trylock): Likewise.
39814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39815 (__pthread_mutex_unlock): Likewise.
39816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39817 (__pthread_mutexattr_init): Likewise.
39818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39819 (__pthread_mutexattr_destroy): Likewise.
39820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39821 (__pthread_mutexattr_settype): Likewise.
39822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39823 (__pthread_rwlock_init): Likewise.
39824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39825 (__pthread_rwlock_destroy): Likewise.
39826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39827 (__pthread_rwlock_rdlock): Likewise.
39828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39829 (__pthread_rwlock_tryrdlock): Likewise.
39830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39831 (__pthread_rwlock_wrlock): Likewise.
39832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39833 (__pthread_rwlock_trywrlock): Likewise.
39834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39835 (__pthread_rwlock_unlock): Likewise.
39836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39837 (__pthread_key_create): Likewise.
39838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39839 (__pthread_setspecific): Likewise.
39840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39841 (__pthread_getspecific): Likewise.
39842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39843 Likewise.
39844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39845 (_pthread_cleanup_push_defer): Likewise.
39846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39847 (_pthread_cleanup_pop_restore): Likewise.
39848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39849 (pthread_setcancelstate): Likewise.
39850 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39851 <bp-sym.h>.
39852 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39853 (memchr): Do not use BP_SYM in weak_alias.
39854 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39855 (fegetenv): Do not use BP_SYM in versioned symbols.
39856 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39857 (fesetenv): Do not use BP_SYM in versioned symbols.
39858 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39859 (feupdateenv): Do not use BP_SYM in versioned symbols.
39860 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39861 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39862 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39863 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39864 (open64): Do not use BP_SYM in weak_alias.
39865 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39866 (fegetenv): Do not use BP_SYM in versioned symbols.
39867 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39868 (fesetenv): Do not use BP_SYM in versioned symbols.
39869 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39870 (feupdateenv): Do not use BP_SYM in versioned symbols.
39871 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39872 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39873 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39874 (feraiseexcept): Do not use BP_SYM in versioned symbols.
39875 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39876 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39877 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39878 <bp-sym.h>.
39879 (__libc_start_main): Do not use BP_SYM.
39880
39881 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39882
39883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39884 redundant return line.
39885 (norm): Likewise.
39886 (denorm): Likewise.
39887 (dbl_mp): Likewise.
39888 (sub_magnitudes): Likewise.
39889 (__add): Likewise.
39890 (__sub): Likewise.
39891 (__mul): Likewise.
39892 (__inv): Likewise.
39893 (__dvd): Likewise.
39894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39895 (norm): Likewise.
39896 (denorm): Likewise.
39897 (dbl_mp): Likewise.
39898 (sub_magnitudes): Likewise.
39899 (__add): Likewise.
39900 (__sub): Likewise.
39901 (__mul): Likewise.
39902 (__inv): Likewise.
39903 (__dvd): Likewise.
39904
39905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39906 instead of __mul.
39907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39908 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39909 (cc32): Likewise.
39910
39911 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39912 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39914 of __mul for squares.
39915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39916 function
39917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39918 Likewise.
39919 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39920 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39921
39922 2013-02-13 Joseph Myers <joseph@codesourcery.com>
39923
39924 [BZ #13550]
39925 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39926 code.
39927 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39928 prototype or function definition. Rename ubp_* variables and
39929 parameters. Remove argv definitions conditional on
39930 [__BOUNDED_POINTERS__].
39931 * debug/backtrace.c (__backtrace): Do not use __unbounded.
39932 * elf/dl-runtime.c (_dl_fixup): Likewise.
39933 * include/set-hooks.h (RUN_HOOK): Likewise.
39934 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39935 definition.
39936 * string/strcpy.c (strcpy): Do not use __unbounded.
39937 * sysdeps/generic/frame.h (struct layout): Likewise.
39938 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39939 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39940 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39941 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39942 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39943 (__backtrace): Likewise.
39944 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39945 use __ptrvalue.
39946 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39947 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39948 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39949 Likewise.
39950 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39951 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39952 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39953 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39954 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39955 Do not use __unbounded.
39956 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39957 Rename __unboundedrlimits parameter to rlimits in prototype.
39958 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39959 Do not use __unbounded.
39960 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39961 not use __ptrvalue.
39962 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39963 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39964 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39966 __ptrvalue or __unbounded.
39967 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39968 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39969 use __unbounded.
39970 (__new_msgctl): Do not use __ptrvalue.
39971 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39972 __unbounded.
39973 (__libc_msgrcv): Do not use __ptrvalue.
39974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39975 startup_info): Do not use __unbounded.
39976 (__libc_start_main): Likewise. Rename ubp_* variables and
39977 parameters. Remove argv definitions conditional on
39978 [__BOUNDED_POINTERS__].
39979 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39980 __ptrvalue.
39981 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39982 use __unbounded.
39983 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39984 or __ptrvalue.
39985 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39986 use __unbounded.
39987 (__new_shmctl): Do not use __ptrvalue.
39988 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39989 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39990 Likewise.
39991 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39992 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39993 (__libc_sigaction): Likewise.
39994 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39995 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39996 Likewise.
39997 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39998
39999 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40000
40001 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40002
40003 * string/mempcpy.c: Implement by calling memcpy.
40004
40005 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40006
40007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40008
40009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40010 evaluation.
40011
40012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40013 values in the mantissa.
40014
40015 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40016 minimize writes to Z.
40017 (sub_magnitudes): Simplify code a bit.
40018
40019 2013-02-12 Roland McGrath <roland@hack.frob.com>
40020
40021 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40022 from the message. The linker prefixes all warnings with that already.
40023
40024 2013-02-12 Andreas Schwab <schwab@suse.de>
40025
40026 [BZ #15078]
40027 * posix/regexec.c (extend_buffers): Add parameter min_len.
40028 (check_matching): Pass minimum needed length.
40029 (clean_state_log_if_needed): Likewise.
40030 (get_subexp): Likewise.
40031 * posix/Makefile (tests): Add bug-regex34.
40032 (bug-regex34-ENV): Define.
40033 * posix/bug-regex34.c: New file.
40034
40035 [BZ #11561]
40036 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40037 elements compare against the byte sequence of it, not its name.
40038 * posix/Makefile (tests): Add bug-regex35.
40039 (bug-regex35-ENV): Define.
40040 * posix/bug-regex35.c: New file.
40041
40042 2013-02-11 Tom de Vries <tom@codesourcery.com>
40043
40044 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40045 comment.
40046 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40047 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40048 (CHECK_EOL): Add undef.
40049
40050 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40051
40052 * bits/stdlib-bsearch.h: New file.
40053 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40054 * stdlib/stdlib.h: Likewise.
40055
40056 2013-02-11 Roland McGrath <roland@hack.frob.com>
40057
40058 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40059 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40060 declaration.
40061 * manual/search.texi (Array Search Function): Add missing const in
40062 lfind prototype.
40063 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40064 declaration to use rlim_t.
40065 (Basic Scheduling Functions): Remove erroneous const from
40066 sched_getparam prototype. Remove erroneous * from
40067 sched_get_priority_max and sched_get_priority_min prototypes.
40068 (Resource Usage): Fix summary @comment on vtimes to refer to
40069 sys/vtimes.h rather than vtimes.h.
40070 Add missing *s in vtimes prototype.
40071 (Limits on Resources): Fix ulimit prototype to return long int.
40072 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40073 prototypes to use long int rather than double.
40074 (BSD Random): Fix initstate and setstate to use char *, not void *.
40075 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40076 prototype to make second argument 'struct aiocb64 *const[]'.
40077 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40078 (Status of AIO Operations): Remove erroneous const in aio_return and
40079 aio_return64 prototypes.
40080 (Synchronizing I/O): Fix sync prototype to return void.
40081 * manual/startup.texi (Suboptions): Remove an erroneous const in
40082 getsubopt prototype.
40083 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40084 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40085 use size_t rather than int.
40086 (Scanning All Users): Likewise for getpwent_r.
40087 (Setting Groups): Add missing const to setgroups prototype.
40088 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40089 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40090 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40091 'const void *' rather than 'const char *'.
40092 (Host Address Functions): Likewise for inet_ntop.
40093 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40094 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40095 ssize_t for return value.
40096 (Sending Data): Likewise for send, sendto, sendmsg.
40097 (Socket Option Functions): Add a missing const in setsockopt prototype.
40098 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40099 use wchar_t for the argument.
40100 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40101 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40102 take no arguments.
40103 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40104 double/float/long double for second argument.
40105 Fix return types of significand, significandf, significandl.
40106 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40107 argument in fchmod prototype.
40108 (File Owner): Use uid_t and gid_t in fchown prototype.
40109 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40110 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40111 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40112 use 'const struct dirent **' as argument types to CMP function pointer
40113 argument.
40114 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40115 (File Times): Fix summary magic @comment for struct utimbuf and utime
40116 to refer to utime.h, not time.h.
40117 * manual/string.texi (Argz Functions): Add missing const in
40118 argz_extract and argz_next prototypes.
40119 (Finding Tokens in a String): Likewise for basename.
40120 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40121 (Copying and Concatenation): Fix typo in wmemmove prototype.
40122 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40123 (Signal Stack): Remove erroneous const in sigstack prototype.
40124 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40125 prototype.
40126 (Simple Calendar Time): Likewise for stime.
40127 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40128 prototype.
40129 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40130 say sys/sysctl.h instead.
40131 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40132 and vsyslog prototypes.
40133
40134 2013-02-11 Tom de Vries <tom@codesourcery.com>
40135
40136 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40137 Remove.
40138
40139 2013-02-11 Roland McGrath <roland@hack.frob.com>
40140
40141 * misc/sys/mman.h: Fix typo in mremap comment.
40142
40143 2013-02-08 Roland McGrath <roland@hack.frob.com>
40144
40145 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40146 the '\0' terminator.
40147
40148 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40149
40150 [BZ #13550]
40151 * debug/segfault.c: Don't include <bp-checks.h>.
40152 * sysdeps/generic/bp-checks.h: Remove file.
40153 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40154 (__GETDENTS): Don't use CHECK_N.
40155 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40156 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40157 (__getgroups): Don't use CHECK_N.
40158 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40159 (setgroups): Don't use CHECK_N.
40160 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40161 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40162 (__libc_msgrcv): Don't use CHECK_N.
40163 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40164 (__libc_msgsnd): Don't use CHECK_N.
40165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40166 <bp-checks.h>.
40167 (__libc_pread): Don't use CHECK_N.
40168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40169 include <bp-checks.h>.
40170 (__libc_pread64): Don't use CHECK_N.
40171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40172 include <bp-checks.h>.
40173 (__libc_pwrite): Don't use CHECK_N.
40174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40175 include <bp-checks.h>.
40176 (__libc_pwrite64): Don't use CHECK_N.
40177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40178 <bp-checks.h>.
40179 (__libc_pread): Don't use CHECK_N.
40180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40181 include <bp-checks.h>.
40182 (__libc_pread64): Don't use CHECK_N.
40183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40184 include <bp-checks.h>.
40185 (__libc_pwrite): Don't use CHECK_N.
40186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40187 include <bp-checks.h>.
40188 (__libc_pwrite64): Don't use CHECK_N.
40189 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40190 (do_pread): Don't use CHECK_N.
40191 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40192 (do_pread64): Don't use CHECK_N.
40193 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40194 (do_pwrite): Don't use CHECK_N.
40195 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40196 (do_pwrite64): Don't use CHECK_N.
40197 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40198 (__libc_readv): Don't use CHECK_N.
40199 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40200 (semop): Don't use CHECK_N.
40201 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40202 <bp-checks.h>.
40203 (semtimedop): Don't use CHECK_N.
40204 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40205 (__libc_pread): Don't use CHECK_N.
40206 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40207 <bp-checks.h>.
40208 (__libc_pread64): Don't use CHECK_N.
40209 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40210 <bp-checks.h>.
40211 (__libc_pwrite): Don't use CHECK_N.
40212 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40213 <bp-checks.h>.
40214 (__libc_pwrite64): Don't use CHECK_N.
40215 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40216 <bp-checks.h>.
40217 (__libc_msgrcv): Don't use CHECK_N.
40218 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40219 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40220 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40221 (__libc_writev): Don't use CHECK_N.
40222
40223 2013-02-08 Roland McGrath <roland@hack.frob.com>
40224
40225 * string/strcpy.c: Removed unused variable.
40226
40227 * Makeconfig (+sysdep-includes): Define with := rather than =.
40228 Use an existing include/ subdir of each sysdeps dir before it.
40229
40230 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40231
40232 * nscd/connection.c (register_traced_file): Comment function.
40233 [HAVE_INOTIFY] (union __inev): Define.
40234 [HAVE_INOTIFY] (inotify_check_files): New function.
40235 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40236 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40237 clear_db_cache.
40238 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40239
40240 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40241
40242 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40243 loaded if not already and that a failure is permanent.
40244
40245 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40246
40247 [BZ #15006]
40248 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40249 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40250
40251 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40252
40253 [BZ #13550]
40254 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40255 (CHECK_1_NULL_OK): Likewise.
40256 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40257 (__fxstat): Do not use CHECK_1.
40258 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40259 <bp-checks.h>.
40260 (___fxstat64): Do not use CHECK_1.
40261 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40262 <bp-checks.h>.
40263 (__fxstatat): Do not use CHECK_1.
40264 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40265 <bp-checks.h>.
40266 (__fxstatat64): Do not use CHECK_1.
40267 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40268 <bp-checks.h>.
40269 (__fxstat): Do not use CHECK_1.
40270 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40271 <bp-checks.h>.
40272 (__fxstatat): Do not use CHECK_1.
40273 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40274 <bp-checks.h>.
40275 (__getresgid): Do not use CHECK_1.
40276 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40277 <bp-checks.h>.
40278 (__getresuid): Do not use CHECK_1.
40279 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40280 <bp-checks.h>.
40281 (__lxstat): Do not use CHECK_1.
40282 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40283 <bp-checks.h>.
40284 (__old_msgctl): Do not use CHECK_1.
40285 (__new_msgctl): Likewise.
40286 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40287 <bp-checks.h>.
40288 (__new_setrlimit): Do not use CHECK_1.
40289 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40290 <bp-checks.h>.
40291 (__old_shmctl): Do not use CHECK_1.
40292 (__new_shmctl): Likewise.
40293 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40294 <bp-checks.h>.
40295 (__xstat): Do not use CHECK_1.
40296 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40297 (__lxstat): Do not use CHECK_1.
40298 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40299 <bp-checks.h>.
40300 (___lxstat64): Do not use CHECK_1.
40301 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40302 (__old_msgctl): Do not use CHECK_1.
40303 (__new_msgctl): Likewise.
40304 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40305 <bp-checks.h>.
40306 (__gettimeofday): Do not use CHECK_1.
40307 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40308 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40309 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40310 <bp-checks.h>.
40311 (__gettimeofday): Do not use CHECK_1.
40312 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40313 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40314 (__new_shmctl): Do not use CHECK_1.
40315 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40316 <bp-checks.h>.
40317 (do_sigtimedwait): Do not use CHECK_1.
40318 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40319 <bp-checks.h>.
40320 (do_sigwaitinfo): Do not use CHECK_1.
40321 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40322 <bp-checks.h>.
40323 (msgctl): Do not use CHECK_1.
40324 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40325 <bp-checks.h>.
40326 (shmctl): Do not use CHECK_1.
40327 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40328 (ustat): Do not use CHECK_1.
40329 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40330 <bp-checks.h>.
40331 (__fxstat): Do not use CHECK_1.
40332 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40333 <bp-checks.h>.
40334 (__fxstatat): Do not use CHECK_1.
40335 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40336 <bp-checks.h>.
40337 (__lxstat): Do not use CHECK_1.
40338 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40339 <bp-checks.h>.
40340 (__xstat): Do not use CHECK_1.
40341 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40342 (__xstat): Do not use CHECK_1.
40343 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40344 (___xstat64): Do not use CHECK_1.
40345
40346 [BZ #13550]
40347 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40348 definitions.
40349 (CHECK_BOUNDS_HIGH): Likewise.
40350 * string/strcpy.c: Do not include <bp-checks.h>.
40351 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40352
40353 2013-02-07 Roland McGrath <roland@hack.frob.com>
40354
40355 * nscd/nscd-client.h (__nscd_drop_map_ref):
40356 Add __attribute__ ((unused)).
40357 * nis/nss-nisplus.h (niserr2nss): Likewise.
40358
40359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40360 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40361
40362 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40363 Remove inline keyword.
40364 * include/rounding-mode.h (round_away): Likewise.
40365 * libio/wfileops.c (adjust_wide_data): Likewise.
40366 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40367 (__m128i_strloadu_tolower): Likewise.
40368 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40369 (__m128i_strloadu_tolower): Likewise.
40370 * time/mktime.c (ydhms_diff): Likewise.
40371 * locale/elem-hash.h (elem_hash): Likewise.
40372 * locale/setlocale.c (setdata): Likewise.
40373 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40374 (re_string_wchar_at): Likewise.
40375 (bitset_not, bitset_merge, bitset_mask): Likewise.
40376 [!(__GNUC__ > 3)] (inline): Remove macro.
40377 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40378 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40379 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40380 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40381 * string/memcmp.c (memcmp_bytes): Likewise.
40382 * locale/programs/locarchive.c (compute_hashval): Likewise.
40383 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40384 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40385 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40386 * nss/getent.c (print_rpc, print_protocols): Likewise.
40387 (print_passwd, print_group, print_aliases): Likewise.
40388 * nis/nss-nisplus.h (niserr2nss): Likewise.
40389 * nscd/connections.c (restart_p): Likewise.
40390 Change return type to bool.
40391
40392 2013-02-05 Roland McGrath <roland@hack.frob.com>
40393
40394 * Makeconfig (all-Depend-files): Add existing
40395 $(sorted-subdirs:=/Depend) files.
40396 (all-subdirs): Remove nss.
40397 * sysdeps/unix/inet/Subdirs: Add it here instead.
40398 * hesiod/Depend: New file.
40399
40400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40401 instead of calling alloca.
40402
40403 * io/lseek.c (__lseek): Rename to __libc_lseek.
40404 Define __lseek as an alias.
40405
40406 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40407
40408 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40409
40410 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40411 else clause and remove check for non-standard endianness.
40412
40413 2013-02-04 David S. Miller <davem@davemloft.net>
40414
40415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40416
40417 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40418
40419 [BZ #13550]
40420 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40421 (__ubp_memchr): Remove prototype.
40422 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40423 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40424 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40425 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40426 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40427 Remove alias.
40428 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40429 (__ubp_memchr): Likewise.
40430 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40431 (__ubp_memchr): Likewise.
40432 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40433 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40434 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40435 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40436 CHECK_STRING.
40437 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40438 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40439 (__getcwd): Do not use CHECK_STRING.
40440 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40441 <bp-checks.h>.
40442 (__real_chown): Do not use CHECK_STRING.
40443 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40444 <bp-checks.h>.
40445 (fchownat): Do not use CHECK_STRING.
40446 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40447 CHECK_STRING.
40448 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40449 <bp-checks.h>.
40450 (__lchown): Do not use CHECK_STRING.
40451 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40452 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40453 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40454 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40456 include <bp-checks.h>.
40457 (truncate64): Do not use CHECK_STRING.
40458 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40459 <bp-checks.h>.
40460 (__real_chown): Do not use CHECK_STRING.
40461 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40462 <bp-checks.h>.
40463 (__lchown): Do not use CHECK_STRING.
40464 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40465 <bp-checks.h>.
40466 (__chown): Do not use CHECK_STRING.
40467 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40468 <bp-checks.h>.
40469 (truncate64): Do not use CHECK_STRING.
40470 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40471 Likewise.
40472 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40473 (__xmknod): Do not use CHECK_STRING.
40474 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40475 <bp-checks.h>.
40476 (__xmknodat): Do not use CHECK_STRING.
40477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40478 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40479
40480 2013-02-04 Andreas Schwab <schwab@suse.de>
40481
40482 [BZ #14142]
40483 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40484 * include/netdb.h: Likewise for h_errno.
40485 * elf/tst-stackguard1.c: Include <tls.h>.
40486
40487 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40488
40489 * elf/link.h (struct link_map): Extend the l_addr comment.
40490 * include/link.h (struct link_map): Likewise.
40491
40492 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40493
40494 [BZ #13550]
40495 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40496 (BOUNDED_1): Remove macro.
40497 * debug/backtrace.c: Don't include <bp-checks.h>.
40498 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40499 (__backtrace): Likewise.
40500 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40501 <bp-checks.h>.
40502 (__backtrace): Don't use BOUNDED_1.
40503 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40504 <bp-checks.h>.
40505 (__backtrace): Don't use BOUNDED_1.
40506 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40507 (__backtrace): Don't use BOUNDED_1.
40508 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40509 (shmat): Don't use BOUNDED_N.
40510
40511 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40512
40513 [BZ #13550]
40514 * sysdeps/generic/bp-start.h: Remove file.
40515 * csu/libc-start.c: Don't include <bp-start.h>.
40516 (LIBC_START_MAIN): Set up __environ directly instead of using
40517 INIT_ARGV_and_ENVIRON.
40518 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40519 <bp-start.h>.
40520
40521 [BZ #13550]
40522 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40523 definitions.
40524 (CHECK_FCNTL): Likewise.
40525 (CHECK_N_PAGES): Likewise.
40526
40527 [BZ #13550]
40528 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40529 definitions.
40530 (CHECK_SIGSET_NULL_OK): Likewise.
40531 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40532 <bp-checks.h>.
40533 (sigpending): Don't use CHECK_SIGSET.
40534 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40535 <bp-checks.h>.
40536 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40537 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40538 <bp-checks.h>.
40539 (do_sigsuspend): Don't use CHECK_SIGSET.
40540 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40541 use CHECK_SIGSET.
40542 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40543 (do_sigwait): Don't use CHECK_SIGSET.
40544 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40545 use CHECK_SIGSET.
40546 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40547 include <bp-checks.h>.
40548 (sigpending): Don't use CHECK_SIGSET.
40549 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40550 include <bp-checks.h>.
40551 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40552 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40553 <bp-checks.h>.
40554 (sigpending): Don't use CHECK_SIGSET.
40555 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40556 <bp-checks.h>.
40557 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40558
40559 [BZ #13550]
40560 * sysdeps/generic/bp-semctl.h: Remove file.
40561 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40562 <bp-checks.h> and <bp-semctl.h>.
40563 (__old_semctl): Don't use CHECK_SEMCTL.
40564 (__new_semctl): Likewise.
40565 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40566 and <bp-semctl.h>.
40567 (__old_semctl): Don't use CHECK_SEMCTL.
40568 (__new_semctl): Likewise.
40569 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40570 <bp-checks.h> and <bp-semctl.h>.
40571 (__old_semctl): Don't use CHECK_SEMCTL.
40572 (__new_semctl): Likewise.
40573 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40574 <bp-checks.h> and <bp-semctl.h>.
40575 (semctl): Don't use CHECK_SEMCTL.
40576
40577 [BZ #13550]
40578 * Makerules (elide-bp-thunks): Remove variable.
40579 (elide-routines.oS): Don't use $(elide-bp-thunks).
40580 (elide-routines.os): Likewise.
40581 (elide-routines.o): Likewise.
40582 (elide-routines.op): Likewise.
40583 (elide-routines.og): Likewise.
40584 (objects): Don't use $(bp-thunks).
40585 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40586 include.
40587 (common-generated): Do not add s-proto-bp.d.
40588 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40589 (int): Likewise.
40590 (typ): Likewise.
40591 Do not generate makefile rules for bounded-pointer thunks.
40592 * sysdeps/generic/bp-thunks.h: Remove file.
40593 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40594 * sysdeps/unix/s-proto-bp.S: Likewise.
40595
40596 [BZ #15062]
40597 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40598 parts of result separately when argument is not close to line from
40599 -i to i and one part of argument is small.
40600 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40601 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40602 * math/libm-test.inc (cacos_test): Add more tests.
40603 (casin_test): Likewise.
40604 (casinh_test): Likewise.
40605 * sysdeps/i386/fpu/libm-test-ulps: Update.
40606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40607
40608 2013-01-31 David S. Miller <davem@davemloft.net>
40609
40610 * po/de.po: Update from translation team.
40611
40612 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40613
40614 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40615
40616 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40617
40618 * configure.in (_AC_PROG_CC_C89): New definition.
40619 * configure: Regenerate.
40620
40621 * configure.in (AC_PROG_CPP): New definition.
40622 * configure: Regenerate.
40623
40624 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40625
40626 * debug/tst-backtrace.h: New file.
40627 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40628 (ret): Remove variable.
40629 (x): Likewise.
40630 (FAIL): Remove macro.
40631 (NO_INLINE): Likewise.
40632 (fn1): Use match function instead of strstr.
40633 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40634 (ret): Remove variable.
40635 (x): Likewise.
40636 (FAIL): Remove macro.
40637 (NO_INLINE): Likewise.
40638 (fn): Use match function instead of strstr.
40639 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40640 (ret): Remove variable.
40641 (x): Likewise.
40642 (FAIL): Remove macro.
40643 (NO_INLINE): Likewise.
40644 (handle_signal): Use match function instead of strstr.
40645 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40646 (ret): Remove variable.
40647 (x): Likewise.
40648 (FAIL): Remove macro.
40649 (NO_INLINE): Likewise.
40650 (handle_signal): Use match function instead of strstr.
40651
40652 2013-01-23 Roland McGrath <roland@hack.frob.com>
40653
40654 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40655
40656 2013-01-23 David S. Miller <davem@davemloft.net>
40657
40658 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40659 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40660 argument of CAS if possible.
40661 * sysdeps/sparc/sparc64/bits/atomic.h
40662 (__arch_compare_and_exchange_val_32_acq): Likewise.
40663 (__arch_compare_and_exchange_val_64_acq): Likewise.
40664
40665 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40666
40667 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40668 * sysdeps/posix/ulimit.c: ... this.
40669 Include <limits.h>.
40670 * sysdeps/unix/bsd/ulimit.c: Remove file.
40671
40672 2013-01-23 Adam Conrad <adconrad@0c3.net>
40673
40674 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40675 (LDFLAGS-tst-array5): Likewise.
40676
40677 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40678
40679 [BZ #15036]
40680 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40681 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40682 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40683 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40684
40685 2013-01-21 David S. Miller <davem@davemloft.net>
40686
40687 * sysdeps/sparc/backtrace.c: New file.
40688 * sysdeps/sparc/sparc32/backtrace.h: New file.
40689 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40690 * sysdeps/sparc/sparc64/backtrace.h: New file.
40691 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40692 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40693 -funwind-tables.
40694
40695 2013-01-21 Andreas Schwab <schwab@suse.de>
40696
40697 [BZ #15020]
40698 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40699 closed its stdout.
40700
40701 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40702
40703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40704 "mpa2.h".
40705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40706
40707 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40708 Mark Mitchell <mark@codesourcery.com>
40709 Tom de Vries <tom@codesourcery.com>
40710 Paul Pluzhnikov <ppluzhnikov@google.com>
40711
40712 * debug/tst-backtrace2.c: New file.
40713 * debug/tst-backtrace3.c: Likewise.
40714 * debug/tst-backtrace4.c: Likewise.
40715 * debug/tst-backtrace5.c: Likewise.
40716 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40717 (CFLAGS-tst-backtrace3.c): Likewise.
40718 (CFLAGS-tst-backtrace4.c): Likewise.
40719 (CFLAGS-tst-backtrace5.c): Likewise.
40720 (LDFLAGS-tst-backtrace2): Likewise.
40721 (LDFLAGS-tst-backtrace3): Likewise.
40722 (LDFLAGS-tst-backtrace4): Likewise.
40723 (LDFLAGS-tst-backtrace5): Likewise.
40724 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40725 tst-backtrace4 and tst-backtrace5.
40726
40727 2013-01-18 Anton Blanchard <anton@samba.org>
40728 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40729
40730 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40731 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40732 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40733 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40735 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40736 "+r" and remove output regs list as redundant. Add explicit inline
40737 asm to specify register of return val to work around compiler codegen
40738 bug. Remove (int) cast on return value. Add return type parameter to
40739 use in macro so that this macro does not truncate return value for
40740 64-bit values.
40741 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40742 pass to INTERNAL_VSYSCALL_NCS.
40743 (INLINE_VSYSCALL): Add 'long int' as return type to
40744 INTERNAL_VSYSCALL_NCS macro invocation.
40745 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40746 INTERNAL_VSYSCALL_NCS macro invocation.
40747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40748
40749 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40750
40751 [BZ #14496]
40752 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40753 Fix application of SIMD FP exception mask.
40754
40755 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40756 mp_no from a power of two.
40757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40758 __mpexp_twomm1. Use __pow_mp.
40759
40760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40761 multiplication.
40762
40763 2013-01-17 David S. Miller <davem@davemloft.net>
40764
40765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40766
40767 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40768
40769 [BZ #15023]
40770 * include/complex.h: Condition contents on [!_COMPLEX_H].
40771 (__kernel_casinhf): New prototype.
40772 (__kernel_casinh): Likewise.
40773 (__kernel_casinhl): Likewise.
40774 * math/Makefile (libm_calls): Add k_casinh.
40775 * math/k_casinh.c: New file.
40776 * math/k_casinhf.c: Likewise.
40777 * math/k_casinhl.c: Likewise.
40778 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40779 finite nonzero arguments.
40780 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40781 finite nonzero arguments.
40782 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40783 finite nonzero arguments.
40784 * math/s_casinh.c: Do not include <float.h>.
40785 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40786 * math/s_casinhf.c: Do not include <float.h>.
40787 (__casinhf): Move code for finite nonzero arguments to
40788 k_casinhf.c.
40789 * math/s_casinhl.c: Do not include <float.h>.
40790 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40791 redefine.
40792 (__casinhl): Move code for finite nonzero arguments to
40793 k_casinhl.c.
40794 * math/libm-test.inc (cacos_test): Add more tests.
40795 * sysdeps/i386/fpu/libm-test-ulps: Update.
40796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40797
40798 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40799
40800 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40801 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40802 [!HAVE_MREMAP]: Remove [defined linux] case.
40803 * malloc/arena.c: Do not include <malloc-sysdep.h>.
40804
40805 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40806
40807 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40808
40809 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
40810
40811 * elf/elf.h (R_386_SIZE32): New relocation.
40812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40813 R_386_SIZE32.
40814 (elf_machine_rela): Likewise.
40815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40816 R_X86_64_SIZE64 and R_X86_64_SIZE32.
40817
40818 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40819
40820 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40821 (FP_FAST_FMA): Do not define.
40822 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40823 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40824 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40825 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40826 !_SOFT_FLOAT]: Likewise.
40827 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40829 value.
40830 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40831 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40832 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40834 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40835 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40836 file.
40837
40838 2013-01-16 Andreas Schwab <schwab@suse.de>
40839
40840 [BZ #14327]
40841 * include/stdlib.h (__mktemp): Add declaration.
40842 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40843 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40844
40845 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40846
40847 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40848 definitions.
40849 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40850 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40851 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40852 definitions here.
40853 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40854 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40855 definitions.
40856 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40857 and ONE.
40858 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40859 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40860 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40861 definitions.
40862 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40863 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40864 definitions.
40865 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40866
40867 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40868
40869 2013-01-15 David S. Miller <davem@davemloft.net>
40870
40871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40872 trunc{,f} to libm-sysdep_routes.
40873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40875 file.
40876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40878 file.
40879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40880 file.
40881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40883 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40884 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40885 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40887 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40888 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40889
40890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40891 nearbyint{,f} to libm-sysdep_routes.
40892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40894 New file.
40895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40896 file.
40897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40898 New file.
40899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40900 file.
40901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40903 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40904 file.
40905 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40907 file.
40908 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40909 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40910 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40911
40912 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40913 libc_feholdexcept and libc_fesetenv.
40914
40915 2013-01-15 Mike Frysinger <vapier@gentoo.org>
40916
40917 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40918
40919 2013-01-14 David S. Miller <davem@davemloft.net>
40920
40921 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40922 (SPARC_ASM_VIS2_IFUNC): Likewise.
40923 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40925 use of 'siam' instruction.
40926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40927 Likewise.
40928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40929 Likewise.
40930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40931 Likewise.
40932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40937 file.
40938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40939 file.
40940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40941 file.
40942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40943 file.
40944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40949 new VIS2 routines.
40950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40953 Likewise.
40954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40959 routines to libm-sysdep_routines.
40960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40961
40962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40963 fdim/fdimf to libm-sysdep_routines.
40964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40965 file.
40966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40968 file.
40969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40972 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40973 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40974 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40975 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40976
40977 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40978
40979 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40980 to optimize copies.
40981
40982 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40985
40986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40987 local variable MPTWO.
40988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40989 Likewise.
40990
40991 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40992
40993 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40994 GLOB_NOESCAPE.
40995
40996 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40997
40998 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40999
41000 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41001
41002 * manual/pattern.texi (glob_t): Document gl_flags.
41003 (glob64_t): Likewise.
41004
41005 2013-01-11 David S. Miller <davem@davemloft.net>
41006
41007 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41008 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41009 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41010 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41011 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41012 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41013 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41014 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41015 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41016 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41017 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41018 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41019 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41020
41021 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41022 sparc V9 rather than using V8 code.
41023 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41024 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41025
41026 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41027 Move to...
41028 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41029 Here.
41030
41031 2013-01-11 Roland McGrath <roland@hack.frob.com>
41032
41033 [BZ #14941]
41034 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41035 not in the main loop.
41036 * configure: Regenerated.
41037
41038 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41039
41040 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41041 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41042 to just #else.
41043 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41044 [!__GLIBC_HAVE_LONG_LONG] case.
41045 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41046 condition to just #else.
41047 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41048 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41049 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41050 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41051 unconditional.
41052 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41053 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41054 #elif condition to just #else.
41055 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41056 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41057 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41058 #elif condition to just #else.
41059
41060 2013-01-11 Steve Ellcey <sellcey@mips.com>
41061
41062 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41063 (EF_MIPS_ARCH_64): Fix value.
41064 (EF_MIPS_ARCH_32R2): New.
41065 (EF_MIPS_ARCH_64R2): New.
41066
41067 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41068
41069 * Makeconfig (+link-pie-before-libc): New.
41070 (+link-pie-after-libc): Likewise.
41071 (+link-pie-tests): Likewise.
41072 (+link-pie): Rewritten.
41073 (link-before-libc): Remove $(config-LDFLAGS).
41074 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41075 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41076 (config-LDFLAGS): Renamed to ...
41077 (rtld-LDFLAGS): This.
41078 (rtld-tests-LDFLAGS): New macro.
41079 (link-libc-rpath-link): Likewise.
41080 (link-libc-tests-rpath-link): Likewise.
41081 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41082 (link-libc): Prepand $(link-libc-rpath-link).
41083 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41084 (test-program-prefix): New macro.
41085 (test-via-rtld-prefix): Likewise.
41086 (test-program-cmd): Likewise.
41087 (host-test-program-cmd): Likewise.
41088 * Makefile ($(common-objpfx)testrun.sh): Replace
41089 $(run-program-prefix) with $(test-program-prefix).
41090 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41091 $(rtld-LDFLAGS).
41092 ($(common-objpfx)shlib.lds): Likewise.
41093 (build-module-helper): Likewise.
41094 ($(common-objpfx)format.lds): Likewise.
41095 * Rules (binaries-pie-tests): New.
41096 (binaries-pie-notests): Likewise.
41097 (binaries-pie): Rewritten.
41098 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41099 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41100 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41101 (make-test-out): Replace $(host-built-program-cmd) with
41102 $(host-test-program-cmd).
41103 * config.make.in (build-hardcoded-path-in-tests): New variable.
41104 * configure.in (--enable-hardcoded-path-in-tests): New configure
41105 option.
41106 (hardcoded_path_in_tests): New AC_SUBST.
41107 * configure: Regenerated.
41108 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41109 $(built-program-cmd) with $(test-program-cmd).
41110 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41111 (test_program_cmd): This.
41112 * elf/Makefile ($(objpfx)order.out): Run test with
41113 $(test-program-prefix).
41114 ($(objpfx)order2.out): Likewise.
41115 ($(objpfx)tst-initorder.out): Likewise.
41116 ($(objpfx)tst-initorder2.out): Likewise.
41117 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41118 $(test-program-cmd).
41119 ($(objpfx)tst-array1-static.out): Likewise.
41120 ($(objpfx)tst-array2.out): Likewise.
41121 ($(objpfx)tst-array3.out): Likewise.
41122 ($(objpfx)tst-array4.out): Likewise.
41123 ($(objpfx)tst-array5.out): Likewise.
41124 ($(objpfx)tst-array5-static.out): Likewise.
41125 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41126 $(test-program-cmd).
41127 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41128 $(run-program-prefix) with $(test-program-prefix).
41129 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41130 (test_program_prefix): This.
41131 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41132 $(run-program-prefix) with $(test-program-prefix).
41133 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41134 (test_program_prefix): This.
41135 * iconvdata/tst-tables.sh: Likewise.
41136 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41137 $(run-program-prefix) with $(test-program-prefix).
41138 ($(objpfx)tst-translit.out): Likewise.
41139 ($(objpfx)tst-gettext2.out): Likewise.
41140 ($(objpfx)tst-gettext4.out): Likewise.
41141 ($(objpfx)tst-gettext6.out): Likewise.
41142 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41143 (test_program_prefix): This.
41144 * intl/tst-gettext2.sh: Likewise.
41145 * intl/tst-gettext4.sh Likewise.
41146 * intl/tst-gettext6.sh: Likewise.
41147 * intl/tst-translit.sh: Likewise.
41148 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41149 with $(test-program-cmd).
41150 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41151 $(run-program-prefix) with $(test-program-prefix).
41152 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41153 (test_program_prefix): This.
41154 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41155 $(run-program-prefix) with $(test-program-prefix).
41156 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41157 (test_program_prefix): This.
41158 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41159 * posix/Makefile ($(objpfx)globtest.out): Replace
41160 $(run-via-rtld-prefix) and $(test-wrapper) with
41161 $(test-program-prefix) and $(test-via-rtld-prefix).
41162 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41163 $(test-program-prefix).
41164 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41165 $(host-test-program-cmd).
41166 (tst-spawn-ARGS): Likewise.
41167 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41168 $(test-program-prefix).
41169 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41170 (test_via_rtld_prefix): This.
41171 (test_wrapper): Renamed to ...
41172 (test_program_prefix): This.
41173 (run_program_prefix): Replaced by test_program_prefix.
41174 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41175 (test_program_prefix): This.
41176 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41177 with $(host-test-program-cmd).
41178 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41179 $(run-program-prefix) with $(test-program-prefix).
41180 ($(objpfx)tst-printf.out): Likewise.
41181 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41182 $(test-program-cmd).
41183 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41184 (test_program_prefix): This.
41185 * stdio-common/tst-unbputc.sh: Likewise.
41186 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41187 $(run-program-prefix) with $(test-program-prefix).
41188 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41189 (test_program_prefix): This.
41190 * string/Makefile ($(objpfx)tst-svc.out): Replace
41191 $(built-program-cmd) with $(test-program-cmd).
41192
41193 2013-01-11 Andreas Jaeger <aj@suse.de>
41194
41195 [BZ #15003]
41196 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41197 value. Sync with Linux 3.7.
41198
41199 2013-01-10 David S. Miller <davem@davemloft.net>
41200
41201 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41202 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41203 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41204
41205 2013-01-10 Roland McGrath <roland@hack.frob.com>
41206
41207 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41208 never set.
41209 * configure: Regenerated.
41210
41211 2013-01-10 David S. Miller <davem@davemloft.net>
41212
41213 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41214 sparc V9 rather than using V8 code.
41215 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41216 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41217
41218 2013-01-10 Roland McGrath <roland@hack.frob.com>
41219
41220 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41221 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41222 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41223 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41224 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41225 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41226 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41227 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41228 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41229 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41230 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41231 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41232 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41233 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41234 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41235 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41236 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41237 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41238 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41239 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41240 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41241 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41242 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41243 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41244 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41245 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41246 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41247
41248 2013-01-10 David S. Miller <davem@davemloft.net>
41249
41250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41251
41252 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41253
41254 * posix/Makefile (tests-static): New variable.
41255 (tests): Add $(tests-static).
41256 (tst-exec-static-ARGS): New variable.
41257 (tst-spawn-static-ARGS): Likewise.
41258 * posix/tst-exec-static.c: New file.
41259 * posix/tst-spawn-static.c: Likewise.
41260 * posix/tst-exec.c: Support run directly.
41261 * posix/tst-spawn.c: Likewise.
41262
41263 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41264
41265 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41266 long.
41267 * math/bits/mathcalls.h (llrint): Likewise.
41268 (llround): Likewise.
41269 * stdlib/stdlib.h (struct drand48_data): Likewise.
41270 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41271 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41272 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41273 Likewise.
41274 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41275 Likewise.
41276 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41277 (elf_greg_t): Likewise.
41278 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41279 (__jmp_buf): Likewise.
41280 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41281 definitions.
41282 (llrint): Likewise, for all definitions.
41283 (llrintl): Likewise.
41284
41285 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41286 Remove [__GNUC__] condition.
41287 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41288 condition to just [__USE_ISOC99].
41289 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41290
41291 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41292
41293 [BZ #14200]
41294 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41295 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41296 defined.
41297 (_POSIX_V6_ILP32_OFF32): Likewise.
41298 (_XBS5_ILP32_OFF32): Likewise.
41299 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41300 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41301
41302 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41303
41304 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41305
41306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41307 doubles __mpexp_twomm1. Adjust usage.
41308 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41309 Remove.
41310
41311 2013-01-10 Andreas Schwab <schwab@suse.de>
41312
41313 [BZ #14964]
41314 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41315 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41316
41317 2013-01-09 David S. Miller <davem@davemloft.net>
41318
41319 [BZ #15003]
41320 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41321 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41322 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41323 (TCP_FASTOPEN): Define.
41324 (tcp_repair_opt): New structure.
41325 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41326 enum values.
41327 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41328 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41329 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41330 (tcp_cookie_transactions): New structure.
41331
41332 2013-01-09 Anton Blanchard <anton@samba.org>
41333
41334 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41335 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41336 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41337 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41338
41339 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41340
41341 * include/features.h (__USE_ANSI): Remove.
41342
41343 2013-01-09 Roland McGrath <roland@hack.frob.com>
41344
41345 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41346
41347 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41348
41349 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41350
41351 * sysdeps/s390/fpu/libm-test-ulps: Update.
41352
41353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41354
41355 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41356 (__acr): Likewise.
41357 (__cpy): Likewise.
41358 (norm): Likewise.
41359 (denorm): Likewise.
41360 (__mp_dbl): Likewise.
41361 (__dbl_mp): Likewise.
41362 (add_magnitudes): Likewise.
41363 (sub_magnitudes): Likewise.
41364 (__add): Likewise.
41365 (__sub): Likewise.
41366 (__mul): Likewise.
41367 (__inv): Likewise.
41368 (__dvd): Likewise.
41369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41370 (__acr): Likewise.
41371 (__cpy): Likewise.
41372 (norm): Likewise.
41373 (denorm): Likewise.
41374 (__mp_dbl): Likewise.
41375 (__dbl_mp): Likewise.
41376 (add_magnitudes): Likewise.
41377 (sub_magnitudes): Likewise.
41378 (__add): Likewise.
41379 (__sub): Likewise.
41380 (__mul): Likewise.
41381 (__inv): Likewise.
41382 (__dvd): Likewise.
41383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41384 (__acr): Likewise.
41385 (__cpy): Likewise.
41386 (norm): Likewise.
41387 (denorm): Likewise.
41388 (__mp_dbl): Likewise.
41389 (__dbl_mp): Likewise.
41390 (add_magnitudes): Likewise.
41391 (sub_magnitudes): Likewise.
41392 (__add): Likewise.
41393 (__sub): Likewise.
41394 (__mul): Likewise.
41395 (__inv): Likewise.
41396 (__dvd): Likewise.
41397
41398 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41399
41400 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41401 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41402 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41403 2 && __USE_EXTERN_INLINES]: Likewise.
41404
41405 2013-01-08 Andreas Jaeger <aj@suse.de>
41406
41407 [BZ# 14985]
41408 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41409 Remove.
41410 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41411 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41412
41413 2013-01-07 Anton Blanchard <anton@samba.org>
41414
41415 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41416 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41417 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41418 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41419 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41420 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41421 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41422 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41424 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41426 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41427 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41428 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41433 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41434 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41435 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41436 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41438 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41439 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41440 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41441 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41442 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41443 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41444 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41445 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41447 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41448 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41449 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41450 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41451 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41452 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41453 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41455 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41456 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41457 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41458
41459 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41460
41461 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41462 (__MALLOC_PMT): Likewise.
41463 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41464 [__GNUC__], only on [_LIBC].
41465 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41466 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41467 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41468 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41469 forward declaration.
41470 (realloc_hook_ini): Likewise.
41471 (memalign_hook_ini): Likewise.
41472 (__libc_memalign): Do not use __MALLOC_PMT in variable
41473 declaration.
41474 (__libc_valloc): Likewise.
41475 (__libc_pvalloc): Likewise.
41476 (__libc_calloc): Likewise.
41477 (__posix_memalign): Likewise.
41478
41479 [BZ #14996]
41480 * math/s_casinh.c: Include <float.h>.
41481 (__casinh): Do not do computation with squaring and square root
41482 for large arguments.
41483 * math/s_casinhf.c: Include <float.h>.
41484 (__casinhf): Do not do computation with squaring and square root
41485 for large arguments.
41486 * math/s_casinhl.c: Include <float.h>.
41487 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41488 (__casinhl): Do not do computation with squaring and square root
41489 for large arguments.
41490 * math/libm-test.inc (casin_test): Add more tests.
41491 (casinh_test): Likewise.
41492 * sysdeps/i386/fpu/libm-test-ulps: Update.
41493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41494
41495 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41496
41497 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41498 (__x86_64_raw_data_cache_size): Likewise.
41499 (__x86_64_data_cache_size_half): Likewise.
41500 (__x86_64_raw_data_cache_size_half): Likewise.
41501 (__x86_64_shared_cache_size): Likewise.
41502 (__x86_64_raw_shared_cache_size): Likewise.
41503 (__x86_64_shared_cache_size_half): Likewise.
41504 (__x86_64_raw_shared_cache_size_half): Likewise.
41505 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41506 to ...
41507 (__x86_data_cache_size): This.
41508 (__x86_64_raw_data_cache_size): Renamed to ...
41509 (__x86_raw_data_cache_size): This.
41510 (__x86_64_data_cache_size_half): Renamed to ...
41511 (__x86_data_cache_size_half): This.
41512 (__x86_64_raw_data_cache_size_half): Renamed to ...
41513 (__x86_raw_data_cache_size_half): This.
41514 (__x86_64_shared_cache_size): Renamed to ...
41515 (__x86_shared_cache_size): This.
41516 (__x86_64_raw_shared_cache_size): Renamed to ...
41517 (__x86_raw_shared_cache_size): This.
41518 (__x86_64_shared_cache_size_half): Renamed to ...
41519 (__x86_shared_cache_size_half): This.
41520 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41521 (__x86_raw_shared_cache_size_half): This.
41522 * sysdeps/x86_64/memcpy.S: Updated.
41523 * sysdeps/x86_64/memset.S: Likewise.
41524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41526 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41527
41528 2013-01-04 David S. Miller <davem@davemloft.net>
41529
41530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41531
41532 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41533
41534 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41535 1 to avoid redefinition warning.
41536 (__USE_GNU): Don't define.
41537 (init_signaling_nan): Protoize.
41538
41539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41540
41541 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41542
41543 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41545 (__cpymn): Likewise.
41546 (norm): Remove commented code.
41547 (denorm): Likewise.
41548 (__mp_dbl): Likewise.
41549 (__inv): Likewise.
41550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41551 (__cpymn): Likewise.
41552 (norm): Remove commented code.
41553 (denorm): Likewise.
41554 (__mp_dbl): Likewise.
41555 (__inv): Likewise.
41556
41557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41558 mp_no value for 1.0 and 2.0.
41559 (norm): Use RADIXI instead of radixi.d.
41560 (denorm): Likewise.
41561 (__mul): Use 0.0 instead of zero.d.
41562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41563 mp_no value for 1.0 and 2.0.
41564 (norm): Use RADIXI instead of radixi.d.
41565 (denorm): Likewise.
41566 (__mul): Use 0.0 instead of zero.d.
41567
41568 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41569
41570 [BZ #14994]
41571 * math/s_casinh.c (__casinh): Reduce finite argument to first
41572 quadrant then set signs of results at the end.
41573 * math/s_casinhf.c (__casinhf): Likewise.
41574 * math/s_casinhl.c (__casinhl): Likewise.
41575 * math/libm-test.inc (casin_test): Add more tests.
41576 (casinh_test): Likewise.
41577 * sysdeps/i386/fpu/libm-test-ulps: Update.
41578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41579
41580 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41581
41582 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41583
41584 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41585
41586 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41587 declarations.
41588 (denorm): Likewise.
41589 (__mp_dbl): Likewise.
41590 (__inv): Likewise.
41591
41592 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41593 and adjust the header comment.
41594
41595 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41596 variable name from declaration.
41597
41598 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41599
41600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41601 Initialize COMMON_CPUID_INDEX_7 element.
41602 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41603 (CPUID_RTM): Likewise.
41604 (HAS_RTM): Likewise.
41605 (COMMON_CPUID_INDEX_7): New enum.
41606
41607 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41608
41609 [BZ #14981]
41610 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41611 size is zero, record memory as freed.
41612
41613 2013-01-03 Andreas Jaeger <aj@suse.de>
41614
41615 * po/ia.po: Add new Interlingua translation.
41616
41617 2012-01-03 Allan McRae <allan@archlinux.org>
41618
41619 * locale/programs/localedef.c: Fix description of '--posix' flag.
41620
41621 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41622
41623 * NEWS: Update dates in second copyright notice.
41624 * README: Update copyright dates in example.
41625 * manual/libc.texinfo: Update copyright dates.
41626 * scripts/test-installation.pl: Update copyright date in --version
41627 output.
41628
41629 * hurd/ctty-input.c: Fix copyright notice formatting.
41630 * hurd/ctty-output.c: Likewise.
41631 * hurd/dtable.c: Likewise.
41632 * hurd/hurd-raise.c: Likewise.
41633 * hurd/hurdprio.c: Likewise.
41634 * hurd/msgportdemux.c: Likewise.
41635 * misc/sys/file.h: Likewise.
41636 * misc/sys/ioctl.h: Likewise.
41637 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41638 * sysdeps/mach/hurd/chdir.c: Likewise.
41639 * sysdeps/mach/hurd/fchdir.c: Likewise.
41640 * sysdeps/mach/hurd/rename.c: Likewise.
41641 * sysdeps/mach/hurd/rmdir.c: Likewise.
41642 * sysdeps/mach/hurd/seekdir.c: Likewise.
41643 * sysdeps/mach/hurd/setsid.c: Likewise.
41644 * sysdeps/posix/wait3.c: Likewise.
41645
41646 * All files with FSF copyright notices: Update copyright dates
41647 using scripts/update-copyrights.
41648 * intl/plural.c: Regenerated.
41649 * locale/programs/charmap-kw.h: Likewise.
41650 * locale/programs/locfile-kw.h: Likewise.
41651
41652 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41653
41654 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41655 four values.
41656
41657 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41658 calculation loop and add branch prediction.
41659
41660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41661 check access beyond bounds of m1np.
41662
41663 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41664 MPTWO.
41665 (__inv): Remove local variable MPTWO to use the global
41666 constant.
41667 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41668 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41669 variable MPTWO.
41670 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41671 MP3HALFS static const.
41672
41673 2013-01-01 David S. Miller <davem@davemloft.net>
41674
41675 * po/ca.po: Update from translation team.
41676
41677 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41678
41679 * scripts/update-copyrights: New file.
41680 * Makeconfig: Reformat copyright notice.
41681 * ctype/ctype.h: Likewise.
41682 * debug/swprintf_chk.c: Likewise.
41683 * elf/dl-cache.c: Likewise.
41684 * elf/dl-debug.c: Likewise.
41685 * elf/dl-object.c: Likewise.
41686 * grp/initgroups.c: Likewise.
41687 * hurd/Makefile: Likewise.
41688 * hurd/hurd/signal.h: Likewise.
41689 * hurd/hurdfault.c: Likewise.
41690 * hurd/hurdioctl.c: Likewise.
41691 * hurd/hurdlookup.c: Likewise.
41692 * hurd/intr-msg.c: Likewise.
41693 * iconv/gconv_open.c: Likewise.
41694 * libio/swprintf.c: Likewise.
41695 * locale/lc-ctype.c: Likewise.
41696 * locale/nl_langinfo.c: Likewise.
41697 * mach/Machrules: Likewise.
41698 * mach/Makefile: Likewise.
41699 * malloc/obstack.h: Likewise.
41700 * manual/Makefile: Likewise.
41701 * manual/tsort.awk: Likewise.
41702 * misc/bits/stab.def: Likewise.
41703 * nis/nis_print_group_entry.c: Likewise.
41704 * nis/nis_table.c: Likewise.
41705 * nis/nss_compat/compat-pwd.c: Likewise.
41706 * nis/nss_compat/compat-spwd.c: Likewise.
41707 * po/Makefile: Likewise.
41708 * posix/fnmatch.c: Likewise.
41709 * posix/regex.h: Likewise.
41710 * resolv/Makefile: Likewise.
41711 * resolv/nss_dns/dns-network.c: Likewise.
41712 * resolv/res_hconf.c: Likewise.
41713 * scripts/gen-sorted.awk: Likewise.
41714 * soft-fp/soft-fp.h: Likewise.
41715 * stdio-common/printf.h: Likewise.
41716 * stdlib/monetary.h: Likewise.
41717 * stdlib/random.c: Likewise.
41718 * stdlib/random_r.c: Likewise.
41719 * sysdeps/generic/Makefile: Likewise.
41720 * sysdeps/gnu/Makefile: Likewise.
41721 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41723 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41729 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41730 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41731 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41732 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41733 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41734 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41735 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41736 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41737 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41739 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41741 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41742 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41743 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41744 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41745 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41747 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41748 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41749 * sysdeps/mach/hurd/errnos.awk: Likewise.
41750 * sysdeps/mach/hurd/fork.c: Likewise.
41751 * sysdeps/mach/hurd/getcwd.c: Likewise.
41752 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41753 * sysdeps/mach/hurd/mmap.c: Likewise.
41754 * sysdeps/mach/hurd/utimes.c: Likewise.
41755 * sysdeps/mach/hurd/xmknod.c: Likewise.
41756 * sysdeps/posix/profil.c: Likewise.
41757 * sysdeps/posix/readdir_r.c: Likewise.
41758 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41759 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41760 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41761 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41763 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41764 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41767 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41768 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41769 * sysdeps/pthread/lio_listio.c: Likewise.
41770 * sysdeps/sparc/dl-procinfo.h: Likewise.
41771 * sysdeps/unix/i386/sysdep.S: Likewise.
41772 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41773 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41774 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41775 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41777 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41778 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41779 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41780 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41781 * sysdeps/wordsize-32/divdi3.c: Likewise.
41782 * time/sys/time.h: Likewise.
41783 * wcsmbs/Makefile: Likewise.
41784
41785 2013-01-01 David S. Miller <davem@davemloft.net>
41786
41787 * po/fr.po: Update from translation team.
41788
41789 * catgets/gencat.c: Update copyright year.
41790 * csu/version.c: Likewise.
41791 * debug/catchsegv.sh: Likewise.
41792 * debug/pcprofiledump.c: Likewise.
41793 * debug/xtrace.sh: Likewise.
41794 * elf/ldconfig.c: Likewise.
41795 * elf/ldd.bash.in: Likewise.
41796 * elf/pldd.c: Likewise.
41797 * elf/sotruss.ksh: Likewise.
41798 * elf/sprof.c: Likewise.
41799 * iconv/iconv_prog.c: Likewise.
41800 * iconv/iconvconfig.c: Likewise.
41801 * locale/programs/locale.c: Likewise.
41802 * locale/programs/localedef.c: Likewise.
41803 * login/programs/pt_chown.c: Likewise.
41804 * malloc/memusage.sh: Likewise.
41805 * malloc/memusagestat.c: Likewise.
41806 * malloc/mtrace.pl: Likewise.
41807 * nscd/nscd.c: Likewise.
41808 * nss/getent.c: Likewise.
41809 * nss/makedb.c: Likewise.
41810 * posix/getconf.c: Likewise.
41811
41812 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41813
41814 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41815 numbers.
41816
41817 2012-12-30 Mike Frysinger <vapier@gentoo.org>
41818
41819 * math/bits/mathcalls.h (modf): Use __nonnull.
41820
41821 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41822
41823 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41824 (split): Use macro CN instead of the bare value.
41825 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41826 could be used.
41827 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41828 instead of the bare value.
41829 (power1): Likewise.
41830
41831 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41832
41833 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41834 __ATAN_TWOM.
41835 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41836
41837 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41838 their values.
41839 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41840 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41841 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41842 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41843
41844 2012-12-28 Andreas Jaeger <aj@suse.de>
41845
41846 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
41847 values are from Linux 3.7.
41848
41849 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41850 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
41851
41852 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41853
41854 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41855 TRUE case.
41856
41857 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41858 (norm): Likewise.
41859 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41860 variables with preprocessor constants.
41861 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41862 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41863 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41864
41865 2012-12-27 Bruno Haible <bruno@clisp.org>
41866
41867 [BZ #14317]
41868 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41869 only if needed.
41870
41871 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41872
41873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41874 and use variable directly.
41875 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41876
41877 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41878 MPONE.
41879 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41880 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41881 variable MPONE.
41882 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41884 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41885 include directive. Remove local variable MPONE.
41886 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41887 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41888 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41889
41890 2012-12-25 David S. Miller <davem@davemloft.net>
41891
41892 * version.h (RELEASE): Set to "development".
41893 (VERSION): Set to "2.17.90".
41894 * NEWS: Add 2.18 section.
41895
41896 2012-12-21 David S. Miller <davem@davemloft.net>
41897
41898 * po/hr.po: Update from translation team.
41899
41900 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41901
41902 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41903
41904 2012-12-19 Steve Ellcey <sellcey@mips.com>
41905
41906 * NEWS: Mention new memcpy for MIPS.
41907
41908 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41909
41910 * manual/contrib.texi (Contributors): Spelling correction.
41911
41912 2012-12-15 David S. Miller <davem@davemloft.net>
41913
41914 * po/ru.po: Update from translation team.
41915
41916 2012-12-13 David S. Miller <davem@davemloft.net>
41917
41918 * NEWS: Mention IFUNC testsuite enhancements.
41919
41920 * po/pl.po: Update from translation team.
41921 * po/bg.po: Likewise.
41922
41923 * manual/contrib.texi (Contributors): Update entries for Hongjiu
41924 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
41925
41926 2012-12-11 David S. Miller <davem@davemloft.net>
41927
41928 * po/sv.po: Update from translation team.
41929
41930 * po/vi.po: Update from translation team.
41931
41932 * po/cs.po: Update from translation team.
41933
41934 * po/de.po: Update from translation team.
41935 * po/eo.po: Likewise.
41936 * po/nl.po: Likewise.
41937
41938 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41939
41940 [BZ #14246]
41941 * manual/argp.texi (Argp Helper Functions): Move node to follow
41942 Argp Parsing State.
41943
41944 [BZ #14872]
41945 * manual/conf.texi (Limits on File System Capacity): Mention if
41946 terminating null is included in the max size.
41947
41948 2012-12-10 Andreas Jaeger <aj@suse.de>
41949
41950 * po/cs.po: Update from translation team.
41951
41952 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
41953
41954 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41955 void pointer and cast to uintptr_t.
41956 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41957 path.
41958 * sysdeps/s390/s390-64/memcpy.S: Likewise.
41959 * sysdeps/s390/s390-64/memset.S: Likewise.
41960
41961 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
41962
41963 [BZ #14833]
41964 * menual/message.texi (Message Translation): Fix typos.
41965 (Helper programs for gettext): Likewise.
41966
41967 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
41968
41969 [BZ #14898]
41970 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41971 Change to -1.
41972
41973 2012-12-07 David S. Miller <davem@davemloft.net>
41974
41975 * po/libc.pot: Update.
41976
41977 2012-12-07 Richard Henderson <rth@redhat.com>
41978
41979 [BZ #10114]
41980 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41981 normal/normal case to before the switch.
41982 (_FP_DIV): Likewise.
41983
41984 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
41985 Mike Frysinger <vapier@gentoo.org>
41986
41987 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41988 check for __NR_fadvise64_64.
41989
41990 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
41991
41992 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41993 0, not just to plain "0" as a statement.
41994 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41995 with cw.
41996
41997 2012-12-06 Joseph Myers <joseph@codesourcery.com>
41998
41999 * NEWS: Use sourceware.org in Bugzilla URL.
42000
42001 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42002
42003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42004 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42005
42006 * stdio-common/tst-put-error.c (do_test): Add newline to the
42007 padded test to ensure flush.
42008
42009 2012-12-05 Jeff Law <law@redhat.com>
42010
42011 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42012
42013 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42014
42015 * README: Don't refer to ports add-on as distributed separately.
42016 Mention AArch64 in list of systems supported in the ports add-on.
42017
42018 * LICENSES: Add more non-FSF copyright and license notices.
42019
42020 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42021 ((unused)).
42022
42023 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42024
42025 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42026 10000 as width of padded output.
42027
42028 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42029
42030 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42031
42032 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42033 variable LX with __attribute__ ((unused)).
42034 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42035 Likewise.
42036 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42039 with __attribute__ ((unused)).
42040
42041 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42042
42043 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42044
42045 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42046
42047 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42048 (CFLAGS-nldbl-acos.c): New variable.
42049 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42050 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42051 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42052 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42053 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42054 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42055 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42056 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42057 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42058 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42059 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42060 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42061 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42062 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42063 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42064 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42065 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42066 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42067 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42068 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42069 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42070 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42071 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42072 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42073 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42074 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42075 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42076 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42077 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42078 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42079 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42080 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42081 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42082 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42083 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42084 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42085 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42086 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42087 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42088 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42089 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42090 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42091 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42092 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42093 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42094 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42095 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42096 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42097 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42098 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42099 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42100 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42101 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42102 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42103 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42104 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42105 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42106 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42107 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42108 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42109 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42110 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42111 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42112 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42113 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42114 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42115 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42116 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42117 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42118 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42119 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42120 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42121 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42122 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42123 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42124 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42125 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42126 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42127 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42128 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42129 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42130 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42131 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42132 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42133 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42134 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42135 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42136 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42137 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42138 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42139 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42140 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42141 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42142 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42143 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42144 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42145 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42146
42147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42148 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42149
42150 [BZ #14914]
42151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42152 whole low double instead of just low 47 bits when splitting values
42153 into two parts.
42154
42155 2012-12-03 Allan McRae <allan@archlinux.org>
42156
42157 * manual/stdio.texi (Predefined Printf Handlers): Remove
42158 @hsep and @vsep usage.
42159
42160 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42161
42162 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42163 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42164
42165 2012-12-03 Jeff Law <law@redhat.com>
42166
42167 * time/sys/time.h (settimeofday): Do not mark TV argument
42168 as __nonnull.
42169
42170 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42171
42172 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42173 when currently writing and seek to current position when not.
42174 * libio/Makefile (tests): Remove bug-fclose1.
42175 * libio/bug-fclose1.c: Delete.
42176
42177 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42178
42179 * manual/arith.texi (feenableexcept): Fix typo.
42180 (fedisableexcept): Likewise.
42181
42182 2012-11-30 Roland McGrath <roland@hack.frob.com>
42183
42184 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42185 second, differently-typed declaration, rather than a cast.
42186
42187 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42188
42189 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42190 * include/rpc/svc.h: ... here.
42191
42192 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42193
42194 [BZ #13013]
42195 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42196 depending n and resplen2 to catch cases where answer
42197 equals answerp2.
42198
42199 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42200
42201 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42202 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42203
42204 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42205
42206 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42207
42208 2012-11-29 Roland McGrath <roland@hack.frob.com>
42209
42210 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42211
42212 2012-11-28 Jeff Law <law@redhat.com>
42213
42214 [BZ #13761]
42215 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42216 dataset_temporary. Track alloca usage into alloca_used.
42217 If dataset is large allocate and release it via malloc/free.
42218
42219 2012-06-04 Florian Weimer <fweimer@redhat.com>
42220
42221 [BZ #14197]
42222 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42223
42224 2012-11-28 David S. Miller <davem@davemloft.net>
42225
42226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42227
42228 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42229
42230 [BZ #14803]
42231 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42232 of pi/2 rounded to nearest to 64 bits.
42233 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42234 nearest to 64 bits.
42235 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42236 bits.
42237
42238 2012-11-28 Jeff Law <law@redhat.com>
42239 Martin Osvald <mosvald@redhat.com>
42240
42241 [BZ #14889]
42242 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42243 * sunrpc/svc.c: Include time.h.
42244 (__svc_accept_failed): New function.
42245 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42246 any reason other than EINTR, call __svc_accept_failed.
42247 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42248 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42249
42250 2012-11-28 Andreas Schwab <schwab@suse.de>
42251
42252 * scripts/abilist.awk: Also handle indirect functions in .opd
42253 section.
42254
42255 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42256
42257 [BZ #13881]
42258 * sysdeps/x86/fpu/powl_helper.c: New file.
42259 * sysdeps/x86/fpu/Makefile: Likewise.
42260 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42261 (p3): New object.
42262 (__ieee754_powl): Use __powl_helper for finite arguments except
42263 integer exponents below 8.
42264 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42265 (p3): New object.
42266 (__ieee754_powl): Use __powl_helper for finite arguments except
42267 integer exponents below 8.
42268 * math/libm-test.inc (pow_test): Add more tests and enable some
42269 previously disabled tests.
42270 * sysdeps/i386/fpu/libm-test-ulps: Update.
42271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42272
42273 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42274 Carlos O'Donell <carlos_odonell@mentor.com>
42275
42276 * nss/makedb.c (is_prime): Assert that input is odd and greater
42277 than 4. Note that fact in a comment too.
42278 (next_prime): Add 4 to input.
42279
42280 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42281
42282 [BZ #11741]
42283 * libio/Makefile (tests): Add test case tst-fwrite-error.
42284 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42285 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42286 * libio/tst-fwrite-error.c: New test case.
42287
42288 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42289
42290 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42291 before casting to void *.
42292 * include/libc-internal.h (__pointer_type): New macro.
42293 (__integer_if_pointer_type_sub): Likewise.
42294 (__integer_if_pointer_type): Likewise.
42295 (cast_to_integer): Likewise.
42296 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42297 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42298 before casting to atomic64_t.
42299 (atomic_exchange_acq): Likewise.
42300 (__arch_exchange_and_add_body): Likewise.
42301 (__arch_add_body): Likewise.
42302 (atomic_add_negative): Likewise.
42303 (atomic_add_zero): Likewise.
42304
42305 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42306
42307 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42308 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42309 (add_fdes): Likewise.
42310 (linear_search_fdes): Likewise.
42311 (binary_search_unencoded_fdes): Likewise.
42312
42313 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42314
42315 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42316
42317 2012-11-24 Adam Conrad <adconrad@0c3.net>
42318
42319 * configure.in: Autodetect C++ header directories.
42320 * configure: Regenerated.
42321
42322 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42323
42324 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42325
42326 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42327
42328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42329
42330 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42331
42332 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42333 LDBL_MANT_DIG == 106]: Disable some tests.
42334 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42335 Likewise.
42336 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42337 Likewise.
42338
42339 [BZ #14871]
42340 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42341 input for small inputs. Return +/- pi/2 for large inputs.
42342 * math/libm-test.inc (atan_test): Add more tests.
42343
42344 * sysdeps/generic/unwind-dw2-fde-glibc.c
42345 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42346 __attribute__ ((unused)).
42347
42348 [BZ #14645]
42349 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42350 x * y if x and y are nonzero and z is zero.
42351
42352 [BZ #14811]
42353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42354 nonzero exponents with absolute value below 0x1p-117 to +/-
42355 0x1p-117.
42356
42357 [BZ #14869]
42358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42359 up arguments below 2**-450, not just those below 2**-500.
42360 * math/libm-test.inc (hypot_test): Add another test.
42361
42362 [BZ #14868]
42363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42364 Return a+b for ratio over 2**120, not 2**60.
42365 * math/libm-test.inc (hypot_test): Add another test.
42366
42367 * math/libm-test.inc (clog_test): Use
42368 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42369 (clog10_test): Likewise.
42370
42371 [BZ #6778]
42372 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42373
42374 2012-11-22 Andreas Schwab <schwab@suse.de>
42375
42376 * sysdeps/i386/fpu/libm-test-ulps: Update.
42377
42378 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42379
42380 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42381 printf output with newline.
42382
42383 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42384
42385 [BZ #14865]
42386 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42387 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42388 -z nodlopen, -z initfirst and -z execstack support.
42389 * configure: Regenerated.
42390
42391 * elf/elf.h (DF_1_NODIRECT): New macro.
42392 (DF_1_IGNMULDEF): Likewise.
42393 (DF_1_NOKSYMS): Likewise.
42394 (DF_1_NOHDR): Likewise.
42395 (DF_1_EDITED): Likewise.
42396 (DF_1_NORELOC): Likewise.
42397 (DF_1_SYMINTPOSE): Likewise.
42398 (DF_1_GLOBAUDIT): Likewise.
42399 (DF_1_SINGLETON): Likewise.
42400 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42401 DT_1_SUPPORTED_MASK bits.
42402 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42403
42404 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42405
42406 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42407
42408 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42409
42410 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42411 macro.
42412
42413 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42414 (sendmmsg): Move declarations...
42415 * socket/sys/socket.h: ... here.
42416 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42417 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42418 include it from...
42419 * socket/recvmmsg.c: ... this new file.
42420 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42421 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42422 definition of __sendmmsg hidden.
42423 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42424 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42425 Move ENOSYS stub into and include it from...
42426 * socket/sendmmsg.c: ... this new file.
42427 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42428 (sysdep_routines): Move recvmmsg and sendmmsg...
42429 * socket/Makefile (routines): ... here.
42430 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42431 (GLIBC_PRIVATE): Add __sendmmsg.
42432 * include/sys/socket.h (__sendmmsg): Add declarations.
42433 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42434 sendmmsg.
42435
42436 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42437
42438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42439 variable I1 with __attribute__ ((unused)).
42440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42441
42442 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42443
42444 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42445 DUMMY variables with __attribute__ ((unused)).
42446
42447 * bits/byteswap.h: Include <bits/types.h>.
42448 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42449
42450 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42451
42452 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42453 string_t. Do not manually set errno.
42454 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42455 length with __strnlen. Make sure to both set errno and return it on
42456 failure.
42457
42458 2012-11-19 David S. Miller <davem@davemloft.net>
42459
42460 With help from Joseph Myers.
42461 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42462 very large arguments properly.
42463 * math/libm-test.inc (atan_test): New tests.
42464 (atan2_test): New tests.
42465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42467
42468 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42469
42470 [BZ #14856]
42471 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42472 Define to 3.
42473
42474 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42475 [POSIX] (EADDRNOTAVAIL): Likewise.
42476 [POSIX] (EAFNOSUPPORT): Likewise.
42477 [POSIX] (EALREADY): Likewise.
42478 [POSIX] (ECONNABORTED): Likewise.
42479 [POSIX] (ECONNREFUSED): Likewise.
42480 [POSIX] (ECONNRESET): Likewise.
42481 [POSIX] (EDESTADDRREQ): Likewise.
42482 [POSIX] (EDQUOT): Likewise.
42483 [POSIX] (EHOSTUNREACH): Likewise.
42484 [POSIX] (EIDRM): Likewise.
42485 [POSIX] (EISCONN): Likewise.
42486 [POSIX] (ELOOP): Likewise.
42487 [POSIX] (EMULTIHOP): Likewise.
42488 [POSIX] (ENETDOWN): Likewise.
42489 [POSIX] (ENETUNREACH): Likewise.
42490 [POSIX] (ENOBUFS): Likewise.
42491 [POSIX] (ENODATA): Likewise.
42492 [POSIX] (ENOLINK): Likewise.
42493 [POSIX] (ENOMSG): Likewise.
42494 [POSIX] (ENOPROTOOPT): Likewise.
42495 [POSIX] (ENOSR): Likewise.
42496 [POSIX] (ENOSTR): Likewise.
42497 [POSIX] (ENOTCONN): Likewise.
42498 [POSIX] (ENOTSOCK): Likewise.
42499 [POSIX] (EOPNOTSUPP): Likewise.
42500 [POSIX] (EOVERFLOW): Likewise.
42501 [POSIX] (EPROTO): Likewise.
42502 [POSIX] (EPROTONOSUPPORT): Likewise.
42503 [POSIX] (EPROTOTYPE): Likewise.
42504 [POSIX] (ESTALE): Likewise.
42505 [POSIX] (ETIME): Likewise.
42506 [POSIX] (ETXTBSY): Likewise.
42507 [POSIX] (EWOULDBLOCK): Likewise.
42508 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42509 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42510 [POSIX] (SEEK_CUR): Likewise.
42511 [POSIX] (SEEK_END): Likewise.
42512 [POSIX || UNIX98] (mode_t): Do not require.
42513 [POSIX] (off_t): Likewise.
42514 [POSIX] (pid_t): Likewise.
42515 [POSIX] (sys/stat.h): Do not allow header.
42516 [POSIX] (unistd.h): Likewise.
42517 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42518 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42519 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42520 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42521 require.
42522 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42523 sigevent): Specify elements.
42524 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42525 entry.
42526 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42527 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42528
42529 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42530 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42531 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42532 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42533 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42534 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42535 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42536 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42537 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42538 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42539 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42540 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42541 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42542 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42543 Likewise.
42544 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42545 Likewise.
42546 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42547 Likewise.
42548 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42549 Likewise.
42550 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42551 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42553 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42554 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42555 Specify lower bound on value.
42556 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42557 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42558 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42559 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42560 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42561 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42562 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42563 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42564 value.
42565 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42566 as optional.
42567 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42568 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42569 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42570 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42571 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42572 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42573 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42574 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42575 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42576 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42577 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42578 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42579 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42580 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42581 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42582 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42583 entry.
42584 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42585 optional.
42586 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42587 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42588 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42589 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42590 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42591 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42592 Likewise.
42593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42594 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42595 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42596 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42597 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42598 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42599 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42600 as optional.
42601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42603 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42604 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42605 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42606 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42607 specify as optional.
42608 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42609 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42610 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42611 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42612 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42613 [XPG3] (NL_LANGMAX): Likewise.
42614 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42615 [POSIX || XPG3] (NL_NMAX): Likewise.
42616 [POSIX || XPG3] (NL_SETMAX): Likewise.
42617 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42618 [XPG3] (NZERO): Likewise.
42619 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42620 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42621 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42622 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42623 (REG_ERANGE): Expect.
42624 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42625 optional-constant.
42626 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42627 Use (void) in prototype.
42628 [POSIX] (*_t): Allow.
42629 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42630 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42631 (WRDE_BADVAL): Expect.
42632
42633 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42634 expect.
42635 [XPG3 || XPG4] (O_RSYNC): Likewise.
42636 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42637 Likewise.
42638 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42639 [XPG3 || XPG4] (sigqueue): Likewise.
42640 [XPG3 || XPG4] (sigtimedwait): Likewise.
42641 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42642 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42643 [XPG3 || XPG4] (vsnprintf): Likewise.
42644 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42645 Likewise.
42646 [XPG3 || XPG4] (blksize_t): Likewise.
42647 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42648 Likewise.
42649 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42650 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42651 [XPG3 || XPG4] (struct itimerspec): Likewise.
42652 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42653 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42654 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42655 [XPG3 || XPG4] (clockid_t): Likewise.
42656 [XPG3 || XPG4] (timer_t): Likewise.
42657 [XPG3 || XPG4] (clock_getres): Likewise.
42658 [XPG3 || XPG4] (clock_gettime): Likewise.
42659 [XPG3 || XPG4] (clock_settime): Likewise.
42660 [XPG3 || XPG4] (nanosleep): Likewise.
42661 [XPG3 || XPG4] (timer_create): Likewise.
42662 [XPG3 || XPG4] (timer_delete): Likewise.
42663 [XPG3 || XPG4] (timer_gettime): Likewise.
42664 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42665 [XPG3 || XPG4] (timer_settime): Likewise.
42666 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42667 [XPG3 || XPG4] (getlogin_r): Likewise.
42668 [XPG3 || XPG4] (pread): Likewise.
42669 [XPG3 || XPG4] (pthread_atfork): Likewise.
42670 [XPG3 || XPG4] (pwrite): Likewise.
42671
42672 [BZ #14835]
42673 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42674 <bits/siginfo.h>.
42675
42676 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42677
42678 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42679 finalizing MALLSTREAM.
42680
42681 * sysdeps/mach/hurd/syncfs.c: New file.
42682
42683 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42684
42685 [BZ #14719]
42686 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42687 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42688 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42689 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42690 (_nss_dns_gethostbyname4_r): Likewise.
42691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42692 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42693
42694 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42695
42696 [BZ #13763]
42697 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42698
42699 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42700
42701 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42702 * elf/cache.c (print_entry): Print ",AArch64" for
42703 FLAG_AARCH64_LIB64
42704
42705 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42706 * elf/cache.c (print_entry): Print ",hard-float" for
42707 FLAG_ARM_LIBHF.
42708
42709 2012-11-18 David S. Miller <davem@davemloft.net>
42710
42711 With help from Joseph Myers.
42712 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42713 cutoff to 2**-13.
42714 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42715 cutoff to 2**-25.
42716 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42717 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42718 small.
42719 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42720 * math/libm-test.inc (y0_test): New tests.
42721 (y1_test): New tests.
42722 * sysdeps/i386/fpu/libm-test-ulps: Update.
42723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42725
42726 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42727
42728 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42729 64-bit targets.
42730 * configure: Regenerated.
42731
42732 2012-11-17 David S. Miller <davem@davemloft.net>
42733
42734 [BZ #14811]
42735 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42736 nonzero exponents with absolute value below 0x1p-128 to +/-
42737 0x1p-128.
42738
42739 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42740
42741 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42742
42743 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42744
42745 * posix/getconf-speclist.c: New file.
42746 * posix/posix-envs.def: Likewise.
42747 * posix/confstr.c (START_ENV_GROUP): New macro.
42748 (END_ENV_GROUP): Likewise.
42749 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42750 (KNOWN_PRESENT_ENV_STRING): Likewise.
42751 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42752 (UNKNOWN_ENVIRONMENT): Likewise.
42753 (confstr): Include posix-envs.def instead of handling
42754 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42755 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42756 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42757 (END_ENV_GROUP): Likewise.
42758 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42759 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42760 (UNKNOWN_ENVIRONMENT): Likewise.
42761 (__sysconf): Include posix-envs.def instead of handling associated
42762 cases directly here.
42763 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42764 preprocessing getconf-speclist.c rather than running getconf or
42765 generating empty file.
42766
42767 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42768
42769 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42770
42771 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42772
42773 [BZ #14672]
42774 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42775
42776 2012-11-16 David S. Miller <davem@davemloft.net>
42777
42778 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42779 smaller than LDBL_EPSILON/2.0L, just return xm1.
42780
42781 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42782
42783 * elf/tst-array1.c (init): Set constructor priority to 1000.
42784 (fini): Set destructor priority to 1000.
42785 * elf/tst-array2dep.c: Likewise.
42786
42787 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42788
42789 [BZ #11741]
42790 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42791 (_IO_new_file_xsputn): Also return EOF if none of the input
42792 data was written when overflow failed.
42793 * libio/iopadn.c (_IO_padn): Likewise.
42794 * libio/iowpadn.c (_IO_wpadn): Likewise.
42795 * stdio-common/tst-put-error.c: Add copyright notice.
42796 (do_test): Add case for printing padded string.
42797 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42798 _IO_padn returned error.
42799 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42800 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42801 return EOF.
42802
42803 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42804
42805 * libio/libioP.h: Add comment note that the references to C++
42806 bits are now obsolete.
42807
42808 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42809
42810 * math/libm-test.inc (check_complex): Use asprintf.
42811
42812 2012-11-14 Joseph Myers <joseph@codesourcery.com>
42813
42814 * debug/pcprofiledump.c (print_version): Update copyright year.
42815 * malloc/memusagestat.c (print_version): Likewise.
42816
42817 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
42818
42819 [BZ #14831]
42820 * elf/Makefile (tests): Add tst-audit8.
42821 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42822 ($(objpfx)tst-audit8.out): New target.
42823 (tst-audit8-ENV): New variable.
42824 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42825 audit if l_reloc_result is NULL.
42826 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42827 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42828 * elf/tst-audit8.c: New file.
42829
42830 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42831
42832 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42833 * misc/Makefile (CFLAGS-select.c): Define.
42834 * posix/Makefile (CFLAGS-pause.c): Define.
42835
42836 2012-11-13 David S. Miller <davem@davemloft.net>
42837
42838 * crypt/Makefile: Move test targets after toplevel Rules
42839 inclusion. Grab any necessary sysdep routines when linking.
42840 * crypt/md5.c (md5_process_block): Remove define, we will always
42841 name it __md5_process_block.
42842 (md5_finish_ctx): Update md5_process_block call.
42843 (md5_stream): Likewise.
42844 (md5_process_bytes): Likewise.
42845 (md5_process_block): Rename to __md5_process_block and move to ...
42846 * crypt/md5-block.c: ... here.
42847 * crypt/sha256.c (sha256_process_block): Move to ...
42848 * crypt/sha256-block.c: ... here.
42849 * crypt/sha512.c (sha512_process_block): Move to ...
42850 * crypt/sha512-block.c: ... here.
42851 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42852 path.
42853 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42854 * sysdeps/sparc/sparc64/multiarch/Makefile
42855 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42856 crypt subdir.
42857 (localedef-aux): Add md5 crypto assembler when in locale subdir.
42858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42859 multiarch changes.
42860 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42861 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42862 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42863 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42864 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42865 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42866 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42867 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42868 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42869 file.
42870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42871 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42872 file.
42873 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42874
42875 2012-11-13 Joseph Myers <joseph@codesourcery.com>
42876
42877 * timezone/tzselect.ksh: Update from tzcode git revision
42878 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42879 * timezone/zdump.c: Likewise.
42880 * timezone/zic.c: Likewise.
42881 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42882 in TZVERSION setting, not $(PKGVERSION).
42883 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
42884 REPORT_BUGS_TO settings.
42885
42886 [BZ #14838]
42887 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42888 macro.
42889
42890 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42891
42892 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42893 detection to immediately after _FP_ROUND().
42894 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42895 bits are 0.
42896
42897 2012-11-11 David S. Miller <davem@davemloft.net>
42898
42899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42900 inttypes.h
42901 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42902 __close rather than their public counterparts.
42903
42904 2012-11-10 Joseph Myers <joseph@codesourcery.com>
42905
42906 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42907 file.
42908 [UNIX98] (sem_timedwait): Do not expect.
42909 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42910 [XPG4 || UNIX98] (sockatmark): Do not expect.
42911 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42912 (clock_getcpuclockid): Do not expect.
42913 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42914 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42915 Do not expect.
42916 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42917 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42918 [UNIX98] (vwscanf): Likewise.
42919 [UNIX98] (vswscanf): Likewise.
42920
42921 2012-11-09 Joseph Myers <joseph@codesourcery.com>
42922
42923 * timezone/version.h: Remove file.
42924 * timezone/README: Do not refer to version.h.
42925 * timezone/Makefile ($(objpfx)zic.o): New dependency on
42926 $(objpfx)version.h.
42927 ($(objpfx)zdump.o): Likewise.
42928 ($(objpfx)version.h): New target.
42929
42930 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42931 2012i.
42932 * timezone/README: Don't mention modification to tzselect.ksh.
42933 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42934 work on unmodified tzselect.ksh. Substitute version numbers in
42935 tzselect.ksh.
42936
42937 * Makefile (format-me): Remove.
42938 (INSTALL): Adjust indentation. Use commands directly instead of
42939 using $(format-me).
42940
42941 * aclocal.m4 (ACX_PKGVERSION): New macro.
42942 (ACX_BUGURL): Likewise.
42943 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42944 (PKGVERSION): New AC_DEFINE_UNQUOTED.
42945 (REPORT_BUGS_TO): Likewise.
42946 * configure: Regenerated.
42947 * config.h.in (PKGVERSION): New macro.
42948 (REPORT_BUGS_TO): Likewise.
42949 * config.make.in (PKGVERSION): New variable.
42950 (PKGVERSION_TEXI): Likewise.
42951 (REPORT_BUGS_TO): Likewise.
42952 (REPORT_BUGS_TEXI): Likewise.
42953 * Makefile (format-me): Use -I$(common-objpfx)manual.
42954 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42955 ($(common-objpfx)manual/%): New target.
42956 (manual/%): Remove target.
42957 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42958 (print_version): Use PKGVERSION.
42959 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42960 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42961 and REPORT_BUGS_TO.
42962 ($(objpfx)xtrace): Likewise.
42963 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42964 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42965 (print_version): Use PKGVERSION.
42966 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42967 (do_version): Use PKGVERSION.
42968 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42969 REPORT_BUGS_TO.
42970 (common-ldd-rewrite): Likewise.
42971 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42972 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42973 (print_version): Use PKGVERSION.
42974 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42975 * elf/pldd.c (argp_program_bug_address): Remove variable.
42976 (more_help): New function.
42977 (argp): Use more_help.
42978 (print_version): Use PKGVERSION.
42979 * elf/sln.c (main): Use PKGVERSION.
42980 (usage): Use REPORT_BUGS_TO.
42981 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42982 (top level): Use PKGVERSION.
42983 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42984 (print_version): Use PKGVERSION.
42985 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42986 (print_version): Use PKGVERSION.
42987 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42988 (print_version): Use PKGVERSION.
42989 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42990 (print_version): Use PKGVERSION.
42991 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42992 (print_version): Use PKGVERSION.
42993 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42994 (print_version): Use PKGVERSION.
42995 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42996 and BUGURL.
42997 ($(objpfx)memusage): Likewise.
42998 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42999 (do_version): Use PKGVERSION.
43000 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43001 (print_version): Use PKGVERSION.
43002 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43003 ($PKGVERSION): New variable.
43004 ($REPORT_BUGS_TO): Likewise.
43005 (usage): Use $REPORT_BUGS_TO.
43006 (top level): Use $PKGVERSION.
43007 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43008 ($(objpfx)pkgvers.texi): New rule.
43009 ($(objpfx)stamp-pkgvers): Likewise.
43010 * manual/install.texi: Include pkgvers.texi.
43011 (--with-pkgversion): Document new configure option.
43012 (--with-bugurl): Likewise.
43013 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43014 than necessarily for this particular distribution. Use
43015 REPORT_BUGS_TO for where to report bugs.
43016 * INSTALL: Regenerated.
43017 * manual/libc.texinfo: Include pkgvers.texi.
43018 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43019 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43020 (print_version): Use PKGVERSION.
43021 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43022 (print_version): Use PKGVERSION.
43023 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43024 (print_version): Use PKGVERSION.
43025 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43026 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43027 macro.
43028 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43029 (print_version): Use PKGVERSION.
43030 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43031 (print_version): Use PKGVERSION.
43032 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43033 and PKGVERSION.
43034
43035 * timezone/checktab.awk: Update from tzcode 2012i.
43036 * timezone/ialloc.c: Likewise.
43037 * timezone/private.h: Likewise.
43038 * timezone/scheck.c: Likewise.
43039 * timezone/tzfile.h: Likewise.
43040 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43041 (TZVERSION): Hardcode tzcode version number.
43042 * timezone/zdump.c: Update from tzcode 2012i.
43043 * timezone/zic.c: Likewise.
43044 * timezone/version.h: New file.
43045 * timezone/README: Describe version.h. Update upstream location.
43046
43047 [BZ #14824]
43048 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43049 (mktemp): Enable declaration.
43050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43054 Likewise.
43055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43056 Likewise.
43057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43058 Likewise.
43059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43060 Likewise.
43061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43062 Likewise.
43063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43064 Likewise.
43065
43066 [BZ #14821]
43067 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43068 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43069 for copies of such integer values.
43070 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43071 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43072
43073 2012-11-09 Andreas Jaeger <aj@suse.de>
43074
43075 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43076 definitions and declarations that are provided by
43077 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43078
43079 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43080
43081 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43082 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43083 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43084 definition.
43085
43086 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43087
43088 * elf/elf.h: Update comment before AArch64 relocations.
43089
43090 2012-11-07 David S. Miller <davem@davemloft.net>
43091
43092 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43093 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43094 (__start_context): Declare.
43095 (__makecontext_ret): Delete.
43096 (__makecontext): Hook up __start_context instead of
43097 __makecontext_ret.
43098 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43099 (sysdep_routines): Add __start_context when in stdlib.
43100
43101 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43102
43103 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43104 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43105 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43106 hardcoded "nm".
43107 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43108 (READELF): New variable. Use it instead of hardcoded "readelf".
43109
43110 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43111
43112 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43113 * sysdeps/x86/Makefile: Here.
43114 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43115 * sysdeps/x86/tst-xmmymm.sh: This.
43116
43117 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43118
43119 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43120 expectations.
43121 [UNIX98] (pthread_barrier_t): Do not expect.
43122 [UNIX98] (pthread_barrierattr_t): Likewise.
43123 [UNIX98] (pthread_spinlock_t): Likewise.
43124 [UNIX98] (pthread_barrier_destroy): Likewise.
43125 [UNIX98] (pthread_barrier_init): Likewise.
43126 [UNIX98] (pthread_barrier_wait): Likewise.
43127 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43128 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43129 [UNIX98] (pthread_barrierattr_init): Likewise.
43130 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43131 [UNIX98] (pthread_getcpuclockid): Likewise.
43132 [UNIX98] (pthread_mutex_timedlock): Likewise.
43133 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43134 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43135 [UNIX98] (pthread_sigmask): Likewise.
43136 [UNIX98] (pthread_spin_destroy): Likewise.
43137 [UNIX98] (pthread_spin_init): Likewise.
43138 [UNIX98] (pthread_spin_lock): Likewise.
43139 [UNIX98] (pthread_spin_trylock): Likewise.
43140 [UNIX98] (pthread_spin_unlock): Likewise.
43141 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43142 Do not expect.
43143 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43144 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43145 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43146 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43147 [XPG3 || XPG4] (pthread_key_t): Likewise.
43148 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43149 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43150 [XPG3 || XPG4] (pthread_once_t): Likewise.
43151 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43152 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43153 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43154 [XPG3 || XPG4] (pthread_t): Likewise.
43155
43156 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43157 not expect.
43158 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43159
43160 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43161 Change function return type to int.
43162
43163 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43164 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43165 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43166 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43167 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43168 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43169 [!POSIX] (posix_madvise): Likewise.
43170 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43171 && !UNIX98].
43172 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43173 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43174 (mode_t): Likewise.
43175 (posix_mem_offset): Likewise.
43176 (posix_typed_mem_get_info): Likewise.
43177 (posix_typed_mem_open): Likewise.
43178
43179 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43180 Change condition to [XOPEN2K8].
43181
43182 * conform/conformtest.pl: Preprocess allow-header data with -x c
43183 instead of from stdin.
43184 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43185 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43186 [C99-based standards] (cerfc): Likewise.
43187 [C99-based standards] (cexp2): Likewise.
43188 [C99-based standards] (cexpm1): Likewise.
43189 [C99-based standards] (clog10): Likewise.
43190 [C99-based standards] (clog1p): Likewise.
43191 [C99-based standards] (clog2): Likewise.
43192 [C99-based standards] (clgamma): Likewise.
43193 [C99-based standards] (ctgamma): Likewise.
43194 [C99-based standards] (cerff): Likewise.
43195 [C99-based standards] (cerfcf): Likewise.
43196 [C99-based standards] (cexp2f): Likewise.
43197 [C99-based standards] (cexpm1f): Likewise.
43198 [C99-based standards] (clog10f): Likewise.
43199 [C99-based standards] (clog1pf): Likewise.
43200 [C99-based standards] (clog2f): Likewise.
43201 [C99-based standards] (clgammaf): Likewise.
43202 [C99-based standards] (ctgammaf): Likewise.
43203 [C99-based standards] (cerfl): Likewise.
43204 [C99-based standards] (cerfcl): Likewise.
43205 [C99-based standards] (cexp2l): Likewise.
43206 [C99-based standards] (cexpm1l): Likewise.
43207 [C99-based standards] (clog10l): Likewise.
43208 [C99-based standards] (clog1pl): Likewise.
43209 [C99-based standards] (clog2l): Likewise.
43210 [C99-based standards] (clgammal): Likewise.
43211 [C99-based standards] (ctgammal): Likewise.
43212 * conform/data/inttypes.h-data [C99-based standards]: Include
43213 stdint.h-data. Remove all expectations for stdint.h contents.
43214 [C99-based standards] (PRI*): Do not allow.
43215 [C99-based standards] (SCN*): Likewise.
43216 [C99-based standards] (*_t): Likewise.
43217 [C99-based-standards] (PRId8): Expect macro.
43218 [C99-based-standards] (PRIi8): Likewise.
43219 [C99-based-standards] (PRIo8): Likewise.
43220 [C99-based-standards] (PRIu8): Likewise.
43221 [C99-based-standards] (PRIx8): Likewise.
43222 [C99-based-standards] (PRIX8): Likewise.
43223 [C99-based-standards] (SCNd8): Likewise.
43224 [C99-based-standards] (SCNi8): Likewise.
43225 [C99-based-standards] (SCNo8): Likewise.
43226 [C99-based-standards] (SCNu8): Likewise.
43227 [C99-based-standards] (SCNx8): Likewise.
43228 [C99-based-standards] (PRIdLEAST8): Likewise.
43229 [C99-based-standards] (PRIiLEAST8): Likewise.
43230 [C99-based-standards] (PRIoLEAST8): Likewise.
43231 [C99-based-standards] (PRIuLEAST8): Likewise.
43232 [C99-based-standards] (PRIxLEAST8): Likewise.
43233 [C99-based-standards] (PRIXLEAST8): Likewise.
43234 [C99-based-standards] (SCNdLEAST8): Likewise.
43235 [C99-based-standards] (SCNiLEAST8): Likewise.
43236 [C99-based-standards] (SCNoLEAST8): Likewise.
43237 [C99-based-standards] (SCNuLEAST8): Likewise.
43238 [C99-based-standards] (SCNxLEAST8): Likewise.
43239 [C99-based-standards] (PRIdFAST8): Likewise.
43240 [C99-based-standards] (PRIiFAST8): Likewise.
43241 [C99-based-standards] (PRIoFAST8): Likewise.
43242 [C99-based-standards] (PRIuFAST8): Likewise.
43243 [C99-based-standards] (PRIxFAST8): Likewise.
43244 [C99-based-standards] (PRIXFAST8): Likewise.
43245 [C99-based-standards] (SCNdFAST8): Likewise.
43246 [C99-based-standards] (SCNiFAST8): Likewise.
43247 [C99-based-standards] (SCNoFAST8): Likewise.
43248 [C99-based-standards] (SCNuFAST8): Likewise.
43249 [C99-based-standards] (SCNxFAST8): Likewise.
43250 [C99-based-standards] (PRId16): Likewise.
43251 [C99-based-standards] (PRIi16): Likewise.
43252 [C99-based-standards] (PRIo16): Likewise.
43253 [C99-based-standards] (PRIu16): Likewise.
43254 [C99-based-standards] (PRIx16): Likewise.
43255 [C99-based-standards] (PRIX16): Likewise.
43256 [C99-based-standards] (SCNd16): Likewise.
43257 [C99-based-standards] (SCNi16): Likewise.
43258 [C99-based-standards] (SCNo16): Likewise.
43259 [C99-based-standards] (SCNu16): Likewise.
43260 [C99-based-standards] (SCNx16): Likewise.
43261 [C99-based-standards] (PRIdLEAST16): Likewise.
43262 [C99-based-standards] (PRIiLEAST16): Likewise.
43263 [C99-based-standards] (PRIoLEAST16): Likewise.
43264 [C99-based-standards] (PRIuLEAST16): Likewise.
43265 [C99-based-standards] (PRIxLEAST16): Likewise.
43266 [C99-based-standards] (PRIXLEAST16): Likewise.
43267 [C99-based-standards] (SCNdLEAST16): Likewise.
43268 [C99-based-standards] (SCNiLEAST16): Likewise.
43269 [C99-based-standards] (SCNoLEAST16): Likewise.
43270 [C99-based-standards] (SCNuLEAST16): Likewise.
43271 [C99-based-standards] (SCNxLEAST16): Likewise.
43272 [C99-based-standards] (PRIdFAST16): Likewise.
43273 [C99-based-standards] (PRIiFAST16): Likewise.
43274 [C99-based-standards] (PRIoFAST16): Likewise.
43275 [C99-based-standards] (PRIuFAST16): Likewise.
43276 [C99-based-standards] (PRIxFAST16): Likewise.
43277 [C99-based-standards] (PRIXFAST16): Likewise.
43278 [C99-based-standards] (SCNdFAST16): Likewise.
43279 [C99-based-standards] (SCNiFAST16): Likewise.
43280 [C99-based-standards] (SCNoFAST16): Likewise.
43281 [C99-based-standards] (SCNuFAST16): Likewise.
43282 [C99-based-standards] (SCNxFAST16): Likewise.
43283 [C99-based-standards] (PRId32): Likewise.
43284 [C99-based-standards] (PRIi32): Likewise.
43285 [C99-based-standards] (PRIo32): Likewise.
43286 [C99-based-standards] (PRIu32): Likewise.
43287 [C99-based-standards] (PRIx32): Likewise.
43288 [C99-based-standards] (PRIX32): Likewise.
43289 [C99-based-standards] (SCNd32): Likewise.
43290 [C99-based-standards] (SCNi32): Likewise.
43291 [C99-based-standards] (SCNo32): Likewise.
43292 [C99-based-standards] (SCNu32): Likewise.
43293 [C99-based-standards] (SCNx32): Likewise.
43294 [C99-based-standards] (PRIdLEAST32): Likewise.
43295 [C99-based-standards] (PRIiLEAST32): Likewise.
43296 [C99-based-standards] (PRIoLEAST32): Likewise.
43297 [C99-based-standards] (PRIuLEAST32): Likewise.
43298 [C99-based-standards] (PRIxLEAST32): Likewise.
43299 [C99-based-standards] (PRIXLEAST32): Likewise.
43300 [C99-based-standards] (SCNdLEAST32): Likewise.
43301 [C99-based-standards] (SCNiLEAST32): Likewise.
43302 [C99-based-standards] (SCNoLEAST32): Likewise.
43303 [C99-based-standards] (SCNuLEAST32): Likewise.
43304 [C99-based-standards] (SCNxLEAST32): Likewise.
43305 [C99-based-standards] (PRIdFAST32): Likewise.
43306 [C99-based-standards] (PRIiFAST32): Likewise.
43307 [C99-based-standards] (PRIoFAST32): Likewise.
43308 [C99-based-standards] (PRIuFAST32): Likewise.
43309 [C99-based-standards] (PRIxFAST32): Likewise.
43310 [C99-based-standards] (PRIXFAST32): Likewise.
43311 [C99-based-standards] (SCNdFAST32): Likewise.
43312 [C99-based-standards] (SCNiFAST32): Likewise.
43313 [C99-based-standards] (SCNoFAST32): Likewise.
43314 [C99-based-standards] (SCNuFAST32): Likewise.
43315 [C99-based-standards] (SCNxFAST32): Likewise.
43316 [C99-based-standards] (PRId64): Likewise.
43317 [C99-based-standards] (PRIi64): Likewise.
43318 [C99-based-standards] (PRIo64): Likewise.
43319 [C99-based-standards] (PRIu64): Likewise.
43320 [C99-based-standards] (PRIx64): Likewise.
43321 [C99-based-standards] (PRIX64): Likewise.
43322 [C99-based-standards] (SCNd64): Likewise.
43323 [C99-based-standards] (SCNi64): Likewise.
43324 [C99-based-standards] (SCNo64): Likewise.
43325 [C99-based-standards] (SCNu64): Likewise.
43326 [C99-based-standards] (SCNx64): Likewise.
43327 [C99-based-standards] (PRIdLEAST64): Likewise.
43328 [C99-based-standards] (PRIiLEAST64): Likewise.
43329 [C99-based-standards] (PRIoLEAST64): Likewise.
43330 [C99-based-standards] (PRIuLEAST64): Likewise.
43331 [C99-based-standards] (PRIxLEAST64): Likewise.
43332 [C99-based-standards] (PRIXLEAST64): Likewise.
43333 [C99-based-standards] (SCNdLEAST64): Likewise.
43334 [C99-based-standards] (SCNiLEAST64): Likewise.
43335 [C99-based-standards] (SCNoLEAST64): Likewise.
43336 [C99-based-standards] (SCNuLEAST64): Likewise.
43337 [C99-based-standards] (SCNxLEAST64): Likewise.
43338 [C99-based-standards] (PRIdFAST64): Likewise.
43339 [C99-based-standards] (PRIiFAST64): Likewise.
43340 [C99-based-standards] (PRIoFAST64): Likewise.
43341 [C99-based-standards] (PRIuFAST64): Likewise.
43342 [C99-based-standards] (PRIxFAST64): Likewise.
43343 [C99-based-standards] (PRIXFAST64): Likewise.
43344 [C99-based-standards] (SCNdFAST64): Likewise.
43345 [C99-based-standards] (SCNiFAST64): Likewise.
43346 [C99-based-standards] (SCNoFAST64): Likewise.
43347 [C99-based-standards] (SCNuFAST64): Likewise.
43348 [C99-based-standards] (SCNxFAST64): Likewise.
43349 [C99-based-standards] (PRIdMAX): Likewise.
43350 [C99-based-standards] (PRIiMAX): Likewise.
43351 [C99-based-standards] (PRIoMAX): Likewise.
43352 [C99-based-standards] (PRIuMAX): Likewise.
43353 [C99-based-standards] (PRIxMAX): Likewise.
43354 [C99-based-standards] (PRIXMAX): Likewise.
43355 [C99-based-standards] (SCNdMAX): Likewise.
43356 [C99-based-standards] (SCNiMAX): Likewise.
43357 [C99-based-standards] (SCNoMAX): Likewise.
43358 [C99-based-standards] (SCNuMAX): Likewise.
43359 [C99-based-standards] (SCNxMAX): Likewise.
43360 [C99-based-standards] (PRIdPTR): Likewise.
43361 [C99-based-standards] (PRIiPTR): Likewise.
43362 [C99-based-standards] (PRIoPTR): Likewise.
43363 [C99-based-standards] (PRIuPTR): Likewise.
43364 [C99-based-standards] (PRIxPTR): Likewise.
43365 [C99-based-standards] (PRIXPTR): Likewise.
43366 [C99-based-standards] (SCNdPTR): Likewise.
43367 [C99-based-standards] (SCNiPTR): Likewise.
43368 [C99-based-standards] (SCNoPTR): Likewise.
43369 [C99-based-standards] (SCNuPTR): Likewise.
43370 [C99-based-standards] (SCNxPTR): Likewise.
43371 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43372 allow.
43373 * conform/data/stdint.h-data: Update comments to clarify
43374 requirements.
43375 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43376 type.
43377 [C99-based standards] (INT8_MAX): Likewise.
43378 [C99-based standards] (INT16_MIN): Likewise.
43379 [C99-based standards] (INT16_MAX): Likewise.
43380 [C99-based standards] (INT32_MIN): Likewise.
43381 [C99-based standards] (INT32_MAX): Likewise.
43382 [C99-based standards] (INT64_MIN): Likewise.
43383 [C99-based standards] (INT64_MAX): Likewise.
43384 [C99-based standards] (UINT8_MAX): Likewise.
43385 [C99-based standards] (UINT16_MAX): Likewise.
43386 [C99-based standards] (UINT32_MAX): Likewise.
43387 [C99-based standards] (UINT64_MAX): Likewise.
43388 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43389 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43390 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43391 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43392 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43393 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43394 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43395 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43396 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43397 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43398 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43399 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43400 [C99-based standards] (INT_FAST8_MIN): Likewise.
43401 [C99-based standards] (INT_FAST8_MAX): Likewise.
43402 [C99-based standards] (INT_FAST16_MIN): Likewise.
43403 [C99-based standards] (INT_FAST16_MAX): Likewise.
43404 [C99-based standards] (INT_FAST32_MIN): Likewise.
43405 [C99-based standards] (INT_FAST32_MAX): Likewise.
43406 [C99-based standards] (INT_FAST64_MIN): Likewise.
43407 [C99-based standards] (INT_FAST64_MAX): Likewise.
43408 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43409 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43410 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43411 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43412 [C99-based standards] (INTPTR_MIN): Likewise.
43413 [C99-based standards] (INTPTR_MAX): Likewise.
43414 [C99-based standards] (UINTPTR_MAX): Likewise.
43415 [C99-based standards] (INTMAX_MIN): Likewise.
43416 [C99-based standards] (INTMAX_MAX): Likewise.
43417 [C99-based standards] (UINTMAX_MAX): Likewise.
43418 [C99-based standards] (PTRDIFF_MIN): Likewise.
43419 [C99-based standards] (PTRDIFF_MAX): Likewise.
43420 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43421 [C99-based standards] (SIZE_MAX): Likewise.
43422 [C99-based standards] (WCHAR_MAX): Likewise.
43423 [C99-based standards] (WINT_MAX): Likewise.
43424 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43425 constraint on value.
43426 [C99-based standards] (WCHAR_MIN): Likewise.
43427 [C99-based standards] (WINT_MIN): Likewise.
43428 [C99-based standards] (*_t): Allow.
43429 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43430 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43431 Include math.h-data and complex.h-data. Remove all expectations
43432 of math.h and complex.h contents.
43433 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43434 at end of line.
43435 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43436 (struct tm): Expect tag.
43437 [C99-based-standards] (wcstof): Expect function.
43438 [C99-based-standards] (wcstold): Likewise.
43439 [C99-based-standards] (wcstoll): Likewise.
43440 [C99-based-standards] (wcstoull): Likewise.
43441 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43442 macro-int-constant. Specify type.
43443 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43444 constraint on value.
43445 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43446 Specify type.
43447 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43448 Specify value.
43449 [ISO C standards]: Do not allow headers.
43450 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43451 wcs[abcdefghijklmnopqrstuvwxyz]*.
43452 [ISO C standards] (*_t): Do not allow.
43453 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43454 Expect function.
43455 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43456 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43457 Specify type.
43458 [ISO C standards]: Do not allow headers.
43459 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43460 is[abcdefghijklmnopqrstuvwxyz]*.
43461 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43462 to[abcdefghijklmnopqrstuvwxyz]*.
43463 [ISO C standards] (*_t): Do not allow.
43464 * conform/data/stdalign.h-data: New file.
43465 * conform/data/stdbool.h-data: Likewise.
43466 * conform/data/stdnoreturn.h-data: Likewise.
43467
43468 2012-11-07 Roland McGrath <roland@hack.frob.com>
43469
43470 [BZ #14815]
43471 * manual/filesys.texi (Directory Entries): Typo fix.
43472 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43473
43474 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43475
43476 * elf/elf.h (EM_AARCH64): New macro.
43477 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43478 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43479 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43480 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43481 (R_AARCH64_TLSDESC): Likewise.
43482 (NT_ARM_TLS): Likewise.
43483 (NT_ARM_HW_BREAK): Likewise.
43484 (NT_ARM_HW_WATCH): Likewise.
43485
43486 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43487
43488 [BZ #14811]
43489 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43490 (__ieee754_powl): Saturate nonzero exponents with absolute value
43491 below 0x1p-79 to +/- 0x1p-79.
43492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43493 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43494 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43495 nonzero exponents with absolute value below 0x1p-32 to +/-
43496 0x1p-32.
43497 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43498 (__ieee754_powl): Saturate nonzero exponents with absolute value
43499 below 0x1p-79 to +/- 0x1p-79.
43500 * math/libm-test.inc (pow_test): Add more tests.
43501
43502 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43503
43504 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43505 _dl_s390_cap_flags with kernel. Increase string length.
43506 (_dl_s390_platforms): Add z196 and zEC12.
43507
43508 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43509
43510 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43511 Change XOPEN21K to XOPEN2K.
43512
43513 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43514
43515 * string/memmove.c: Use memcpy when possible.
43516
43517 2012-11-06 Andreas Jaeger <aj@suse.de>
43518
43519 * po/eo.po: Update from translation team.
43520
43521 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43522
43523 [BZ #14793]
43524 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43525 exponent and small x and y exponents, scale x or y up. Increase
43526 by 2 the exponent used in scaling up.
43527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43529 * math/libm-test.inc (fma_test): Add more tests.
43530 (fma_test_towardzero): Likewise.
43531 (fma_test_downward): Likewise.
43532 (fma_test_upward): Likewise.
43533
43534 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43535
43536 [BZ #14805]
43537 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43538 fenv_t *.
43539
43540 [BZ #14801]
43541 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43542 namespace for names of struct fields.
43543 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43544 fenv_t fields.
43545 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43546 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43547
43548 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43549
43550 [BZ #3665]
43551 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43552
43553 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43554
43555 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43556 PTR_DEMANGLE.
43557
43558 [BZ #5246]
43559 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43560 PTR_DEMANGLE.
43561
43562 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43563
43564 [BZ #14797]
43565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43566 definitely overflow as x * y not x * y + z.
43567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43569 * math/libm-test.inc (fma_test): Add more tests.
43570 (fma_test_towardzero): Likewise.
43571 (fma_test_downward): Likewise.
43572 (fma_test_upward): Likewise.
43573
43574 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43575
43576 [BZ #157]
43577
43578 * include/stub-tag.h: Remove file.
43579 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43580 '#include' of it.
43581 * manual/maint.texi (Porting): Don't reference it.
43582 * Makerules ($(objpfx)stubs): Likewise.
43583 * dirent/closedir.c: Don't include <stub-tag.h>.
43584 * dirent/dirfd.c: Likewise.
43585 * dirent/fdopendir.c: Likewise.
43586 * dirent/getdents.c: Likewise.
43587 * dirent/getdents64.c: Likewise.
43588 * dirent/opendir.c: Likewise.
43589 * dirent/readdir.c: Likewise.
43590 * dirent/readdir64.c: Likewise.
43591 * dirent/readdir64_r.c: Likewise.
43592 * dirent/readdir_r.c: Likewise.
43593 * dirent/rewinddir.c: Likewise.
43594 * dirent/seekdir.c: Likewise.
43595 * dirent/telldir.c: Likewise.
43596 * gmon/profil.c: Likewise.
43597 * grp/setgroups.c: Likewise.
43598 * inet/if_index.c: Likewise.
43599 * io/access.c: Likewise.
43600 * io/chdir.c: Likewise.
43601 * io/chmod.c: Likewise.
43602 * io/chown.c: Likewise.
43603 * io/close.c: Likewise.
43604 * io/dup.c: Likewise.
43605 * io/dup2.c: Likewise.
43606 * io/dup3.c: Likewise.
43607 * io/euidaccess.c: Likewise.
43608 * io/faccessat.c: Likewise.
43609 * io/fchdir.c: Likewise.
43610 * io/fchmod.c: Likewise.
43611 * io/fchmodat.c: Likewise.
43612 * io/fchown.c: Likewise.
43613 * io/fchownat.c: Likewise.
43614 * io/fcntl.c: Likewise.
43615 * io/flock.c: Likewise.
43616 * io/fstatfs.c: Likewise.
43617 * io/fstatfs64.c: Likewise.
43618 * io/fstatvfs.c: Likewise.
43619 * io/fstatvfs64.c: Likewise.
43620 * io/futimens.c: Likewise.
43621 * io/fxstat.c: Likewise.
43622 * io/fxstat64.c: Likewise.
43623 * io/fxstatat.c: Likewise.
43624 * io/fxstatat64.c: Likewise.
43625 * io/getcwd.c: Likewise.
43626 * io/isatty.c: Likewise.
43627 * io/lchmod.c: Likewise.
43628 * io/lchown.c: Likewise.
43629 * io/link.c: Likewise.
43630 * io/linkat.c: Likewise.
43631 * io/lseek.c: Likewise.
43632 * io/lseek64.c: Likewise.
43633 * io/lxstat64.c: Likewise.
43634 * io/mkdir.c: Likewise.
43635 * io/mkdirat.c: Likewise.
43636 * io/mkfifo.c: Likewise.
43637 * io/mkfifoat.c: Likewise.
43638 * io/open.c: Likewise.
43639 * io/open64.c: Likewise.
43640 * io/openat.c: Likewise.
43641 * io/openat64.c: Likewise.
43642 * io/pipe.c: Likewise.
43643 * io/pipe2.c: Likewise.
43644 * io/poll.c: Likewise.
43645 * io/posix_fadvise.c: Likewise.
43646 * io/posix_fadvise64.c: Likewise.
43647 * io/posix_fallocate.c: Likewise.
43648 * io/posix_fallocate64.c: Likewise.
43649 * io/read.c: Likewise.
43650 * io/readlink.c: Likewise.
43651 * io/readlinkat.c: Likewise.
43652 * io/rmdir.c: Likewise.
43653 * io/sendfile.c: Likewise.
43654 * io/sendfile64.c: Likewise.
43655 * io/statfs.c: Likewise.
43656 * io/statfs64.c: Likewise.
43657 * io/statvfs.c: Likewise.
43658 * io/statvfs64.c: Likewise.
43659 * io/symlink.c: Likewise.
43660 * io/symlinkat.c: Likewise.
43661 * io/ttyname.c: Likewise.
43662 * io/ttyname_r.c: Likewise.
43663 * io/umask.c: Likewise.
43664 * io/unlink.c: Likewise.
43665 * io/unlinkat.c: Likewise.
43666 * io/utime.c: Likewise.
43667 * io/utimensat.c: Likewise.
43668 * io/write.c: Likewise.
43669 * io/xmknod.c: Likewise.
43670 * io/xmknodat.c: Likewise.
43671 * io/xstat.c: Likewise.
43672 * io/xstat64.c: Likewise.
43673 * login/getpt.c: Likewise.
43674 * login/grantpt.c: Likewise.
43675 * login/unlockpt.c: Likewise.
43676 * math/e_acoshl.c: Likewise.
43677 * math/e_acosl.c: Likewise.
43678 * math/e_asinl.c: Likewise.
43679 * math/e_atan2l.c: Likewise.
43680 * math/e_atanhl.c: Likewise.
43681 * math/e_coshl.c: Likewise.
43682 * math/e_expl.c: Likewise.
43683 * math/e_fmodl.c: Likewise.
43684 * math/e_gammal_r.c: Likewise.
43685 * math/e_hypotl.c: Likewise.
43686 * math/e_j0l.c: Likewise.
43687 * math/e_j1l.c: Likewise.
43688 * math/e_jnl.c: Likewise.
43689 * math/e_lgammal_r.c: Likewise.
43690 * math/e_log10l.c: Likewise.
43691 * math/e_log2l.c: Likewise.
43692 * math/e_logl.c: Likewise.
43693 * math/e_powl.c: Likewise.
43694 * math/e_rem_pio2l.c: Likewise.
43695 * math/e_sinhl.c: Likewise.
43696 * math/e_sqrtl.c: Likewise.
43697 * math/fclrexcpt.c: Likewise.
43698 * math/fedisblxcpt.c: Likewise.
43699 * math/feenablxcpt.c: Likewise.
43700 * math/fegetenv.c: Likewise.
43701 * math/fegetexcept.c: Likewise.
43702 * math/fegetround.c: Likewise.
43703 * math/feholdexcpt.c: Likewise.
43704 * math/fesetenv.c: Likewise.
43705 * math/fesetround.c: Likewise.
43706 * math/feupdateenv.c: Likewise.
43707 * math/fgetexcptflg.c: Likewise.
43708 * math/fraiseexcpt.c: Likewise.
43709 * math/fsetexcptflg.c: Likewise.
43710 * math/ftestexcept.c: Likewise.
43711 * math/k_cosl.c: Likewise.
43712 * math/k_rem_pio2l.c: Likewise.
43713 * math/k_sinl.c: Likewise.
43714 * math/k_tanl.c: Likewise.
43715 * math/s_asinhl.c: Likewise.
43716 * math/s_atanl.c: Likewise.
43717 * math/s_cbrtl.c: Likewise.
43718 * math/s_erfl.c: Likewise.
43719 * math/s_expm1l.c: Likewise.
43720 * math/s_log1pl.c: Likewise.
43721 * math/s_tanhl.c: Likewise.
43722 * misc/acct.c: Likewise.
43723 * misc/brk.c: Likewise.
43724 * misc/chflags.c: Likewise.
43725 * misc/chroot.c: Likewise.
43726 * misc/fchflags.c: Likewise.
43727 * misc/fgetxattr.c: Likewise.
43728 * misc/flistxattr.c: Likewise.
43729 * misc/fremovexattr.c: Likewise.
43730 * misc/fsetxattr.c: Likewise.
43731 * misc/fsync.c: Likewise.
43732 * misc/ftruncate.c: Likewise.
43733 * misc/futimes.c: Likewise.
43734 * misc/futimesat.c: Likewise.
43735 * misc/getdomain.c: Likewise.
43736 * misc/getdtsz.c: Likewise.
43737 * misc/gethostid.c: Likewise.
43738 * misc/gethostname.c: Likewise.
43739 * misc/getloadavg.c: Likewise.
43740 * misc/getpagesize.c: Likewise.
43741 * misc/getsysstats.c: Likewise.
43742 * misc/getxattr.c: Likewise.
43743 * misc/gtty.c: Likewise.
43744 * misc/ioctl.c: Likewise.
43745 * misc/lgetxattr.c: Likewise.
43746 * misc/listxattr.c: Likewise.
43747 * misc/llistxattr.c: Likewise.
43748 * misc/lremovexattr.c: Likewise.
43749 * misc/lsetxattr.c: Likewise.
43750 * misc/lutimes.c: Likewise.
43751 * misc/madvise.c: Likewise.
43752 * misc/mincore.c: Likewise.
43753 * misc/mlock.c: Likewise.
43754 * misc/mlockall.c: Likewise.
43755 * misc/mmap.c: Likewise.
43756 * misc/mprotect.c: Likewise.
43757 * misc/msync.c: Likewise.
43758 * misc/munlock.c: Likewise.
43759 * misc/munlockall.c: Likewise.
43760 * misc/munmap.c: Likewise.
43761 * misc/preadv.c: Likewise.
43762 * misc/preadv64.c: Likewise.
43763 * misc/ptrace.c: Likewise.
43764 * misc/pwritev.c: Likewise.
43765 * misc/pwritev64.c: Likewise.
43766 * misc/readv.c: Likewise.
43767 * misc/reboot.c: Likewise.
43768 * misc/remap_file_pages.c: Likewise.
43769 * misc/removexattr.c: Likewise.
43770 * misc/revoke.c: Likewise.
43771 * misc/select.c: Likewise.
43772 * misc/setdomain.c: Likewise.
43773 * misc/setegid.c: Likewise.
43774 * misc/seteuid.c: Likewise.
43775 * misc/sethostid.c: Likewise.
43776 * misc/sethostname.c: Likewise.
43777 * misc/setregid.c: Likewise.
43778 * misc/setreuid.c: Likewise.
43779 * misc/setxattr.c: Likewise.
43780 * misc/sstk.c: Likewise.
43781 * misc/stty.c: Likewise.
43782 * misc/swapoff.c: Likewise.
43783 * misc/swapon.c: Likewise.
43784 * misc/sync.c: Likewise.
43785 * misc/syncfs.c: Likewise.
43786 * misc/syscall.c: Likewise.
43787 * misc/truncate.c: Likewise.
43788 * misc/ualarm.c: Likewise.
43789 * misc/usleep.c: Likewise.
43790 * misc/ustat.c: Likewise.
43791 * misc/utimes.c: Likewise.
43792 * misc/vhangup.c: Likewise.
43793 * misc/writev.c: Likewise.
43794 * posix/_exit.c: Likewise.
43795 * posix/alarm.c: Likewise.
43796 * posix/execve.c: Likewise.
43797 * posix/fexecve.c: Likewise.
43798 * posix/fork.c: Likewise.
43799 * posix/fpathconf.c: Likewise.
43800 * posix/getaddrinfo.c: Likewise.
43801 * posix/getegid.c: Likewise.
43802 * posix/geteuid.c: Likewise.
43803 * posix/getgid.c: Likewise.
43804 * posix/getgroups.c: Likewise.
43805 * posix/getlogin.c: Likewise.
43806 * posix/getlogin_r.c: Likewise.
43807 * posix/getpgid.c: Likewise.
43808 * posix/getpid.c: Likewise.
43809 * posix/getppid.c: Likewise.
43810 * posix/getresgid.c: Likewise.
43811 * posix/getresuid.c: Likewise.
43812 * posix/getsid.c: Likewise.
43813 * posix/getuid.c: Likewise.
43814 * posix/glob64.c: Likewise.
43815 * posix/nanosleep.c: Likewise.
43816 * posix/pathconf.c: Likewise.
43817 * posix/pause.c: Likewise.
43818 * posix/posix_madvise.c: Likewise.
43819 * posix/pread.c: Likewise.
43820 * posix/pread64.c: Likewise.
43821 * posix/pwrite.c: Likewise.
43822 * posix/pwrite64.c: Likewise.
43823 * posix/sched_getaffinity.c: Likewise.
43824 * posix/sched_getp.c: Likewise.
43825 * posix/sched_gets.c: Likewise.
43826 * posix/sched_primax.c: Likewise.
43827 * posix/sched_primin.c: Likewise.
43828 * posix/sched_rr_gi.c: Likewise.
43829 * posix/sched_setaffinity.c: Likewise.
43830 * posix/sched_setp.c: Likewise.
43831 * posix/sched_sets.c: Likewise.
43832 * posix/sched_yield.c: Likewise.
43833 * posix/setgid.c: Likewise.
43834 * posix/setlogin.c: Likewise.
43835 * posix/setpgid.c: Likewise.
43836 * posix/setresgid.c: Likewise.
43837 * posix/setresuid.c: Likewise.
43838 * posix/setsid.c: Likewise.
43839 * posix/setuid.c: Likewise.
43840 * posix/sleep.c: Likewise.
43841 * posix/spawni.c: Likewise.
43842 * posix/sysconf.c: Likewise.
43843 * posix/times.c: Likewise.
43844 * posix/wait.c: Likewise.
43845 * posix/wait3.c: Likewise.
43846 * posix/wait4.c: Likewise.
43847 * posix/waitpid.c: Likewise.
43848 * resolv/gai_sigqueue.c: Likewise.
43849 * resource/getpriority.c: Likewise.
43850 * resource/getrlimit.c: Likewise.
43851 * resource/getrusage.c: Likewise.
43852 * resource/nice.c: Likewise.
43853 * resource/setpriority.c: Likewise.
43854 * resource/setrlimit.c: Likewise.
43855 * resource/ulimit.c: Likewise.
43856 * rt/aio_cancel.c: Likewise.
43857 * rt/aio_fsync.c: Likewise.
43858 * rt/aio_read.c: Likewise.
43859 * rt/aio_sigqueue.c: Likewise.
43860 * rt/aio_suspend.c: Likewise.
43861 * rt/aio_write.c: Likewise.
43862 * rt/clock_getres.c: Likewise.
43863 * rt/clock_gettime.c: Likewise.
43864 * rt/clock_nanosleep.c: Likewise.
43865 * rt/clock_settime.c: Likewise.
43866 * rt/lio_listio.c: Likewise.
43867 * rt/mq_close.c: Likewise.
43868 * rt/mq_getattr.c: Likewise.
43869 * rt/mq_notify.c: Likewise.
43870 * rt/mq_open.c: Likewise.
43871 * rt/mq_receive.c: Likewise.
43872 * rt/mq_send.c: Likewise.
43873 * rt/mq_setattr.c: Likewise.
43874 * rt/mq_timedreceive.c: Likewise.
43875 * rt/mq_timedsend.c: Likewise.
43876 * rt/mq_unlink.c: Likewise.
43877 * rt/shm_open.c: Likewise.
43878 * rt/shm_unlink.c: Likewise.
43879 * rt/timer_create.c: Likewise.
43880 * rt/timer_delete.c: Likewise.
43881 * rt/timer_getoverr.c: Likewise.
43882 * rt/timer_gettime.c: Likewise.
43883 * rt/timer_settime.c: Likewise.
43884 * setjmp/__longjmp.c: Likewise.
43885 * setjmp/setjmp.c: Likewise.
43886 * signal/kill.c: Likewise.
43887 * signal/killpg.c: Likewise.
43888 * signal/raise.c: Likewise.
43889 * signal/sigaction.c: Likewise.
43890 * signal/sigaltstack.c: Likewise.
43891 * signal/sigblock.c: Likewise.
43892 * signal/sigignore.c: Likewise.
43893 * signal/sigintr.c: Likewise.
43894 * signal/signal.c: Likewise.
43895 * signal/sigpause.c: Likewise.
43896 * signal/sigpending.c: Likewise.
43897 * signal/sigqueue.c: Likewise.
43898 * signal/sigreturn.c: Likewise.
43899 * signal/sigset.c: Likewise.
43900 * signal/sigsetmask.c: Likewise.
43901 * signal/sigstack.c: Likewise.
43902 * signal/sigsuspend.c: Likewise.
43903 * signal/sigtimedwait.c: Likewise.
43904 * signal/sigvec.c: Likewise.
43905 * signal/sigwait.c: Likewise.
43906 * signal/sigwaitinfo.c: Likewise.
43907 * signal/sysv_signal.c: Likewise.
43908 * socket/accept.c: Likewise.
43909 * socket/accept4.c: Likewise.
43910 * socket/bind.c: Likewise.
43911 * socket/connect.c: Likewise.
43912 * socket/getpeername.c: Likewise.
43913 * socket/getsockname.c: Likewise.
43914 * socket/getsockopt.c: Likewise.
43915 * socket/isfdtype.c: Likewise.
43916 * socket/listen.c: Likewise.
43917 * socket/recv.c: Likewise.
43918 * socket/recvfrom.c: Likewise.
43919 * socket/recvmsg.c: Likewise.
43920 * socket/send.c: Likewise.
43921 * socket/sendmsg.c: Likewise.
43922 * socket/sendto.c: Likewise.
43923 * socket/setsockopt.c: Likewise.
43924 * socket/shutdown.c: Likewise.
43925 * socket/sockatmark.c: Likewise.
43926 * socket/socket.c: Likewise.
43927 * socket/socketpair.c: Likewise.
43928 * stdio-common/ctermid.c: Likewise.
43929 * stdio-common/cuserid.c: Likewise.
43930 * stdio-common/remove.c: Likewise.
43931 * stdio-common/rename.c: Likewise.
43932 * stdio-common/renameat.c: Likewise.
43933 * stdio-common/tempname.c: Likewise.
43934 * stdlib/getcontext.c: Likewise.
43935 * stdlib/makecontext.c: Likewise.
43936 * stdlib/setcontext.c: Likewise.
43937 * stdlib/swapcontext.c: Likewise.
43938 * stdlib/system.c: Likewise.
43939 * streams/fattach.c: Likewise.
43940 * streams/fdetach.c: Likewise.
43941 * streams/getmsg.c: Likewise.
43942 * streams/getpmsg.c: Likewise.
43943 * streams/putmsg.c: Likewise.
43944 * streams/putpmsg.c: Likewise.
43945 * sysdeps/unix/bsd/getpt.c: Likewise.
43946 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43947 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43948 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43950 Likewise.
43951 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43952 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43953 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43954 * sysvipc/msgctl.c: Likewise.
43955 * sysvipc/msgget.c: Likewise.
43956 * sysvipc/msgrcv.c: Likewise.
43957 * sysvipc/msgsnd.c: Likewise.
43958 * sysvipc/semctl.c: Likewise.
43959 * sysvipc/semget.c: Likewise.
43960 * sysvipc/semop.c: Likewise.
43961 * sysvipc/semtimedop.c: Likewise.
43962 * sysvipc/shmat.c: Likewise.
43963 * sysvipc/shmctl.c: Likewise.
43964 * sysvipc/shmdt.c: Likewise.
43965 * sysvipc/shmget.c: Likewise.
43966 * termios/tcdrain.c: Likewise.
43967 * termios/tcflow.c: Likewise.
43968 * termios/tcflush.c: Likewise.
43969 * termios/tcgetattr.c: Likewise.
43970 * termios/tcgetpgrp.c: Likewise.
43971 * termios/tcsendbrk.c: Likewise.
43972 * termios/tcsetattr.c: Likewise.
43973 * termios/tcsetpgrp.c: Likewise.
43974 * time/adjtime.c: Likewise.
43975 * time/clock.c: Likewise.
43976 * time/getitimer.c: Likewise.
43977 * time/gettimeofday.c: Likewise.
43978 * time/setitimer.c: Likewise.
43979 * time/settimeofday.c: Likewise.
43980 * time/stime.c: Likewise.
43981 * time/time.c: Likewise.
43982
43983 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
43984
43985 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43986 /usr/old/bin.
43987
43988 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43989 instead of spaces.
43990 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43991
43992 2012-11-03 Joseph Myers <joseph@codesourcery.com>
43993
43994 [BZ #14796]
43995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43996 FE_TONEAREST before applying Dekker multiplication and Knuth
43997 addition. Clear inexact exceptions and check for exact zero
43998 results afterwards.
43999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44000 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44001 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44002 * math/libm-test.inc (fma_test): Add more tests.
44003 (fma_test_towardzero): Likewise.
44004 (fma_test_downward): Likewise.
44005 (fma_test_upward): Likewise.
44006 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44007 function.
44008 (libc_fesetround): New macro.
44009 (libc_fesetroundf): Likewise.
44010 (libc_fesetroundl): Likewise.
44011 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44012 function.
44013 (libc_fesetround_387): Likewise.
44014 (libc_fesetroundf): New macro.
44015 (libc_fesetround): Likewise.
44016 (libc_fesetroundl): Likewise.
44017 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44018 function.
44019 (libc_fesetroundf): New macro.
44020 (libc_fesetround): Likewise.
44021 (libc_fesetroundl): Likewise.
44022 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44023 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44024 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44025 libm_hidden_ver.
44026 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44027 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44028 libm_hidden_def.
44029 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44030 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44031 libm_hidden_ver.
44032 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44033 libm_hidden_def.
44034
44035 [BZ #3439]
44036 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44037 integer constant usable in #if and use that to give value to enum
44038 constant.
44039 (FE_DIVBYZERO): Likewise.
44040 (FE_UNDERFLOW): Likewise.
44041 (FE_OVERFLOW): Likewise.
44042 (FE_INVALID): Likewise.
44043 (FE_INVALID_SNAN): Likewise.
44044 (FE_INVALID_ISI): Likewise.
44045 (FE_INVALID_IDI): Likewise.
44046 (FE_INVALID_ZDZ): Likewise.
44047 (FE_INVALID_IMZ): Likewise.
44048 (FE_INVALID_COMPARE): Likewise.
44049 (FE_INVALID_SOFTWARE): Likewise.
44050 (FE_INVALID_SQRT): Likewise.
44051 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44052 (FE_TONEAREST): Likewise.
44053 (FE_TOWARDZERO): Likewise.
44054 (FE_UPWARD): Likewise.
44055 (FE_DOWNWARD): Likewise.
44056 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44057 (FE_DIVBYZERO): Likewise.
44058 (FE_OVERFLOW): Likewise.
44059 (FE_UNDERFLOW): Likewise.
44060 (FE_INEXACT): Likewise.
44061 (FE_TONEAREST): Likewise.
44062 (FE_DOWNWARD): Likewise.
44063 (FE_UPWARD): Likewise.
44064 (FE_TOWARDZERO): Likewise.
44065 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44066 (FE_UNDERFLOW): Likewise.
44067 (FE_OVERFLOW): Likewise.
44068 (FE_DIVBYZERO): Likewise.
44069 (FE_INVALID): Likewise.
44070 (FE_TONEAREST): Likewise.
44071 (FE_TOWARDZERO): Likewise.
44072 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44073 (FE_OVERFLOW): Likewise.
44074 (FE_UNDERFLOW): Likewise.
44075 (FE_DIVBYZERO): Likewise.
44076 (FE_INEXACT): Likewise.
44077 (FE_TONEAREST): Likewise.
44078 (FE_TOWARDZERO): Likewise.
44079 (FE_UPWARD): Likewise.
44080 (FE_DOWNWARD): Likewise.
44081 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44082 (FE_DIVBYZERO): Likewise.
44083 (FE_OVERFLOW): Likewise.
44084 (FE_UNDERFLOW): Likewise.
44085 (FE_INEXACT): Likewise.
44086 (FE_TONEAREST): Likewise.
44087 (FE_DOWNWARD): Likewise.
44088 (FE_UPWARD): Likewise.
44089 (FE_TOWARDZERO): Likewise.
44090
44091 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44092
44093 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44094
44095 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44096
44097 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44098 commands. Quote $PWD.
44099 (blacklist_exports): Don't use remove_newlines. Replace "declare
44100 -x" by "export".
44101 (remove_newlines): Remove.
44102
44103 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44104
44105 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44106 * stdlib/stdlib.h (atof): Moved to ...
44107 * include/bits/stdlib-float.h: Here. New file.
44108 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44109 * stdlib/bits/stdlib-float.h: New file.
44110 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44111 -mno-sse -mno-mmx.
44112 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44113 <xmmintrin.h>.
44114
44115 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44116
44117 * conform/conformtest.pl (@headers): Add fenv.h.
44118 * conform/data/fenv.h-data: New file.
44119 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44120 include of <math/fenv.h>.
44121
44122 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44123 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44124 && !UNIX98]. Enables tests for XOPEN2K8.
44125 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44126 POSIX2008]: Likewise.
44127
44128 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44129 (struct rusage): Do not expect type or its members.
44130
44131 [BZ #3439]
44132 * math/math.h (FP_NAN): Define macro to integer constant usable in
44133 #if and use that to give value to enum constant.
44134 (FP_INFINITE): Likewise.
44135 (FP_ZERO): Likewise.
44136 (FP_SUBNORMAL): Likewise.
44137 (FP_NORMAL): Likewise.
44138
44139 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44140
44141 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44142 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44143 arguments.
44144
44145 2012-11-02 Roland McGrath <roland@hack.frob.com>
44146
44147 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44148 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44149 autoconf-time if not.
44150 * configure.in: Remove AC_PREREQ.
44151
44152 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44153
44154 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44155 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44156 of the internal implementation.
44157
44158 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44159
44160 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44161 except include of <misc/sys/syslog.h>.
44162
44163 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44164
44165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44166 function returns with a NULL context exit with zero.
44167
44168 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44169
44170 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44171
44172 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44173
44174 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44175 (run_program_cmd): This.
44176 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44177 (tst_langinfo): New variable. Use it.
44178
44179 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44180
44181 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44182 floating point opcodes.
44183
44184 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44185
44186 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44187 variable.
44188
44189 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44190
44191 * sysdeps/mach/hurd/powerpc: Remove directory.
44192 * sysdeps/mach/powerpc: Likewise.
44193
44194 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44195
44196 * scripts/check-local-headers.sh: Ignore c++ headers.
44197
44198 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44199
44200 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44201 __libc_cleanup_region_start argument.
44202
44203 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44204
44205 [BZ #14784]
44206 [BZ #14785]
44207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44208 x * y using scaling, not as x * y + z.
44209 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44211 * math/libm-test.inc (fma_test): Add more tests.
44212 (fma_test_towardzero): Likewise.
44213 (fma_test_downward): Likewise.
44214 (fma_test_upward): Likewise.
44215
44216 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44217
44218 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44219
44220 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44221
44222 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44223 New variable.
44224
44225 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44226
44227 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44228
44229 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44230
44231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44232 Fix sort order.
44233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44234 Likewise.
44235
44236 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44237
44238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44239 Fix the order of the list for glibc 2.17.
44240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44241 Likewise.
44242
44243 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44244
44245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44246
44247 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44248
44249 [BZ #14610]
44250 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44251 for low part of x being zero before using __atanl (y).
44252 * math/libm-test.inc (atan2_test): Add another test.
44253
44254 * manual/install.texi (Configuring and compiling): Document
44255 general use of test-wrapper and test-wrapper-env.
44256 * INSTALL: Regenerated.
44257
44258 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44259 (__fma): Do not extract and scale down low bits on after-rounding
44260 systems when result rounded to normal precision would have normal
44261 exponent.
44262 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44263 (__fmal): Do not extract and scale down low bits on after-rounding
44264 systems when result rounded to normal precision would have normal
44265 exponent.
44266 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44267 (__fmal): Do not extract and scale down low bits on after-rounding
44268 systems when result rounded to normal precision would have normal
44269 exponent.
44270 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44271 macro.
44272 (fma_test): Add more tests.
44273 (fma_test_towardzero): Likewise.
44274 (fma_test_downward): Likewise.
44275 (fma_test_upward): Likewise.
44276
44277 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44278
44279 * sysdeps/i386/tininess.h: Renamed to ...
44280 * sysdeps/x86/tininess.h: This.
44281 * sysdeps/x86_64/tininess.h: Removed.
44282
44283 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44284
44285 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44286 input. Use $(build-program-cmd).
44287 ($(objpfx)tst-array1-static.out): Likewise.
44288 ($(objpfx)tst-array2.out): Likewise.
44289 ($(objpfx)tst-array3.out): Likewise.
44290 ($(objpfx)tst-array4.out): Likewise.
44291 ($(objpfx)tst-array5.out): Likewise.
44292 ($(objpfx)tst-array5-static.out): Likewise.
44293
44294 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44295
44296 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44297 if defined.
44298
44299 * nss/nsswitch.h (nss_interface_function): Provide new
44300 macro for use with NSS functions.
44301 * grp/initgroups.c: Use new macro.
44302 * nss/getXXbyYY.c: Likewise.
44303 * nss/getXXbyYY_r.c: Likewise.
44304 * nss/getXXent.c: Likewise.
44305 * nss/getXXent_r.c: Likewise.
44306 * sysdeps/posix/getaddrinfo.c: Likewise.
44307
44308 2012-10-30 Andreas Jaeger <aj@suse.de>
44309
44310 * po/ru.po: Update Russion translation from translation project.
44311
44312 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44313
44314 [BZ #14152]
44315 [BZ #14783]
44316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44317 result and shift together with sticky bit instead of replicating
44318 round-to-nearest rounding.
44319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44320 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44321 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44322 missing underflow exceptions.
44323 (fma_test_towardzero): Add more tests.
44324 (fma_test_downward): Likewise.
44325 (fma_test_upward): Likewise.
44326
44327 [BZ #14047]
44328 * sysdeps/generic/tininess.h: New file.
44329 * sysdeps/i386/tininess.h: Likewise.
44330 * sysdeps/sh/tininess.h: Likewise.
44331 * sysdeps/x86_64/tininess.h: Likewise.
44332 * stdlib/tst-strtod-underflow.c: Likewise.
44333 * stdlib/tst-tininess.c: Likewise.
44334 * stdlib/strtod_l.c: Include <tininess.h>.
44335 (round_and_return): Do not set errno for exact underflow cases.
44336 Force an underflow exception when setting errno for underflow.
44337 Determine underflow based on rounding to normal precision if
44338 TININESS_AFTER_ROUNDING.
44339 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44340 ERANGE for exact underflow cases.
44341 * stdlib/Makefile (tests): Add tst-tininess and
44342 tst-strtod-underflow.
44343 ($(objpfx)tst-tininess): Use $(link-libm).
44344 ($(objpfx)tst-strtod-underflow): Likewise.
44345
44346 2012-10-30 Andreas Jaeger <aj@suse.de>
44347
44348 [BZ#14767]
44349 * elf/Makefile (tests): Remove conditional for have-initfini-array
44350 since this is now always required and the variable does not exist
44351 anymore.
44352 (tests-static): Likewise.
44353 (modules-names): Likewise.
44354
44355 * po/eo.po: Add Esperanto translation from translation project.
44356
44357 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44358 merged with constructor/destructor.
44359 (init_array): Likewise.
44360 * elf/tst-array2dep.c (fini_array): Likewise.
44361 (init_array): Likewise.
44362
44363 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44364
44365 * manual/message.texi: Delete @cartouche tags.
44366
44367 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44368
44369 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44370 EOPNOTSUPP.
44371 * sysdeps/mach/hurd/fsync.c: Likewise.
44372
44373 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44374 [_POSIX_REALTIME_SIGNALS]: Change condition to
44375 [_POSIX_REALTIME_SIGNALS > 0].
44376
44377 2012-10-27 Andreas Jaeger <aj@suse.de>
44378
44379 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44380 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44382 [__WORDSIZE != 64]: Likewise.
44383
44384 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44385
44386 * iconvdata/tst-table.sh: Remove ${SHELL}.
44387 * iconvdata/tst-tables.sh: Likewise.
44388
44389 2012-10-25 David S. Miller <davem@davemloft.net>
44390
44391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44392 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44393 of strtoull.
44394
44395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44396 ifunc-impl-list.c
44397 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44398 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44399 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44400 file.
44401
44402 2012-10-25 Roland McGrath <roland@hack.frob.com>
44403
44404 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44405 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44406 __getdirentries.
44407
44408 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44409 Jim Blandy <jimb@codesourcery.com>
44410
44411 * scripts/cross-test-ssh.sh: New file.
44412 * manual/install.texi (Configuring and compiling): Document use of
44413 cross-test-ssh.sh.
44414 * INSTALL: Regenerated.
44415
44416 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44417
44418 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44419 EOPNOTSUPP.
44420
44421 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44422
44423 * Makeconfig (run-program-prefix): Fix comment.
44424
44425 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44426 Jim Blandy <jimb@codesourcery.com>
44427
44428 * Makeconfig (test-wrapper): New variable,
44429 (test-wrapper-env): Likewise.
44430 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44431 (run-built-tests): Define to yes.
44432 (run-program-prefix): Use $(test-wrapper).
44433 (built-program-cmd): Likewise.
44434 * Rules (make-test-out): Use $(test-wrapper-env) and
44435 $(host-built-program-cmd).
44436 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44437 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44438 tst-pathopt.sh.
44439 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44440 $(test-wrapper-env) to tst-rtld-load-self.sh.
44441 ($(objpfx)order2.out): Use $(test-wrapper).
44442 ($(objpfx)tst-initorder.out): Likewise.
44443 ($(objpfx)tst-initorder2.out): Likewise.
44444 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44445 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44446 (test_wrapper_env): New variable. Use it to run ld.so.
44447 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44448 Use it to run ld.so.
44449 (test_wrapper_env): Likewise.
44450 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44451 $(test-wrapper) to run-iconv-test.sh.
44452 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44453 (ICONV): Use $test_wrapper.
44454 * posix/Makefile ($(objpfx)globtest.out): Pass
44455 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44456 globtest.sh, not $(run-program-prefix).
44457 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44458 (test_wrapper): Likewise.
44459 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44460 set together with run_via_rtld_prefix.
44461 (run_program_prefix): Define in terms of test_wrapper and
44462 run_via_rtld_prefix.
44463
44464 2012-10-24 Roland McGrath <roland@hack.frob.com>
44465
44466 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44467 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44468 Targets removed.
44469
44470 [BZ #14743]
44471 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44472 Declare __clock_getres, __clock_gettime, __clock_settime,
44473 __clock_nanosleep, and __clock_getcpuclockid.
44474 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44475 Remove librt_hidden_def (clock_gettime).
44476 * sysdeps/unix/clock_gettime.c: Likewise.
44477 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44478 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44479 * rt/clock_getres.c: Define __clock_getres as an alias.
44480 * sysdeps/posix/clock_getres.c: Likewise.
44481 * rt/clock_settime.c: Define __clock_settime as an alias.
44482 * sysdeps/unix/clock_settime.c: Likewise.
44483 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44484 * sysdeps/unix/clock_nanosleep.c: Likewise.
44485 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44486 * rt/clock-compat.c: New file.
44487 * rt/Makefile (librt-routines): Add clock-compat and move
44488 $(clock-routines) to ...
44489 (routines): ... here, new variable.
44490 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44491 Don't add get_clockfreq here.
44492 * rt/Versions (libc: GLIBC_2.17): New version set.
44493 Add clock_* symbols here.
44494 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44495 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44496 (GLIBC_2.17): Add clock_* symbols.
44497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44501 Likewise.
44502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44503 Likewise.
44504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44508 * NEWS: Mention the move.
44509
44510 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44511 Use __open, __read, __close rather than their public counterparts.
44512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44513 (__get_clockfreq_via_cpuinfo): Likewise.
44514 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44515 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44516
44517 * config.h.in (HAVE_IFUNC): New #undef.
44518 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44519 was successful.
44520 * configure: Regenerated.
44521
44522 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44523
44524 * configure.in: Move READELF check to start of file.
44525 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44526 libc_cv_asm_gnu_indirect_function in the process.
44527 * configure: Regenerated.
44528
44529 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44530
44531 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44532 send the output to /dev/null.
44533 (libc_cv_cc_with_libunwind): Likewise.
44534 (libc_cv_as_noexecstack): Likewise.
44535 * configure: Regenerate.
44536
44537 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44538
44539 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44540
44541 * posix/globtest.sh (TMPDIR): Do not set.
44542 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44543 (testout): Likewise.
44544
44545 2012-10-24 Andreas Jaeger <aj@suse.de>
44546
44547 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44548 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44549 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44550 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44551 posix_fadvise64, posix_fallocate64.
44552
44553 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44554 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44555 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44556 Likewise.
44557 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44558 Likewise.
44559 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44560
44561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44562 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44563 <bits/fcntl-linux.h>.
44564 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44565
44566 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44567 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44568 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44569 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44570 [__WORDSIZE != 64]: Likewise.
44571
44572 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44573
44574 * Makeconfig (run-built-tests): New variable.
44575 * Rules [$(cross-compiling) = yes]: Change condition to
44576 [$(run-built-tests) = no].
44577 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44578 to [$(run-built-tests) = yes].
44579 * elf/Makefile [$(cross-compiling) = no]: Likewise
44580 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44581 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44582 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44583 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44584 * io/Makefile [$(cross-compiling) = no]: Likewise.
44585 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44586 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44587 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44588 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44589 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44590 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44591 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44592 * string/Makefile [$(cross-compiling) = no]: Likewise.
44593
44594 * posix/Makefile ($(objpfx)globtest.out): Pass
44595 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44596 $(rtld-installed-name).
44597 * posix/globtest.sh (elf_objpfx): Remove variable.
44598 (rtld_installed_name): Likewise.
44599 (library_path): Likewise.
44600 (run_program_prefix): New variable. Use for running globtest
44601 binary.
44602
44603 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44604 Joseph Myers <joseph@codesourcery.com>
44605
44606 * Makeconfig (host-built-program-cmd): New variable.
44607 * elf/Makefile (tst-stackguard1-ARGS): Use
44608 $(host-built-program-cmd).
44609 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44610 (tst-spawn-ARGS): Likewise.
44611 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44612
44613 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44614 Jim Blandy <jimb@codesourcery.com>
44615
44616 * Makeconfig (run-via-rtld-prefix): New variable.
44617 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44618 (built-program-cmd): Likewise.
44619
44620 2012-10-22 Andreas Jaeger <aj@suse.de>
44621
44622 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44623 __O_RSYNC if it exists, otherwise to O_SYNC.
44624
44625 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44626 Joseph Myers <joseph@codesourcery.com>
44627
44628 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44629 /dev/null.
44630 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44631 from /dev/null
44632 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44633 /dev/null.
44634
44635 2012-10-22 Andreas Jaeger <aj@suse.de>
44636
44637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44638 Define always.
44639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44640
44641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44642 bits/fcntl-linux.h.
44643
44644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44645 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44646
44647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44648 to __O_LARGEFILE.
44649 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44650 to __O_LARGEFILE.
44651
44652 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44653 Joseph Myers <joseph@codesourcery.com>
44654
44655 * config.make.in (NM): New variable.
44656
44657 2012-10-21 Andreas Jaeger <aj@suse.de>
44658
44659 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44660 definitions and declarations that are provided by
44661 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44662
44663 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44664
44665 [BZ #14683]
44666 * elf/Makefile (tests-static): Add tst-leaks1-static.
44667 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44668 ($(objpfx)tst-leaks1-static): New rule.
44669 ($(objpfx)tst-leaks1-static-mem): Likewise.
44670 (tst-leaks1-static-ENV): New macro.
44671 * elf/dl-open.c (dl_open_worker): Check the main application
44672 only if SHARED is defined.
44673 * elf/tst-leaks1-static.c: New file.
44674
44675 2012-10-20 Andreas Jaeger <aj@suse.de>
44676
44677 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44678 generic values for Linux.
44679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44680 and declarations that are provided by <bits/fcntl-linux.h> and
44681 include <bits/fcntl-linux.h>.
44682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44684
44685 2012-10-20 Roland McGrath <roland@hack.frob.com>
44686
44687 * io/fcntl.h: Move include of <bits/types.h> to the top and
44688 include it unconditionally.
44689
44690 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44691
44692 * wcsmbs/Makefile (tests-ifunc): New variable.
44693 (tests): Add $(tests-ifunc).
44694 * wcsmbs/test-wcschr-ifunc.c: New file.
44695 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44696 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44697 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44698 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44699 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44700
44701 * string/Makefile (tests-ifunc): New variable.
44702 (tests): Add $(tests-ifunc).
44703 * string/test-memccpy.c (TEST_NAME): New macro.
44704 * string/test-memchr.c (TEST_NAME): Likewise.
44705 * string/test-memcmp.c (TEST_NAME): Likewise.
44706 * string/test-memcpy.c (TEST_NAME): Likewise.
44707 * string/test-memmem.c (TEST_NAME): Likewise.
44708 * string/test-memmove.c (TEST_NAME): Likewise.
44709 * string/test-memset.c (TEST_NAME): Likewise.
44710 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44711 * string/test-stpcpy.c (TEST_NAME): Likewise.
44712 * string/test-stpncpy.c (TEST_NAME): Likewise.
44713 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44714 * string/test-strcasestr.c (TEST_NAME): Likewise.
44715 * string/test-strcat.c (TEST_NAME): Likewise.
44716 * string/test-strchr.c (TEST_NAME): Likewise.
44717 * string/test-strcmp.c(TEST_NAME): Likewise.
44718 * string/test-strcpy.c (TEST_NAME): Likewise.
44719 * string/test-strcspn.c (TEST_NAME): Likewise.
44720 * string/test-strlen.c (TEST_NAME): Likewise.
44721 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44722 * string/test-strncmp.c (TEST_NAME): Likewise.
44723 * string/test-strncpy.c (TEST_NAME): Likewise.
44724 * string/test-strnlen.c (TEST_NAME): Likewise.
44725 * string/test-strpbrk.c (TEST_NAME): Likewise.
44726 * string/test-strrchr.c (TEST_NAME): Likewise.
44727 * string/test-strspn.c (TEST_NAME): Likewise.
44728 * string/test-strstr.c (TEST_NAME): Likewise.
44729 * string/test-bcopy-ifunc.c: New file.
44730 * string/test-bzero-ifunc.c: Likewise.
44731 * string/test-memccpy-ifunc.c: Likewise.
44732 * string/test-memchr-ifunc.c: Likewise.
44733 * string/test-memcmp-ifunc.c: Likewise.
44734 * string/test-memcpy-ifunc.c: Likewise.
44735 * string/test-memmem-ifunc.c: Likewise.
44736 * string/test-memmove-ifunc.c: Likewise.
44737 * string/test-mempcpy-ifunc.c: Likewise.
44738 * string/test-memset-ifunc.c: Likewise.
44739 * string/test-rawmemchr-ifunc.c: Likewise.
44740 * string/test-stpcpy-ifunc.c: Likewise.
44741 * string/test-stpncpy-ifunc.c: Likewise.
44742 * string/test-strcasecmp-ifunc.c: Likewise.
44743 * string/test-strcasestr-ifunc.c: Likewise.
44744 * string/test-strcat-ifunc.c: Likewise.
44745 * string/test-strchr-ifunc.c: Likewise.
44746 * string/test-strchrnul-ifunc.c: Likewise.
44747 * string/test-strcmp-ifunc.c: Likewise.
44748 * string/test-strcpy-ifunc.c: Likewise.
44749 * string/test-strcspn-ifunc.c: Likewise.
44750 * string/test-strlen-ifunc.c: Likewise.
44751 * string/test-strncasecmp-ifunc.c: Likewise.
44752 * string/test-strncat-ifunc.c: Likewise.
44753 * string/test-strncmp-ifunc.c: Likewise.
44754 * string/test-strncpy-ifunc.c: Likewise.
44755 * string/test-strnlen-ifunc.c: Likewise.
44756 * string/test-strpbrk-ifunc.c: Likewise.
44757 * string/test-strrchr-ifunc.c: Likewise.
44758 * string/test-strspn-ifunc.c: Likewise.
44759 * string/test-strstr-ifunc.c: Likewise.
44760
44761 * debug/Makefile (tests-ifunc): New variable.
44762 (tests): Add $(tests-ifunc).
44763 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44764 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44765 * debug/test-stpcpy_chk-ifunc.c: New file.
44766 * debug/test-strcpy_chk-ifunc.c: Likewise.
44767
44768 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44769
44770 [BZ #13601]
44771 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44772 header is not read in.
44773
44774 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44775
44776 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44777 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44778 directly. Pass built executable to script as
44779 $(built-program-cmd).
44780 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44781 $testprogram without using LD_LIBRARY_PATH and $ldso.
44782
44783 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44784 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44785 $(rtld-installed-name).
44786 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44787 (rtld_installed_name): Likewise.
44788 (library_path): Likewise.
44789 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44790 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44791 $(run-program-prefix) to tst-tables.sh.
44792 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44793 it to run tst-table-from and tst-table-to.
44794 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44795 Pass it to tst-table.sh.
44796 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44797 $(run-program-prefix) to tst-gettext.sh.
44798 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44799 tst-translit.sh.
44800 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44801 tst-gettext2.sh.
44802 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
44803 to run tst-gettext.
44804 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
44805 to run tst-gettext2.
44806 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
44807 to run tst-translit.
44808 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44809 $(run-program-prefix) to tst-mtrace.sh.
44810 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
44811 to run tst-mtrace.
44812 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44813 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44814 $(rtld-installed-name).
44815 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44816 (rtld_installed_name): Likewise.
44817 (run_program_prefix): New variable. Use it to run wordexp-test.
44818
44819 * Makeconfig (ARCH): Remove all definitions.
44820 (machine): Likewise.
44821 [ARCH]: Remove conditional code.
44822 [!objdir]: Give error.
44823 [!objdir] (objpfx): Remove.
44824 [!objdir] (common-objpfx): Likewise.
44825 [!objdir] (common-objdir): Likewise.
44826 * configure.in (config_makefile): Remove. Hardcode Makefile in
44827 AC_CONFIG_FILES call.
44828 * configure: Regenerated.
44829
44830 [BZ #13888]
44831 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44832 or TMPDIR.
44833 (testout): Likewise.
44834
44835 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44836 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44837 $(rtld-installed-name).
44838 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44839 (rtld_installed_name): Likwise.
44840 (runit): Remove function.
44841 (run_getconf): New variable, Use it for running getconf binary.
44842
44843 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
44844
44845 [BZ #14716]
44846 * string/test-memmem.c (check_result): New function.
44847 (do_one_test): Use it.
44848 (check1): New function.
44849 (test_main): Use it.
44850
44851 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
44852
44853 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44854
44855 2012-10-18 Joseph Myers <joseph@codesourcery.com>
44856
44857 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44858 (_G_LSEEK64): Likewise.
44859 (_G_MMAP64): Likewise.
44860 (_G_FSTAT64): Likewise.
44861 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44862 (_G_LSEEK64): Likewise.
44863 (_G_MMAP64): Likewise.
44864 (_G_FSTAT64): Likewise.
44865 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44866 unconditional. Call __mmap64 directly.
44867 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44868 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
44869 __lseek64 directly.
44870 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44871 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
44872 __mmap64 directly.
44873 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44874 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
44875 __lseek64 directly.
44876 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44877 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
44878 __lseek64 directly.
44879 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44880 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
44881 __lseek64 directly.
44882 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44883 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
44884 __fxstat64 directly.
44885 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44886 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44887 unconditional.
44888 (freopen64) [!_G_OPEN64]: Remove conditional code.
44889 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44890 unconditional.
44891 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44892 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44893 unconditional.
44894 (ftello64) [!_G_LSEEK64]: Remove conditional code.
44895 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44896 unconditional.
44897 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44898 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44899 unconditional.
44900 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44901 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44902 unconditional.
44903 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44904 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44905 unconditional.
44906 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44907 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44908 unconditional.
44909 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44910
44911 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44912
44913 [BZ #12140]
44914 * manual/memory.texi (Malloc Tunable Parameters): Add note
44915 about free list pointers overwriting some perturb bytes.
44916 Wording suggested by Roland McGrath.
44917
44918 2012-10-17 Joseph Myers <joseph@codesourcery.com>
44919
44920 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44921 (lgamma_test): Likewise.
44922 (tgamma_test): Likewise.
44923
44924 2012-10-16 Florian Weimer <fweimer@redhat.com>
44925
44926 [BZ #14700]
44927 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44928 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44929
44930 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
44931
44932 * NEWS: Mention BZ #14716.
44933 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44934 when removing AVAILABLE1_USES_J macro.
44935
44936 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
44937
44938 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44939 (__bswap_64): __uint64_t for unsigned 64-bit int.
44940
44941 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
44942
44943 * include/string.h (memmem): Declare libc hidden alias.
44944 * string/memmem.c (memmem): Define libc hidden alias.
44945 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44946 __read, __close instead of open, read, close.
44947
44948 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
44949
44950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44951 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44952 global and hidden.
44953 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44954 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44955 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44956 Likewise.
44957 (__rawmemchr_sse2): Likewise.
44958 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44959 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44960 (__strchr_sse2): Likewise.
44961 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44962 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44963 (__strcasecmp_sse2): Likewise.
44964 (__strncasecmp_sse2): Likewise.
44965 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44966 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44967 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44968 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44969 (__strrchr_sse2): Likewise.
44970 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44971 ifunc-impl-list.c.
44972 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44973 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44974 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44975 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44976 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44977 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44978 * sysdeps/x86_64/multiarch/memset.S: Likewise.
44979 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44980 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44981 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44982 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44983 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44984 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44985 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44986 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44987 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44988 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44989 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44990 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44991 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44992 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44993 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44994 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44995 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44996 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44997 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44998 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44999 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45000 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45001 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45002
45003 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45004 global and hidden.
45005 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45006 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45007 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45008 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45009 Likewise.
45010 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45011 Likewise.
45012 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45013 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45014 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45015 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45016 ifunc-impl-list.c.
45017 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45018 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45019 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45020 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45021 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45022 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45023 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45024 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45025 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45026 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45027 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45028 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45029 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45030 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45031 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45032 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45033 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45034 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45035 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45036 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45037 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45038 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45039 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45040 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45041 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45042 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45043 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45044 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45045 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45046 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45047 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45048 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45049 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45050 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45051 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45052 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45053 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45054 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45055 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45056 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45057 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45058
45059 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45060 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45061 * include/ifunc-impl-list.h: New file.
45062 * misc/ifunc-impl-list.c: Likewise.
45063 * misc/Makefile (routines): Add ifunc-impl-list.
45064 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45065 * string/test-string.h: Include <ifunc-impl-list.h>.
45066 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45067 TEST_NAME]: New variables.
45068 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45069 are defined.
45070 (test_init): Call __libc_ifunc_impl_list to initialize
45071 func_list if TEST_IFUNC and TEST_NAME are defined.
45072
45073 * string/Makefile (strop-tests): Add bcopy and bzero.
45074 * string/test-bcopy.c: New file.
45075 * string/test-bzero.c: Likewise.
45076 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45077 defined.
45078 * string/test-memset.c: Support bzero test if TEST_BZERO is
45079 defined.
45080 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45081 __libc_memmove.
45082 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45083 __libc_memset.
45084 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45085 of memset.
45086
45087 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45088
45089 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45090 * configure: Regenerated.
45091
45092 * Makeconfig (+link-static-before-libc): Don't include
45093 $(link-static-libc).
45094
45095 * libio/libio.h (_IO_pos_t): Remove.
45096
45097 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45098
45099 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45100 McGrath.
45101
45102 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45103
45104 * crypt/crypt-entry.c: Include fips-private.h.
45105 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45106 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45107 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45108 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45109
45110 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45111
45112 * crypt/crypt-private.h: Include stdbool.h.
45113 (_ufc_setup_salt_r): Return bool.
45114 * crypt/crypt-entry.c: Include errno.h.
45115 (__crypt_r): Return NULL with EINVAL for bad salt.
45116 * crypt/crypt_util.c (bad_for_salt): New.
45117 (_ufc_setup_salt_r): Check that salt is long enough and within
45118 the specified alphabet.
45119 * crypt/badsalttest.c: New file.
45120 * crypt/Makefile (tests): Add it.
45121 ($(objpfx)badsalttest): New.
45122
45123 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45124
45125 * NEWS: Add entry for BZ #14602.
45126
45127 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45128
45129 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45130 type-generic.
45131 * math/libm-test.inc: Update comment listing what functions and
45132 macros are tested.
45133 (isgreater_test): New function.
45134 (isgreaterequal_test): Likewise.
45135 (isless_test): Likewise.
45136 (islessequal_test): Likewise.
45137 (islessgreater_test): Likewise.
45138 (isunordered_test): Likewise.
45139 (main): Call the new functions.
45140
45141 2012-10-09 Roland McGrath <roland@hack.frob.com>
45142
45143 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45144 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45145 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45146 * sysdeps/i386/configure: Regenerated.
45147 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45148 * sysdeps/mach/configure: Regenerated.
45149 * sysdeps/mach/hurd/configure: Regenerated.
45150 * sysdeps/powerpc/configure: Regenerated.
45151 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45152 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45153 * sysdeps/s390/s390-32/configure: Regenerated.
45154 * sysdeps/s390/s390-64/configure: Regenerated.
45155 * sysdeps/sh/configure: Regenerated.
45156 * sysdeps/sparc/configure: Regenerated.
45157 * sysdeps/unix/sysv/linux/configure: Regenerated.
45158 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45159 * sysdeps/x86_64/configure: Regenerated.
45160
45161 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45162 defined. Don't check if MAP is NULL.
45163
45164 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45165
45166 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45167 (_G_stat64): Likewise.
45168 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45169 (_G_stat64): Likewise.
45170 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45171 instead of struct _G_stat64.
45172 * libio/fileops.c (mmap_remap_check): Likewise.
45173 (decide_maybe_mmap): Likewise.
45174 (_IO_new_file_seekoff): Likewise.
45175 (_IO_file_stat): Likewise.
45176 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45177 _G_off64_t.
45178 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45179 instead of struct _G_stat64.
45180 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45181
45182 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45183
45184 [BZ #14602]
45185 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45186 Replace with ...
45187 (CHECK_EOL): New macro.
45188 (two_way_short_needle): Check beginning of haystack for EOL. Use
45189 CHECK_EOL.
45190 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45191 Replace with CHECK_EOL.
45192 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45193 Replace with CHECK_EOL.
45194
45195 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45196
45197 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45198 type-generic.
45199 * math/libm-test.inc: Update comment listing what functions and
45200 macros are tested.
45201 (finite_test): New function.
45202 (isinf_test): Likewise.
45203 (isnan_test): Likewise.
45204 (fpclassify_test): Test subnormal input.
45205 (isfinite_test): Likewise.
45206 (isnormal_test): Likewise.
45207 (main): Call the new functions.
45208
45209 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45210
45211 [BZ #14660]
45212 * Makerules (%.dynsym): Force C locale when running
45213 $(OBJDUMP) --dynamic-syms.
45214
45215 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45216
45217 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45218 <stdint.h>.
45219
45220 2012-10-06 David S. Miller <davem@davemloft.net>
45221
45222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45223 upper 32-bits of the length value in %o2 since we use branch-on-register
45224 tests which consider the entire 64-bit register.
45225
45226 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45227
45228 * string/test-strstr.c (check2): Add a test for page boundary.
45229
45230 2012-10-05 David S. Miller <davem@davemloft.net>
45231
45232 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45233 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45234 file.
45235 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45236 sysdep_routines.
45237 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45238 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45239 and bzero when HWCAP_SPARC_CRYPTO is present.
45240
45241 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45242
45243 [BZ #14602]
45244 * string/test-strstr.c (check2): New function.
45245 (test_main): Call check2.
45246
45247 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45248 and bug-strchr1.
45249 * string/bug-strcasestr1.c (do_test): Moved to ...
45250 * string/test-strcasestr.c (check1): Here. New function.
45251 (do_one_test): Break out result checking code into ...
45252 (check_result): This. New function.
45253 (do_one_test): Call check_result.
45254 (test_main): Call check1.
45255 * string/bug-strchr1.c (do_test): Moved to ...
45256 * string/test-strchr.c (check1): Here. New function.
45257 (do_one_test): Break out result checking code into ...
45258 (check_result): This. New function.
45259 (do_one_test): Call check_result.
45260 (test_main): Call check1.
45261 * string/bug-strstr1.c (main): Moved to ...
45262 * string/test-strstr.c (check1): Here. New function.
45263 (do_one_test): Break out result checking code into ...
45264 (check_result): This. New function.
45265 (do_one_test): Call check_result.
45266 (test_main): Call check1.
45267 * string/bug-strcasestr1.c: Removed.
45268 * string/bug-strchr1.c: Likewise.
45269 * string/bug-strstr1.c: Likewise.
45270
45271 * elf/Makefile (dl-routines): Add hwcaps.
45272 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45273 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45274 (_dl_important_hwcaps): Moved to ...
45275 * elf/dl-hwcaps.c: Here. New file.
45276 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45277
45278 [BZ #14557]
45279 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45280 if IS_IN_rtld isn't defined.
45281
45282 * elf/dl-support.c (_dl_sysinfo_map): New.
45283 Include "get-dynamic-info.h" and "setup-vdso.h".
45284 (_dl_non_dynamic_init): Call setup_vdso.
45285 * elf/dynamic-link.h: Don't include <assert.h>.
45286 (elf_get_dynamic_info): Moved to ...
45287 * elf/get-dynamic-info.h: Here. New file.
45288 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45289 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45290 * elf/setup-vdso.h: Here. New file.
45291 * elf/rtld.c: Include "setup-vdso.h".
45292 (dl_main): Call setup_vdso.
45293
45294 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45295
45296 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45297 creal in comment listing functions tested. List finite, isinf,
45298 isnan, isless, islessequal, isgreater, isgreaterequal,
45299 islessgreater, isunordered, lgamma_r and pow10 as functions and
45300 macros not tested. Mention which functions not tested are aliases
45301 for other functions. Fix typo. Note that signs of NaNs are not
45302 tested.
45303
45304 * scripts/config.guess: Update from config.git.
45305 * scripts/config.sub: Likewise.
45306
45307 2012-10-04 Roland McGrath <roland@hack.frob.com>
45308
45309 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45310 * misc/madvise.c (madvise): Renamed to __madvise.
45311 Make madvise a weak alias.
45312 * include/sys/mman.h: Declare __madvise.
45313 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45314 * sysdeps/unix/syscalls.list
45315 (madvise): Make __madvise the strong name, and madvise a weak alias.
45316 * sysdeps/unix/sysv/linux/syscalls.list
45317 (madvise, mmap): Remove redundant entries.
45318 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45319 * malloc/malloc.c (mtrim): Likewise.
45320 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45321
45322 2012-10-03 Roland McGrath <roland@hack.frob.com>
45323
45324 * sysdeps/mach/hurd/dl-cache.c: File removed.
45325 * config.h.in (USE_LDCONFIG): New #undef.
45326 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45327 * configure: Regenerated.
45328 * elf/Makefile (dl-routines): Add dl-cache only under
45329 [$(use-ldconfig) = yes].
45330 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45331 cache on [USE_LDCONFIG].
45332 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45333 [USE_LDCONFIG].
45334 * elf/rtld.c (dl_main): Likewise.
45335
45336 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45337
45338 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45339 _SC_LEVEL4_CACHE_LINESIZE.
45340
45341 2012-10-03 Roland McGrath <roland@hack.frob.com>
45342
45343 * sysdeps/unix/bsd/confstr.h: File removed.
45344
45345 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45346
45347 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45348 sys/sdt-config.h.
45349
45350 2012-10-02 Roland McGrath <roland@hack.frob.com>
45351
45352 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45353 Make 'mapoff' field ElfW(Off) rather than off_t.
45354
45355 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45356
45357 * nscd/Makefile: Remove nscd-cflags and all its users.
45358 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45359 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45360
45361 [BZ #10631]
45362 * malloc.c (malloc_printerr): Clarify error message.
45363
45364 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45365
45366 [BZ #14648]
45367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45368 Set bit_FMA_Usable if FMA is supported.
45369 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45370 macro.
45371 (bit_FMA4_Usable): Updated.
45372 (index_FMA_Usable): New macro.
45373 (CPUID_FMA): Likewise
45374 (HAS_FMA): Defined with bit_FMA_Usable.
45375
45376 2012-10-01 Roland McGrath <roland@hack.frob.com>
45377
45378 * bits/types.h (__swblk_t): Type removed.
45379 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45380 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45382 (__SWBLK_T_TYPE): Likewise.
45383 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45384 (__SWBLK_T_TYPE): Likewise.
45385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45386 (__SWBLK_T_TYPE): Likewise.
45387 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45388 (__SWBLK_T_TYPE): Likewise.
45389
45390 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45391 Honza Horak <hhorak@redhat.com>
45392
45393 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45394 (xdr_mapname): Use YPMAXMAP as maxsize.
45395 (xdr_peername): Use YPMAXPEER as maxsize.
45396 (xdr_keydat): Use YPAXRECORD as maxsize.
45397 (xdr_valdat): Use YPMAXRECORD as maxsize.
45398
45399 2012-10-01 Roland McGrath <roland@hack.frob.com>
45400
45401 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45402
45403 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45404 * csu/init-first.c: ... here.
45405 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45406 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45407 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45408 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45409 * sysdeps/i386/init-first.c: File removed.
45410 * sysdeps/sh/init-first.c: File removed.
45411
45412 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45413
45414 [BZ #14645]
45415 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45416 if x * y might underflow to zero and z is zero.
45417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45419 * math/libm-test.inc (min_subnorm_value): New variable.
45420 (fma_test): Add more tests.
45421 (fma_test_towardzero): Likewise.
45422 (fma_test_downward): Likewise
45423 (fma_test_upward): Likewise.
45424 (initialize): Set min_subnorm_value.
45425
45426 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45427
45428 [BZ #14638]
45429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45430 0 + 0.
45431 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45432 mode for addition resulting in exact zero.
45433 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45435 exact 0 + 0.
45436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45438 * math/libm-test.inc (fma_test): Add more tests.
45439 (fma_test_towardzero): New function.
45440 (fma_test_downward): Likewise.
45441 (fma_test_upward): Likewise.
45442 (main): Call the new functions.
45443
45444 2012-09-28 David S. Miller <davem@davemloft.net>
45445
45446 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45447
45448 2012-09-28 Roland McGrath <roland@hack.frob.com>
45449
45450 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45451 instead of SIGALRM.
45452
45453 * sysdeps/gnu/_G_config.h: Moved to ...
45454 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45455 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45456 * sysdeps/generic/_G_config.h: ... here.
45457
45458 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45459
45460 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45461
45462 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45463 Conditionalize target on [libnss_test1.so-version].
45464
45465 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45466
45467 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45468 (elfobjdir): Move out of conditionals.
45469
45470 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45471 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45472 (__nss_lookup_function): Conditionalize label remove_from_tree on
45473 [!DO_STATIC_NSS || SHARED], matching its only use.
45474
45475 2012-09-28 David S. Miller <davem@davemloft.net>
45476
45477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45478 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45479 file.
45480 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45481 sysdep_routines.
45482 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45484 when HWCAP_SPARC_CRYPTO is present.
45485
45486 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45487
45488 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45489
45490 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45491
45492 [BZ #6530]
45493 * stdio-common/vfprintf.c (process_string_arg): Revert
45494 2000-07-22 change.
45495
45496 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45497
45498 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45499 for testcase.
45500 * stdio-common/tst-sprintf.c: Include <locale.h>
45501 (main): Test sprintf's handling of incomplete multibyte
45502 characters.
45503
45504 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45505
45506 * elf/dl-runtime.c (VERSYMIDX): Removed.
45507 * elf/dl-version.c (VERSYMIDX): Likewise.
45508 * elf/do-rel.h (VERSYMIDX): Likewise.
45509 (VALIDX): Likewise.
45510 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45511 * elf/rtld.c (VALIDX): Likewise.
45512 (ADDRIDX): Likewise.
45513 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45514 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45515 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45516 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45517 (VALIDX): Likewise.
45518 (ADDRIDX): Likewise.
45519
45520 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45521
45522 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45523
45524 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45525
45526 [BZ #11438]
45527 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45528 to global scope.
45529 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45530 addresses are in the same scope as 192.0.2/24.
45531 * posix/gai.conf: Document new scope table defaults.
45532
45533 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45534
45535 [BZ #5298]
45536 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45537 for ftell. Compute offsets from write pointers instead.
45538 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45539
45540 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45541
45542 [BZ #14543]
45543 * libio/Makefile (tests): New test case tst-fseek.
45544 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45545 combination works in wide mode.
45546 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45547 state when the external buffer state changes.
45548
45549 2012-09-27 David S. Miller <davem@davemloft.net>
45550
45551 [BZ #14376]
45552 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45553 pass reloc->r_addend in as the 'high' argument to
45554 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45555
45556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45557
45558 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45559
45560 * rt/tst-aio2.c: Include <pthread.h>.
45561 * rt/tst-aio3.c: Likewise.
45562
45563 2012-09-27 Steve Ellcey <sellcey@mips.com>
45564
45565 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45566
45567 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45568
45569 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45570 contents on [SHARED].
45571
45572 2012-09-26 Marek Polacek <polacek@redhat.com>
45573
45574 [BZ #14530]
45575 [BZ #13741]
45576 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45577 for C++ and GCC <4.3 as well as for non GCC compilers.
45578
45579 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45580
45581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45582
45583 2012-09-25 Roland McGrath <roland@hack.frob.com>
45584
45585 * Makefile.in (all, install): Declare with .PHONY.
45586 Reported by Michael Hope <michael.hope@linaro.org>.
45587
45588 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45589
45590 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45591 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45592 system header.
45593 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45594 Likewise.
45595 (sydep_routines): Add the new and the internal functions.
45596 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45597 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45599 (GLIBC_2.17): Add the new function.
45600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45601 (GLIBC_2.17): Likewise.
45602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45603 (GLIBC_2.17): Likewise.
45604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45605 (GLIBC_2.17): Likewise.
45606 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45607
45608 2012-09-25 Alan Modra <amodra@gmail.com>
45609
45610 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45611 Add release barrier before setting once_control to say
45612 initialisation is done. Add hints on lwarx. Use macro in
45613 place of isync.
45614 (clear_once_control): Add release barrier.
45615
45616 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45617
45618 [BZ #13629]
45619 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45620 specially.
45621 * math/s_clog10.c (__clog10): Likewise.
45622 * math/s_clog10f.c (__clog10f): Likewise.
45623 * math/s_clog10l.c (__clog10l): Likewise.
45624 * math/s_clogf.c (__clogf): Likewise.
45625 * math/s_clogl.c (__clogl): Likewise.
45626 * math/Makefile (libm-calls): Add x2y2m1.
45627 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45628 (__x2y2m1): Likewise.
45629 (__x2y2m1l): Likewise.
45630 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45631 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45632 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45633 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45634 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45635 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45636 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45637 * sysdeps/i386/fpu/libm-test-ulps: Update.
45638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45639
45640 [BZ #14621]
45641 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45642 int as type of variable DEPTH.
45643 (glob): Use size_t instead of int as type of variables NEWCOUNT
45644 and OLD_PATHC.
45645
45646 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45647
45648 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45649 Add s_sincosf-sse2.
45650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45651 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45652 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45653 macros for using routine as __sincosf_ia32.
45654 Use macro for function declaration and weak_alias.
45655 * sysdeps/i386/fpu/libm-test-ulps: Update.
45656
45657 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45659
45660 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45661 subnormal argument.
45662 * math/s_cexpf.c (__cexpf): Likewise.
45663 * math/s_csinf.c (__csinf): Likewise.
45664 * math/s_csinhf.c (__csinhf): Likewise.
45665 * math/s_ctanf.c (__ctanf): Likewise.
45666 * math/s_ctanhf.c (__ctanhf): Likewise.
45667 * math/s_ccosh.c (__ccoshf): Likewise.
45668 * math/s_cexp.c (__cexpl): Likewise.
45669 * math/s_csin.c (__csin): Likewise.
45670 * math/s_csinh.c (__csinh): Likewise.
45671 * math/s_ctan.c (__ctan): Likewise.
45672 * math/s_ctanh.c (ctanh): Likewise.
45673 * math/s_ccoshl.c (__ccoshl): Likewise.
45674 * math/s_cexpl.c (__cexpl): Likewise.
45675 * math/s_csinl.c (__csinl): Likewise.
45676 * math/s_csinhl.c (__csinhl): Likewise.
45677 * math/s_ctanl.c (__ctanl): Likewise.
45678 * math/s_ctanhl.c (__ctanhl): Likewise.
45679
45680 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45681
45682 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45683 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45684 (_IO_off_t): Define to __off_t, not _G_off_t.
45685 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45686 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45687 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45688 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45689 type of __dummy and __dummy2 fields.
45690 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45691 (_G_ssize_t): Likewise.
45692 (_G_off_t): Likewise.
45693 (_G_pid_t): Likewise.
45694 (_G_uid_t): Likewise.
45695 (_G_wchar_t): Likewise.
45696 (_G_wint_t): Likewise.
45697 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45698 (_G_ssize_t): Likewise.
45699 (_G_off_t): Likewise.
45700 (_G_pid_t): Likewise.
45701 (_G_uid_t): Likewise.
45702 (_G_wchar_t): Likewise.
45703 (_G_wint_t): Likewise.
45704 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45705 (_G_ssize_t): Likewise.
45706 (_G_off_t): Likewise.
45707 (_G_pid_t): Likewise.
45708 (_G_uid_t): Likewise.
45709 (_G_wchar_t): Likewise.
45710 (_G_wint_t): Likewise.
45711
45712 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45713
45714 * malloc/arena.c: Include malloc-sysdep.h.
45715 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45716 is sufficient to shrink the heap or an unmap is needed.
45717 * sysdeps/generic/malloc-sysdep.h: New file. Define
45718 new function check_may_shrink_heap.
45719 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45720 new function check_may_shrink_heap.
45721
45722 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45723
45724 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45725 comments.
45726
45727 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45728
45729 * catgets/test-gencat.sh: Add "set -e".
45730 * elf/tst-pathopt.sh: Likewise.
45731 * grp/tst_fgetgrent.sh: Likewise.
45732 * iconvdata/run-iconv-test.sh: Likewise.
45733 * intl/tst-gettext.sh: Likewise.
45734 * intl/tst-gettext2.sh: Likewise.
45735 * intl/tst-gettext4.sh: Likewise.
45736 * intl/tst-gettext6.sh: Likewise.
45737 * intl/tst-translit.sh: Likewise.
45738 * io/ftwtest-sh: Likewise.
45739 * libio/test-freopen.sh: Likewise.
45740 * malloc/tst-mtrace.sh: Likewise.
45741 * posix/globtest.sh: Likewise.
45742 * posix/tst-getconf.sh: Likewise.
45743 * posix/wordexp-tst.sh: Likewise.
45744 * stdio-common/tst-printf.sh: Likewise.
45745 * stdio-common/tst-unbputc.sh: Likewise.
45746 * stdlib/tst-fmtmsg.sh: Likewise.
45747 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45748 * catgets/Makefile: Do not specify -e option when running
45749 testsuite shell scripts.
45750 * elf/Makefile: Likewise.
45751 * grp/Makefile: Likewise.
45752 * iconvdata/Makefile: Likewise.
45753 * intl/Makefile: Likewise.
45754 * io/Makefile: Likewise.
45755 * libio/Makefile: Likewise.
45756 * malloc/Makefile: Likewise.
45757 * posix/Makefile: Likewise.
45758 * stdio-common/Makefile: Likewise.
45759 * stdlib/Makefile: Likewise.
45760 * sysdeps/x86_64/Makefile: Likewise.
45761
45762 * io/ftwtest-sh: Add copyright header.
45763 * posix/globtest.sh: Likewise.
45764 * posix/tst-getconf.sh: Likewise.
45765 * posix/wordexp-tst.sh: Likewise.
45766 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45767
45768 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45769
45770 [BZ #13679]
45771 * Makeconfig (+link): Defined as $(+link-static) if
45772 $(build-shared) isn't yes.
45773 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45774 isn't yes.
45775 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45776
45777 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45778
45779 [BZ #14562]
45780 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45781 new chunk size with MALLOC_ALIGN_MASK.
45782
45783 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45784
45785 [BZ #5044]
45786 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45787 <rounding-mode.h>.
45788 (__printf_fphex): Determine rounding using get_rounding_mode and
45789 round_away.
45790 * stdio-common/tst-printf-round.c (struct hex_test): New
45791 structure.
45792 (hex_tests): New variable.
45793 (test_hex_in_one_mode): New function.
45794 (do_test): Also run tests for hex float output.
45795
45796 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45797
45798 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45799 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45800 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45801 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45802 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45803 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45804 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45805 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45806
45807 2012-09-20 Joseph Myers <joseph@codesourcery.com>
45808
45809 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45810 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45811 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45812 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45813
45814 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
45815
45816 [BZ #14579]
45817 * elf/rtld.c (dl_main): Limit the check for self loading to normal
45818 mode only.
45819 * elf/tst-rtld-load-self.sh: New test.
45820 * elf/Makefile: Run it.
45821
45822 2012-09-18 Joseph Myers <joseph@codesourcery.com>
45823
45824 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45825 (tst-writev-ENV): Remove.
45826 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45827
45828 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
45829
45830 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45831
45832 2012-09-17 Joseph Myers <joseph@codesourcery.com>
45833
45834 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45835 unconditional.
45836 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45837 Likewise.
45838 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45839 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45840 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45841 Likewise.
45842
45843 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
45844
45845 [BZ #14587]
45846 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45847 * config.make.in (have-cpp-asm-debuginfo): Removed.
45848 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45849 * configure: Regenerated.
45850
45851 2012-09-14 Joseph Myers <joseph@codesourcery.com>
45852
45853 [BZ #5044]
45854 * stdio-common/printf_fp.c: Include <stdbool.h> and
45855 <rounding-mode.h>.
45856 (___printf_fp): Determine rounding using get_rounding_mode and
45857 round_away.
45858 * stdio-common/tst-printf-round.c: New file.
45859 * stdio-common/Makefile (tests): Add tst-printf-round.
45860 (link-libm): New variable.
45861 ($(objpfx)tst-printf-round): Depend in $(link-libm).
45862
45863 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
45864
45865 [BZ #14576]
45866 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45867 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45868 Likewise.
45869 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45870 Likewise.
45871
45872 2012-09-13 Joseph Myers <joseph@codesourcery.com>
45873
45874 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45875 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45876 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45877 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45878
45879 2012-09-12 Joseph Myers <joseph@codesourcery.com>
45880
45881 [BZ #14518]
45882 * include/rounding-mode.h: New file.
45883 * sysdeps/generic/get-rounding-mode.h: Likewise.
45884 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45885 * stdlib/strtod_l.c: Include <rounding-mode.h>.
45886 (MAX_VALUE): New macro.
45887 (MIN_VALUE): Likewise.
45888 (overflow_value): New function.
45889 (underflow_value): Likewise.
45890 (round_and_return): Use overflow_value and underflow_value to
45891 determine return values in overflow and underflow cases. Use
45892 round_away to determine rounding depending on rounding mode.
45893 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45894 determine return values in overflow and underflow cases.
45895 * stdlib/tst-strtod-round.c: Include <fenv.h>.
45896 (struct test_results): New structure.
45897 (struct test): Use struct test_results to store expected results
45898 for all rounding modes.
45899 (TEST): Include expected results for all rounding modes.
45900 (test_in_one_mode): New function.
45901 (do_test): Use test_in_one_mode to compute and check results.
45902 Check results for all rounding modes.
45903 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45904 $(link-libm).
45905
45906 2012-12-09 Allan McRae <allan@archlinux.org>
45907
45908 * sysdeps/i386/fpu/libm-test-ulps: Update
45909
45910 2012-09-11 Joseph Myers <joseph@codesourcery.com>
45911
45912 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45913 (_G_int32_t): Likewise.
45914 (_G_uint16_t): Likewise.
45915 (_G_uint32_t): Likewise.
45916 (_G_HAVE_BOOL): Likewise.
45917 (_G_HAVE_ATEXIT): Likewise.
45918 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45919 (_G_HAVE_IO_FILE_OPEN): Likewise.
45920 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45921 (_G_int32_t): Likewise.
45922 (_G_uint16_t): Likewise.
45923 (_G_uint32_t): Likewise.
45924 (_G_HAVE_BOOL): Likewise.
45925 (_G_HAVE_ATEXIT): Likewise.
45926 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45927 (_G_HAVE_IO_FILE_OPEN): Likewise.
45928 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45929 (_G_int32_t): Likewise.
45930 (_G_uint16_t): Likewise.
45931 (_G_uint32_t): Likewise.
45932 (_G_HAVE_BOOL): Likewise.
45933 (_G_HAVE_ATEXIT): Likewise.
45934 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45935 (_G_HAVE_IO_FILE_OPEN): Likewise.
45936
45937 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
45938
45939 * csu/libc-tls.c: Update copyright years.
45940
45941 2012-09-10 Joseph Myers <joseph@codesourcery.com>
45942
45943 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45944 [!_G_USING_THUNKS]: Remove conditional code.
45945 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45946 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45947
45948 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45949 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45950 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45951 (_G_VTABLE_LABEL_PREFIX): Likewise.
45952 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45953 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45954 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45955 (_G_VTABLE_LABEL_PREFIX): Likewise.
45956 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45957 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45958 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45959 (_G_VTABLE_LABEL_PREFIX): Likewise.
45960 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45961
45962 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
45963
45964 * libio/Makefile: Include ../Makeconfig before tests.
45965 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45966 only if $(build-shared) is yes.
45967
45968 * iconv/gconv_db.c: Update copyright years.
45969
45970 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45971
45972 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45973 unwind info if defined PIC. Fix special cases description.
45974 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45975
45976 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45977 DP_HI_MASK entry.
45978 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45979
45980 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
45981
45982 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45983
45984 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45985 is NULL.
45986
45987 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45988 (LDLIBS-tst-chk4): This.
45989 (LDFLAGS-tst-chk5): Renamed to ...
45990 (LDLIBS-tst-chk5): This.
45991 (LDFLAGS-tst-chk6): Renamed to ...
45992 (LDLIBS-tst-chk6): This.
45993 (LDFLAGS-tst-lfschk4): Renamed to ...
45994 (LDLIBS-tst-lfschk4): This.
45995 (LDFLAGS-tst-lfschk5): Renamed to ...
45996 (LDLIBS-tst-lfschk5): This.
45997 (LDFLAGS-tst-lfschk6): Renamed to ...
45998 (LDLIBS-tst-lfschk6): This.
45999
46000 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46001 on $(common-objpfx)soversions.mk.
46002
46003 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46004
46005 [BZ #10014]
46006 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46007 example host name.
46008
46009 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46010
46011 * malloc/arena.c (arena_get_retry): New function that gets
46012 another arena for the caller to try its request on.
46013 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46014 current arena cannot fulfill the request.
46015 (__libc_memalign): Likewise.
46016 (__libc_memalign): Likewise.
46017 (__libc_pvalloc): Likewise.
46018 (__libc_calloc): Likewise.
46019
46020 2012-09-05 John Tobey <john.tobey@gmail.com>
46021
46022 [BZ #13542]
46023 * manual/arith.texi (Operations on Complex): Fix description
46024 of carg branch cut.
46025
46026 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46027
46028 [BZ #10014]
46029 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46030 host name.
46031
46032 [BZ #10038]
46033 * manual/memory.texi (Memory): Make order of menu items match
46034 order of sections.
46035
46036 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46037
46038 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46039 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46040 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46041
46042 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46043
46044 * csu/libc-tls.c (static_dtv): Renamed to ...
46045 (_dl_static_dtv): This. Make it global.
46046 (_dl_initial_dtv): Removed.
46047 (__libc_setup_tls): Updated.
46048 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46049 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46050 DL_INITIAL_DTV.
46051
46052 2012-09-06 Petr Machata <pmachata@redhat.com>
46053
46054 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46055 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46056 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46057 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46058
46059 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46060
46061 [BZ #14545]
46062 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46063 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46064 freeing dtv[-1].
46065
46066 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46067
46068 [BZ #14544]
46069 * Makeconfig (link-static-before-libc): Replace $(+prector)
46070 with $(+prectorT).
46071 (link-static-after-libc): Replace $(+postctor) with
46072 $(+postctorT).
46073 (link-bounded): Replace $(+prector)/$(+postctor) with
46074 $(+prectorT)/$(+postctorT).
46075 (+prectorT): New macro.
46076 (+postctorT): Likewise.
46077
46078 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46079
46080 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46081 (round_str): Handle values above the maximum for IBM long double
46082 as inexact.
46083 * stdlib/tst-strtod-round.c (tests): Regenerated.
46084
46085 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46086
46087 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46088 assembler flag.
46089 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46090 zarch_nohighgprs around the zarch optimized routines.
46091 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46092 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46093 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46094 for zarch.
46095
46096 2012-09-05 David S. Miller <davem@davemloft.net>
46097
46098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46099
46100 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46101 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46102 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46103 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46104 entries.
46105
46106 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46107
46108 * malloc/arena.c: Fold copyright years.
46109 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46110
46111 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46112
46113 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46114
46115 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46116
46117 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46118
46119 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46120
46121 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46122 change internal state upon failure.
46123
46124 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46125
46126 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46127 * malloc/memusage.c (mmap): Likewise.
46128 (mmap64, mremap): Likewise. Adjust name in comment.
46129
46130 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46131
46132 * libio/fileops.c: Fix typos in comments.
46133 * libio/oldfileops.c: Likewise.
46134 * libio/wfileops.c: Likewise.
46135
46136 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46137
46138 [BZ #1349]
46139 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46140 (tst-malloc-usable-ENV): Set environment for test case.
46141 * malloc/hooks.c (malloc_check_get_size): New function to get
46142 requested size.
46143 * malloc/malloc.c (musable): Use malloc_check_get_size.
46144 * malloc/tst-malloc-usable.c: New test case.
46145
46146 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46147
46148 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46149
46150 2012-09-05 Allan McRae <allan@archlinux.org>
46151
46152 [BZ #13966]
46153 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46154 determine header location.
46155 * configure: Regenerated.
46156
46157 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46158
46159 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46160 float format.
46161 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46162 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46163 format.
46164 (test): Regenerate.
46165
46166 2012-09-04 David S. Miller <davem@davemloft.net>
46167
46168 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46169 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46170 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46171
46172 2012-09-04 Florian Weimer <fweimer@redhat.com>
46173
46174 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46175 failures.
46176
46177 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46178
46179 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46180
46181 [BZ #9914]
46182 * libio/iogetdelim.c: Include <limits.h>.
46183 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46184 + len + 1 would overflow.
46185
46186 2012-09-03 Andreas Jaeger <aj@suse.de>
46187
46188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46189 * sysdeps/i386/fpu/libm-test-ulps: Update.
46190
46191 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46192
46193 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46194 Add s_sinf-sse2, s_conf-sse2.
46195
46196 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46197 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46198 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46199 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46200
46201 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46202 for using routine as __sinf_ia32.
46203 Use macro for function declaration and weak_alias.
46204 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46205 for using routine as __cosf_ia32.
46206 Use macro for function declaration and weak_alias.
46207
46208 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46209 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46210
46211 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46212 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46214
46215 * math/libm-test.inc (cos_test): Add more test cases.
46216 (sin_test): Likewise.
46217 (sincos_test): Likewise.
46218
46219 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46220
46221 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46222 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46223 hidden.
46224 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46225
46226 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46227
46228 [BZ #14538]
46229 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46230 first element of the GOT.
46231 (elf_machine_load_address): Return the difference between
46232 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46233
46234 2012-09-01 Allan McRae <allan@archlinux.org>
46235
46236 [BZ #13412]
46237 * configure.in (AWK): Require gawk version 3.0 or later.
46238 * configure: Regenerated.
46239
46240 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46241
46242 * sysdeps/unix/sysv/linux/kernel-features.h
46243 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46245 [__NR_clock_getres]: Make code unconditional.
46246 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46247 (clock_getcpuclockid): Remove code left unreachable by removal of
46248 conditionals.
46249 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46250 code unconditional.
46251 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46252 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46253 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46254 Make code unconditional.
46255 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46256 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46257 * sysdeps/unix/sysv/linux/clock_settime.c
46258 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46259 conditional code.
46260 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46262
46263 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46264
46265 [BZ #14476]
46266 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46267 scripts/test-installation.pl.
46268
46269 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46270 and $ld_so_version if it is set.
46271
46272 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46273
46274 [BZ #14516]
46275 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46276 failure if reading from procfs failed.
46277 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46278
46279 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46280
46281 * sysdeps/unix/sysv/linux/kernel-features.h
46282 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46283 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46284 Remove conditional code.
46285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46286 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46287 Remove conditional code.
46288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46289 * sysdeps/unix/sysv/linux/i386/fxstat.c
46290 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46292 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46293 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46295 * sysdeps/unix/sysv/linux/i386/lxstat.c
46296 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46298 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46299 Remove conditional code.
46300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46301 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46302 Remove conditional code.
46303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46304 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46305 <kernel-features.h>.
46306 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46307 Remove.
46308 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46309 Remove conditional code.
46310 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46311 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46312 Remove conditional.
46313
46314 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46315
46316 [BZ #5400]
46317 * NEWS: Add fixed bug number.
46318
46319 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46320
46321 [BZ #14519]
46322 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46323 underflowing exponent in case of negative sign.
46324 * stdlib/tst-strtod-round-data: Add more tests.
46325 * stdlib/tst-strtod-round.c (tests): Regenerated.
46326
46327 [BZ #3479]
46328 * stdlib/strtod_l.c (NDIG): Remove.
46329 (HEXNDIG): Likewise.
46330 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46331 smallest representable value.
46332 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46333 lie within an exact representation of 1/2 ulp of the result.
46334 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46335 unconditionally.
46336 (TENS_P9_IDX): Define unconditionally.
46337 (TENS_P9_SIZE): Likewise.
46338 (TENS_P10_IDX): Likewise.
46339 (TENS_P10_SIZE): Likewise.
46340 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46341 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46342 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46343 entries for 10^2^13 and 10^2^14.
46344 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46345 (TENS_P13_IDX): Define.
46346 (TENS_P13_SIZE): Likewise.
46347 (TENS_P14_IDX): Likewise.
46348 (TENS_P14_SIZE): Likewise.
46349 (_fpioconst_pow10): Change array size to
46350 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46351 unconditional.
46352 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46353 1024]: Add entries for 10^2^13 and 10^2^14.
46354 [LAST_POW10 > _LAST_POW10]: Remove #error.
46355 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46356 (_fpioconst_pow10): Change array size to
46357 FPIOCONST_POW10_ARRAY_SIZE.
46358 * stdlib/gen-fpioconst.c: New file.
46359 * stdlib/gen-tst-strtod-round.c: Likewise.
46360 * stdlib/tst-strtod-round-data: Likewise.
46361 * stdlib/tst-strtod-round.c: Likewise.
46362 * stdlib/Makefile (tests): Add tst-strtod-round.
46363
46364 [BZ #14459]
46365 * stdlib/strtod_l.c: Include <stdint.h>.
46366 (NDEBUG): Do not define.
46367 (round_and_return): Change EXPONENT parameter to type intmax_t.
46368 Rearrange calculations to avoid internal overflow possibilities.
46369 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46370 Rearrange calculations to avoid internal overflow possibilities.
46371 Assert that number fits inside MPNSIZE limbs.
46372 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46373 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46374 calculations and add assertions to avoid internal overflow
46375 possibilities. Add casts to avoid signed/unsigned operations.
46376 * stdlib/tst-strtod-overflow.c: New file.
46377 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46378
46379 2012-08-25 Marek Polacek <polacek@redhat.com>
46380
46381 * time/time.h: Fix some typos in comments.
46382
46383 2012-08-23 Roland McGrath <roland@hack.frob.com>
46384
46385 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46386 * posix/tst-rfc3484-2.c: Likewise.
46387 * posix/tst-rfc3484-3.c: Likewise.
46388
46389 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46390
46391 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46392 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46393
46394 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46395
46396 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46397 #include of fxstatat64.c.
46398
46399 2012-08-22 Roland McGrath <roland@hack.frob.com>
46400
46401 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46402 * shadow/getspent_r.c: Likewise.
46403 * shadow/getspnam.c: Likewise.
46404 * shadow/getspnam_r.c: Likewise.
46405 * gshadow/getsgent.c: Likewise.
46406 * gshadow/getsgent_r.c: Likewise.
46407 * gshadow/getsgnam.c: Likewise.
46408 * gshadow/getsgnam_r.c: Likewise.
46409 * inet/getnetbyad.c: Likewise.
46410 * inet/getnetbyad_r.c: Likewise.
46411 * inet/getnetbynm.c: Likewise.
46412 * inet/getnetbynm_r.c: Likewise.
46413 * inet/getnetent.c: Likewise.
46414 * inet/getnetent_r.c: Likewise.
46415 * inet/getproto.c: Likewise.
46416 * inet/getproto_r.c: Likewise.
46417 * inet/getprtent.c: Likewise.
46418 * inet/getprtent_r.c: Likewise.
46419 * inet/getprtname.c: Likewise.
46420 * inet/getprtname_r.c: Likewise.
46421 * inet/getrpcbyname.c: Likewise.
46422 * inet/getrpcbyname_r.c: Likewise.
46423 * inet/getrpcbynumber.c: Likewise.
46424 * inet/getrpcbynumber_r.c: Likewise.
46425 * inet/getrpcent.c: Likewise.
46426 * inet/getrpcent_r.c: Likewise.
46427 * inet/getaliasent.c: Likewise.
46428 * inet/getaliasent_r.c: Likewise.
46429 * inet/getaliasname.c: Likewise.
46430 * inet/getaliasname_r.c: Likewise.
46431 * nscd/getgrgid_r.c: Likewise.
46432 * nscd/getgrnam_r.c: Likewise.
46433 * nscd/gethstbyad_r.c: Likewise.
46434 * nscd/gethstbynm3_r.c: Likewise.
46435 * nscd/getpwnam_r.c: Likewise.
46436 * nscd/getpwuid_r.c: Likewise.
46437 * nscd/getsrvbynm_r.c: Likewise.
46438 * nscd/getsrvbypt_r.c: Likewise.
46439 * nscd/gai.c: Likewise.
46440
46441 * configure.in (build_nscd): New substituted variable, set
46442 by --disable-build-nscd and defaults to $use_nscd.
46443 * configure: Regenerated.
46444 * config.make.in (build-nscd): New substituted variable.
46445 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46446 Change conditional to require [$(build-nscd) = yes] as well.
46447 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46448
46449 [BZ# 13696]
46450 * configure.in (use_nscd): New substituted variable, set by
46451 --disable-nscd. If enabled, define USE_NSCD.
46452 * configure: Regenerated.
46453 * config.h.in: Add USE_NSCD.
46454 * config.make.in (use-nscd): New substituted variable.
46455 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46456 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46457 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46458 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46459 (CFLAGS-getgrnam_r.c): Likewise.
46460 (CFLAGS-initgroups.c): Likewise.
46461 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46462 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46463 Variables removed.
46464 * inet/getnetgrent_r.c
46465 (nscd_setnetgrent): New function, broken out of ...
46466 (setnetgrent): ... here. Call it.
46467 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46468 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46469 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46470 * nscd/Makefile (routines, aux): Move definitions after include of
46471 Makeconfig. Conditionalize on [$(use-nscd) != no].
46472 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46473 Conditionalize on [USE_NSCD].
46474 (is_nscd, nscd_init_cb): Likewise.
46475 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46476 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46477 * nss/nss_db/db-init.c: Likewise.
46478 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46479 [USE_NSCD].
46480 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46481 (make_request): Use it.
46482 (cache_valid_p): New function.
46483 (__check_pf): Use it.
46484 * NEWS: Add item for --disable-nscd.
46485
46486 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46487
46488 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46489 to support sed >= 4.2.1-20-ga9bf076.
46490 * configure: Regenerated.
46491
46492 2012-08-22 Roland McGrath <roland@hack.frob.com>
46493
46494 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46495 Conditionalize whole body on [IREL].
46496
46497 2012-08-22 Jeff Law <law@redhat.com>
46498
46499 [BZ #14505]
46500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46501 if the family is PF_UNSPEC.
46502
46503 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46504
46505 * Makerules (lib-version): Rename from V.
46506 (install-lib-nosubdir): Change V to lib-version.
46507
46508 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46509
46510 [BZ #14252]
46511 * powerpc32/power6/wcschr.c: New file.
46512 * powerpc32/power6/wcscpy.c: New file.
46513 * powerpc32/power6/wcsrchr.c: New file.
46514 * powerpc64/power6/wcschr.c: New file.
46515 * powerpc64/power6/wcscpy.c: New file.
46516 * powerpc64/power6/wcsrchr.c: New file.
46517
46518 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46519
46520 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46521 (two_way_short_needle): Use it.
46522 * string/strstr.c (AVAILABLE1_USES_J): Define.
46523 * string/strcasestr.c: Likewise.
46524
46525 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46526 array references.
46527 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46528
46529 [BZ #11607]
46530 * NEWS: Add an entry.
46531 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46532 define their defaults.
46533 (two_way_short_needle): Detect end-of-string on-the-fly.
46534 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46535 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46536 * string/bug-strcasestr1.c: New test.
46537 * string/Makefile: Run it.
46538
46539 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46540
46541 [BZ #11607]
46542 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46543 the first character.
46544
46545 2012-08-21 Roland McGrath <roland@hack.frob.com>
46546
46547 * csu/elf-init.c (__libc_csu_irel): Function removed.
46548 * csu/libc-start.c (apply_irel): New function.
46549 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46550
46551 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46552
46553 * sysdeps/unix/sysv/linux/kernel-features.h
46554 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46555 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46556 <kernel-features.h>.
46557 [__NR_fadvise64_64]: Make code unconditional.
46558 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46559 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46560 !__NR_fadvise64_64)]: Likewise.
46561 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46562 !__NR_fadvise64_64))]: Likewise.
46563 [__NR_fadvise64]: Make code unconditional.
46564 [!__NR_fadvise64]: Remove conditional code.
46565 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46566 <kernel-features.h>.
46567 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46568 unconditional.
46569 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46570 conditional code.
46571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46572 not include <kernel-features.h>.
46573 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46574 unconditional.
46575 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46576 conditional code.
46577 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46578 include <kernel-features.h>.
46579 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46580 unconditional.
46581 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46582 conditional code.
46583
46584 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46585
46586 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46587 slight instruction rearrangements per scrollpipe analysis.
46588 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46589
46590 2012-08-20 Roland McGrath <roland@hack.frob.com>
46591
46592 * manual/syslog.texi (syslog; vsyslog, closelog):
46593 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46594 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46595
46596 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46597 DSOCAPS to match condition on defining it.
46598
46599 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46600
46601 * sysdeps/unix/sysv/linux/kernel-features.h
46602 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46604 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46605 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46607 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46608 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46610 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46611 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46612
46613 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46614 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46615
46616 * sysdeps/unix/sysv/linux/kernel-features.h
46617 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46618 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46619 unconditional.
46620 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46621 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46622 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46623 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46624 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46625 Make code unconditional.
46626 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46627 (__mmap64) [!__NR_mmap2]: Likewise.
46628 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46629 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46630 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46631 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46632 [__NR_mmap2]: Make code unconditional.
46633 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46634 (__mmap64) [!__NR_mmap2]: Likewise.
46635
46636 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46637
46638 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46639
46640 2012-08-18 Andreas Jaeger <aj@suse.de>
46641
46642 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46643
46644 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46645
46646 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46647 * include/unistd.h (__have_sock_cloexec): Likewise.
46648 (__have_pipe2): Likewise.
46649 (__have_dup3): Likewise.
46650
46651 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46652
46653 [BZ #9685]
46654 * include/unistd.h (__have_pipe2): Change define into an extern int.
46655 (__have_dup3): Likewise.
46656 * socket/have_sock_cloexec.c: Include fcntl.h.
46657 (__have_pipe2): New variable.
46658 (__have_dup3): Likewise.
46659
46660 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46661
46662 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46663
46664 2012-08-17 Marek Polacek <polacek@redhat.com>
46665
46666 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46667 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46668
46669 2012-08-17 Roland McGrath <roland@hack.frob.com>
46670
46671 * configure.in: Add AC_SUBST for sysheaders.
46672 * configure: Regenerated.
46673 * config.make.in (sysheaders): New substituted variable.
46674
46675 * sysdeps/unix/mkfifo.c: Moved ...
46676 * sysdeps/posix/mkfifo.c: ... here.
46677 * sysdeps/unix/mkfifoat.c: Moved ...
46678 * sysdeps/posix/mkfifoat.c: ... here.
46679
46680 * sysdeps/unix/utime.c: Moved ...
46681 * sysdeps/posix/utime.c: ... here.
46682
46683 * sysdeps/unix/time.c: Moved ...
46684 * sysdeps/posix/time.c: ... here.
46685 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46686 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46687
46688 * sysdeps/unix/nice.c: Moved ...
46689 * sysdeps/posix/nice.c: ... here.
46690
46691 * sysdeps/unix/alarm.c: Moved ...
46692 * sysdeps/posix/alarm.c: ... here.
46693
46694 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46695
46696 2012-08-17 Jeff Law <law@redhat.com>
46697
46698 * intl/Makefile (codeset_mo): New variable.
46699 ($(codeset_mo)): New target.
46700 (tst-codeset.out): Depend on that. Remove explicit rule.
46701 (tst-gettext3.out, tst-gettext5.out): Likewise.
46702 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46703 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46704 * intl/tst-codeset.sh: Remove.
46705 * intl/tst-gettext3.sh: Likewise.
46706 * intl/tst-gettext5.sh: Likewise.
46707
46708 2012-08-17 Roland McGrath <roland@hack.frob.com>
46709
46710 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46711 * sysdeps/unix/syscalls.list: ... here.
46712
46713 * sysdeps/posix/getaddrinfo.c
46714 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46715 (gaiconf_init, gaiconf_reload): Use them.
46716 [!_STATBUF_ST_NSEC]
46717 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46718 Define using time_t rather than struct timespec.
46719
46720 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46721 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46722 Macros removed.
46723 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46724 [!NO_THREADS].
46725 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46726 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46727 Likewise.
46728
46729 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46730 __libc_cleanup_push argument.
46731
46732 * bits/param.h: New file.
46733 * misc/sys/param.h: New file.
46734 * include/sys/param.h: New file.
46735 * misc/Makefile (headers): Add bits/param.h.
46736 * sysdeps/generic/sys/param.h: File removed.
46737 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46738 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46739 * sysdeps/mach/hurd/bits/param.h: New file.
46740 * sysdeps/mach/hurd/sys/param.h: File removed.
46741
46742 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46743 last change.
46744
46745 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46746 [_IO_MTSAFE_IO].
46747 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46748 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46749 New macros.
46750
46751 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46752 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46753 rather than -D_IO_MTSAFE_IO conditionally.
46754 * stdio-common/Makefile (CPPFLAGS): Likewise.
46755 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46756 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46757 Use $(libio-mtsafe).
46758 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46759 of -D_IO_MTSAFE_IO.
46760 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46761 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46762 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46763 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46764 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46765 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46766 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46767 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46768 (CFLAGS-fread_u_chk.c): Likewise.
46769 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46770 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46771 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46772 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46773 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46774 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46775 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46776 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46777 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46778
46779 * libio/Makefile: Test [$(libc-reentrant) = yes]
46780 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46781
46782 * Makeconfig
46783 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46784 * sysdeps/pthread/configure: File removed.
46785 * sysdeps/pthread/Makeconfig: New file.
46786 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46787 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46788
46789 2012-08-16 Gary Benson <gbenson@redhat.com>
46790
46791 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46792 unmapping the first object in a namespace.
46793
46794 2012-08-16 Roland McGrath <roland@hack.frob.com>
46795
46796 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46797 (__internal_setnetgrent): ... this. Add internal_function to
46798 definition. Add libc_hidden_def.
46799 (setnetgrent): Update caller.
46800 (internal_endnetgrent): Renamed to ...
46801 (__internal_endnetgrent): ... this. Add internal_function to
46802 definition. Add libc_hidden_def.
46803 (endnetgrent): Update caller.
46804 (internal_getnetgrent_r): Renamed to ...
46805 (__internal_getnetgrent_r): ... this. Add internal_function to
46806 definition. Add libc_hidden_def.
46807 (__getnetgrent_r): Update caller.
46808 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
46809
46810 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46811
46812 * stdlib/longlong.h: Update from GCC.
46813
46814 2012-08-16 Roland McGrath <roland@hack.frob.com>
46815
46816 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46817 on _QL, which is set by umul_ppmm but never used.
46818 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46819 variables, which are set by GMP macros but never used.
46820 * stdio-common/_itowa.c (_itowa): Likewise.
46821 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46822 * stdlib/mod_1.c (mpn_mod_1): Likewise.
46823
46824 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
46825
46826 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46827 struct La_sh_regs is not constant.
46828 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46829 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46830 and struct La_sparc64_regs are not constant.
46831
46832 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46833
46834 * sysdeps/unix/sysv/linux/kernel-features.h
46835 (__ASSUME_POSIX_TIMERS): Remove.
46836 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46838 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46839 Make code unconditional.
46840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46841 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46842 Make code unconditional.
46843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46844 * sysdeps/unix/sysv/linux/clock_nanosleep.c
46845 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46847 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46848 Make code unconditional.
46849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46850 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46851 (__libc_missing_posix_timers): Remove.
46852
46853 2012-08-15 Roland McGrath <roland@hack.frob.com>
46854
46855 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46856 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46857
46858 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46859
46860 * elf/dl-sym.c: Include <stdlib.h>.
46861
46862 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46863 constants, which avoids warnings in 32-bit builds.
46864
46865 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46866 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46867
46868 * misc/lseek.c: File moved to ...
46869 * io/lseek.c: ... here.
46870
46871 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46872
46873 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46874 shifting LEN more than 31 bits at once.
46875
46876 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46877
46878 [BZ #14195]
46879 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46880 segmentation fault for a case of two empty input strings.
46881 * string/test-strncasecmp.c (check1): Renamed to...
46882 (bz12205): ...this.
46883 (bz14195): Add new testcase for two empty input strings and N > 0.
46884 (test_main): Call new testcase, adapt for renamed function.
46885
46886 2012-08-15 Andreas Jaeger <aj@suse.de>
46887
46888 [BZ #14090]
46889 * crypt/md5test2.c: New test, based on test supplied by Serge
46890 Belyshev <belyshev@depni.sinp.msu.ru>.
46891 * crypt/Makefile (xtests): Add md5test-giant..
46892 * crypt/Makefile ($(objpfx)md5test-giant): Add.
46893
46894 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
46895
46896 [BZ #14090]
46897 * crypt/md5.c (md5_process_block): Don't assume the buffer
46898 length is less than 2**32.
46899 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46900 length is less than 2**64.
46901
46902 2012-08-15 Roland McGrath <roland@hack.frob.com>
46903
46904 * string/str-two-way.h: Include <sys/param.h>.
46905 (MAX): Macro removed.
46906
46907 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46908 Move #define and #undef of memmove to just before and after
46909 including <string.h>.
46910
46911 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46912 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46913 and after including <string.h>. Move declarations of
46914 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46915 to before #include "string/memmove.c".
46916
46917 * include/dirent.h: Declare __getdirentries.
46918
46919 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46920 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46921
46922 2012-08-14 Mike Frysinger <vapier@gentoo.org>
46923
46924 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46925 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46926 * sysdeps/i386/configure: Regenerated.
46927 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46928 STABS_CURRENT_FILE, and STABS_FUN.
46929 (END): Remove call to STABS_FUN_END.
46930 (STABS_CURRENT_FILE1): Delete.
46931 (STABS_CURRENT_FILE): Likewise.
46932 (STABS_FUN): Likewise.
46933 (STABS_FUN_END): Likewise.
46934 (STABS_FUN2): Likewise.
46935 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46936 * sysdeps/x86_64/configure: Regenerated.
46937
46938 2012-08-14 Roland McGrath <roland@hack.frob.com>
46939
46940 * elf/dl-open.c: Include <atomic.h>.
46941 * elf/dl-lookup.c: Likewise.
46942
46943 2012-08-14 Joseph Myers <joseph@codesourcery.com>
46944
46945 * sysdeps/unix/sysv/linux/kernel-features.h
46946 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46947 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46948 unconditionally.
46949 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46950 unconditionally.
46951 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46952 condition on __ASSUME_CLONE_THREAD_FLAGS.
46953
46954 2012-08-14 Andreas Jaeger <aj@suse.de>
46955
46956 * sysdeps/i386/fpu/libm-test-ulps: Update.
46957
46958 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
46959
46960 * include/atomic.h (atomic_exchange_and_add): Split into ...
46961 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46962 New atomic macros.
46963
46964 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
46965
46966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46967
46968 2012-08-13 Jeff Law <law@redhat.com>
46969
46970 * manual/stdio.texi (snprintf): Clarify handling of the trailing
46971 null byte in the output string.
46972
46973 2012-08-10 Joseph Myers <joseph@codesourcery.com>
46974
46975 * sysdeps/unix/sysv/linux/kernel-features.h
46976 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46977 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46978 (__ASSUME_ARG_MAX_STACK_BASED): Define.
46979 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46980 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46981 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
46982 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46983
46984 2012-08-09 Jeff Law <law@redhat.com>
46985
46986 [BZ #13939]
46987 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46988 When avoid_arena is set, don't retry in the that arena. Pick the
46989 next one, whatever it might be.
46990 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46991 (arena_lock): Pass in new parameter to arena_get2.
46992 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46993 arena_get2.
46994 (__libc_malloc): Unify retrying after main arena failure with
46995 __libc_memalign version.
46996 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46997
46998 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
46999
47000 [BZ #14166]
47001 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47002 to __redirect_strstr.
47003 (__strstr_sse42): Use typeof __redirect_strstr.
47004 (__strstr_ia32): Likewise.
47005 (__libc_strstr): New prototype.
47006 (strstr): Renamed to ...
47007 (__libc_strstr): This.
47008 (strstr): New strong alias of __libc_strstr.
47009 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47010 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47011 __redirect_time.
47012 Include <time.h>.
47013 (__libc_time): New prototype.
47014 (time_ifunc): Replace time with __libc_time.
47015 (time): New strong alias and hidden definition of __libc_time.
47016 (__GI_time): Remove strong alias.
47017 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47018 Include <stddef.h>.
47019 (memmove): Redefined to __redirect_memmove.
47020 (__memmove_sse2): Use typeof __redirect_memmove.
47021 (__memmove_ssse3): Likewise.
47022 (__memmove_ssse3_back): Likewise.
47023 (__libc_memmove): New prototype.
47024 (memmove): Renamed to ...
47025 (__libc_memmove): This.
47026 (memmove): New strong alias of __libc_memmove.
47027
47028 2012-08-08 Mark Salter <msalter@redhat.com>
47029
47030 * elf/elf.h
47031 (R_MN10300_TLS_GD): Define.
47032 (R_MN10300_TLS_LD): Likewise.
47033 (R_MN10300_TLS_LDO): Likewise.
47034 (R_MN10300_TLS_GOTIE): Likewise.
47035 (R_MN10300_TLS_IE): Likewise.
47036 (R_MN10300_TLS_LE): Likewise.
47037 (R_MN10300_TLS_DTPMOD): Likewise.
47038 (R_MN10300_TLS_DTPOFF): Likewise.
47039 (R_MN10300_TLS_TPOFF): Likewise.
47040 (R_MN10300_SYM_DIFF): Likewise.
47041 (R_MN10300_ALIGN): Likewise.
47042 (R_MN10300_NUM): Update.
47043
47044 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47045
47046 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47047 Remove.
47048
47049 2012-08-08 Roland McGrath <roland@hack.frob.com>
47050
47051 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47052
47053 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47054 sysdeps/unix -> sysdeps/posix move.
47055 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47056
47057 2012-08-07 Allan McRae <allan@archlinux.org>
47058
47059 [BZ #14303]
47060 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47061 (SUNOS_CPP): Likewise.
47062 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47063 not found.
47064 (open_input): Call CPP using execvp.
47065
47066 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47067
47068 * sysdeps/unix/sysv/linux/kernel-features.h
47069 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47070 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47071 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47072 (__ASSUME_WAITID_SYSCALL): Likewise.
47073 * sysdeps/unix/sysv/linux/dl-execstack.c
47074 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47075 code unconditional.
47076 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47077 conditional code.
47078 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47079 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47080 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47081 code.
47082 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47083 unconditional.
47084 [__ASSUME_WAITID_SYSCALL]: Likewise.
47085 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47086
47087 2012-08-07 Roland McGrath <roland@hack.frob.com>
47088
47089 * sysdeps/unix/closedir.c: Renamed to ...
47090 * sysdeps/posix/closedir.c: ... here.
47091 * sysdeps/unix/dirfd.c: Renamed to ...
47092 * sysdeps/posix/dirfd.c: ... here.
47093 * sysdeps/unix/dirstream.h: Renamed to ...
47094 * sysdeps/posix/dirstream.h: ... here.
47095 * sysdeps/unix/fdopendir.c: Renamed to ...
47096 * sysdeps/posix/fdopendir.c: ... here.
47097 * sysdeps/unix/opendir.c: Renamed to ...
47098 * sysdeps/posix/opendir.c: ... here.
47099 * sysdeps/unix/readdir.c: Renamed to ...
47100 * sysdeps/posix/readdir.c: ... here.
47101 * sysdeps/unix/readdir_r.c: Renamed to ...
47102 * sysdeps/posix/readdir_r.c: ... here.
47103 * sysdeps/unix/rewinddir.c: Renamed to ...
47104 * sysdeps/posix/rewinddir.c: ... here.
47105 * sysdeps/unix/seekdir.c: Renamed to ...
47106 * sysdeps/posix/seekdir.c: ... here.
47107 * sysdeps/unix/telldir.c: Renamed to ...
47108 * sysdeps/posix/telldir.c: ... here.
47109 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47110 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47111 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47112 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47113
47114 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47115 * bits/fcntl.h: ... here.
47116
47117 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47118 not 0.
47119 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47120 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47121 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47122 (struct flock): Move l_start, l_len to the beginning.
47123 Use __pid_t for l_pid.
47124 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47125 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47126 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47127 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47128 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47129 [__USE_LARGEFILE64] (struct flock64): New type.
47130 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47131
47132 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47133 * bits/dirent.h: ... here.
47134
47135 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47136 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47137
47138 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47139
47140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47141 Change from 2.6.0 to 2.6.16.
47142 * sysdeps/unix/sysv/linux/configure: Regenerated.
47143 * sysdeps/unix/sysv/linux/kernel-features.h
47144 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47145 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47146 version.
47147 (__ASSUME_UTIMES): Likewise.
47148 (__ASSUME_CLONE_STOPPED): Remove.
47149 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47150 architectures, not kernel version.
47151 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47152 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47153 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47154 (__ASSUME_WAITID_SYSCALL): Likewise.
47155 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47156 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47157 * README: State 2.6.16 as minimum Linux kernel version. Do not
47158 refer to older versions.
47159
47160 2012-08-06 Roland McGrath <roland@hack.frob.com>
47161
47162 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47163 Define alphasort64 as an alias.
47164 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47165 Define versionsort64 as an alias.
47166 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47167 Define scandir64 as an alias.
47168 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47169 Define scandirat64 as an alias.
47170 * dirent/alphasort64.c (alphasort64):
47171 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47172 * dirent/versionsort64.c: Likewise.
47173 * dirent/scandir64.c: Likewise.
47174 * dirent/scandirat64.c: Likewise.
47175 * sysdeps/wordsize-64/alphasort.c: File removed.
47176 * sysdeps/wordsize-64/alphasort64.c: File removed.
47177 * sysdeps/wordsize-64/scandir.c: File removed.
47178 * sysdeps/wordsize-64/scandir64.c: File removed.
47179 * sysdeps/wordsize-64/scandirat.c: File removed.
47180 * sysdeps/wordsize-64/scandirat64.c: File removed.
47181 * sysdeps/wordsize-64/versionsort.c: File removed.
47182 * sysdeps/wordsize-64/versionsort64.c: File removed.
47183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47184 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47186 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47188 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47190 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47191
47192 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47194 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47196 [defined __arch64__ || defined __sparcv9]
47197 (__INO_T_MATCHES_INO64_T): New macro.
47198 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47199 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47200 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47201 * sysdeps/unix/sysv/linux/bits/dirent.h
47202 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47203 (_DIRENT_MATCHES_DIRENT64): New macro.
47204
47205 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47206 Define lockf64 as an alias.
47207 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47208 Define fseeko64 as an alias.
47209 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47210 Define ftello64 as an alias.
47211 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47212 Define _IO_fgetpos64 and fgetpos64 as aliases.
47213 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47214 Define _IO_fsetpos64 and fsetpos64 as aliases.
47215 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47216 Conditionalize body on this.
47217 * libio/fseeko64.c: Likewise.
47218 * libio/ftello64.c: Likewise.
47219 * libio/iofgetpos64.c: Likewise.
47220 * libio/iofsetpos64.c: Likewise.
47221 * sysdeps/wordsize-64/lockf.c: File removed.
47222 * sysdeps/wordsize-64/lockf64.c: File removed.
47223 * sysdeps/wordsize-64/fseeko.c: File removed.
47224 * sysdeps/wordsize-64/fseeko64.c: File removed.
47225 * sysdeps/wordsize-64/ftello.c: File removed.
47226 * sysdeps/wordsize-64/ftello64.c: File removed.
47227 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47228 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47229 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47230 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47232 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47234 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47236 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47238 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47240 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47241
47242 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47244 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47246 [defined __arch64__ || defined __sparcv9]
47247 (__OFF_T_MATCHES_OFF64_T): New macro.
47248 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47249 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47251 (__OFF_T_MATCHES_OFF64_T): New macro.
47252
47253 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47254
47255 * stdlib/secure-getenv.c (__secure_getenv): Replace
47256 GLIBC_2_16 with GLIBC_2_17.
47257
47258 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47259
47260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47261 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47262
47263 2012-08-03 David S. Miller <davem@davemloft.net>
47264
47265 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47266
47267 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47268
47269 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47270 Remove.
47271 (__ASSUME_CORRECT_SI_PID): Likewise.
47272 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47273 (__ASSUME_TMPFS_NAME): Likewise.
47274 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47275 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47276 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47277 (HAVE_AUX_SECURE): Make definition unconditional.
47278 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47279 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47280
47281 2012-08-03 Roland McGrath <roland@hack.frob.com>
47282
47283 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47284 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47285 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47286 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47287 __eloop_threshold instead of SYMLOOP_MAX.
47288
47289 * sysdeps/generic/eloop-threshold.h: New file.
47290 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47291 of MAXSYMLINKS.
47292 * elf/chroot_canon.c (chroot_canon): Likewise.
47293
47294 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47295
47296 [BZ #13717]
47297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47298 Change to 2.6.0 everywhere.
47299 * sysdeps/unix/sysv/linux/configure: Regenerated.
47300 * sysdeps/unix/sysv/linux/kernel-features.h
47301 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47302 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47303 kernel versions.
47304 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47305 (__ASSUME_FUTEX_REQUEUE): Remove.
47306 (__ASSUME_STATFS64): Define unconditionally.
47307 (__ASSUME_AT_SECURE): Likewise.
47308 (__ASSUME_CORRECT_SI_PID): Likewise.
47309 (__ASSUME_TGKILL): Define without depending on kernel version for
47310 i386.
47311 (__ASSUME_UTIMES): Likewise.
47312 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47313 kernel version.
47314 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47315 (__ASSUME_TMPFS_NAME): Likewise.
47316 * README: Update reference to Linux kernel versions.
47317
47318 2012-08-02 Marek Polacek <polacek@redhat.com>
47319
47320 [BZ# 14150]
47321 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47322 libc_cv_asm_type_prefix with %.
47323 * configure: Regenerated.
47324 * include/libc-symbols.h: Remove comment about
47325 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47326 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47327 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47328 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47329 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47330 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47332 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47333 * elf/tst-unique2mod1.c: Likewise.
47334 * elf/tst-unique1mod2.c: Likewise.
47335 * elf/tst-unique1mod1.c: Likewise.
47336 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47337 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47338 Replace ASM_TYPE_DIRECTIVE with .type.
47339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47340 * sysdeps/i386/sysdep.h: Likewise.
47341 * sysdeps/x86_64/sysdep.h: Likewise.
47342 * sysdeps/sh/sysdep.h: Likewise.
47343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47344 Do not define ASM_TYPE_DIRECTIVE.
47345 * sysdeps/powerpc/sysdep.h: Likewise.
47346 * sysdeps/powerpc/powerpc32/sysdep.h:
47347 Replace ASM_TYPE_DIRECTIVE with .type.
47348 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47349 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47350 * sysdeps/i386/fpu/e_powf.S: Likewise.
47351 * sysdeps/i386/fpu/e_expl.S: Likewise.
47352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47353 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47354 * sysdeps/i386/fpu/e_pow.S: Likewise.
47355 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47357 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47358 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47359 * sysdeps/i386/fpu/e_log2.S: Likewise.
47360 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47361 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47362 * sysdeps/i386/fpu/e_powl.S: Likewise.
47363 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47364 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47365 * sysdeps/i386/fpu/e_logl.S: Likewise.
47366 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47367 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47368 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47370 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47371 * sysdeps/i386/fpu/e_log.S: Likewise.
47372 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47373 * sysdeps/i386/fpu/e_logf.S: Likewise.
47374 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47375 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47376 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47377 * sysdeps/i386/fpu/e_log10.S: Likewise.
47378 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47379 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47380 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47381 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47383 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47384 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47385 * sysdeps/i386/i686/strtok.S: Likewise.
47386 * sysdeps/i386/i386-mcount.S: Likewise.
47387 * sysdeps/i386/strtok.S: Likewise.
47388 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47389 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47391 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47392 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47393 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47394 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47395 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47396 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47397 * sysdeps/x86_64/_mcount.S: Likewise.
47398 * sysdeps/x86_64/strtok.S: Likewise.
47399 * sysdeps/sh/_mcount.S: Likewise.
47400
47401 2012-08-01 Roland McGrath <roland@hack.frob.com>
47402
47403 * libio/iofopen.c: Include <fcntl.h>.
47404 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47405 (_IO_fopen64, fopen64): Define as aliases.
47406 * libio/iofopen64.c: Include <fcntl.h>.
47407 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47408 Conditionalize body on this.
47409 * sysdeps/wordsize-64/iofopen.c: File removed.
47410 * sysdeps/wordsize-64/iofopen64.c: File removed.
47411
47412 2012-08-01 Marek Polacek <polacek@redhat.com>
47413
47414 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47415 Use dlfcn directly instead of a variable.
47416 (binfmt-subdir): Do not define.
47417 (dlfcn): Likewise.
47418
47419 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47420
47421 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47422 Remove all definitions.
47423 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47424 <kernel-features.h>.
47425 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47426 (miss_F_GETOWN_EX): Remove all definitions.
47427 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47428 macro definition.
47429 [!__ASSUME_FCNTL64]: Remove conditional code.
47430 [__ASSUME_FCNTL64]: Make code unconditional.
47431 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47432 <kernel-features.h>.
47433 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47434 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47435 (lockf64) [__NR_fcntl64]: Make code unconditional.
47436 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47437
47438 * sysdeps/unix/sysv/linux/kernel-features.h
47439 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47440 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47441 Make code unconditional.
47442 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47443 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47445 [__NR_vfork]: Make code unconditional.
47446 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47447 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47449 [__NR_vfork]: Make code unconditional.
47450 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47451 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47452
47453 2012-08-01 Roland McGrath <roland@hack.frob.com>
47454
47455 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47456 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47457
47458 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47459 Define mkstemp64 as an alias.
47460 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47461 Define mkstemps64 as an alias.
47462 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47463 Define mkostemp64 as an alias.
47464 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47465 Define mkostemps64 as an alias.
47466 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47467 Conditionalize body on this.
47468 * misc/mkostemp64.c: Likewise.
47469 * misc/mkostemps64.c: Likewise.
47470 * misc/mkstemps64.c: Likewise.
47471 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47472 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47473 * sysdeps/wordsize-64/mkostemp.c: File removed.
47474 * sysdeps/wordsize-64/mkstemp.c: File removed.
47475 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47477 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47478 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47479
47480 [BZ #14138]
47481 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47482 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47483 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47484 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47485
47486 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47487 compat_symbol macros from <shlib-compat.h> rather than the underlying
47488 default_symbol_version and symbol_version macros, so that DEFAULT
47489 lines in shlib-versions are respected.
47490 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47491
47492 2012-08-01 Florian Weimer <fweimer@redhat.com>
47493
47494 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47495 Declare with warn_unused_result.
47496 (setgid, setregid, setegid, setresgid): Likewise.
47497 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47498 Likewise.
47499 * WUR-REPORT: Remove set*id functions.
47500
47501 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47502
47503 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47504
47505 2012-07-31 Roland McGrath <roland@hack.frob.com>
47506
47507 [BZ #10191]
47508 * include/sys/socket.h (__libc_accept, __libc_accept4):
47509 Add attribute_hidden.
47510 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47511
47512 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47513 use of PTR_MANGLE.
47514 * inet/getnetgrent_r.c (setup): Likewise.
47515
47516 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47517
47518 2012-07-31 David S. Miller <davem@davemloft.net>
47519
47520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47521
47522 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47523
47524 [BZ #13629]
47525 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47526 value between 1.0 and 2.0 and smaller part has absolute value less
47527 than 1.0.
47528 * math/s_clog10.c (__clog10): Likewise.
47529 * math/s_clog10f.c (__clog10f): Likewise.
47530 * math/s_clog10l.c (__clog10l): Likewise.
47531 * math/s_clogf.c (__clogf): Likewise.
47532 * math/s_clogl.c (__clogl): Likewise.
47533 * math/libm-test.inc (clog_test): Add more tests.
47534 (clog10_test): Likewise.
47535 * sysdeps/i386/fpu/libm-test-ulps: Update.
47536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47537
47538 2012-07-31 Florian Weimer <fweimer@redhat.com>
47539
47540 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47541 Exit with zero in case no suitable GID is found, and write a
47542 message to standard error.
47543
47544 2012-07-30 Roland McGrath <roland@hack.frob.com>
47545
47546 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47547 rather than to 1.
47548 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47549 (MAXPATHLEN): Removed.
47550 (NOGROUP, NODEV): New macros.
47551 (setbit, clrbit, isset, isclr): New macros.
47552 (howmany, roundup, powerof2): New macros.
47553 (DEV_BSIZE): New macro.
47554
47555 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47556 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47557
47558 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47559 definition on [!__NO_LONG_DOUBLE_MATH].
47560
47561 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47562 PTR_MANGLE and PTR_DEMANGLE.
47563
47564 * socket/accept4.c (accept4): Rename to __libc_accept4.
47565 Define accept4 as a weak alias.
47566
47567 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47568 on [_DIRENT_HAVE_D_TYPE].
47569 * io/ftw.c (ftw_dir): Likewise.
47570
47571 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47572
47573 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47574
47575 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47576 Use the BSD numbers rather than the arbitrary ones we had.
47577 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47578 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47579 (SIGXCPU, SIGXFSZ): New macros.
47580 (_NSIG): Now 32.
47581
47582 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47583 initializer on [_LIBC_REENTRANT].
47584
47585 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47586 definitions inside [_POSIX_MAPPED_FILES].
47587
47588 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47589
47590 * dirent/opendir.c: Include <fcntl.h>.
47591
47592 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47593 (__libc_getspecific): Likewise.
47594 (__libc_key_create): Likewise.
47595
47596 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47597 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47598 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47599 (tmpfile64): Define as alias.
47600 * sysdeps/wordsize-64/tmpfile.c: File removed.
47601 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47603 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47604
47605 * stdio-common/vfscanf.c: Include <stdbool.h>.
47606 * nss/makedb.c: Likewise.
47607 * stdio-common/_i18n_number.h: Likewise.
47608 * argp/argp-help.c: Likewise.
47609 * posix/wordexp.c: Likewise.
47610 * sysdeps/posix/spawni.c: Likewise.
47611 * nss/nss_files/files-initgroups.c: Likewise.
47612 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47613 * nss/nss_files/files-initgroups.c: Likewise.
47614 * nss/nss_db/db-netgrp.c: Likewise.
47615 * nss/nss_db/db-initgroups.c: Likewise.
47616 * io/fchmodat.c: Include <sys/stat.h>.
47617
47618 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47619 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47620
47621 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47622 [HAVE_MMAP].
47623
47624 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47625 Add multiple inclusion protection.
47626
47627 2012-07-27 David S. Miller <davem@davemloft.net>
47628
47629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47630
47631 2012-07-27 Gary Benson <gbenson@redhat.com>
47632
47633 [BZ #14298]
47634 * elf/rtld.c: Include <stap-probe.h>.
47635 (dl_main): Added static probes "init_start" and "init_complete".
47636 * elf/dl-load.c: Include <stap-probe.h>.
47637 (lose): Take new parameter "nsid".
47638 Added static probe "map_failed".
47639 (_dl_map_object_from_fd): Pass namespace id to lose.
47640 Added static probe "map_start".
47641 (open_verify): Pass namespace id to lose.
47642 * elf/dl-open.c: Include <stap-probe.h>.
47643 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47644 and "reloc_complete".
47645 * elf/dl-close.c: Include <stap-probe.h>.
47646 (_dl_close_worker): Added static probes "unmap_start" and
47647 "unmap_complete".
47648 * elf/rtld-debugger-interface.txt: New file documenting the above.
47649
47650 2012-07-26 Roland McGrath <roland@hack.frob.com>
47651
47652 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47653 rather than a string variable.
47654 * sunrpc/rpc_main.c (h_output): Likewise.
47655 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47656
47657 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47658
47659 * inet/check_native.c: New file.
47660
47661 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47662
47663 [BZ #13629]
47664 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47665 if larger part has absolute value 1.0.
47666 * math/s_clog10.c (__clog10): Likewise.
47667 * math/s_clog10f.c (__clog10f): Likewise.
47668 * math/s_clog10l.c (__clog10l): Likewise.
47669 * math/s_clogf.c (__clogf): Likewise.
47670 * math/s_clogl.c (__clogl): Likewise.
47671 * math/libm-test.inc (clog_test): Add more tests.
47672 (clog10_test): Likewise.
47673 * sysdeps/i386/fpu/libm-test-ulps: Update.
47674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47675
47676 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47677 (pltexit): Likewise.
47678 (La_regs): Likewise.
47679 (La_retval): Likewise.
47680 (int_retval): Likewise.
47681 Update #error for removed macros to refer only to definitions in
47682 tst-audit.h.
47683 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47684 macro.
47685 (pltexit): Likewise.
47686 (La_regs): Likewise.
47687 (La_retval): Likewise.
47688 (int_retval): Likewise.
47689 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47690 macro.
47691 (pltexit): Likewise.
47692 (La_regs): Likewise.
47693 (La_retval): Likewise.
47694 (int_retval): Likewise.
47695 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47696 macro.
47697 (pltexit): Likewise.
47698 (La_regs): Likewise.
47699 (La_retval): Likewise.
47700 (int_retval): Likewise.
47701 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47702 macro.
47703 (pltexit): Likewise.
47704 (La_regs): Likewise.
47705 (La_retval): Likewise.
47706 (int_retval): Likewise.
47707 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47708 macro.
47709 (pltexit): Likewise.
47710 (La_regs): Likewise.
47711 (La_retval): Likewise.
47712 (int_retval): Likewise.
47713 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47714 macro.
47715 (pltexit): Likewise.
47716 (La_regs): Likewise.
47717 (La_retval): Likewise.
47718 (int_retval): Likewise.
47719 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47720 macro definitions in tst-audit.h.
47721 * sysdeps/i386/tst-audit.h: New file.
47722 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47723 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47724 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47725 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47726 * sysdeps/sh/tst-audit.h: Likewise.
47727 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47728 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47729 * sysdeps/x86_64/tst-audit.h: Likewise.
47730
47731 2012-07-26 Andreas Jaeger <aj@suse.de>
47732
47733 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47734 ptrace.
47735
47736 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47737 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47738 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47739 PTRACE_O_MASK.
47740 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47741 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47742 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47743
47744 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47745 value.
47746
47747 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47748 _sigsys.
47749 (si_call_addr, si_syscall, si_arch): Define new macro.
47750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47751 _sigsys.
47752 (si_call_addr, si_syscall, si_arch): Define new marcro.
47753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47754 _sigsys.
47755 (si_call_addr, si_syscall, si_arch): Define new macro.
47756 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47757 _sigsys.
47758 (si_call_addr, si_syscall, si_arch): Define new macro.
47759
47760 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47761
47762 [BZ #13717]
47763 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47764 Change to 2.4.21 where previously 2.4.1.
47765 * sysdeps/unix/sysv/linux/configure: Regenerated.
47766 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47767 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47768 Linux kernel version.
47769 (__ASSUME_STD_AUXV): Remove.
47770 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47771 kernel version.
47772 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47773 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47774 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47775 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47776 (__ASSUME_NETLINK_SUPPORT): Likewise.
47777 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47778 (__no_netlink_support): Remove conditional definition.
47779 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47780 Remove.
47781 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47782 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47783 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47784 (if_nameindex_ioctl): Remove.
47785 (if_nameindex_netlink): Do not handle __no_netlink_support.
47786 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47787 code.
47788 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47789 Remove conditional code.
47790 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47791 code.
47792 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47793 unconditional.
47794 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47795 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47796 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47797 Remove.
47798 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47799 [!__ASSUME_STD_AUXV]: Remove conditional code.
47800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47801 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47802 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47804 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47805 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47806 code.
47807 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47809 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47810 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47811 conditional code.
47812 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47814 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47815 code.
47816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47817 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47818 conditional code.
47819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47820 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47821 code unconditional.
47822 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47823 conditional code.
47824 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47825 unconditional.
47826 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47827 conditional code.
47828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47829 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47830 unconditional.
47831 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47832 conditional code.
47833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47834 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47835 code unconditional.
47836 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47837 conditional code.
47838 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47839 unconditional.
47840 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47841 conditional code.
47842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47843 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47844 code unconditional.
47845 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47846 conditional code.
47847 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47848 unconditional.
47849 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47850 conditional code.
47851
47852 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
47853
47854 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47855 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47856 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47857 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47858 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47859 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47860 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47861 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47862 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47863 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47864 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47865 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47866 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47867 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47868 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47869 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47870 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47871 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47872 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47874 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47875 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47876 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47877
47878 2012-07-25 Florian Weimer <fweimer@redhat.com>
47879
47880 * Versions.def: Add GLIBC_2.17.
47881 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47882 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47883 Introduce __libc_secure_getenv.
47884 * stdlib/Versions (2.17): Add secure_getenv
47885 (GLIBC_PRIVATE): Add __libc_secure_getenv.
47886 * stdlib/secure-getenv.c: Rename __secure_getenv to
47887 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
47888 symbol __secure_getenv for GLIBC_2.0.
47889 * stdlib/tst-secure-getenv.c: New.
47890 * stdlib/Makefile (tests): Add testcase.
47891 * manual/startup.texi (Environment Access): Document
47892 secure_getenv.
47893 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47894 __libc_secure_getenv.
47895 * inet/ruserpass.c (ruserpass): Likewise.
47896 * malloc/mtrace.c (mtrace): Likewise.
47897 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47898 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47899 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47900 * sysdeps/posix/tempname.c: Likewise. Evaluate
47901 HAVE_SECURE_GETENV.
47902 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47903 __secure_getenv to __libc_secure_getenv.
47904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47906 Likewise.
47907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47908 Likewise.
47909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47916
47917 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47918
47919 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47920 (struct La_i86_retval): Likewise.
47921 (struct La_x86_64_regs): Likewise.
47922 (struct La_x86_64_retval): Likewise.
47923 (struct La_x32_regs): Likewise.
47924 (struct La_x32_retval): Likewise.
47925 (struct La_ppc32_regs): Likewise.
47926 (struct La_ppc32_retval): Likewise.
47927 (struct La_ppc64_regs): Likewise.
47928 (struct La_ppc64_retval): Likewise.
47929 (struct La_sh_regs): Likewise.
47930 (struct La_sh_retval): Likewise.
47931 (struct La_s390_32_regs): Likewise.
47932 (struct La_s390_32_retval): Likewise.
47933 (struct La_s390_64_regs): Likewise.
47934 (struct La_s390_64_retval): Likewise.
47935 (struct La_sparc32_regs): Likewise.
47936 (struct La_sparc32_retval): Likewise.
47937 (struct La_sparc64_regs): Likewise.
47938 (struct La_sparc64_retval): Likewise.
47939 (struct audit_ifaces): Remove architecture-specific pltenter and
47940 pltexit members.
47941 * sysdeps/i386/ldsodefs.h: New file.
47942 * sysdeps/powerpc/ldsodefs.h: Likewise.
47943 * sysdeps/s390/ldsodefs.h: Likewise.
47944 * sysdeps/sh/ldsodefs.h: Likewise.
47945 * sysdeps/sparc/ldsodefs.h: Likewise.
47946 * sysdeps/x86_64/ldsodefs.h: Likewise.
47947
47948 2012-07-25 Marek Polacek <polacek@redhat.com>
47949
47950 [BZ #6808]
47951 * math/libm-test.inc (yn_test): Add another test.
47952 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47953 to ERANGE when the result is +-Inf.
47954 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47955 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47956 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47957 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47958
47959 2012-07-24 Joseph Myers <joseph@codesourcery.com>
47960
47961 * conform/data/time.h-data (NULL): Use macro-constant. Require
47962 equal to 0.
47963 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
47964 clock_t.
47965 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
47966
47967 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
47968
47969 * configure.in <sysdeps resolving>: Correct printing
47970 Implies_before.
47971 * configure: Regenerate.
47972
47973 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
47974
47975 * math/w_ilogb.c: Include <limits.h>.
47976 * math/w_ilogbl.c: Likewise.
47977
47978 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47979
47980 * manual/lang.texi (__va_copy): Document primarily as ISO C99
47981 va_copy. Document allowing for unavailable va_copy only as
47982 pre-C99 compatibility.
47983 * manual/string.texi (Copying and Concatenation): Use va_copy
47984 instead of __va_copy in concat example.
47985
47986 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
47987
47988 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47989 (__sendto): Use create_address_port. Initialize APORT and deallocate
47990 it if not null.
47991
47992 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47993 with O_NOLINK passed to __file_name_lookup.
47994
47995 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47996 with O_NOLINK passed to __file_name_lookup.
47997
47998 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47999 negative N or less than NGIDS.
48000
48001 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48002 type to string_t. Set ERANGE as errno and return it if NAME is not big
48003 enough. Use memcpy instead of strncpy.
48004
48005 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48006
48007 * elf/Makefile (check-data): Remove.
48008 (localplt.data): New vpath directive.
48009 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48010 instead of $(check-data).
48011 * scripts/data/localplt-generic.data: Move to ...
48012 * sysdeps/generic/localplt.data: ... here.
48013 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48014 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48015 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48017 ... here.
48018 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48020 ... here.
48021 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48023 ... here.
48024 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48026 ... here.
48027 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48028 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48029 ... here.
48030 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48032 ... here.
48033
48034 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48035
48036 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48037 PPC32 and PPC64 files.
48038 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48039 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48040
48041 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48042
48043 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48044 __makecontext_ret to ...
48045 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48046 ... here and call exit if uc_link is NULL. New file.
48047 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48048 __makecontext_ret.S.
48049 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48050 __makecontext_ret to ...
48051 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48052 ... here and call exit if uc_link is NULL. New file.
48053 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48054 __makecontext_ret.S.
48055
48056 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48057
48058 * elf/elf.h (R_390_IRELATIVE): New definition.
48059 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48060 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48061 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48062 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48063 (elf_machine_lazy_rel): Likewise.
48064 * sysdeps/s390/dl-irel.h: New file.
48065 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48066 * sysdeps/s390/s390-64/memset.S: New asm code.
48067 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48068 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48069 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48070 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48071 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48072 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48073 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48074 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48075 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48076 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48077 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48078 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48079 * sysdeps/s390/s390-32/memset.S: New asm code.
48080 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48081
48082 2012-07-17 Marek Polacek <polacek@redhat.com>
48083
48084 [BZ #14349]
48085 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48086 * sysdeps/s390/s390-64/configure.in: Likewise.
48087 * sysdeps/sparc/configure.in: Likewise.
48088 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48089 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48090 * sysdeps/i386/configure.in: Likewise.
48091 * sysdeps/x86_64/configure.in: Likewise.
48092 * sysdeps/sh/configure.in: Likewise.
48093 * sysdeps/s390/s390-32/configure: Regenerated.
48094 * sysdeps/s390/s390-64/configure: Likewise.
48095 * sysdeps/x86_64/configure: Likewise.
48096 * sysdeps/sh/configure: Likewise.
48097 * sysdeps/powerpc/powerpc64/configure: Likewise.
48098 * sysdeps/powerpc/powerpc32/configure: Likewise.
48099 * sysdeps/sparc/configure: Likwise.
48100 * sysdeps/i386/configure: Likewise.
48101
48102 * elf/dl-open.c: Comment fixes.
48103
48104 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48105
48106 * Makefile [CXX] (check-data): Remove.
48107 [CXX] (c++-types.data): New vpath directive.
48108 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48109 vpath. Do not allow for C++ type data being missing.
48110 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48111 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48112 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48113 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48114 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48115 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48116 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48118 ... here.
48119 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48121 ... here.
48122 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48124 ... here.
48125 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48127 ... here.
48128 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48130 ... here.
48131 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48133 ... here.
48134 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48136 ... here.
48137 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48139
48140 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48141 definitions to architecture-specific files.
48142 (TLS_IE): Likewise.
48143 (TLS_LD): Likewise.
48144 (TLS_GD): Likewise.
48145 * sysdeps/i386/tls-macros.h: New file.
48146 * sysdeps/powerpc/tls-macros.h: Likewise.
48147 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48148 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48149 * sysdeps/sh/tls-macros.h: Likewise.
48150 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48151 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48152 * sysdeps/x86_64/tls-macros.h: Likewise.
48153
48154 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48155
48156 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48157 zero value for regular exit case.
48158
48159 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48160 (__start_context): Preserve zero value for regular exit case.
48161
48162 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48163 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48164
48165 * manual/setjmp.texi (setcontext): Clarify normal process
48166 termination when uc_link is the null pointer.
48167 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48168 exit call.
48169
48170 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48171
48172 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48173 preprocessor. Test for each exception mask separately.
48174
48175 2012-07-16 Andreas Jaeger <aj@suse.de>
48176
48177 * po/ru.po: Update from translation team.
48178
48179 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48180
48181 * conform/data/string.h-data (NULL): Use macro-constant. Require
48182 equal to 0.
48183 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48184 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48185 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48186 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48188
48189 2012-07-13 Andreas Jaeger <aj@suse.de>
48190
48191 * po/fr.po: Update from translation team.
48192
48193 2012-07-12 Marek Polacek <polacek@redhat.com>
48194
48195 [BZ #14173]
48196 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48197 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48198 loop condition.
48199
48200 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48201
48202 [BZ #13717]
48203 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48204 Change to 2.4.1 where previously 2.4.0.
48205 * sysdeps/unix/sysv/linux/configure: Regenerated.
48206 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48207 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48208 version.
48209 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48210 (__ASSUME_AT_CLKTCK): Remove.
48211 (__ASSUME_AT_PAGESIZE): Likewise.
48212 (__ASSUME_AT_XID): Likewise.
48213 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48214 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48215 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48216 unconditionally.
48217 (HAVE_AUX_PAGESIZE): Likewise.
48218 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48219 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48220 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48221
48222 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48223
48224 [BZ #14307]
48225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48226 the temporary buffer used to invoke __gethostbyname2_r,
48227 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48228 host_data / struct gaih_addrtuple.
48229 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48230 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48231 header file nss/nsswitch.h.
48232 * nss/nsswitch.h (global scope): Add definition of implementation
48233 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48234 resolv/nss_dns/dns-host.c).
48235
48236 2012-07-11 Andreas Jaeger <aj@suse.de>
48237
48238 * po/fr.po: Update from translation team.
48239
48240 * po/sv.po: Update from translation team
48241 * po/fr.po: Another update from translation team.
48242
48243 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48244
48245 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48246 for subnormals or multiply small sinh result by itself.
48247 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48249
48250 2012-07-11 David S. Miller <davem@davemloft.net>
48251
48252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48253
48254 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48255
48256 [BZ #14347]
48257 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48258 (INTERNAL_MARK): Shift it here.
48259
48260 2012-07-10 Marek Polacek <polacek@redhat.com>
48261
48262 [BZ #14151]
48263 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48264 libc_cv_asm_global_directive with .globl.
48265 * configure: Regenerated.
48266 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48267 with .globl.
48268 * sysdeps/i386/configure: Regenerated.
48269 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48270 with .globl.
48271 * sysdeps/x86_64/configure: Regenerated.
48272 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48273 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48274 * elf/tst-unique2mod2.c: Likewise.
48275 * elf/tst-unique2mod1.c: Likewise.
48276 * elf/tst-unique1mod2.c: Likewise.
48277 * elf/tst-unique1mod1.c: Likewise.
48278 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48279 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48281 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48282 * sysdeps/mach/sysdep.h: Likewise.
48283 * sysdeps/i386/sysdep.h: Likewise.
48284 * sysdeps/i386/i386-mcount.S: Likewise.
48285 * sysdeps/x86_64/_mcount.S: Likewise.
48286 * sysdeps/x86_64/sysdep.h: Likewise.
48287 * sysdeps/sh/_mcount.S: Likewise.
48288 * sysdeps/sh/sysdep.h: Likewise.
48289 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48290 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48291 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48292 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48293 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48294 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48295 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48296 * locale/localeinfo.h: Likewise.
48297 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48298 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48299
48300 2012-07-09 Roland McGrath <roland@hack.frob.com>
48301
48302 [BZ #14336]
48303 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48304 system".
48305 * manual/message.texi (The Uniforum approach): Likewise.
48306 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48307 (glibc iconv Implementation): Likewise.
48308
48309 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48310
48311 [BZ #14337]
48312 * math/s_clog.c (__clog): Avoid scaling a value down where that
48313 could result in underflow.
48314 * math/s_clog10.c (__clog10): Likewise.
48315 * math/s_clog10f.c (__clog10f): Likewise.
48316 * math/s_clog10l.c (__clog10l): Likewise.
48317 * math/s_clogf.c (__clogf): Likewise.
48318 * math/s_clogl.c (__clogl): Likewise.
48319 * math/libm-test.inc (clog_test): Add more tests.
48320 (clog10_test): Likewise.
48321 * sysdeps/i386/fpu/libm-test-ulps: Update.
48322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48323
48324 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48325
48326 [BZ #14283]
48327 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48328 by 7 not 8 to examine high bit of fractional part.
48329
48330 [BZ #14042]
48331 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48332 for call to __mcount_internal.
48333 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48334 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48335 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48336
48337 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48338
48339 [BZ #14154]
48340 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48341 approximation for values within 0x1p-13f of an odd multiple of
48342 pi/4.
48343 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48344 exception. Add more tests.
48345 * sysdeps/i386/fpu/libm-test-ulps: Update.
48346
48347 [BZ #6778]
48348 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48349 inputs and return -1 for them. Do not check for +Inf in case not
48350 reachable for +Inf.
48351 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48352 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48353 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48354 and return -1 for them. Do not check for +Inf in case not
48355 reachable for +Inf.
48356 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48357 define.
48358 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48359 and return -1 for them. Do not check for +Inf in case not
48360 reachable for +Inf.
48361 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48362 spurious underflow.
48363 * sysdeps/i386/fpu/libm-test-ulps: Update.
48364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48365
48366 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48367
48368 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48369
48370 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48371
48372 [BZ #14157]
48373 [BZ #14331]
48374 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48375 could result in spurious underflow. Scale down values above
48376 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48377 * math/s_csqrtf.c (__csqrtf): Likewise.
48378 * math/s_csqrtl.c (__csqrtl): Likewise.
48379 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48380 spurious underflow.
48381 * sysdeps/i386/fpu/libm-test-ulps: Update.
48382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48383
48384 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48385
48386 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48387 xopen-msg.sed.
48388 * catgets/xopen-msg.awk: New file.
48389 * catgets/xopen-msg.sed: Removed.
48390
48391 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48392 po2text.sed.
48393 * intl/po2test.awk: New file.
48394 * intl/po2test.sed: Removed.
48395
48396 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48397
48398 [BZ #14328]
48399 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48400 or multiply small sinh result by itself.
48401 * math/s_ctanf.c (__ctanf): Likewise.
48402 * math/s_ctanh.c (__ctanh): Likewise.
48403 * math/s_ctanhf.c (__ctanhf): Likewise.
48404 * math/s_ctanhl.c (__ctanhl): Likewise.
48405 * math/s_ctanl.c (__ctanl): Likewise.
48406 * math/libm-test.inc (ctan_test_tonearest): New function.
48407 (ctan_test_towardzero): Likewise.
48408 (ctan_test_downward): Likewise.
48409 (ctan_test_upward): Likewise.
48410 (ctanh_test_tonearest): Likewise.
48411 (ctanh_test_towardzero): Likewise.
48412 (ctanh_test_downward): Likewise.
48413 (ctanh_test_upward): Likewise.
48414 (main): Call these new functions.
48415 * sysdeps/i386/fpu/libm-test-ulps: Update.
48416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48417
48418 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48419
48420 * .gitignore: Delete /ports entry.
48421
48422 2012-07-03 Andreas Jaeger <aj@suse.de>
48423
48424 * po/bg.po: Update from translation team.
48425 * po/cs.po: Likewise.
48426 * po/de.po: Likewise.
48427 * po/hr.po: Likewise.
48428 * po/nl.pl: Likewise.
48429 * po/pl.po: Likewise.
48430 * po/vi.po: Likewise.
48431
48432 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48433
48434 * Makeconfig [!+link] (+link-before-libc): New variable.
48435 [!+link] (+link-after-libc): Likewise.
48436 [!+link] (+link-tests): Likewise.
48437 [!+link] (+link): Define in terms of $(+link-before-libc) and
48438 $(+link-after-libc).
48439 [!+link-static] (+link-static-before-libc): New variable.
48440 [!+link-static] (+link-static-after-libc): Likewise.
48441 [!+link-static] (+link-static-tests): Likewise.
48442 [!+link-static] (+link-static): Define in terms of
48443 $(+link-static-before-libc) and $(+link-static-after-libc).
48444 [build-shared] (link-libc-before-gnulib): New variable.
48445 [build-shared] (link-libc-tests): Likewise.
48446 [build-shared] (link-libc): Define in terms of
48447 $(link-libc-before-gnulib).
48448 [!build-shared] (link-libc-tests): New variable.
48449 (link-libc-static-tests): New variable.
48450 [!gnulib] (gnulib-arch): New variable.
48451 [!gnulib] (gnulib-tests): Likewise.
48452 [!gnulib] (static-gnulib-arch): Likewise.
48453 [!gnulib] (static-gnulib-tests): Likewise.
48454 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48455 Define with "=" instead of ":=".
48456 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48457 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48458 * Rules (binaries-all-notests): New variable.
48459 (binaries-all-tests): Likewise.
48460 (binaries-static-notests): Likewise.
48461 (binaries-static-tests): Likewise.
48462 (binaries-all): Define using $(binaries-all-notests) and
48463 $(binaries-all-tests).
48464 (binaries-static): Define using $(binaries-static-notests) and
48465 $(binaries-static-tests).
48466 (binaries-shared-tests): New variable.
48467 (binaries-shared-notests): Likewise.
48468 (binaries-shared): Remove variable.
48469 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48470 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48471 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48472 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48473 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48474 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48475 * elf/Makefile (sln-modules): New variable.
48476 (extra-objs): Add $(sln-modules:=.o).
48477 (ldconfig-modules): Add static-stubs.
48478 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48479 * elf/static-stubs.c: New file.
48480
48481 [BZ #14283]
48482 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48483 by 7 not 8 to examine high bit of fractional part. Use volatile
48484 variables when splitting into final array of floats if
48485 __FLT_EVAL_METHOD__ != 0.
48486 * math/libm-test.inc (cos_test): Add another test.
48487 (sin_test): Likewise.
48488 * sysdeps/i386/fpu/libm-test-ulps: Update.
48489
48490 [BZ #14273]
48491 * math/libm-test.inc (cosh_test): Add more tests.
48492
48493 * version.h (RELEASE): Set to "development".
48494 (VERSION): Set to "2.16.90".
48495
48496 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48497
48498 * NEWS: Update copyright. Remove last-updated date.
48499 Mention math library bug fixes and timezone data changes.
48500 * README: Mention GNU/Hurd, x32, and HPPA support status.
48501
48502 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48503
48504 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48505
48506 2012-06-27 Andreas Jaeger <aj@suse.de>
48507
48508 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48509
48510 2012-06-25 Andreas Jaeger <aj@suse.de>
48511
48512 * sysdeps/s390/fpu/libm-test-ulps: Update.
48513
48514 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48515 Thomas Schwinge <thomas@codesourcery.com>
48516
48517 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48518 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48519 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48520 fanotify_mark.
48521
48522 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48523
48524 * sysdeps/mach/start.c: Remove file.
48525 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48526 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48527 * sysdeps/sh/init-first.c: Likewise.
48528
48529 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48530 registers for frame unwinding purposes, add CFI directives.
48531 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48532 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48533 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48534 Likewise.
48535
48536 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48537 __fortify_fail returning.
48538 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48539
48540 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48541 sysdeps/sh/____longjmp_chk.S.
48542 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48543 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48544 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48545 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48546
48547 * sysdeps/sh/abort-instr.h: New file.
48548 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48549 process in case exit returns.
48550
48551 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48552 initialize the GOT register before use.
48553
48554 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48555 calculation of ARGC > 4.
48556
48557 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48558 meaningful names to some local labels.
48559
48560 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48561 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48562
48563 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48564 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48565 (__arch_compare_and_exchange_val_16_acq): Likewise.
48566 (__arch_compare_and_exchange_val_32_acq): Likewise.
48567 (atomic_exchange_and_add): Fix gUSA sequence.
48568 (atomic_add): Likewise.
48569 (atomic_add_negative): Likewise.
48570 (atomic_add_zero): Likewise.
48571 (atomic_bit_test_set): Likewise.
48572
48573 2012-06-22 Andreas Schwab <schwab@redhat.com>
48574
48575 [BZ #13579]
48576 * include/link.h (struct link_map): Add l_free_initfini.
48577 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48578 l_initfini.
48579 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48580 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48581 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48582 set.
48583
48584 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48585
48586 * configure.in: Use AC_LANG_SOURCE.
48587 * configure: Regenerate.
48588
48589 2012-06-22 Roland McGrath <roland@hack.frob.com>
48590
48591 * configure.in (libc_cv_localstatedir): New substituted variable.
48592 * configure: Regenerated.
48593 * config.make.in (localstatedir): New variable, substituted from
48594 libc_cv_localstatedir.
48595 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48596 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48597 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48598 * sysdeps/gnu/configure: Regenerated.
48599
48600 2012-06-21 Jeff Law <law@redhat.com>
48601
48602 [BZ #14277]
48603 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48604 free. Simplify list management for _LIBC case.
48605
48606 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48607
48608 [BZ #14273]
48609 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48610 Clear sign bit of 64-bit integer value before comparing against
48611 overflow value.
48612
48613 * sysdeps/mach/configure: Regenerated.
48614
48615 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48616
48617 [BZ #14278]
48618 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48619
48620 2012-06-21 Jeff Law <law@redhat.com>
48621
48622 [BZ #13882]
48623 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48624 uint16_t for elements in the "seen" array to avoid char overflows.
48625 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48626 * elf/dl-open.c (dl_open_worker): Likewise.
48627
48628 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48629
48630 * scripts/list-sources.sh: Scan PORTS for translations.
48631 * po/libc.pot: Regenerated.
48632
48633 2012-06-21 Andreas Jaeger <aj@suse.de>
48634
48635 [BZ #12194]
48636 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48637 warning.
48638 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48639 * bits/byteswap-16.h (__bswap_16): Likewise.
48640 * bits/byteswap.h (__bswap_constant_16): Likewise.
48641
48642 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48643
48644 [BZ #14117]
48645 * sysdeps/i386/fpu_control.h: Removed.
48646 * sysdeps/x86_64/fpu_control.h: Moved to ...
48647 * sysdeps/x86/fpu_control.h: Here.
48648
48649 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48650 (_FPU_SETCW): Likewise.
48651
48652 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48653
48654 [BZ #14117]
48655 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48656 * sysdeps/x86/fpu/bits/mathinline.h: This.
48657 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48658
48659 [BZ #14050]
48660 [BZ #14117]
48661 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48662 functions if __x86_64__ is defined.
48663
48664 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48665
48666 * string/endian.h: Add !__ASSEMBLER__ condition for including
48667 conversion interfaces.
48668
48669 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48670
48671 [BZ #14241]
48672 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48673 of ABS(x) in calculating zero to negative powers other than odd
48674 integers.
48675 * math/libm-test.inc (pow_test): Add more tests.
48676
48677 2012-06-15 Andreas Jaeger <aj@suse.de>
48678
48679 * manual/contrib.texi (Contributors): Update entry of Liubov
48680 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48681 Machado Filho.
48682
48683 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48684
48685 * string/string.h: Add __wur to GNU version of strerror_r.
48686
48687 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48688
48689 [BZ #14229]
48690 * string/Makefile (tests): Add tst-strtok_r.
48691 * string/tst-strtok_r.c: New file.
48692 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48693 RAX_LP/RDX_LP on SAVE_PTR.
48694
48695 2012-06-14 Roland McGrath <roland@hack.frob.com>
48696
48697 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48698
48699 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48700
48701 * libm_test.inc (csqrt_test): Allow more spurious underflow
48702 exceptions.
48703 (j0_test): Likewise.
48704 (j1_test): Likewise.
48705 (y0_test): Likewise.
48706 (y1_test): Likewise.
48707
48708 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48709
48710 * po/Makefile (libc.pot): Use UTF-8 charset.
48711
48712 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48713
48714 [BZ #14210]
48715 Suppress sign-conversion warning from FD_SET.
48716 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48717 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48718 not unsigned long int.
48719 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48720
48721 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48722
48723 [BZ #14050]
48724 [BZ #14117]
48725 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48726 __extern_always_inline instead of __extern_inline.
48727 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48728 (__signbit): Likewise.
48729 (__signbitl): Support C++ namespace.
48730 (lrintf): New inline function.
48731 (lrint): Likewise.
48732 (llrintf): Likewise.
48733 (llrint): Likewise.
48734 (fmaxf): Likewise.
48735 (fmax): Likewise.
48736 (fminf): Likewise.
48737 (fmin): Likewise.
48738 (rint): Likewise.
48739 (rintf): Likewise.
48740 (ceil): Likewise.
48741 (ceilf): Likewise.
48742 (floor): Likewise.
48743 (floorf): Likewise.
48744 (nearbyint): Likewise.
48745 (nearbyintf): Likewise.
48746
48747 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48748
48749 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48750 non-default versions.
48751
48752 2012-06-11 Roland McGrath <roland@hack.frob.com>
48753
48754 [BZ #14218]
48755 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48756
48757 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48758
48759 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48760 (FE_UPWARD, FE_DOWNWARD): Don't define.
48761 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48762 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48763
48764 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48765 reading it.
48766 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48767 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48768
48769 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48770
48771 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48772 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48773 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48774 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48775
48776 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48777
48778 [BZ #14117]
48779 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48780 * sysdeps/i386/fpu/Implies: New file.
48781 * sysdeps/x86_64/fpu/Implies: Likewise.
48782 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48783 * sysdeps/x86/fpu/bits/fenv.h: This.
48784
48785 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48786 __SSE_MATH__.
48787
48788 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48789
48790 [BZ #14134]
48791 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48792 character 0xffff that matches the last element of the
48793 conversion table.
48794
48795 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48796
48797 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48798 fmodl commit.
48799
48800 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48801
48802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48803 values higher than 25.6283.
48804
48805 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48806
48807 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48808 subnormal exponent extraction and add some __builtin_expect.
48809 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48810 Fix for subnormal mantissa calculation.
48811
48812 2012-06-04 Mike Frysinger <vapier@gentoo.org>
48813
48814 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48815 cpu2 is -1 and errno is not ENOSYS.
48816
48817 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
48818
48819 [BZ #14117]
48820 * sysdeps/i386/i486/bits/string.h: Renamed to ...
48821 * sysdeps/x86/bits/string.h: This.
48822 * sysdeps/x86_64/bits/string.h: Removed.
48823
48824 * sysdeps/i386/i486/bits/string.h: Define inline functions only
48825 if not compiling for x86-64, but compiling for >= i486.
48826
48827 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48828 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48829
48830 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48831 New macro from Linux kernel 3.4.0.
48832 (FP_XSTATE_MAGIC2): Likewise.
48833 (FP_XSTATE_MAGIC2_SIZE): Likewise.
48834 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48835 (struct _fpx_sw_bytes): New struct.
48836 (struct _xsave_hdr): Likewise.
48837 (struct _ymmh_state): Likewise.
48838 (struct _xstate): Likewise.
48839
48840 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48841 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48842 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48843 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48844 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48845 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48846
48847 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48848 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48849 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48850 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48851 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48852 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48853
48854 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48855
48856 [BZ #13743]
48857 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48858 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48859 (sysdep_headers): Include sys/platform/ppc.h.
48860 * sysdeps/powerpc/test-gettimebase.c: Test for
48861 __ppc_get_timebase() to catch future ISA opcode/insn changes.
48862 * manual/Makefile (appendices): Include platform.texi.
48863 * manual/contrib.texi (Contributors): Update @node pointers.
48864 * manual/maint.texi (Maintenance): Likewise.
48865 (Platform): New node.
48866 * manual/platform.texi: New file. Document the new features.
48867
48868 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48869 Jakub Jelinek <jakub@redhat.com>
48870
48871 [BZ #14188]
48872 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48873 where __builtin_expect is unavailable.
48874
48875 2012-06-03 David S. Miller <davem@davemloft.net>
48876
48877 * stdlib/longlong.h: Updated from GCC.
48878
48879 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
48880
48881 [BZ #14042]
48882 * sysdeps/powerpc/powerpc32/mcount.c: New file.
48883 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48884 __mcount_internal.
48885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48886 (GLIBC_2.16): Likewise.
48887
48888 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48889
48890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48891
48892 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48893
48894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48895 (default-abi): New variable.
48896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48897 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48898 variable.
48899 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48900 Likewise.
48901 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48902 Likewise.
48903 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48904 Likewise.
48905
48906 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48907 definition. Document in comment.
48908
48909 2012-06-01 David S. Miller <davem@davemloft.net>
48910
48911 * stdlib/longlong.h: Updated from GCC.
48912
48913 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48914
48915 [BZ #14117]
48916 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48917 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48918 sys/debugreg.h sys/io.h here.
48919 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48920 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48921 sys/io.h.
48922 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48923 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48924 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48925 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48926 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48927 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48928
48929 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48930 Define only if __x86_64__ is defined.
48931
48932 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48933
48934 [BZ #14048]
48935 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48936 Use int64_t for variable i.
48937 * math/libm-test.inc (fmod_test): Add more tests.
48938
48939 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48940 z computation is not scheduled after fetestexcept.
48941 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48942 Use math_force_eval instead of asm to ensure calculation scheduled
48943 before exception test.
48944 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48945 Ensure a1 + u.d computation is not scheduled after fetestexcept.
48946
48947 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
48948
48949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48950 computation is not scheduled after fetestexcept.
48951
48952 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48953
48954 [BZ #14117]
48955 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48956 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48957
48958 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48959
48960 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48961 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48962
48963 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48964
48965 [BZ #14117]
48966 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48967 <bits/wordsize.h>.
48968 (__WCHAR_MIN): Support __WORDSIZE == 64.
48969 (__WCHAR_MAX): Likewise.
48970
48971 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48972 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48973
48974 [BZ #14183]
48975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48976 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48977
48978 [BZ #14117]
48979 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48980 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48981
48982 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48983 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48984
48985 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48986 Defined to 1 if __x86_64__ isn't defined.
48987 (_STAT_VER_LINUX_OLD): New.
48988 (st_atime): Remove duplicate.
48989 (st_mtime): Likewise.
48990 (st_ctime): Likewise.
48991
48992 2012-05-31 David S. Miller <davem@davemloft.net>
48993
48994 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48995 entries.
48996
48997 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
48998
48999 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49000 gen-libm-test.pl.
49001
49002 [BZ #14132]
49003 * elf/dl-reloc.c: Include <_itoa.h>.
49004 (_dl_reloc_bad_type): Remove use of INTUSE.
49005 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49006 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49007 * stdio-common/psiginfo.c (psiginfo): Likewise.
49008 * stdio-common/psignal.c (psignal): Likewise.
49009 * string/strsignal.c (strsignal): Likewise.
49010 * include/signal.h (_sys_siglist): Declare hidden proto.
49011 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49012 INTVARDEF with libc_hidden_data_def.
49013 * stdio-common/itoa-udigits.c: Likewise.
49014 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49015 (_itoa_lower_digits_internal): Remove declaration.
49016 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49017 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49018 (_sys_sigabbrev_internal): Remove aliases.
49019 (_sys_siglist): Define hidden alias.
49020
49021 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49022
49023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49024 bits/sysctl.h.
49025
49026 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49027
49028 [BZ #14117]
49029 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49030 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49031
49032 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49033 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49034 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49035 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49037 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49038
49039 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49040 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49041 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49042
49043 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49044 with __addr.
49045 (insw): Likewise.
49046 (insl): Likewise.
49047 (outsb): Likewise.
49048 (outsw): Likewise.
49049 (outsl): Likewise.
49050
49051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49052 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49053 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49054
49055 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49056 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49058 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49059 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49060 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49061
49062 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49063 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49064
49065 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49066 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49067
49068 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49070 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49071
49072 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49073 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49074 to ...
49075 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49076
49077 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49078 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49079 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49080
49081 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49082 for x86-64.
49083 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49084
49085 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49086
49087 * math/math.h (M_El): Use two more decimal places.
49088 (M_LOG2El): Likewise.
49089 (M_LOG10El): Likewise.
49090 (M_LN2l): Likewise.
49091 (M_LN10l): Likewise.
49092 (M_PIl): Likewise.
49093 (M_PI_2l): Likewise.
49094 (M_PI_4l): Likewise.
49095 (M_1_PIl): Likewise.
49096 (M_2_PIl): Likewise.
49097 (M_2_SQRTPIl): Likewise.
49098 (M_SQRT2l): Likewise.
49099 (M_SQRT1_2l): Likewise.
49100
49101 2012-05-31 David S. Miller <davem@davemloft.net>
49102
49103 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49104 values between float registers.
49105 * sysdeps/sparc/sparc64/memset.S: Likewise.
49106 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49107
49108 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49109
49110 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49111 -D_FORTIFY_SOURCE=1.
49112 (CPPFLAGS-tst-longjmp_chk.c): Define.
49113 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49114 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49115 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49116 CFLAGS-tst-wchar-h.c.
49117
49118 2012-05-31 Marek Polacek <polacek@redhat.com>
49119
49120 [BZ #14132]
49121 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49122 __endmntent_internal): Remove declaration.
49123 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49124 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49125 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49126
49127 2012-05-30 David S. Miller <davem@davemloft.net>
49128
49129 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49130 (___Q_simulate_exceptions): Use real FP ops rather than writing
49131 into the %fsr.
49132 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49133 Likewise.
49134
49135 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49136
49137 [BZ #14117]
49138 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49139 * sysdeps/x86/bits/xtitypes.h: This.
49140
49141 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49142 * sysdeps/x86/bits/wordsize.h: This.
49143
49144 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49145 * sysdeps/x86/bits/huge_vall.h: This.
49146
49147 * sysdeps/i386/bits/select.h: Removed.
49148 * sysdeps/x86_64/bits/select.h: Renamed to ...
49149 * sysdeps/x86/bits/select.h: This.
49150
49151 * sysdeps/i386/bits/setjmp.h: Removed.
49152 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49153 * sysdeps/x86/bits/setjmp.h: This.
49154
49155 * sysdeps/i386/bits/mathdef.h: Removed.
49156 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49157 * sysdeps/x86/bits/mathdef.h: This.
49158
49159 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49160
49161 [BZ #14132]
49162 * include/sys/socket.h (__connect_internal)
49163 (__libc_sa_len_internal): Remove declaration.
49164 (__connect, __libc_sa_len): Declare hidden_proto.
49165 (SA_LEN): Remove use of INTUSE.
49166 * socket/connect.c: Add libc_hidden_def.
49167 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49168 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49169 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49170 alias.
49171 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49172 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49173 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49174 of adding _internal alias.
49175
49176 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49177
49178 [BZ #14117]
49179 * sysdeps/i386/bits/link.h: Removed.
49180 * sysdeps/i386/bits/linkmap.h: Likewise.
49181 * sysdeps/x86_64/bits/link.h: Renamed to ...
49182 * sysdeps/x86/bits/link.h: This.
49183 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49184 * sysdeps/x86/bits/linkmap.h: This.
49185
49186 * sysdeps/i386/bits/endian.h: Removed.
49187 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49188 * sysdeps/x86/bits/endian.h: This.
49189
49190 * sysdeps/i386/bits/byteswap.h: Removed.
49191 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49192 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49193 * sysdeps/x86/bits/byteswap.h: This.
49194 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49195 * sysdeps/x86/bits/byteswap-16.h: This.
49196 * sysdeps/i386/Implies: Add x86.
49197 * sysdeps/x86_64/Implies: Likewise.
49198
49199 2012-05-30 David S. Miller <davem@davemloft.net>
49200
49201 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49202 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49203 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49204 (FP_TRAPPING_EXCEPTIONS): Define.
49205 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49206 (FP_TRAPPING_EXCEPTIONS): Define.
49207 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49208 subnormals only when inexact has been signalled or underflow
49209 exceptions are enabled.
49210 (_FP_PACK_CANONICAL): Likewise.
49211
49212 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49213
49214 [BZ #14183]
49215 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49216 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49217
49218 2012-05-30 Richard Henderson <rth@twiddle.net>
49219
49220 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49221 with #ifndef NOT_IN_libc.
49222
49223 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49224 marked to avoid plt entry.
49225
49226 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49227
49228 [BZ #14112]
49229 * Makeconfig (default-abi): New macro.
49230 (abi-includes): Likewise.
49231 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49232 $(abi-$(default-abi)-lib-soname) for soname if defined.
49233 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49234 abi-variants.
49235 * Makefile (installed-stubs): Likewise.
49236 * include/stubs-biarch.h: Removed.
49237 * scripts/lib-names.awk: Only handle one library at a time.
49238 * scripts/soversions.awk: Remove WORDSIZE support.
49239 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49240 entries.
49241 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49242 Removed.
49243 (syscall-list-default-condition): Likewise.
49244 (syscall-list-default-condition): Likewise.
49245 (syscall-list-includes): Likewise.
49246 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49247 syscall-list-* with abi-*. Handle undefined abi-variants.
49248 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49249 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49250 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49251 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49252 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49253 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49254 Removed.
49255 (syscall-list-32-options): Likewise.
49256 (syscall-list-32-condition): Likewise.
49257 (syscall-list-64-options): Likewise.
49258 (syscall-list-64-condition): Likewise.
49259 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49260 macro.
49261 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49262 Renamed to ...
49263 (abi-*): This.
49264 (abi-64-ld-soname): New macro.
49265 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49266 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49267 Renamed to ...
49268 (abi-*): This.
49269 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49270 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49271
49272 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49273
49274 * sysdeps/unix/sysv/linux/kernel-features.h
49275 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49276 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49277 include <kernel-features.h>.
49278 [!__NR_ftruncate64]: Remove conditional code.
49279 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49280 [__NR_ftruncate64]: Make code unconditional.
49281 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49282 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49283 include <kernel-features.h>.
49284 [!__NR_ftruncate64]: Remove conditional code.
49285 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49286 [__NR_ftruncate64]: Make code unconditional.
49287 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49289 include <kernel-features.h>.
49290 [!__NR_ftruncate64]: Remove conditional code.
49291 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49292 [__NR_ftruncate64]: Make code unconditional.
49293 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49295 include <kernel-features.h>.
49296 [!__NR_ftruncate64]: Remove conditional code.
49297 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49298 [__NR_ftruncate64]: Make code unconditional.
49299 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49300
49301 * configure.in (libc_cv_fpie): Weaken to a compile test using
49302 LIBC_TRY_CC_OPTION.
49303 * configure: Regenerated.
49304
49305 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49306
49307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49311 Refreshed.
49312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49318 Refreshed.
49319
49320 2012-05-27 David S. Miller <davem@davemloft.net>
49321
49322 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49323 (___Q_zero): New.
49324 (__Q_simulate_exceptions): Return void. Change to simulate
49325 exceptions by writing into the %fsr.
49326 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49327 (__Qp_handle_exceptions): Likewise.
49328 (numbers): Delete.
49329 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49330 __Qp_handle_exceptions.
49331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49332 __Qp_handle_exceptions.
49333 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49334 as unused and give dummy FP_RND_NEAREST initializer.
49335 (FP_INHIBIT_RESULTS): Define.
49336 (___Q_simulate_exceptions): Update declaration.
49337 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49338 formatting.
49339 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49340 as unused and give dummy FP_RND_NEAREST initializer.
49341 (__Qp_handle_exceptions): Update declaration.
49342 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49343 formatting.
49344
49345 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49346
49347 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49348 the temporary FPU control word.
49349 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49350 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49351 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49352 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49353 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49354 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49355 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49356 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49357 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49358 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49359 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49360
49361 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49362
49363 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49364 fields.
49365
49366 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49367
49368 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49369 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49370 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49371 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49372 Likewise.
49373 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49374 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49375 Likewise.
49376
49377 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49378
49379 * po/h.po: Update from translation team.
49380
49381 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49382
49383 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49384
49385 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49386 handling of denormals.
49387 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49388 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49389 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49390 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49394 Likewise.
49395
49396 2012-05-26 Marek Polacek <polacek@redhat.com>
49397
49398 [BZ #14152]
49399 * math/libm-test.inc (fma_test): Don't always expect underflow
49400 exception.
49401
49402 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49403
49404 [BZ #12416]
49405 * elf/tst-execstack.c: Include stackinfo.h.
49406 (do_test): Adjust test case to ensure that pthread_getattr_np
49407 behaviour remains the same after marking stack executable.
49408
49409 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49410
49411 * sysdeps/unix/sysv/linux/kernel-features.h
49412 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49413 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49414 kernel-features.h.
49415 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49416 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49417 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49418 kernel-features.h.
49419 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49420 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49421
49422 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49423
49424 * configure.in: Define the default includes to being none.
49425 * configure: Regenerated.
49426
49427 2012-05-25 Roland McGrath <roland@hack.frob.com>
49428
49429 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49430 * sysdeps/x86_64/setjmp.S: Likewise.
49431 * sysdeps/i386/bsd-setjmp.S: Likewise.
49432 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49433 * sysdeps/i386/setjmp.S: Likewise.
49434 * sysdeps/i386/__longjmp.S: Likewise.
49435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49436 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49437
49438 * include/stap-probe.h: New file.
49439 * configure.in: Handle --enable-systemtap.
49440 * configure: Regenerated.
49441 * config.h.in (USE_STAP_PROBE): New #undef.
49442 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49443 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49444 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49445
49446 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49447
49448 [BZ #13717]
49449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49450 to 2.4.0 where earlier.
49451 * sysdeps/unix/sysv/linux/configure: Regenerated.
49452 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49453 <kernel-features.h>.
49454 [__ASSUME_32BITUIDS]: Make code unconditional.
49455 [!__ASSUME_32BITUIDS]: Remove conditional code.
49456 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49457 <kernel-features.h>.
49458 [__ASSUME_32BITUIDS]: Make code unconditional.
49459 [!__ASSUME_32BITUIDS]: Remove conditional code.
49460 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49461 [__ASSUME_32BITUIDS]: Make code unconditional.
49462 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49463 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49464 <kernel-features.h>.
49465 [__ASSUME_32BITUIDS]: Make code unconditional.
49466 [!__ASSUME_32BITUIDS]: Remove conditional code.
49467 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49468 <kernel-features.h>.
49469 [__ASSUME_32BITUIDS]: Make code unconditional.
49470 [!__ASSUME_32BITUIDS]: Remove conditional code.
49471 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49472 <kernel-features.h>.
49473 [__ASSUME_32BITUIDS]: Make code unconditional.
49474 [!__ASSUME_32BITUIDS]: Remove conditional code.
49475 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49476 <kernel-features.h>.
49477 [__ASSUME_32BITUIDS]: Make code unconditional.
49478 [!__ASSUME_32BITUIDS]: Remove conditional code.
49479 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49480 <kernel-features.h>.
49481 [__ASSUME_32BITUIDS]: Make code unconditional.
49482 [!__ASSUME_32BITUIDS]: Remove conditional code.
49483 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49484 <kernel-features.h>.
49485 [__ASSUME_32BITUIDS]: Make code unconditional.
49486 [!__ASSUME_32BITUIDS]: Remove conditional code.
49487 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49488 <kernel-features.h>.
49489 [__ASSUME_32BITUIDS]: Make code unconditional.
49490 [!__ASSUME_32BITUIDS]: Remove conditional code.
49491 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49492 <kernel-features.h>.
49493 [__ASSUME_32BITUIDS]: Make code unconditional.
49494 [!__ASSUME_32BITUIDS]: Remove conditional code.
49495 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49496 <kernel-features.h>.
49497 [__ASSUME_32BITUIDS]: Make code unconditional.
49498 [!__ASSUME_32BITUIDS]: Remove conditional code.
49499 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49500 <kernel-features.h>.
49501 [__ASSUME_32BITUIDS]: Make code unconditional.
49502 [!__ASSUME_32BITUIDS]: Remove conditional code.
49503 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49504 <kernel-features.h>.
49505 [__NR_setresgid] (__setresgid): Do not declare.
49506 [__ASSUME_32BITUIDS]: Make code unconditional.
49507 [!__ASSUME_32BITUIDS]: Remove conditional code.
49508 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49509 <kernel-features.h>.
49510 [__NR_setresuid] (__setresuid): Do not declare.
49511 [__ASSUME_32BITUIDS]: Make code unconditional.
49512 [!__ASSUME_32BITUIDS]: Remove conditional code.
49513 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49514 <kernel-features.h>.
49515 [__ASSUME_32BITUIDS]: Make code unconditional.
49516 [!__ASSUME_32BITUIDS]: Remove conditional code.
49517 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49518 <kernel-features.h>.
49519 [__ASSUME_32BITUIDS]: Make code unconditional.
49520 [!__ASSUME_32BITUIDS]: Remove conditional code.
49521 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49522 <kernel-features.h>.
49523 [__ASSUME_32BITUIDS]: Make code unconditional.
49524 [!__ASSUME_32BITUIDS]: Remove conditional code.
49525 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49526 <kernel-features.h>.
49527 [__ASSUME_32BITUIDS]: Make code unconditional.
49528 [!__ASSUME_32BITUIDS]: Remove conditional code.
49529 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49530 <kernel-features.h>.
49531 [__ASSUME_32BITUIDS]: Make code unconditional.
49532 [!__ASSUME_32BITUIDS]: Remove conditional code.
49533 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49534 <kernel-features.h>.
49535 [__ASSUME_32BITUIDS]: Make code unconditional.
49536 [!__ASSUME_32BITUIDS]: Remove conditional code.
49537 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49538 <kernel-features.h>.
49539 [__ASSUME_32BITUIDS]: Make code unconditional.
49540 [!__ASSUME_32BITUIDS]: Remove conditional code.
49541 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49542 <kernel-features.h>.
49543 [__ASSUME_32BITUIDS]: Make code unconditional.
49544 [!__ASSUME_32BITUIDS]: Remove conditional code.
49545 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49546 <kernel-features.h>.
49547 [__ASSUME_32BITUIDS]: Make code unconditional.
49548 [!__ASSUME_32BITUIDS]: Remove conditional code.
49549 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49550 <kernel-features.h>.
49551 [__ASSUME_32BITUIDS]: Make code unconditional.
49552 [!__ASSUME_32BITUIDS]: Remove conditional code.
49553 * sysdeps/unix/sysv/linux/kernel-features.h
49554 (__ASSUME_SETRESUID_SYSCALL): Remove.
49555 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49556 (__ASSUME_32BITUIDS): Likewise.
49557 (__ASSUME_LDT_WORKS): Likewise.
49558 (__ASSUME_O_DIRECTORY): Likewise.
49559 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49560 architecture but not kernel version.
49561 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49562 (__ASSUME_MMAP2_SYSCALL): Likewise.
49563 (__ASSUME_STAT64_SYSCALL): Likewise.
49564 (__ASSUME_IPC64): Likewise.
49565 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49566 <kernel-features.h>.
49567 [__ASSUME_32BITUIDS]: Make code unconditional.
49568 [!__ASSUME_32BITUIDS]: Remove conditional code.
49569 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49570 <kernel-features.h>.
49571 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49572 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49573 132096]: Remove conditional code.
49574 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49575 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49576 <kernel-features.h>.
49577 [__ASSUME_32BITUIDS]: Make code unconditional.
49578 [!__ASSUME_32BITUIDS]: Remove conditional code.
49579 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49580 <kernel-features.h>.
49581 [__ASSUME_32BITUIDS]: Make code unconditional.
49582 [!__ASSUME_32BITUIDS]: Remove conditional code.
49583 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49584 <kernel-features.h>.
49585 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49586 unconditional.
49587 (__setresgid): Do not declare.
49588 [__ASSUME_32BITUIDS]: Make code unconditional.
49589 [!__ASSUME_32BITUIDS]: Remove conditional code.
49590 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49591 <kernel-features.h>.
49592 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49593 unconditional.
49594 (__setresuid): Do not declare.
49595 [__ASSUME_32BITUIDS]: Make code unconditional.
49596 [!__ASSUME_32BITUIDS]: Remove conditional code.
49597 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49598 <kernel-features.h>.
49599 [__ASSUME_32BITUIDS]: Make code unconditional.
49600 [!__ASSUME_32BITUIDS]: Remove conditional code.
49601 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49602 <kernel-features.h>.
49603 [__ASSUME_32BITUIDS]: Make code unconditional.
49604 [!__ASSUME_32BITUIDS]: Remove conditional code.
49605
49606 2012-05-25 Richard Henderson <rth@twiddle.net>
49607
49608 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49609 dl_hwcap to ifunc resolver.
49610 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49611 elf_ifunc_invoke.
49612 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49613 dl_hwcap to ifunc resolver.
49614 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49615
49616 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49617
49618 [BZ #14153]
49619 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49620 for |x| <= 2**-26, not 2**-57.
49621 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49622 exception.
49623
49624 2012-05-24 Jeff Law <law@redhat.com>
49625
49626 * stdio-common/Makefile (tests): Add bug25.
49627 * stdio-common/bug25.c: New test.
49628
49629 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49630
49631 [BZ #13576]
49632 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49633 multiple of MALLOC_ALIGNMENT in size.
49634 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49635
49636 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49637
49638 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49639 Require >= 256.
49640 (FILENAME_MAX): Use macro-int-constant.
49641 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49642 (_IOFBF): Use macro-int-constant.
49643 (_IOLBF): Likewise.
49644 (_IONBF): Likewise.
49645 (SEEK_CUR): Likewise.
49646 (SEEK_END): Likewise.
49647 (SEEK_SET): Likewise.
49648 (TMP_MAX): Likewise.
49649 (EOF): Use macro-int-constant. Require < 0.
49650 (NULL): Use macro-constant. Require == 0.
49651 (stdin): Require type to be FILE *.
49652 (stdout): Likewise.
49653 (stderr): Likewise.
49654 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49655 macro-int-constant.
49656 (EXIT_SUCCESS): Likewise.
49657 (NULL): Use macro-constant. Require == 0.
49658 (RAND_MAX): Use macro-int-constant.
49659 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49660 [C99-based standards] (strtof): Require function.
49661 [C99-based standards] (strtold): Likewise.
49662 [C99-based standards] (strtoll): Likewise.
49663 [C99-based standards] (strtoull): Likewise.
49664 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49665 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49666 [ISO || ISO99 || ISO11] (math.h): Likewise.
49667 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49668 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49670
49671 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49672
49673 [BZ #14132]
49674 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49675 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49676 * intl/dgettext.c (DCGETTEXT): Likewise.
49677 * intl/gettext.c (DCGETTEXT): Likewise.
49678 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49679 * posix/regex_internal.h (gettext): Likewise.
49680 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49681 Remove declaration.
49682 * include/argz.h (__argz_count_internal)
49683 (__argz_stringify_internal): Remove declaration.
49684 (__argz_count, __argz_stringify): Declare hidden proto.
49685 * intl/dcgettext.c: Remove use of INTDEF.
49686 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49687 * string/argz-stringify.c: Likewise.
49688 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49689 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49690 Declare hidden proto.
49691 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49692 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49693 Declare hidden proto.
49694 * include/stdio.h (__asprintf_internal): Don't declare.
49695 (__asprintf): Don't define as macro. Declare hidden proto.
49696 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49697 (__fsetlocking): Declare hidden proto.
49698 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49699 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49700 hidden proto.
49701 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49702 (_IO_setlinebuf): Remove use of INTUSE.
49703 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49704 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49705 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49706 Remove declaration.
49707 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49708 (_IO_do_flush): Remove use of INTUSE.
49709 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49710 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49711 (_IO_adjust_column, _IO_least_wmarker)
49712 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49713 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49714 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49715 (_IO_default_doallocate, _IO_wdefault_doallocate)
49716 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49717 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49718 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49719 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49720 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49721 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49722 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49723 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49724 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49725 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49726 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49727 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49728 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49729 proto.
49730 (_IO_flush_all_internal, _IO_adjust_column_internal)
49731 (_IO_default_uflow_internal, _IO_default_finish_internal)
49732 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49733 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49734 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49735 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49736 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49737 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49738 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49739 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49740 (_IO_file_close_internal, _IO_file_close_it_internal)
49741 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49742 (_IO_file_init_internal, _IO_file_attach_internal)
49743 (_IO_file_fopen_internal, _IO_file_read_internal)
49744 (_IO_file_sync_internal, _IO_file_seek_internal)
49745 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49746 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49747 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49748 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49749 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49750 (_IO_list_all_internal, _IO_link_in_internal)
49751 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49752 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49753 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49754 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49755 (_IO_do_write_internal, _IO_padn_internal)
49756 (_IO_getline_info_internal, _IO_getline_internal)
49757 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49758 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49759 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49760 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49761 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49762 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49763 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49764 with libc_hidden_ver, remove use of INTUSE.
49765 * libio/genops.c: Likewise.
49766 * libio/freopen.c: Likewise.
49767 * libio/freopen64.c: Likewise.
49768 * libio/iofclose.c: Likewise.
49769 * libio/iofdopen.c: Likewise.
49770 * libio/iofflush.c: Likewise.
49771 * libio/iofflush_u.c: Likewise.
49772 * libio/iofgets.c: Likewise.
49773 * libio/iofgets_u.c: Likewise.
49774 * libio/iofopen.c: Likewise.
49775 * libio/iofopncook.c: Likewise.
49776 * libio/iofread.c: Likewise.
49777 * libio/iofread_u.c: Likewise.
49778 * libio/ioftell.c: Likewise.
49779 * libio/iofwrite.c: Likewise.
49780 * libio/iogetline.c: Likewise.
49781 * libio/iogets.c: Likewise.
49782 * libio/iogetwline.c: Likewise.
49783 * libio/iopadn.c: Likewise.
49784 * libio/iopopen.c: Likewise.
49785 * libio/ioseekoff.c: Likewise.
49786 * libio/ioseekpos.c: Likewise.
49787 * libio/iosetbuffer.c: Likewise.
49788 * libio/iosetvbuf.c: Likewise.
49789 * libio/ioungetc.c: Likewise.
49790 * libio/ioungetwc.c: Likewise.
49791 * libio/iovdprintf.c: Likewise.
49792 * libio/iovsprintf.c: Likewise.
49793 * libio/iovsscanf.c: Likewise.
49794 * libio/memstream.c: Likewise.
49795 * libio/obprintf.c: Likewise.
49796 * libio/oldfileops.c: Likewise.
49797 * libio/oldiofclose.c: Likewise.
49798 * libio/oldiofdopen.c: Likewise.
49799 * libio/oldiofopen.c: Likewise.
49800 * libio/oldiopopen.c: Likewise.
49801 * libio/oldstdfiles.c: Likewise.
49802 * libio/putc.c: Likewise.
49803 * libio/setbuf.c: Likewise.
49804 * libio/setlinebuf.c: Likewise.
49805 * libio/stdfiles.c: Likewise.
49806 * libio/strops.c: Likewise.
49807 * libio/vasprintf.c: Likewise.
49808 * libio/vscanf.c: Likewise.
49809 * libio/vsnprintf.c: Likewise.
49810 * libio/vswprintf.c: Likewise.
49811 * libio/wfiledoalloc.c: Likewise.
49812 * libio/wfileops.c: Likewise.
49813 * libio/wgenops.c: Likewise.
49814 * libio/wmemstream.c: Likewise.
49815 * libio/wstrops.c: Likewise.
49816 * libio/__fpurge.c: Likewise.
49817 * libio/__fsetlocking.c: Likewise.
49818 * assert/assert.c: Likewise.
49819 * debug/fgets_chk.c: Likewise.
49820 * debug/fgets_u_chk.c: Likewise.
49821 * debug/fread_chk.c: Likewise.
49822 * debug/fread_u_chk.c: Likewise.
49823 * debug/gets_chk.c: Likewise.
49824 * debug/obprintf_chk.c: Likewise.
49825 * debug/vasprintf_chk.c: Likewise.
49826 * debug/vdprintf_chk.c: Likewise.
49827 * debug/vsnprintf_chk.c: Likewise.
49828 * debug/vsprintf_chk.c: Likewise.
49829 * malloc/mtrace.c: Likewise.
49830 * misc/error.c: Likewise.
49831 * misc/syslog.c: Likewise.
49832 * stdio-common/asprintf.c: Likewise.
49833 * stdio-common/fxprintf.c: Likewise.
49834 * stdio-common/getw.c: Likewise.
49835 * stdio-common/isoc99_fscanf.c: Likewise.
49836 * stdio-common/isoc99_scanf.c: Likewise.
49837 * stdio-common/isoc99_vfscanf.c: Likewise.
49838 * stdio-common/isoc99_vscanf.c: Likewise.
49839 * stdio-common/isoc99_vsscanf.c: Likewise.
49840 * stdio-common/printf-prs.c: Likewise.
49841 * stdio-common/printf_fp.c: Likewise.
49842 * stdio-common/printf_fphex.c: Likewise.
49843 * stdio-common/printf_size.c: Likewise.
49844 * stdio-common/putw.c: Likewise.
49845 * stdio-common/scanf.c: Likewise.
49846 * stdio-common/sprintf.c: Likewise.
49847 * stdio-common/tmpfile.c: Likewise.
49848 * stdio-common/vfprintf.c: Likewise.
49849 * stdio-common/vfscanf.c: Likewise.
49850 * stdlib/strfmon_l.c: Likewise.
49851 * sunrpc/openchild.c: Likewise.
49852 * sunrpc/xdr_stdio.c: Likewise.
49853 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49854 * sysdeps/mach/hurd/tmpfile.c: Likewise.
49855
49856 2012-05-24 Roland McGrath <roland@hack.frob.com>
49857
49858 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49859
49860 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49861 in the third column, to generate for the shared library an IFUNC
49862 that uses _dl_vdso_vsym.
49863 * Makerules (COMPILE.c, compile-stdin.c): New variables.
49864 * Makeconfig (object-suffixes-noshared): New variable.
49865
49866 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49867 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49868 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49869 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49870
49871 [BZ #14132]
49872 * include/sys/time.h (__gettimeofday): Remove macro.
49873 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49874 * time/gettimeofday.c (__gettimeofday): Remove #undef.
49875 Remove INTDEF.
49876 (__gettimeofday): Add libc_hidden_def.
49877 (gettimeofday): Add libc_hidden_weak.
49878 * sysdeps/mach/gettimeofday.c: Likewise.
49879 * sysdeps/posix/gettimeofday.c: Likewise.
49880 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49881 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49883 (__gettimeofday_internal): Remove strong_alias.
49884 (__gettimeofday): Add libc_hidden_def.
49885 (gettimeofday): Add libc_hidden_weak.
49886 * sysdeps/unix/syscalls.list (gettimeofday):
49887 Remove __gettimeofday_internal alias.
49888
49889 2012-05-24 Daniel Jacobowitz <drow@false.org>
49890 H.J. Lu <hongjiu.lu@intel.com>
49891
49892 [BZ #12495]
49893 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49894 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49895 (largebin_index_32_big): New.
49896 (largebin_index): Use it for 16-byte alignment.
49897 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
49898 correction with front_misalign.
49899
49900 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49901
49902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49904 Likewise.
49905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49906 Likewise.
49907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49908 Likewise.
49909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49910 Likewise.
49911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49912 Likewise.
49913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49914 Likewise.
49915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49916 Likewise.
49917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49918 Likewise.
49919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49920 Likewise.
49921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49922 Likewise.
49923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49924 Likewise.
49925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49926 Likewise.
49927
49928 * scripts/data/c++-types-x32-linux-gnu.data: New file.
49929 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49930
49931 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49932
49933 [BZ #10846]
49934 [BZ #14036]
49935 * math/libm-test.inc (exp_test): Add test from bug 14036.
49936 (pow_test): Add test from bug 10846.
49937
49938 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49939 and other flags.
49940 (special_function): Do not include flags in test name.
49941 (parse_args): Likewise.
49942 * sysdeps/i386/fpu/libm-test-ulps: Update.
49943 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49944 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49945 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49947
49948 * math/gen-libm-test.pl (%beautify): Add entries for underflow
49949 exceptions.
49950 * math/libm-test.inc ("Philosophy"): Update comment about
49951 exception testing.
49952 (UNDERFLOW_EXCEPTION): New macro.
49953 (UNDERFLOW_EXCEPTION_OK): Likewise.
49954 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49955 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49956 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49957 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49958 (INVALID_EXCEPTION_OK): Update value.
49959 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49960 (OVERFLOW_EXCEPTION_OK): Likewise.
49961 (IGNORE_ZERO_INF_SIGN): Likewise.
49962 (test_exceptions): Handle underflow exceptions.
49963 (acos_test): Update for underflow exception expectations.
49964 (cexp_test): Likewise.
49965 (clog_test): Likewise.
49966 (clog10_test): Likewise.
49967 (csqrt_test): Likewise.
49968 (ctan_test): Likewise.
49969 (ctanh_test): Likewise.
49970 (exp_test): Likewise.
49971 (exp10_test): Likewise.
49972 (exp2_test): Likewise.
49973 (expm1_test): Likewise.
49974 (fma_test): Likewise.
49975 (j0_test): Likewise.
49976 (jn_test): Likewise.
49977 (nexttoward_test): Likewise.
49978 (pow_test): Likewise.
49979 (scalbn_test): Likewise.
49980 (scalbln_test): Likewise.
49981 (tan_test): Likewise.
49982 (y1_test): Likewise.
49983 * sysdeps/i386/fpu/libm-test-ulps: Update.
49984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49985
49986 2012-05-23 David S. Miller <davem@davemloft.net>
49987
49988 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49989 (__libc_sigaction): Remove unused local variables.
49990
49991 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49992
49993 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49994
49995 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
49996
49997 mktime: avoid signed integer overflow
49998 * time/mktime.c (__mktime_internal): Do not mishandle the case
49999 where diff == INT_MIN.
50000
50001 mktime: simplify computation of average
50002 * time/mktime.c (ranged_convert): Use new time_t_avg function
50003 instead of rolling our own (probably-slower) code.
50004
50005 mktime: do not assume signed right shift propagates sign bit
50006 * time/mktime.c (isdst_differ): New static function.
50007 (__mktime_internal): No need to normalize tm_isdst now.
50008 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50009 tm_isdst values.
50010
50011 mktime: merge another wrapv change from gnulib
50012 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50013 from some compilers.
50014
50015 mktime: remove incorrect attempt at unusual arithmetics
50016 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50017 The code didn't really work on such machines anyway.
50018 (TYPE_MINIMUM): Assume two's complement.
50019 (twos_complement_arithmetic): Verify that long_int and time_t
50020 are two's complement (or unsigned, in the latter case).
50021
50022 mktime: check signed shifts on long_int and time_t, too
50023 * time/mktime.c (SHR): Check that shifts work as desired
50024 on the types long_int and time_t too, as SHR is used on
50025 such types.
50026
50027 mktime: do not assume 'long' is wide enough
50028 * time/mktime.c (verify): Move decl up.
50029 (long_int): New type.
50030 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50031 to remove assumption in the code that 'long' is wide enough to
50032 store year values. This assumption is not true on x32 and on
50033 some non-glibc platforms.
50034
50035 mktime: merge wrapv change from gnulib
50036 * time/mktime.c (WRAPV): New macro.
50037 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50038 (guess_time_tm, __mktime_internal): Do not assume that signed
50039 integer overflow wraps around; modern compilers generate code
50040 where this assumption is no longer valid.
50041
50042 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50043
50044 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50045 Replace "jmp L(pseudo_end)" with "ret".
50046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50047 Likewise.
50048
50049 2012-05-23 Andreas Jaeger <aj@suse.de>
50050
50051 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50052 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50053
50054 2012-05-23 Andreas Jaeger <aj@suse.de>
50055 Maximilian Attems <max@stro.at>
50056
50057 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50058 New macros.
50059
50060 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50061
50062 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50063 code so that pseudo_end is just ret and the stack pointer is
50064 correct also for static library in error case.
50065
50066 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50067
50068 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50069 move to syscalls.list.
50070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50074
50075 * manual/install.texi (Running make install): Do not mention Linux
50076 kernel version for which pt_chown is not needed.
50077 (Linux): Do not mention problems with nscd with 2.0 kernels.
50078 * INSTALL: Regenerated.
50079
50080 2012-05-23 Andreas Jaeger <aj@suse.de>
50081
50082 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50083 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50084 macro.
50085 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50086 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50087 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50089 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50090 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50091 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50095 * sysdeps/unix/sysv/linux/bits/in.h
50096 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50097
50098 2012-05-22 Roland McGrath <roland@hack.frob.com>
50099
50100 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50101 (PREPARE_VERSION): Just use assert instead, it will be elided
50102 under [NDEBUG] anyway.
50103
50104 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50105
50106 * sysdeps/unix/sysv/linux/Makefile: Include
50107 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50108 (sysdep_routines): Remove sysctl.
50109 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50110 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50111 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50112 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50113 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50114
50115 2012-05-22 Andreas Jaeger <aj@suse.de>
50116
50117 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50118 that pseudo_end is just ret and the stack pointer is correct also
50119 for static library in error case.
50120
50121 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50122
50123 [BZ #14122]
50124 * nss/nsswitch.c (defconfig_entries): New variable.
50125 (__nss_database_lookup): Don't leak defconfig entries.
50126 (nss_parse_service_list): Don't leak on error paths.
50127 (free_database_entries): New function.
50128 (free_defconfig): New function.
50129 (free_mem): Move common code to free_database_entries.
50130
50131 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50132
50133 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50134 Add arch_prctl.
50135 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50136
50137 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50138 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50139 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50140 New macro.
50141 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50142 (INTERNAL_SYSCALL_TYPES): Likewise.
50143 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50144 (LOAD_REGS_TYPES_[1-6]): Likewise.
50145 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50146 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50147
50148 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50149
50150 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50151 copysignl for GLIBC_2_0.
50152 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50153 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50155 logbl for GLIBC_2_0.
50156 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50157 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50158
50159 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50160
50161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50162 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50163
50164 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50165 Use "neg %eax".
50166
50167 * time/mktime.c: Update copyright years.
50168
50169 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50170
50171 mktime: merge comment-quoting-style change from gnulib
50172 * time/mktime.c: Quote 'like this' in comments.
50173 The GNU coding standards suggest that we no longer quote `like this',
50174 as "`" and "'" are typically rendered asymmetrically nowadays.
50175 The typical gnulib style is to quote 'like this' when quoting
50176 code, and "like this" when quoting English.
50177
50178 * time/mktime.c (compile-command): Add "-I.".
50179
50180 mktime: merge mktime-internal.h change from gnulib
50181 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50182
50183 mktime: merge time_r change from gnulib
50184 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50185
50186 mktime: merge DEBUG change from gnulib
50187 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50188 case system <time.h> has a #define.
50189
50190 mktime: merge <sys/types.h> change from gnulib
50191 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50192 since <time.t> is now guaranteed to define time_t.
50193
50194 mktime: merge HAVE_CONFIG_H change from gnulib
50195 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50196
50197 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50198
50199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50200 Use "neg %eax".
50201
50202 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50203 __rlim_t cast.
50204 (struct rusage): Use anonymous union to pad each field to
50205 __syscall_slong_t.
50206
50207 2012-05-21 David S. Miller <davem@davemloft.net>
50208
50209 * Makefules (o-iterator): Remove .s cases.
50210 (compile-command.s): Delete.
50211 (COMPILE.s): Delete.
50212 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50213
50214 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50215
50216 * configure.in (libc_cv_predef_stack_protector): Only consider
50217 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50218 * configure: Regenerated.
50219
50220 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50221
50222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50223 New macro. Use R*LP on int and pointer.
50224 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50225 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50226 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50227 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50228
50229 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50230 [__WORDSIZE_TIME64_COMPAT32] instead of
50231 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50232 (struct utmp): Likewise.
50233 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50234 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50235 Renamed to ...
50236 (__WORDSIZE_TIME64_COMPAT32): This.
50237 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50238 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50239 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50240 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50241 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50242 (__WORDSIZE_TIME64_COMPAT32): New macro.
50243
50244 2012-05-21 Andreas Jaeger <aj@suse.de>
50245
50246 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50247 only if [SHARED]. Add prototype for __wcschr_ia32.
50248
50249 2012-05-21 Roland McGrath <roland@hack.frob.com>
50250
50251 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50252 of %rbp unmolested in the jmp_buf while mangling the low bits.
50253 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50254 unmolested high bits of %rbp while demangling the low bits.
50255 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50256
50257 2012-05-21 Andreas Jaeger <aj@suse.de>
50258
50259 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50260 * sunrpc/svc_simple.c: Use it for registerrpc.
50261 * sunrpc/xcrypt.c: Use it for passwd2des.
50262
50263 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50264
50265 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50266
50267 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50268 Don't define if [__SYSCALL_WORDSIZE != 32].
50269 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50270 New macro.
50271
50272 2012-05-21 Bruno Haible <bruno@clisp.org>
50273 Andreas Jaeger <aj@suse.de>
50274
50275 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50276 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50277 inptr and inend for must_buffer_ch.
50278 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50279 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50280 * stdio-common/Makefile (tests): Remove bug15.
50281 (bug15-ENV): Remove macro.
50282 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50283 anymore.
50284
50285 2012-05-19 Andreas Jaeger <aj@suse.de>
50286 Roland McGrath <roland@hack.frob.com>
50287
50288 * manual/contrib.texi: Completely rewritten. It contains now an
50289 alphabetical list of contributors and their contributions.
50290
50291 2012-05-21 Richard Henderson <rth@twiddle.net>
50292
50293 * misc/getauxval.c (__getauxval): Use unsigned long int.
50294 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50295 (getauxval): Use unsigned long int.
50296
50297 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50298
50299 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50300
50301 2012-05-21 Roland McGrath <roland@hack.frob.com>
50302
50303 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50304 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50305 __alignof__ (long double).
50306
50307 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50308
50309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50310
50311 2012-05-20 Richard Henderson <rth@twiddle.net>
50312
50313 * misc/getauxval.c: New file.
50314 * misc/sys/auxv.h: New file.
50315 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50316 (routines): Add getauxval.
50317 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50318 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50319 * elf/dl-sysdep.c (_dl_auxv): Remove.
50320 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50321 * elf/dl-support.c (_dl_auxv): New variable.
50322 (_dl_aux_init): Initialize it.
50323 * manual/startup.texi (Auxiliary Vector): New node.
50324 * sysdeps/generic/bits/hwcap.h: New file.
50325 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50326 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50327 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50328 * sysdeps/sparc/sysdep.h: ... here. Include it.
50329 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50330 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50332 Update.
50333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50336 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50341
50342 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50343
50344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50345
50346 2012-05-19 David S. Miller <davem@davemloft.net>
50347
50348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50349
50350 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50351
50352 [BZ #14123]
50353 * math/s_ccosh.c: Include <float.h>
50354 (__ccosh): Avoid internal overflow calculating sinh and cosh
50355 values before multiplying by sin and cos values.
50356 * math/s_ccoshf.c: Likewise.
50357 * math/s_ccoshl.c: Likewise.
50358 * math/s_csin.c: Likewise.
50359 * math/s_csinf.c: Likewise.
50360 * math/s_csinl.c: Likewise.
50361 * math/s_csinh.c: Likewise.
50362 * math/s_csinhf.c: Likewise.
50363 * math/s_csinhl.c: Likewise.
50364 * math/libm-test.inc (ccos_test): Add more tests.
50365 (ccosh_test): Likewise.
50366 (csin_test): Likewise.
50367 (csinh_test): Likewise.
50368 * sysdeps/i386/fpu/libm-test-ulps: Update.
50369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50370
50371 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50372
50373 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50374 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50375
50376 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50377
50378 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50379
50380 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50381 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50382 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50383 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50384 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50385 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50386 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50387 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50388 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50389 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50390 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50391 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50392 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50393 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50394 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50395 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50396 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50397 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50398 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50399 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50400 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50401 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50402 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50403 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50404 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50405 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50406 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50407 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50408 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50409 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50410 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50411
50412 2012-05-18 Andreas Jaeger <aj@suse.de>
50413
50414 * csu/.gitignore: Delete.
50415
50416 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50417
50418 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50419 (timex): Use __syscall_slong_t.
50420
50421 2012-05-18 Andreas Jaeger <aj@suse.de>
50422 Carlos O'Donell <carlos_odonell@mentor.com>
50423
50424 * manual/install.texi (Configuring and compiling): Update
50425 description about files modified in the source directory.
50426 * INSTALL: Regenerated.
50427
50428 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50429
50430 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50431 value. Use "or" to set return value to -1.
50432 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50433 negate return value.
50434
50435 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50436
50437 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50438 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50439 failure if the compiler has Graphite support disabled.
50440 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50441 Likewise.
50442 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50443 (CFLAGS-memmove.c): Likewise.
50444 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50445 Likewise.
50446
50447 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50448
50449 * sysdeps/x86_64/x32/_itoa.h: New file.
50450
50451 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50452 getdents system call only if kernel and user dirents have the
50453 same d_ino and d_off.
50454
50455 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50456 LLONG_MAX != LONG_MAX.
50457 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50458 (_fitoa_word): Likewise.
50459
50460 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50461 years.
50462 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50463 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50464 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50465
50466 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50467 include <bits/wordsize.h>. Check __x86_64__ instead of
50468 __WORDSIZE.
50469 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50470 if __x86_64__ is defined. Use anonymous union on fpstate.
50471
50472 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50473 anonymous union.
50474
50475 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50476
50477 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50478 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50479 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50480 Refer to _rtld_local_ro instead of _rtld_global_ro.
50481 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50482 Likewise.
50483 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50484 Likewise.
50485 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50486 Likewise.
50487 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50488 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50489 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50490
50491 [BZ #10882]
50492 * sysdeps/powerpc/powerpc32/dl-machine.c
50493 (__elf_machine_runtime_setup) [PROF]: Don't reference
50494 _dl_prof_resolve.
50495
50496 2012-05-18 Andreas Jaeger <aj@suse.de>
50497
50498 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50499 function only available for GCCs before 3.4 since GCC 3.4
50500 introduced a builtin.
50501 (lrint): Likewise.
50502 (llrintf): Likewise.
50503 (llrint): Likewise.
50504 (fmaxf): Likewise.
50505 (fmax): Likewise.
50506 (fminf): Likewise.
50507 (fmin): Likewise.
50508 (rint): Likewise.
50509 (rintf): Likewise.
50510 (nearbyint): Likewise.
50511 (nearbyintf): Likewise.
50512 (ceil): Likewise.
50513 (ceilf): Likewise.
50514 (floor): Likewise.
50515 (floorf): Likewise.
50516
50517 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50518
50519 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50520 on both fields and cast pointer to __syscall_ulong_t.
50521
50522 * bits/types.h (__fsword_t): New type.
50523 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50524 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50525 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50526 (__FSWORD_T_TYPE): Likewise.
50527 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50528 (__FSWORD_T_TYPE): Likewise.
50529 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50530 (__FSWORD_T_TYPE): Likewise.
50531 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50532 (__FSWORD_T_TYPE): Likewise.
50533 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50534 __SWORD_TYPE with __fsword_t.
50535 (statfs64): Likewise.
50536
50537 2012-05-17 David S. Miller <davem@davemloft.net>
50538
50539 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50540
50541 2012-05-17 Andreas Jaeger <aj@suse.de>
50542
50543 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50544 warning.
50545
50546 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50547
50548 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50549
50550 2012-05-17 Andreas Jaeger <aj@suse.de>
50551
50552 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50553 when it is used.
50554
50555 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50556
50557 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50558
50559 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50560
50561 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50562 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50563
50564 2012-05-17 Andreas Jaeger <aj@suse.de>
50565 Carlos O'Donell <carlos_odonell@mentor.com>
50566
50567 [BZ #14059]
50568 * sysdeps/x86_64/multiarch/init-arch.h
50569 (bit_YMM_Usable): Rename to...
50570 (bit_AVX_Usable): ... this.
50571 (bit_FMA4_Usable): New macro.
50572 (bit_XMM_state): New macro.
50573 (bit_YMM_state): New macro.
50574 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50575 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50576 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50577 (CPUID_OSXSAVE): New macro.
50578 (CPUID_AVX): New macro.
50579 (CPUID_FMA4): New macro.
50580 (index_YMM_Usable): Rename to...
50581 (index_AVX_Usable): ... this.
50582 (HAS_AVX): Use HAS_ARCH_FEATURE.
50583 (HAS_FMA4): Likewise.
50584 (HAS_YMM_USABLE): Remove.
50585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50586 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50587 are present.
50588 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50589 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50590 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50591 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50592 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50593
50594 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50595
50596 * math/libm-test.c: Support platforms without multiple rounding modes.
50597 * math/bug-nextafter.c: Support platforms without FP exceptions.
50598 * math/bug-nexttoward.c: Likewise.
50599 * math/test-fenv.c: Likewise.
50600 * math/test-misc.c: Likewise.
50601 * stdlib/bug-getcontext.c: Likewise.
50602
50603 2012-05-17 Andreas Jaeger <aj@suse.de>
50604
50605 * manual/examples/search.c (critter_cmp): Change signature to
50606 avoid warnings.
50607 * manual/string.texi (Collation Functions): Likewise.
50608
50609 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50610
50611 * bits/types.h: Fold copyright years.
50612 * bits/typesizes.h: Likewise.
50613 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50615 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50617 * time/time.h: Likewise.
50618
50619 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50620
50621 [BZ #208]
50622 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50623 in instead of returning them. Return void.
50624 (__libc_mallinfo): Accumulate over all arenas.
50625 (__malloc_stats): Adjust for change in int_mallinfo interface.
50626
50627 2012-05-16 Roland McGrath <roland@hack.frob.com>
50628
50629 [BZ #10375]
50630 * configure.in (NM): Add AC_CHECK_TOOL for it.
50631 (libc_extra_cflags): New substituted variable.
50632 Check for -fstack-protector being used implicitly.
50633 * configure: Regenerated.
50634 * config.make.in (config-extra-cflags): New variable,
50635 gets @libc_extra_cflags@.
50636 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50637
50638 [BZ #10375]
50639 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50640 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50641 * configure: Regenerated.
50642 * config.make.in (CPPUNDEFS): New substituted variable.
50643 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50644 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50645 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50646
50647 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50648
50649 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50650 (mq_attr): Use __syscall_slong_t.
50651
50652 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50653
50654 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50655 Check __x86_64__ instead of __WORDSIZE.
50656 (_STAT_VER_LINUX): Likewise.
50657 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50658 __syscall_ulong_t and __syscall_slong_t.
50659 (stat64): Likewise.
50660
50661 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50662
50663 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50664
50665 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50666
50667 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50668
50669 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50670
50671 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50672 __syscall_ulong_t.
50673
50674 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50675 include <bits/wordsize.h>. Check __x86_64__ instead of
50676 __WORDSIZE.
50677 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50678 defined.
50679 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50680
50681 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50682 include <bits/wordsize.h>. Check __x86_64__ instead of
50683 __WORDSIZE.
50684 (user_regs_struct): Use "__extension__ unsigned long long"
50685 instead of "unsigned long" if __x86_64__ is defined.
50686 (user): Likewise. Pad after pointer field if __ILP32__ is
50687 defined.
50688
50689 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50690
50691 * configure.in (makeinfo): Require version 4.5 or later. Allow
50692 versions 5 to 9.
50693 * configure: Regenerated.
50694 * manual/install.texi (texinfo): Increase version requirement to
50695 4.5 or later.
50696 * INSTALL: Regenerated.
50697
50698 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50699
50700 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50701
50702 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50703
50704 * sysdeps/x86_64/x32/ffs.c: New file.
50705
50706 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50707 __syscall_ulong_t.
50708 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50709 defined. Use __syscall_ulong_t.
50710 (shminfo): Use __syscall_ulong_t.
50711 (shm_info): Likewise.
50712
50713 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50714 __syscall_ulong_t.
50715
50716 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50717 <bits/wordsize.h>.
50718 (msgqnum_t): Use __syscall_ulong_t.
50719 (msglen_t): Likewise.
50720 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50721 __syscall_ulong_t.
50722
50723 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50724 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50725
50726 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50727
50728 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50729 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50730
50731 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50732 __syscall_slong_t.
50733
50734 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50735 include <bits/wordsize.h>. Check __x86_64__ instead of
50736 __WORDSIZE.
50737
50738 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50739 "unsigned long long int" if __x86_64__ is defined.
50740 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50741
50742 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50743 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50744 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50745
50746 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50747 <stdint.h>.
50748 (GET_PC): Cast to uintptr_t first.
50749 (GET_FRAME): Likewise.
50750 (GET_STACK): Likewise.
50751
50752 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50753 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50754 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50755 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50756 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50757 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50758 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50759 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50760 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50761 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50762 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50764 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50765 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50766 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50767 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50769 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50771 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50772 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50773 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50775 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50777 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50778 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50779 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50780 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50781
50782 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50783
50784 * Makerules (+depfiles): Also collect depfiles from .oS in
50785 $(extra-objs).
50786 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50787 .oS, $(libnldbl-routines)).
50788
50789 * Makerules (native-compile-mkdep-flags): Define.
50790 * sunrpc/Makefile (extra-objs): Add $(addprefix
50791 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50792 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50793 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50794 calling $(make-target-directory).
50795
50796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50797
50798 * bits/types.h (__snseconds_t): Removed.
50799 * time/time.h (struct timespec): Replace __snseconds_t with
50800 __syscall_slong_t.
50801 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50802 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50803 Likewise.
50804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50805 (__SNSECONDS_T_TYPE): Likewise.
50806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50807 (__SNSECONDS_T_TYPE): Likewise.
50808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50809 (__SNSECONDS_T_TYPE): Likewise.
50810
50811 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50812
50813 * sysdeps/mach/hurd/bits/typesizes.h
50814 (__SYSCALL_SLONG_TYPE): New macro.
50815 (__SYSCALL_ULONG_TYPE): Likewise.
50816
50817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50818
50819 * bits/types.h (__syscall_slong_t): New type.
50820 (__syscall_ulong_t): Likewise.
50821
50822 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50823 (__SYSCALL_ULONG_TYPE): Likewise.
50824 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50825 (__SYSCALL_SLONG_TYPE): Likewise.
50826 (__SYSCALL_ULONG_TYPE): Likewise.
50827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50828 (__SYSCALL_SLONG_TYPE): Likewise.
50829 (__SYSCALL_ULONG_TYPE): Likewise.
50830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50831 (__SYSCALL_SLONG_TYPE): Likewise.
50832 (__SYSCALL_ULONG_TYPE): Likewise.
50833
50834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50835
50836 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50837 Add sigaltstack-offsets.sym.
50838 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50839 <sigaltstack-offsets.h>.
50840 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
50841 longjmp_msg pointer.
50842 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
50843 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50844 signal stack.
50845 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50846
50847 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50848
50849 * elf/stackguard-macros.h: Remove file.
50850 * sysdeps/generic/stackguard-macros.h: New file.
50851 * sysdeps/i386/stackguard-macros.h: Likewise.
50852 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50853 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50854 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50855 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50856 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50857 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50858 * sysdeps/x86_64/stackguard-macros.h: Likewise.
50859 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50860 <elf/stackguard-macros.h>.
50861
50862 [BZ #14109]
50863 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50864 __aligned__ in attribute.
50865 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50866 (gregset_t): Likewise.
50867
50868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50869
50870 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50871 * sysdeps/x86_64/64/Implies-after: Here. New file.
50872 * sysdeps/x86_64/x32/Implies-after: New file.
50873
50874 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50875
50876 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50877 and access return value for _dl_profile_fixup. Use R10_LP to
50878 load frame size.
50879
50880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50881
50882 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50883
50884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50885
50886 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50887 * sysdeps/x86_64/x32/sysdep.h: New file.
50888
50889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50890
50891 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50892 * sysdeps/x86_64/setjmp.S: Likewise.
50893
50894 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50895
50896 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50897 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50898 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50899 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50900 remove unused global constant.
50901
50902 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
50903
50904 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50905 include of <not-cancel.h>.
50906
50907 2012-05-15 Roland McGrath <roland@hack.frob.com>
50908
50909 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50910
50911 2012-05-15 Jeff Law <law@redhat.com>
50912 Andreas Jaeger <aj@suse.de>
50913
50914 [BZ #13594]
50915 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50916 out from...
50917 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50918 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50919 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50920 code changing __hst_map_handle.map.
50921
50922 2012-05-15 Roland McGrath <roland@hack.frob.com>
50923
50924 * configure.in (sysnames): Look for Implies-before and Implies-after
50925 files.
50926 * configure: Regenerated.
50927
50928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50929
50930 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50931 8-byte data alignment with LP_SIZE alignment.
50932
50933 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50934
50935 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50936 into R10_LP.
50937
50938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50939
50940 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50941
50942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50943
50944 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50945 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50947 Likewise.
50948 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50949
50950 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50951
50952 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50953 (stackinfo_sub_sp): Likewise.
50954
50955 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50956
50957 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50958 RAX_LP.
50959
50960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50961
50962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50963 into R*_LP.
50964
50965 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50966
50967 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50968 sizes into R*_LP.
50969
50970 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50971
50972 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50973
50974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50975
50976 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50977 into R11_LP and load __x86_64_shared_cache_size_half into
50978 R8_LP.
50979
50980 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50981
50982 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50983 R8_LP.
50984
50985 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50986
50987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50988 logb for POWER7.
50989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50990 logbf for POWER7.
50991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50992 logbl for POWER7.
50993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50994 powerpc32/power7/fpu/s_logb.c via #include.
50995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50996 powerpc32/power7/fpu/s_logbf.c via #include.
50997 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50998 powerpc32/power7/fpu/s_logbl.c via #include.
50999
51000 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51001
51002 * README.libm: Remove file.
51003
51004 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51005
51006 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51007 count for x32. Use R*_LP and omit operand-size suffix.
51008
51009 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51010
51011 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51012 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51013 * sysdeps/x86_64/x32/shlib-versions: New file.
51014
51015 2012-05-14 Roland McGrath <roland@hack.frob.com>
51016
51017 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51018 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51019 Use _dl_fatal_printf instead.
51020
51021 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51022
51023 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51024 set if not set by the user. Do not allow for being unset.
51025 * sysdeps/unix/sysv/linux/configure: Regenerated.
51026
51027 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51028
51029 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51030 the `q' suffix from lea and replace .quad with ASM_ADDR.
51031
51032 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51033
51034 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51035 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51036 instead of $17.
51037 (PTR_DEMANGLE): Likewise.
51038
51039 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51040
51041 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51042 (LP_OP): Likewise.
51043 (ASM_ADDR): Likewise.
51044 (RAX_LP): Likewise.
51045 (RBP_LP): Likewise.
51046 (RBX_LP): Likewise.
51047 (RCX_LP): Likewise.
51048 (RDI_LP): Likewise.
51049 (RSI_LP): Likewise.
51050 (RSP_LP): Likewise.
51051 (R8_LP): Likewise.
51052 (R9_LP): Likewise.
51053 (R10_LP): Likewise.
51054 (R10_LP): Likewise.
51055 (R11_LP): Likewise.
51056 (R12_LP): Likewise.
51057 (R13_LP): Likewise.
51058 (R14_LP): Likewise.
51059 (R15_LP): Likewise.
51060
51061 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51062
51063 * sysdeps/x86_64/x32/dl-machine.h: New file.
51064
51065 2012-05-14 Andreas Jaeger <aj@suse.de>
51066
51067 * manual/Makefile (subdir): Remove export of subdir.
51068 (all): Remove target.
51069 (.PHONY): Remove all from list.
51070 (mkinstalldirs): Remove.
51071 (.PHONY): Remove installdirs from list.
51072 ($(inst_infodir)/libc.info): Use make-target-directory.
51073 (installdirs): Remove.
51074 (subdir_%): Remove.
51075 (glibc-targets): Remove.
51076 (lib): Remove.
51077 (stubs): Remove.
51078 ($(objpfx)stubs ../po/manual.pot): Remove.
51079 ($(objpfx)stamp%): Remove.
51080 (make-target-directory): Remove.
51081 (subdir_install): Remove.
51082 (routines): Remove.
51083 (aux): Remove.
51084 (sources): Remove.
51085 (objects): Remove.
51086 (headers): Remove.
51087
51088 [BZ #13750]
51089 * manual/.gitignore: Remove, it's not needed anymore.
51090 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51091 all files in it.
51092 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51093 directory.
51094 (texis): Renamed to $(objpfx)texis.
51095 (texis-path): New, contains path to generated files.
51096 (chapters.%): Use texis-path for complete path, add extra argument
51097 libc-texinfo.sh.
51098 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51099 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51100 (summary,texi, stamp-summary): Use complete path of
51101 files. Generate files in build dir.
51102 (dir-add.texi): Build in build dir.
51103 (libm-err.texi,stamp-libm-err): Likewise.
51104 (version.texi, stamp-version): Likewise.
51105 (.%c.texi): Likewise.
51106 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51107 (mostlyclean): Remove target.
51108 (realclean): Remove target.
51109 (generated): Add new variable with contents from mostlyclean and
51110 realclean, remove entries duplicated in common-mostlyclean, add
51111 stamp-libm-err and stamp-version.
51112 (generated-dirs): Add libc directory.
51113 ($(inst_infodir)/libc.info): Install files from build dir.
51114
51115 * manual/install.texi (Configuring and compiling): Adjust since
51116 the info files are not part of the tar ball anymore.
51117
51118 2012-05-14 Andreas Jaeger <aj@suse.de>
51119
51120 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51121 variable.
51122
51123 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51124
51125 [BZ #13717]
51126 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51127 to 2.2.0 where earlier.
51128 * sysdeps/unix/sysv/linux/configure: Regenerated.
51129 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51130 Remove conditional code.
51131 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51132 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51133 Remove conditional code.
51134 [!__NR_lchown]: Likewise.
51135 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51136 [__NR_lchown]: Likewise.
51137 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51138 comment referencing __ASSUME_LCHOWN_SYSCALL.
51139 * sysdeps/unix/sysv/linux/i386/sigaction.c
51140 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51141 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51142 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51143 Remove conditional code.
51144 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51145 (__protocol_available): Remove #if 0 code.
51146 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51147 conditional code.
51148 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51149 * sysdeps/unix/sysv/linux/kernel-features.h
51150 (__ASSUME_GETCWD_SYSCALL): Don't define.
51151 (__ASSUME_REALTIME_SIGNALS): Likewise.
51152 (__ASSUME_PREAD_SYSCALL): Likewise.
51153 (__ASSUME_PWRITE_SYSCALL): Likewise.
51154 (__ASSUME_POLL_SYSCALL): Likewise.
51155 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51156 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51157 non-SPARC.
51158 (__ASSUME_SIOCGIFNAME): Don't define.
51159 (__ASSUME_MSG_NOSIGNAL): Likewise.
51160 (__ASSUME_SENDFILE): Define unconditionally.
51161 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51162 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51163 conditional code.
51164 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51165 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51166 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51167 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51168 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51169 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51170 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51172 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51173 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51175 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51178 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51181 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51184 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51187 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51190 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51195 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51196 Remove conditional code.
51197 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51198 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51199 Remove conditional code.
51200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51201 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51202 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51203 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51204 Remove conditional code.
51205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51206 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51207 Remove conditional code.
51208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51209 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51210 Remove conditional code.
51211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51212 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51213 Remove conditional code.
51214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51215 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51216 Remove conditional code.
51217 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51218 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51221 * sysdeps/unix/sysv/linux/sigaction.c
51222 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51223 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51224 * sysdeps/unix/sysv/linux/sigpending.c
51225 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51226 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51227 * sysdeps/unix/sysv/linux/sigprocmask.c
51228 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51229 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51230 * sysdeps/unix/sysv/linux/sigsuspend.c
51231 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51232 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51233 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51234 (__libc_missing_rt_sigs): Remove.
51235 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51236 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51237 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51238 Remove conditional code.
51239 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51240 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51241 return 1.
51242 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51243 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51244 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51245 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51246
51247 2012-05-14 Andreas Jaeger <aj@suse.de>
51248
51249 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51250 it's not used in glibc.
51251 (__coshm1): Likewise.
51252 (__acosh1p): Likewise.
51253 (__sgn): Likewise.
51254
51255 * manual/string.texi (Copying and Concatenation): Add missing
51256 variable in concat example.
51257 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51258
51259 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51260
51261 [BZ #14103]
51262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51263 __builtin_clzl with __builtin_clzll.
51264
51265 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51266
51267 [BZ #14104]
51268 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51269 libc_freeres_ptr.
51270
51271 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51272
51273 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51274 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51275 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51276 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51277
51278 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51279
51280 * NEWS: Update ia64 info.
51281
51282 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51283
51284 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51285 used as bcopy.
51286
51287 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51288
51289 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51290 * sysdeps/unix/syscalls.list (dup3): Likewise.
51291 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51292 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51293
51294 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51295
51296 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51297 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51298
51299 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51300
51301 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51302 thread pointer.
51303 (TLS_IE): Use mov/add instead of movq/addq to load thread
51304 pointer.
51305 (TLS_GD_PREFIX): New.
51306 (TLS_GD): Use it.
51307
51308 2012-05-11 David S. Miller <davem@davemloft.net>
51309
51310 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51311 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51312 (_FPU_SETCW): Likewise.
51313
51314 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51315
51316 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51317 is 32-byte aligned.
51318
51319 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51320
51321 [BZ #11837]
51322 * iconvdata/gb18030.c: Update tables.
51323 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51324 characters specially.
51325 (BODY for TO_LOOP): Add encoding of missing ranges.
51326
51327 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51328
51329 [BZ #13673]
51330 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51331 * sysdeps/mach/hurd/dup3.c: Likewise.
51332 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51333 * sysdeps/powerpc/memmove.c:: Likewise.
51334
51335 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51336
51337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51338 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51339
51340 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51341
51342 * elf/elf.h (R_X86_64_RELATIVE64): New.
51343 (R_X86_64_NUM): Updated.
51344 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51345 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51346 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51347 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51348 tst-quad1pie tst-quad2pie
51349 (modules-names): Add tst-quadmod1 tst-quadmod2.
51350 ($(objpfx)tst-quad1): New dependency.
51351 ($(objpfx)tst-quad2): Likewise.
51352 ($(objpfx)tst-quad1pie): Likewise.
51353 ($(objpfx)tst-quad2pie): Likewise.
51354 * sysdeps/x86_64/tst-quad1.c: New file.
51355 * sysdeps/x86_64/tst-quad1pie.c: New file.
51356 * sysdeps/x86_64/tst-quad2.c: Likewise.
51357 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51358 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51359 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51360 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51361 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51362
51363 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51364
51365 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51366 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51367 * streams/stropts.h (t_scalar_t): Define type.
51368
51369 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51370 (_PATH_PRESERVE): Set to "/var/lib".
51371 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51372
51373 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51374 instead of int.
51375
51376 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51377 if __dir_mkfile succeeded.
51378
51379 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51380 checking for _hurd_dtablesize. Unlock it right after having
51381 finished _hurd_dtable allocation.
51382
51383 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51384
51385 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51386 * sysdeps/mach/hurd/configure: Regenerated.
51387 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51388 special-casing to...
51389 * sysdeps/gnu/configure.in: ... this new file.
51390 * sysdeps/unix/sysv/linux/configure: Regenerated.
51391 * sysdeps/gnu/configure: New generated file.
51392
51393 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51394 for Linux: use nsec instead of usec, as well as:
51395 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51396 members of type struct timespec.
51397 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51398 New macros.
51399 (struct stat64): Likewise.
51400 (_STATBUF_ST_NSEC): New macro.
51401 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51402
51403 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51404 __strtoul_internal rather than strtoul.
51405
51406 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51407
51408 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51409 and reject them.
51410
51411 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51412
51413 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51414 which preserves existing values.
51415 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51416
51417 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51418
51419 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51420 TIMEOUT values. Return EINVAL for NFDS values either negative or
51421 greater than FD_SETSIZE.
51422
51423 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51424
51425 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51426 allocated, call __vm_protect to finish enabling the existing space, and
51427 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51428 allocate the remainder.
51429
51430 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51431
51432 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51433 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51434
51435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51436
51437 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51438 sysdeps/mach/hurd/readlink.c.
51439
51440 * posix/tst-sysconf.c (posix_options): Only use
51441 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51442 _POSIX_SYNCHRONIZED_IO when they are defined
51443 * sysdeps/mach/hurd/bits/posix_opt.h:
51444 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51445 (_XOPEN_REALTIME): Undefine macro.
51446 (_XOPEN_REALTIME_THREADS): Undefine macro.
51447 (_XOPEN_SHM): Undefine macro.
51448 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51449 macro to -1.
51450 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51451 macro to -1.
51452 (_POSIX_ASYNC_IO): Undefine macro.
51453 (_POSIX_PRIORITIZED_IO): Undefine macro.
51454 (_POSIX_SPIN_LOCKS): Define macro to -1.
51455
51456 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51457 SA_NODEFER, SA_RESETHAND.
51458 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51459 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51460 F_DUPFD_CLOEXEC.
51461
51462 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51463
51464 * elf/Makefile (pldd-modules): Define unconditionally.
51465
51466 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51467
51468 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51469
51470 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51471
51472 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51473 Return ENOENT when name is empty.
51474 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51475
51476 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51477
51478 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51479
51480 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51481
51482 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51483
51484 Fix mlock in all cases except non-readable pages.
51485 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51486 instead of VM_PROT_ALL as parameter to __vm_wire function.
51487
51488 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51489 (__mkdir): When path is `/', just fail with EEXIST.
51490 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51491
51492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51493
51494 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51495 <sys/uio.h> (for writev).
51496 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51497 and <sys/param.h> (for MIN).
51498
51499 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51500
51501 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51502 REQUESTED_TIME. Properly set the remaining time and return EINTR
51503 if interrupted.
51504
51505 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51506
51507 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51508 Depend on against $(link-rpcuserlibs).
51509
51510 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51511
51512 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51513 (__libc_stack_end): Do not use attribute_relro.
51514 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51515 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51516 to libthread-provided value.
51517 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51518 attribute_relro.
51519
51520 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51521
51522 [BZ #3748]
51523 * bits/libc-lock.h (__libc_once_get): New macro.
51524 * sysdeps/mach/bits/libc-lock.h: Likewise.
51525 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51526 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51527 instead of using implementation details.
51528
51529 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51530 * libio/freopen.c: Likewise.
51531 * libio/freopen64.c: Likewise.
51532 * misc/syslog.c: Likewise.
51533 * nscd/connections.c: Likewise.
51534 * nscd/netgroupcache.c: Likewise.
51535 * sysdeps/posix/getcwd.c: Likewise.
51536
51537 2012-05-10 Roland McGrath <roland@hack.frob.com>
51538
51539 * math/w_ilogbf.c: Add #include <limits.h>.
51540
51541 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51542
51543 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51544 path instead of returning without unlocking.
51545
51546 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51547 immediate-write ioctls.
51548 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51549
51550 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51551
51552 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51553 __builtin_frame_address instead of making assumptions about the
51554 location of the return address relative to DATA. Force early load of
51555 the return address.
51556 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51557 __builtin_frame_address.
51558
51559 dup3 for GNU Hurd.
51560 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51561 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51562 implement dup3 and do some further code clean-ups.
51563 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51564 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51565
51566 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51567
51568 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51569
51570 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51571 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51572 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51573 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51574 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51575 d->port.lock.
51576
51577 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51578 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51579 when handler == SIG_ERR, not when handler != SIG_ERR.
51580
51581 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51582
51583 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51584 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51585 definitions.
51586
51587 accept4 for GNU Hurd.
51588 * include/sys/socket.h (__libc_accept4): New prototype.
51589 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51590 to implement __libc_accept4.
51591 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51592 __libc_accept4.
51593 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51594
51595 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51596 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51597 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51598 signal-defines.sym.
51599
51600 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51601
51602 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51603
51604 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51605
51606 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51607 assertion on O_CLOEXEC flag.
51608 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51609 * hurd/intern-fd.c: Likewise.
51610 * hurd/port2fd.c: Likewise.
51611
51612 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51613
51614 [BZ #3906]
51615 * bits/in.h (IPV6_PKTINFO): Define new macro.
51616 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51617
51618 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51619
51620 [BZ #13954]
51621 [BZ #13955]
51622 [BZ #13956]
51623 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51625 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51626 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51627 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51628 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51629 * math/libm-test.inc (logb_test) : Additional logb tests.
51630
51631 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51632 Andreas Jaeger <aj@suse.de>
51633
51634 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51635 * configure: Regenerated.
51636 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51637 * config.make.in (link-obsolete-rpc): New substituted variable.
51638 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51639 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51640 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51641 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51642 so that libc.a contains the symbols.
51643 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51644 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51645 * sunrpc/auth_none.c: Likewise.
51646 * sunrpc/auth_unix.c: Likewise.
51647 * sunrpc/authdes_prot.c: Likewise.
51648 * sunrpc/authuxprot.c: Likewise.
51649 * sunrpc/clnt_gen.c: Likewise.
51650 * sunrpc/clnt_perr.c: Likewise.
51651 * sunrpc/clnt_raw.c: Likewise.
51652 * sunrpc/clnt_simp.c: Likewise.
51653 * sunrpc/clnt_tcp.c: Likewise.
51654 * sunrpc/clnt_udp.c: Likewise.
51655 * sunrpc/clnt_unix.c: Likewise.
51656 * sunrpc/des_crypt.c: Likewise.
51657 * sunrpc/des_soft.c: Likewise.
51658 * sunrpc/get_myaddr.c: Likewise.
51659 * sunrpc/key_call.c: Likewise.
51660 * sunrpc/key_prot.c: Likewise.
51661 * sunrpc/netname.c: Likewise.
51662 * sunrpc/pm_getmaps.c: Likewise.
51663 * sunrpc/pm_getport.c: Likewise.
51664 * sunrpc/pmap_clnt.c: Likewise.
51665 * sunrpc/pmap_prot.c: Likewise.
51666 * sunrpc/pmap_prot2.c: Likewise.
51667 * sunrpc/pmap_rmt.c: Likewise.
51668 * sunrpc/publickey.c: Likewise.
51669 * sunrpc/rpc_cmsg.c: Likewise.
51670 * sunrpc/rpc_common.c: Likewise.
51671 * sunrpc/rpc_dtable.c: Likewise.
51672 * sunrpc/rpc_prot.c: Likewise.
51673 * sunrpc/rpc_thread.c: Likewise.
51674 * sunrpc/rtime.c: Likewise.
51675 * sunrpc/svc.c: Likewise.
51676 * sunrpc/svc_auth.c: Likewise.
51677 * sunrpc/svc_raw.c: Likewise.
51678 * sunrpc/svc_run.c: Likewise.
51679 * sunrpc/svc_tcp.c: Likewise.
51680 * sunrpc/svc_udp.c: Likewise.
51681 * sunrpc/svc_unix.c: Likewise.
51682 * sunrpc/svcauth_des.c: Likewise.
51683 * sunrpc/xcrypt.c: Likewise.
51684 * sunrpc/xdr.c: Likewise.
51685 * sunrpc/xdr_array.c: Likewise.
51686 * sunrpc/xdr_float.c: Likewise.
51687 * sunrpc/xdr_intXX_t.c: Likewise.
51688 * sunrpc/xdr_mem.c: Likewise.
51689 * sunrpc/xdr_rec.c: Likewise.
51690 * sunrpc/xdr_ref.c: Likewise.
51691 * sunrpc/xdr_sizeof.c: Likewise.
51692 * sunrpc/xdr_stdio.c: Likewise.
51693
51694 2012-05-10 Roland McGrath <roland@hack.frob.com>
51695
51696 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51697 change. Update copyright years.
51698
51699 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51700
51701 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51702
51703 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51704 Joseph Myers <joseph@codesourcery.com>
51705 Paul Pluzhnikov <ppluzhnikov@google.com>
51706
51707 [BZ #14012]
51708 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51709 requiring rpcgen.
51710 [cross-compiling] (extra-libs): Likewise.
51711 [cross-compiling] (extra-libs-others): Likewise.
51712 [cross-compiling] (librpcsvc-routines): Likewise.
51713 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51714 [cross-compiling] (omit-deps): Likewise.
51715 (sunrpc-CPPFLAGS): New variable.
51716 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51717 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51718 (cross-rpcgen-objs): New variable.
51719 (extra-objs): Append $(cross-rpcgen-objs).
51720 ($(cross-rpcgen-objs)): New rule.
51721 ($(objpfx)cross-rpcgen): Likewise.
51722 (rpcgen-cmd): Define to use $(built-program-file). Expand
51723 comment.
51724 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51725 ($(objpfx)x%.stmp): Likewise.
51726 * sunrpc/proto.h [IS_IN_build] (_): Define.
51727 [IS_IN_build] (_libc_intl_domainname): Likewise.
51728
51729 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51730
51731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51732 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51733 and R_X86_64_TPOFF64.
51734
51735 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51736
51737 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51738 sysdeps/unix/sysv/syscalls.list.
51739 (stime): Likewise.
51740 (utime): Likewise.
51741 * sysdeps/unix/sysv/syscalls.list: Remove file.
51742
51743 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51744
51745 [BZ #3440]
51746 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51747 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51748 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51749 (__LC_IDENTIFICATION): Make these macros useful in #if
51750 expressions, as required by C99.
51751
51752 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51753
51754 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51755 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51756 after this.
51757
51758 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51759
51760 * stdlib/longlong.h: Updated from GCC.
51761
51762 2012-05-09 Andreas Jaeger <aj@suse.de>
51763
51764 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51765 default is first entry.
51766 (run_mode): Set type.
51767 (main): Remove informal message about syslog.
51768 (options): Fix typo.
51769
51770 [BZ #14053]
51771 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51772 to asm.
51773 (lrint): Likewise.
51774 (llrintf): Likewise.
51775 (llrint): Likewise.
51776 (rint): Likewise.
51777 (rintf): Likewise.
51778 (nearbyint): Likewise.
51779 (nearbyintf): Likewise.
51780
51781 2012-05-09 Andreas Jaeger <aj@suse.de>
51782 Pedro Alves <palves@redhat.com>
51783
51784 * nscd/nscd.c (run_mode): Use enum.
51785 (main): Cleanup coding style issue.
51786
51787 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51788 Andreas Jaeger <aj@suse.de>
51789
51790 * nscd/nscd.c (go_background): Replaced with...
51791 (run_mode): ... this.
51792 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51793 (options): Add -F --foreground.
51794 (main): Implement it.
51795 (parse_opt): Parse it.
51796
51797 2012-05-09 Andreas Jaeger <aj@suse.de>
51798
51799 [BZ #14083]
51800 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51801 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51802 -Wconversion warning.
51803 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51804 Likewise.
51805
51806 2012-05-09 Joseph Myers <joseph@codesourcery.com>
51807
51808 * conform/data/locale.h-data (NULL): Use macro-constant. Require
51809 == 0.
51810 (LC_ALL): Use macro-int-constant.
51811 (LC_COLLATE): Likewise.
51812 (LC_CTYPE): Likewise.
51813 (LC_MESSAGES): Likewise.
51814 (LC_MONETARY): Likewise.
51815 (LC_NUMERIC): Likewise.
51816 (LC_TIME): Likewise.
51817 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51818 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51820 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51821 Specify type.
51822 [C99-based standards] (float_t): Expect type.
51823 [C99-based standards] (double_t): Expect type.
51824 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
51825 type.
51826 [C99-based standards] (HUGE_VALL): Likewise.
51827 [C99-based standards] (INFINITY): Likewise.
51828 [C99-based standards] (NAN): Likewise.
51829 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51830 [C99-based standards] (FP_NAN): Likewise.
51831 [C99-based standards] (FP_NORMAL): Likewise.
51832 [C99-based standards] (FP_SUBNORMAL): Likewise.
51833 [C99-based standards] (FP_ZERO): Likewise.
51834 [C99-based standards] (FP_FAST_FMA): Use
51835 optional-macro-int-constant. Specify type. Require == 1.
51836 [C99-based standards] (FP_FAST_FMAF): Likewise.
51837 [C99-based standards] (FP_FAST_FMAL): Likewise.
51838 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51839 [C99-based standards] (FP_ILOGBNAN): Likewise.
51840 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51841 Specify type.
51842 [C99-based standards] (MATH_ERREXCEPT): Likewise.
51843 [C99-based standards] (math_errhandling): Specify type.
51844 [ISO99 || ISO11] (signgam): Do not allow.
51845 [non-C99-based standards] (copysignf): Do not allow.
51846 [non-C99-based standards] (exp2f): Likewise.
51847 [non-C99-based standards] (log2f): Likewise.
51848 [non-C99-based standards] (modff): Allow.
51849 [non-C99-based standards] (erff): Do not allow.
51850 [non-C99-based standards] (erfcf): Likewise.
51851 [non-C99-based standards] (gammaf): Likewise.
51852 [non-C99-based standards] (hypotf): Likewise.
51853 [non-C99-based standards] (j0f): Likewise.
51854 [non-C99-based standards] (j1f): Likewise.
51855 [non-C99-based standards] (jnf): Likewise.
51856 [non-C99-based standards] (lgammaf): Likewise.
51857 [non-C99-based standards] (tgammaf): Likewise.
51858 [non-C99-based standards] (y0f): Likewise.
51859 [non-C99-based standards] (y1f): Likewise.
51860 [non-C99-based standards] (ynf): Likewise.
51861 [non-C99-based standards] (isnanf): Likewise.
51862 [non-C99-based standards] (acoshf): Likewise.
51863 [non-C99-based standards] (asinhf): Likewise.
51864 [non-C99-based standards] (atanhf): Likewise.
51865 [non-C99-based standards] (cbrtf): Likewise.
51866 [non-C99-based standards] (expm1f): Likewise.
51867 [non-C99-based standards] (ilogbf): Likewise.
51868 [non-C99-based standards] (log1pf): Likewise.
51869 [non-C99-based standards] (logbf): Likewise.
51870 [non-C99-based standards] (nextafterf): Likewise.
51871 [non-C99-based standards] (remainderf): Likewise.
51872 [non-C99-based standards] (rintf): Likewise.
51873 [non-C99-based standards] (scalbf): Likewise.
51874 [non-C99-based standards] (copysignl): Likewise.
51875 [non-C99-based standards] (exp2l): Likewise.
51876 [non-C99-based standards] (log2l): Likewise.
51877 [non-C99-based standards] (modfl): Allow.
51878 [non-C99-based standards] (erfl): Do not allow.
51879 [non-C99-based standards] (erfcl): Likewise.
51880 [non-C99-based standards] (gammal): Likewise.
51881 [non-C99-based standards] (hypotl): Likewise.
51882 [non-C99-based standards] (j0l): Likewise.
51883 [non-C99-based standards] (j1l): Likewise.
51884 [non-C99-based standards] (jnl): Likewise.
51885 [non-C99-based standards] (lgammal): Likewise.
51886 [non-C99-based standards] (tgammal): Likewise.
51887 [non-C99-based standards] (y0l): Likewise.
51888 [non-C99-based standards] (y1l): Likewise.
51889 [non-C99-based standards] (ynl): Likewise.
51890 [non-C99-based standards] (isnanl): Likewise.
51891 [non-C99-based standards] (acoshl): Likewise.
51892 [non-C99-based standards] (asinhl): Likewise.
51893 [non-C99-based standards] (atanhl): Likewise.
51894 [non-C99-based standards] (cbrtl): Likewise.
51895 [non-C99-based standards] (expm1l): Likewise.
51896 [non-C99-based standards] (ilogbl): Likewise.
51897 [non-C99-based standards] (log1pl): Likewise.
51898 [non-C99-based standards] (logbl): Likewise.
51899 [non-C99-based standards] (nextafterl): Likewise.
51900 [non-C99-based standards] (remainderl): Likewise.
51901 [non-C99-based standards] (rintl): Likewise.
51902 [non-C99-based standards] (scalbl): Likewise.
51903 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51904 [non-C99-based standards] (FP_*): Do not allow.
51905 [C99-based standards] (FP_*): Change to
51906 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51907 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51908 allow.
51909 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51910 (SIG_ERR): Likewise.
51911 [X/Open-based standards] (SIG_HOLD): Likewise.
51912 (SIG_IGN): Likewise.
51913 (SIGABRT): Use macro-int-constant. Specify type. Require
51914 positive value.
51915 (SIGFPE): Likewise.
51916 (SIGILL): Likewise.
51917 (SIGINT): Likewise.
51918 (SIGSEGV): Likewise.
51919 (SIGTER): Likewise.
51920 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51921 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51922 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51923 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51924 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51925 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51926 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51927 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51928 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51929 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51930 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51931 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51932 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51933 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51934 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51935 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51936 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51937 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51938 [X/Open-based standards] (SIGTRAP): Likewise.
51939 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51940 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51941 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51942 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51943 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51944 allow.
51945
51946 2012-05-08 Ian Wienand <ianw@vmware.com>
51947
51948 [BZ #14080]
51949 * time/tzset.c (__tzset_parse_tz): Update default rules for
51950 daylight time changes in the Energy Policy Act of 2005.
51951
51952 2012-05-09 Andreas Jaeger <aj@suse.de>
51953
51954 [BZ #13983]
51955 * elf/ldconfig.c (parse_conf): Change string to make clear that
51956 ldconfig only issued a warning if ld.so.conf does not exist.
51957
51958 2012-05-08 David S. Miller <davem@davemloft.net>
51959
51960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51961 movxtod instead of popping the value on the stack.
51962
51963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51964
51965 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
51966
51967 * config.h.in: Add HAVE_ARM_PCS_VFP.
51968
51969 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
51970
51971 [BZ #13979]
51972 * include/features.h: Warn if user requests __FORTIFY_SOURCE
51973 checking but the checks are disabled for any reason.
51974
51975 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
51976
51977 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51978 and ELF64_R_TYPE with ELFW(R_TYPE).
51979
51980 2012-05-08 Joseph Myers <joseph@codesourcery.com>
51981
51982 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51983 (ulimit): Likewise.
51984
51985 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51986 (settimeofday): Likewise.
51987
51988 2012-05-08 Mike Frysinger <vapier@gentoo.org>
51989
51990 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
51991 a struct th_u2 inside the union, and move tu_block/tu_code into
51992 a new th_u3 union of tu_block/tu_code inside of that. Move
51993 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
51994 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
51995 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51996 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51997 (th_stuff): Change to th_u1.tu_stuff.
51998 (th_data): Define.
51999 (th_msg): Change to th_u1.th_u2.tu_data.
52000
52001 2012-05-07 David S. Miller <davem@davemloft.net>
52002
52003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52004
52005 [BZ #14074]
52006 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52007 (SETUP_PIC_REG): Use it.
52008 (SETUP_PIC_REG_LEAF): Use it.
52009
52010 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52011
52012 [BZ #13885]
52013 [BZ #13923]
52014 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52015 USE_AS_EXPM1L.
52016 (EXPL_FINITE): Likewise.
52017 (FLDLOG): Likewise.
52018 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52019 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52020 e_expl.S.
52021 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52022 USE_AS_EXPM1L.
52023 (EXPL_FINITE): Likewise.
52024 (FLDLOG): Likewise.
52025 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52026 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52027 e_expl.S.
52028 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52029 test of -max_value argument for long double.
52030 * sysdeps/i386/fpu/libm-test-ulps: Update.
52031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52032
52033 2012-05-06 David S. Miller <davem@davemloft.net>
52034
52035 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52036 quad soft-float symbols whose references which are compiler
52037 generated.
52038 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52039
52040 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52041
52042 [BZ #13884]
52043 [BZ #13914]
52044 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52045 USE_AS_EXP10L.
52046 (EXPL_FINITE): Likewise.
52047 (FLDLOG): Likewise.
52048 (c0): Likewise.
52049 (c1): Likewise.
52050 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52051 Adjust comments for base varying.
52052 (__expl_finite): Change alias to EXPL_FINITE.
52053 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52054 e_expl.S.
52055 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52056 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52057 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52058 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52059 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52060 USE_AS_EXP10L.
52061 (EXPL_FINITE): Likewise.
52062 (FLDLOG): Likewise.
52063 (c0): Likewise.
52064 (c1): Likewise.
52065 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52066 Adjust comments for base varying.
52067 (__expl_finite): Change alias to EXPL_FINITE.
52068 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52069 tests for bugs.
52070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52071
52072 [BZ #14064]
52073 * math/libm-test.inc (check_float_internal): Correct ulp
52074 calculation for subnormal expected results.
52075
52076 2012-05-06 Andreas Jaeger <aj@suse.de>
52077
52078 * Makeconfig (+math-flags): New, set to -frounding-math.
52079 (+cflags): Add +math-flags so that all of glibc gets compiled with
52080 it.
52081
52082 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52083
52084 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52085
52086 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52087 Disable one test.
52088
52089 [BZ #13787]
52090 [BZ #13922]
52091 [BZ #14036]
52092 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52093 (__ieee754_expl): Allow for and saturate large arguments.
52094 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52095 (u_threshold): Likewise.
52096 (__exp): Call __ieee754_exp before checking for overflow and
52097 underflow.
52098 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52099 (u_threshold): Likewise.
52100 (__expf): Call __ieee754_expf before checking for overflow and
52101 underflow.
52102 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52103 (u_threshold): Likewise.
52104 (__expl): Call __ieee754_expl before checking for overflow and
52105 underflow.
52106 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52107 (__ieee754_expl): Allow for and saturate large arguments.
52108 * math/libm-test.inc (exp_test): Add another test. Do not allow
52109 missing overflow exception on overflow.
52110 (expm1_test): Do not allow missing overflow exception on overflow.
52111
52112 * sysdeps/i386/fpu/e_expl.c: Move to ...
52113 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52114 rather than using inline asm.
52115 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52116 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52117 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52118
52119 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52120 (nice): Likewise.
52121 (poll): Likewise.
52122 (signal): Likewise.
52123 (time): Likewise.
52124 (times): Likewise.
52125
52126 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52127
52128 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52129 sysdeps/unix/common/syscalls.list.
52130 (fchmod): Likewise.
52131 (fchown): Likewise.
52132 (ftruncate): Likewise.
52133 (getrusage): Likewise.
52134 (gettimeofday): Likewise.
52135 (setpgid): Likewise.
52136 (setregid): Likewise.
52137 (setreuid): Likewise.
52138 (sigaction): Likewise.
52139 (truncate): Likewise.
52140 (vhangup): Likewise.
52141 * sysdeps/unix/common/syscalls.list: Remove file.
52142 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52143 * sysdeps/unix/sysv/linux/Implies: Likewise.
52144
52145 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52146
52147 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52149 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52150 Moved to ...
52151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52152 Here.
52153 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52154 to ...
52155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52156 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52157 to ...
52158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52159 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52160 to ...
52161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52162 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52163 to ...
52164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52165 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52166 to ...
52167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52168 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52169 to ...
52170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52171 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52172 to ...
52173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52174 Here.
52175 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52176 to ...
52177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52178 Here.
52179 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52180 to ...
52181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52182 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52183 Moved to ...
52184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52185 Here.
52186 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52187 to ...
52188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52189
52190 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52191
52192 * sysdeps/unix/common/bits/dirent.h: Remove file.
52193 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52194
52195 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52196 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52197 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52198 * sysdeps/unix/bsd/isatty.c: Likewise.
52199 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52200 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52201 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52202
52203 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52204
52205 [BZ #13563]
52206 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52207 long double comparison inaccuracies.
52208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52210
52211 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52212
52213 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52215
52216 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52217
52218 [BZ #14049]
52219 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52220 nonzero digits before rounding a hex value.
52221 * stdlib/tst-strtod.c (tests): Add another test.
52222
52223 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52224
52225 * sysdeps/s390/fpu/libm-test-ulps: Update.
52226
52227 2012-05-03 Andreas Jaeger <aj@suse.de>
52228
52229 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52230 does not get optimized out.
52231 (malloc_opt_barrier): New.
52232
52233 2012-05-03 Andreas Jaeger <aj@suse.de>
52234 Roland McGrath <roland@hack.frob.com>
52235
52236 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52237 intermediate file deletion.
52238 (generated): Add .symlist files.
52239
52240 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52241
52242 [BZ #13775]
52243 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52244 Redirect under this condition.
52245 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52246 [__USE_GNU] (__dprintf_chk): Not under this condition.
52247 [__USE_GNU] (__vdprintf_chk): Likewise.
52248 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52249 under this condition.
52250 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52251 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52252 [__USE_XOPEN2K8] (vdprintf): Likewise.
52253 [__USE_GNU] (__dprintf_chk): Not under this condition.
52254 [__USE_GNU] (__vdprintf_chk): Likewise.
52255 [__USE_GNU] (dprintf): Likewise.
52256 [__USE_GNU] (vdprintf): Likewise.
52257
52258 2012-05-03 Roland McGrath <roland@hack.frob.com>
52259
52260 * elf/Makefile (common-generated): Set this instead of generated for
52261 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52262 $(all-built-dso)-derived lists.
52263
52264 2012-05-03 Andreas Jaeger <aj@suse.de>
52265
52266 * sysdeps/i386/fpu/libm-test-ulps: Update.
52267
52268 * FAQ: Removed.
52269 * FAQ.in: Likewise.
52270 * scripts/gen-FAQ.pl: Likewise.
52271 * manual/install.texi (Installation): Point to online location of
52272 FAQ.
52273 * Makefile (files-for-dist): Remove FAQ.
52274 (FAQ): Remove.
52275
52276 2012-05-02 Allan McRae <allan@archlinux.org>
52277
52278 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52279 (LDFLAGS-reldepmod5.so): Likewise.
52280 (LDFLAGS-reldep6mod1.so): Likewise.
52281 (LDFLAGS-reldep6mod4.so): Likewise.
52282 (LDFLAGS-reldep8mod3.so): Likewise.
52283 (LDFLAGS-unload4mod1.so): Likewise.
52284 (LDFLAGS-unload4mod2.so): Likewise.
52285 (LDFLAGS-tst-initorder): Likewise.
52286 (LDFLAGS-tst-initordera2.so): Likewise.
52287 (LDFLAGS-tst-initordera3.so): Likewise.
52288 (LDFLAGS-tst-initordera4.so): Likewise.
52289 (LDFLAGS-tst-initorderb2.so): Likewise.
52290 (LDFLAGS-noload): Likewise.
52291 (LDFLAGS-next): Likewise.
52292 (LDFLAGS-order2mod1.so): Likewise.
52293 (LDFLAGS-order2mod2.so): Likewise.
52294 (LDFLAGS-tst-initorder2): Likewise.
52295 (LDFLAGS-tst-initorder2a.so): Likewise.
52296 (LDFLAGS-tst-initorder2b.so): Likewise.
52297 (LDFLAGS-tst-initorder2c.so): Likewise.
52298 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52299
52300 2012-05-02 David S. Miller <davem@davemloft.net>
52301
52302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52303
52304 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52305
52306 [BZ #14055]
52307 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52308
52309 2012-05-02 Andreas Jaeger <aj@suse.de>
52310
52311 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52312 since we manipulate rounding mode.
52313 (CPPFLAGS-test-idouble.c): Likewise.
52314 (CPPFLAGS-test-ifloat.c): Likewise.
52315 (CFLAGS-test-ldouble.c): Likewise.
52316 (CFLAGS-test-double.c): Likewise.
52317 (CFLAGS-test-float.c): Likewise.
52318 (CFLAGS-test-misc.c): Likewise.
52319 (CFLAGS-test-test-fenv.c): Likewise.
52320
52321 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52322
52323 [BZ #2550]
52324 [BZ #2570]
52325 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52326 comparisons to determine direction to adjust input.
52327
52328 2012-05-01 Roland McGrath <roland@hack.frob.com>
52329
52330 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52331 output to the target.
52332
52333 * scripts/localplt.awk: New file.
52334 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52335 (check-localplt-CFLAGS): Variable removed.
52336 ($(all-built-dso:=.jmprel)): New static pattern rule.
52337 (generated): Add those targets.
52338 (localplt-built-dso): New variable.
52339 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52340
52341 * elf/check-localplt.c: File removed.
52342
52343 * scripts/check-execstack.awk: New file.
52344 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52345 (check-execstack-CFLAGS): Variable removed.
52346 ($(objpfx)check-execstack.h): Target removed.
52347 ($(objpfx)execstack-default): New target.
52348 (generated): Add that instead of check-execstack.h.
52349 ($(all-built-dso:=.phdr)): New static pattern rule.
52350 (generated): Add those targets.
52351 * elf/check-execstack.c: File removed.
52352
52353 * scripts/check-textrel.awk: New file.
52354 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52355 (check-textrel-CFLAGS): Variable removed.
52356 (all-built-dso): Use := to define.o
52357 ($(all-built-dso:=.dyn)): New static pattern rule.
52358 (generated): Add those targets.
52359 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52360 * config.make.in (READELF): New substituted variable.
52361 * elf/check-textrel.c: File removed.
52362
52363 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52364
52365 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52366 allow.
52367 * conform/data/ctype.h-data [C99-based standards] (isblank):
52368 Expect function.
52369 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52370 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52371 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52372 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52373 Specify type. Require positive value.
52374 (EILSEQ): Likewise.
52375 (ERANGE): Likewise.
52376 [ISO || POSIX] (EILSEQ): Do not expect.
52377 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52378 Specify type. Require positive value.
52379 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52380 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52381 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52382 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52383 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52384 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52385 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52386 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52387 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52388 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52389 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52390 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52391 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52392 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52393 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52394 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52395 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52396 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52397 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52398 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52399 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52400 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52401 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52402 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52403 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52404 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52405 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52406 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52407 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52408 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52409 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52410 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52411 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52412 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52413 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52414 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52415 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52416 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52417 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52418 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52419 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52420 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52421 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52422 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52423 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52424 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52425 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52426 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52427 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52428 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52429 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52430 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52431 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52432 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52433 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52434 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52435 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52436 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52437 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52438 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52439 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52440 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52441 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52442 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52443 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52444 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52445 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52446 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52447 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52448 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52449 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52450 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52451 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52452 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52453 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52454 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52455 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52456 Require >= 2.
52457 (FLT_ROUNDS): Expect as macro, not constant.
52458 (FLT_MANT_DIG): Use macro-int-constant.
52459 (DBL_MANT_DIG): Likewise.
52460 (LDBL_MANT_DIG): Likewise.
52461 (FLT_DIG): Likewise.
52462 (DBL_DIG): Likewise.
52463 (LDBL_DIG): Likewise.
52464 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52465 (DBL_MIN_EXP): Likewise.
52466 (LDBL_MIN_EXP): Likewise.
52467 (FLT_MAX_EXP): Use macro-int-constant.
52468 (DBL_MAX_EXP): Likewise.
52469 (LDBL_MAX_EXP): Likewise.
52470 (FLT_MAX_10_EXP): Likewise.
52471 (DBL_MAX_10_EXP): Likewise.
52472 (LDBL_MAX_10_EXP): Likewise.
52473 (FLT_MAX): Use macro-constant.
52474 (DBL_MAX): Likewise.
52475 (LDBL_MAX): Likewise.
52476 (FLT_EPSILON): Use macro-constant. Give upper bound.
52477 (DBL_EPSILON): Likewise.
52478 (LDBL_EPSILON): Likewise.
52479 (FLT_MIN): Likewise.
52480 (DBL_MIN): Likewise.
52481 (LDBL_MIN): Likewise.
52482 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52483 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52484 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52485 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52486 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52487 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52488 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52489 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52490 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52491 [ISO11] (FLT_TRUE_MIN): Likewise.
52492 [ISO11] (LDBL_TRUE_MIN): Likewise.
52493 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52494 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52495 (SCHAR_MIN): Use macro-int-constant. Specify type.
52496 (SCHAR_MAX): Likewise.
52497 (UCHAR_MAX): Likewise.
52498 (CHAR_MIN): Likewise.
52499 (CHAR_MAX): Likewise.
52500 (MB_LEN_MAX): Use macro-int-constant.
52501 (SHRT_MIN): Use macro-int-constant. Specify type.
52502 (SHRT_MAX): Likewise.
52503 (USHRT_MAX): Likewise.
52504 (INT_MAX): Likewise.
52505 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52506 bound negative.
52507 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52508 bound with "U".
52509 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52510 bound with "L".
52511 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52512 bound negative. Suffix upper bound with "L".
52513 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52514 bound with "UL".
52515 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52516 Specify type.
52517 [C99-based standards] (LLONG_MAX): Likewise.
52518 [C99-based standards] (ULLONG_MAX): Likewise.
52519 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52520 == 0.
52521 [ISO11] (max_align_t): Require type.
52522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52523
52524 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52525 from $CFLAGS, without defining away __attribute__ calls.
52526 (checknamespace): Use $CFLAGS_namespace.
52527
52528 * conform/conformtest.pl (@keywords): Only include C99 keywords
52529 for standards based on C99 or C11.
52530
52531 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52532 Disable tests.
52533 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52534 UNIX98]: Likewise.
52535
52536 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52537 usability of symbols in #if.
52538
52539 * conform/conformtest.pl: If macro or constant types start
52540 "promoted:", expect the symbol to be of the following type
52541 promoted by the integer promotions.
52542
52543 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52544 in one place. Also handle "macro-constant".
52545
52546 * conform/conformtest.pl: Only accept expected macro values with
52547 "==". Parse all "macro" lines in one place.
52548 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52549
52550 * conform/conformtest.pl: Handle braced types on "constant" lines
52551 instead of handling "typed-constant".
52552 * conform/data/signal.h-data: Use "constant" instead of
52553 "typed-constant".
52554
52555 * conform/conformtest.pl: Handle "optional-" at start of lines in
52556 one place rather than duplicating several cases. Handle each
52557 format of "macro" line with initial "optional-".
52558
52559 * conform/conformtest.pl: Only accept expected constant or
52560 optional-constant values with "==". Parse all "constant" lines in
52561 one place. Parse all "optional-constant" lines in one place.
52562 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52563 * conform/data/fmtmsg.h-data: Likewise.
52564 * conform/data/netinet/in.h-data: Likewise.
52565 * conform/data/tar.h-data: Likewise.
52566 * conform/data/limits.h-data: Use "==" form on "constant" and
52567 "optional-constant" lines.
52568
52569 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52570 Use -std=c99 for XOPEN2K.
52571 (@knownproblems): Remove.
52572 (newtoken): Don't check %isknown.
52573
52574 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52575 Do not expect macro.
52576 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52577 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52578 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52579 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52580 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52581 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52582 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52583 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52584 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52585 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52586 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52587 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52588 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52589 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52590 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52591 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52592 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52593 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52594 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52595 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52596 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52598 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52599 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52600 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52601 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52602 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52603 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52604 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52605 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52606 [XPG3] (acosh): Likewise.
52607 [XPG3] (asinh): Likewise.
52608 [XPG3] (atanh): Likewise.
52609 [XPG3] (cbrt): Likewise.
52610 [XPG3] (expm1): Likewise.
52611 [XPG3] (ilogb): Likewise.
52612 [XPG3] (log1p): Likewise.
52613 [XPG3] (logb): Likewise.
52614 [XPG3] (nextafter): Likewise.
52615 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52616 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52617 [XPG3] (remainder): Likewise.
52618 [XPG3] (rint): Likewise.
52619 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52620 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52621 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52622 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52623 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52624 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52625 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52626 [UNIX98 || XOPEN2K] (scalb): Expect.
52627 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52628 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52629 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52630 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52631 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52632 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52633 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52634 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52635 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52636 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52637 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52638 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52639 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52640 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52641 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52642 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52643 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52644 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52645 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52646 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52647 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52648 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52649 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52650 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52651 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52652 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52653 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52654 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52655 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52656 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52657 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52658 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52659 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52660 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52661 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52662 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52663 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52664 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52665 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52666 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52667 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52668 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52669 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52670 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52671 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52672 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52673 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52674 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52675 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52676 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52677 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52678 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52679 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52680 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52681 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52682 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52683 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52684 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52685 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52686 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52687 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52688 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52689 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52690 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52691 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52692 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52693 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52694 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52695 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52696 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52697 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52698 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52699 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52700 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52701 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52702 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52703 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52704 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52705 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52706 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52707 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52708 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52709 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52710 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52711 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52712 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52713 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52714 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52715 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52716 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52717 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52718 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52719 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52720 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52721 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52722 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52723 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52724 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52725 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52726 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52727 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52728 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52729 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52730 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52731 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52732 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52733 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52734 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52735 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52736 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52737 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52738 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52739 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52740 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52741 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52742 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52743 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52744 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52745 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52746 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52747 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52748 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52749 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52750 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52751 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52752 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52753 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52754 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52755 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52756 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52757 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52758 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52759 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52760 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52761 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52762 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52763 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52764
52765 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52766 _XOPEN_SOURCE_EXTENDED for XPG4.
52767
52768 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52769
52770 * Makeconfig (localtime): Remove variable.
52771 (inst_localtime-file): Likewise.
52772
52773 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52774
52775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52776 Update.
52777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52778 Update.
52779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52780 Update.
52781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52782 Update.
52783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52784 Update.
52785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52786 Update.
52787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52788 Update.
52789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52790 Update.
52791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52792 Update.
52793
52794 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52795
52796 [BZ #2550]
52797 [BZ #2570]
52798 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52799 comparisons to determine direction to adjust input.
52800 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52801 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52802 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52803 Likewise.
52804 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52805 Likewise.
52806 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52807 Likewise.
52808 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52809 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52810 Likewise.
52811 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52812 Likewise.
52813 * math/libm-test.inc (nexttoward_test): Add more tests.
52814
52815 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52816
52817 [BZ #14040]
52818 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52819 in version GLIBC_2.1, not GLIBC_2.0.
52820 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52821 Likewise.
52822
52823 2012-04-30 Joseph Myers <joseph@codesourcery.com>
52824
52825 [BZ #13942]
52826 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52827 (1 - x) * (1 + x).
52828 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52829 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52830 * math/libm-test.inc (acos_test): Add more tests.
52831 (asin_test): Likewise.
52832 * sysdeps/i386/fpu/libm-test-ulps: Update.
52833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52834
52835 [BZ #14034]
52836 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52837 of square root.
52838 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52839 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52840 * math/libm-test.inc (acos_test_tonearest): New function.
52841 (acos_test_towardzero): Likewise.
52842 (acos_test_downward): Likewise.
52843 (acos_test_upward): Likewise.
52844 (asin_test_tonearest): Likewise.
52845 (asin_test_towardzero): Likewise.
52846 (asin_test_downward): Likewise.
52847 (asin_test_upward): Likewise.
52848 (main): Call the new functions.
52849 * sysdeps/i386/fpu/libm-test-ulps: Update.
52850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52851
52852 [BZ #13884]
52853 [BZ #13924]
52854 * math/e_exp10.c: Include <float.h>.
52855 (__ieee754_exp10): Handle underflow here rather than multiplying
52856 large negative argument by M_LN10.
52857 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52858 of __ieee754_expf.
52859 * math/e_exp10l.c: Include <float.h>.
52860 (__ieee754_exp10l): Handle underflow here rather than multiplying
52861 large negative argument by M_LN10l.
52862 * math/libm-test.inc (exp10_test): Add another test. Do not allow
52863 spurious overflow exception on underflow.
52864
52865 2012-04-29 Marek Polacek <polacek@redhat.com>
52866
52867 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52868 (__fortify_function): New macro.
52869 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52870 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52871 __extern_always_inline.
52872 * libio/bits/stdio2.h: Likewise.
52873 * libio/bits/stdio.h: Likewise.
52874 * string/string.h: Likewise.
52875 * string/bits/string3.h: Likewise.
52876 * include/stdio.h: Likewise.
52877 * stdlib/bits/stdlib.h: Likewise.
52878 * stdlib/stdlib.h: Likewise.
52879 * rt/bits/mqueue2.h: Likewise.
52880 * rt/mqueue.h: Likewise.
52881 * posix/bits/unistd.h: Likewise.
52882 * posix/unistd.h: Likewise.
52883 * io/bits/poll2.h: Likewise.
52884 * io/bits/fcntl2.h: Likewise.
52885 * io/fcntl.h: Likewise.
52886 * io/sys/poll.h: Likewise.
52887 * misc/bits/syslog.h: Likewise.
52888 * misc/bits/syslog-ldbl.h: Likewise.
52889 * misc/sys/syslog.h: Likewise.
52890 * socket/bits/socket2.h: Likewise.
52891 * socket/sys/socket.h: Likewise.
52892 * debug/tst-chk1.c: Likewise.
52893 * wcsmbs/bits/wchar2.h: Likewise.
52894 * wcsmbs/bits/wchar-ldbl.h: Likewise.
52895 * wcsmbs/wchar.h: Likewise.
52896
52897 2012-04-29 Andreas Jaeger <aj@suse.de>
52898
52899 * Makerules (tests): Remove enable-check-abi protection.
52900 (check-abi-warn): Remove.
52901 (check-abi-%): Remove check-abi-warn usage.
52902
52903 * configure.in: Remove check-abi configure option.
52904 * configure: Regenerated.
52905 * config.make.in (enable-check-abi): Remove.
52906
52907 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
52908
52909 [BZ #14033]
52910 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52911 double functions to double *_finite functions.
52912
52913 [BZ #13941]
52914 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52915 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52916 LDBL_MIN_EXP.
52917 * stdio-common/Makefile (tests): Add tst-sprintf3.
52918 * stdio-common/tst-sprintf3.c: New file.
52919
52920 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52921 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52922
52923 2012-04-28 Joseph Myers <joseph@codesourcery.com>
52924
52925 * conform/conformtest.pl: Remove duplicate typed-constant
52926 handling.
52927
52928 2012-04-28 David S. Miller <davem@davemloft.net>
52929
52930 * Makerules (%.abilist): Add vpath on sysdep_dirs.
52931 (check-abi-%): Remove AWK script prerequisite and explicit
52932 abilist directory.
52933 (check-abi): Rewrite to just diff the symlist with the abilist.
52934 (config-tls, config-abi-config): Delete, no longer used.
52935 (update-abi-%): Remove AWK script and explicit abilist directory.
52936 (update-abi): Rewrite to simply compare and conditionally copy the
52937 symlist and the sysdep abilist file. Remove update-abi-config
52938 checks.
52939 * abilist/ld.abilist: Remove.
52940 * abilist/libBrokenLocale.abilist: Remove.
52941 * abilist/libanl.abilist: Remove.
52942 * abilist/libcrypt.abilist: Remove.
52943 * abilist/libdl.abilist: Remove.
52944 * abilist/librt.abilist: Remove.
52945 * abilist/libthread_db.abilist: Remove.
52946 * abilist/libutil.abilist: Remove.
52947 * scripts/extract-abilist.awk: Remove.
52948 * scripts/merge-abilist.awk: Remove.
52949 * sysdeps/generic/libcidn.abilist: New file.
52950 * sysdeps/generic/libnss_compat.abilist: New file.
52951 * sysdeps/generic/libnss_db.abilist: New file.
52952 * sysdeps/generic/libnss_dns.abilist: New file.
52953 * sysdeps/generic/libnss_files.abilist: New file.
52954 * sysdeps/generic/libnss_hesiod.abilist: New file.
52955 * sysdeps/generic/libnss_nis.abilist: New file.
52956 * sysdeps/generic/libnss_nisplus.abilist: New file.
52957 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52958 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52959 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52960 file.
52961 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52962 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52963 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52964 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52965 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52966 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52967 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52968 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52969 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52970 file.
52971 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52972 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52973 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52974 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52975 file.
52976 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52977 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52978 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52979 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52980 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52981 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52982 file.
52983 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52984 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52985 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52986 file.
52987 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52989 New file.
52990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52991 New file.
52992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52993 New file.
52994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52995 New file.
52996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52997 New file.
52998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52999 New file.
53000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53001 New file.
53002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53003 New file.
53004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53005 New file.
53006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53007 New file.
53008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53009 New file.
53010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53011 New file.
53012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53013 New file.
53014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53015 file.
53016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53017 New file.
53018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53019 New file.
53020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53021 file.
53022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53023 New file.
53024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53025 New file.
53026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53027 file.
53028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53029 New file.
53030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53031 New file.
53032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53033 New file.
53034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53035 New file.
53036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53037 New file.
53038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53039 New file.
53040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53042 file.
53043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53044 New file.
53045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53046 file.
53047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53048 file.
53049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53050 file.
53051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53052 file.
53053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53054 file.
53055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53056 New file.
53057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53058 file.
53059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53060 file.
53061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53062 New file.
53063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53064 file.
53065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53067 file.
53068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53069 New file.
53070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53071 file.
53072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53073 file.
53074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53075 file.
53076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53077 file.
53078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53079 file.
53080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53081 New file.
53082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53083 file.
53084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53085 file.
53086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53087 New file.
53088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53089 file.
53090 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53091 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53092 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53093 file.
53094 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53095 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53096 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53097 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53098 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53099 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53100 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53101 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53102 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53103 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53106 file.
53107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53108 New file.
53109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53110 file.
53111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53112 file.
53113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53114 file.
53115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53116 file.
53117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53118 file.
53119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53120 New file.
53121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53122 New file.
53123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53124 file.
53125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53126 New file.
53127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53128 file.
53129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53131 file.
53132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53133 New file.
53134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53135 file.
53136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53137 file.
53138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53139 file.
53140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53141 file.
53142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53143 file.
53144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53145 New file.
53146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53147 New file.
53148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53149 file.
53150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53151 New file.
53152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53153 file.
53154
53155 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53156
53157 * conform/conformtest.pl: Fix typo in handling typed-constant from
53158 allow-header.
53159
53160 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53161
53162 * README: Cut down references to pre-2.6 Linux kernels and
53163 Linuxthreads. Update lists of configurations in libc and ports
53164 and sort alphabetically. Say "or newer" with Linux kernel version
53165 requirements.
53166
53167 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53168
53169 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53170
53171 [BZ #887]
53172 * math/libm-test.inc (logb_test_downward): New test to expose
53173 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53174 rounding mode.
53175
53176 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53177
53178 [BZ #14027]
53179 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53180 to be done.
53181 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53182 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53183
53184 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53185
53186 * sysdeps/unix/i386/brk.S: Remove file.
53187 * sysdeps/unix/i386/dl-brk.S: Likewise.
53188 * sysdeps/unix/i386/pipe.S: Likewise.
53189 * sysdeps/unix/i386/sigreturn.S: Likewise.
53190 * sysdeps/unix/i386/syscall.S: Likewise.
53191 * sysdeps/unix/i386/vfork.S: Likewise.
53192 * sysdeps/unix/i386/wait.S: Likewise.
53193
53194 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53195 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53196
53197 * configure.in (arm*-none*): Do not allow without
53198 --enable-hacker-mode.
53199 (netbsd*): Remove case setting base_os.
53200 (386bsd*): Likewise.
53201 (freebsd*): Likewise.
53202 (bsdi*): Likewise.
53203 (osf*): Likewise.
53204 (sunos*): Likewise.
53205 (ultrix*): Likewise.
53206 (newsos*): Likewise.
53207 (dynix*): Likewise.
53208 (*bsd*): Likewise.
53209 (sysv*): Likewise.
53210 (isc*): Likewise.
53211 (esix*): Likewise.
53212 (sco*): Likewise.
53213 (minix*): Likewise.
53214 (irix4*): Likewise.
53215 (irix6*): Likewise.
53216 (solaris[2-9]*): Likewise.
53217 (none): Likewise.
53218 * configure: Regenerated.
53219
53220 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53221
53222 [BZ #11521]
53223 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53224 overflow or cancellation in calculating denominator.
53225 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53226 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53227 down expression to avoid unexpected rounding in newer GCCs.
53228 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53229
53230 2012-04-26 David S. Miller <davem@davemloft.net>
53231
53232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53233 long-double compat symbols.
53234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53247
53248 2012-04-25 David S. Miller <davem@davemloft.net>
53249
53250 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53251 HWCAP_* values only after the memory barriers have been defined.
53252 (atomic_full_barrier): Define.
53253 (atomic_read_barrier): Define.
53254 (atomic_write_barrier): Define.
53255
53256 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53257
53258 * shlib-versions: Add libgcc_s version information.
53259 * sysdeps/generic/libgcc_s.h: Remove.
53260 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53261 libgcc_s.h.
53262 * sysdeps/gnu/unwind-resume.c: Likewise.
53263 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53264
53265 2012-04-25 David S. Miller <davem@davemloft.net>
53266
53267 * sysdeps/unix/sparc/brk.S: Delete.
53268 * sysdeps/unix/sparc/dl-brk.S: Delete.
53269 * sysdeps/unix/sparc/pipe.S: Delete.
53270 * sysdeps/unix/sparc/sysdep.S: Delete.
53271 * sysdeps/unix/sparc/sysdep.h: Delete.
53272 * sysdeps/unix/sparc/vfork.S: Delete.
53273 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53274 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53275 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53276 (ret_ERRVAL, r0, r1, MOVE): Define.
53277 (JUMPTARGET): Remove.
53278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53279 sysdeps/unix/sparc/sysdep.h
53280 (ENTRY, END): Remove.
53281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53282
53283 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53284
53285 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53286 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53287 -DIS_IN_build.
53288
53289 * timezone/README: Update upstream location and email address for
53290 tzcode and tzdata.
53291 * timezone/zdump.c: Update from tzcode 2012b.
53292 * timezone/zic.c: Likewise.
53293
53294 * configure.in (libc_cv_as_needed): Remove test.
53295 * configure: Regenerated.
53296 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53297 conditional definition.
53298 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53299 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53300 * config.make.in (have-as-needed): Remove variable.
53301
53302 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53303 Paul Pluzhnikov <ppluzhnikov@google.com>
53304
53305 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53306 strings correctly.
53307
53308 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53309
53310 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53311 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53312 * sysdeps/sh/strlen.S: Likewise.
53313
53314 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53315
53316 * sysdeps/unix/fork.S: Remove file.
53317 * sysdeps/unix/i386/fork.S: Likewise.
53318 * sysdeps/unix/sparc/fork.S: Likewise.
53319
53320 * sysdeps/unix/system.c: Remove file.
53321 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53322
53323 * sysdeps/unix/getegid.S: Remove file.
53324 * sysdeps/unix/geteuid.S: Likewise.
53325
53326 2012-04-24 Roland McGrath <roland@hack.frob.com>
53327
53328 * scripts/check-localplt.awk: New file.
53329 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53330 of diff.
53331 * scripts/data/localplt-generic.data: Add a comment.
53332
53333 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53334 NODE when __dir_mkfile failed.
53335 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53336 Reported by Ludovic Courtès <ludo@gnu.org>.
53337
53338 2012-04-24 Andreas Jaeger <aj@suse.de>
53339
53340 * Makerules (common-clean): Also remove gen-as-const-headers
53341 files.
53342
53343 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53344
53345 * Makerules (native-compile): Do not change working directory for
53346 build. Use $(OUTPUT_OPTION) in command.
53347 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53348
53349 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53350
53351 [BZ #13886]
53352 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53353 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53354 * math/libm-test.inc (floor_test): Add more tests.
53355 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53356
53357 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53358
53359 * sysdeps/unix/getdents.c: Remove file.
53360 * sysdeps/unix/sysv/getdents.c: Likewise.
53361 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53362
53363 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53364 sysdeps/unix/mman/syscalls.list.
53365 (mmap): Likewise.
53366 (mprotect): Likewise.
53367 (msync): Likewise.
53368 (munmap): Likewise.
53369 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53370 * sysdeps/unix/mman/syscalls.list: Remove.
53371 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53372
53373 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53374 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53375 * configure: Regenerated.
53376 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53377 $(libgcc_s_suffix).
53378 * config.make.in (libgcc_s_suffix): Remove variable.
53379
53380 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53381
53382 * sysdeps/unix/sysv/gethostname.c: Move to ...
53383 * sysdeps/posix/gethostname.c: ... here.
53384
53385 * sysdeps/unix/execve.S: Remove file.
53386
53387 * sysdeps/unix/_exit.S: Remove file.
53388
53389 2012-04-23 Andreas Jaeger <aj@suse.de>
53390
53391 [BZ #13739]
53392 * manual/Makefile: Remove make dist support, there's no
53393 need for a stand-alone documentation tar ball.
53394 (TEXI2DVI): Define always, it's not in Makeconfig.
53395 (dist): Removed.
53396 (tar-it): Removed.
53397 (edition): Removed.
53398 (glibc-doc-$(edition).tar): Removed
53399 (%.Z): Removed.
53400 (%.gz): Removed.
53401 (%.uu): Removed.
53402 (ETAGS): Remove, it's in Makeconfig.
53403 (move-if-change): Remove, it's in Makeconfig.
53404
53405 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53406
53407 [BZ #13970]
53408 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53409 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53410 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53411 (strtod_l, strtof_l, strtold_l): Remove __wur.
53412 It is not necessarily an error to ignore strtol's return value.
53413 One can reliably look at the stored endptr to decide whether
53414 the number had valid syntax.
53415
53416 2012-04-21 Andreas Jaeger <aj@suse.de>
53417
53418 [BZ #13739]
53419 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53420
53421 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53422
53423 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53424 * sysdeps/unix/sysv/Versions: Remove file.
53425
53426 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53427
53428 [BZ #13927]
53429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53430
53431 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53432
53433 [BZ #7064]
53434 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53435 version from __vm86.
53436
53437 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53438
53439 * sysdeps/unix/common/lxstat.c: Remove file.
53440 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53441
53442 * sysdeps/unix/sysv/Makefile: Remove file.
53443
53444 * sysdeps/unix/sysv/direct.h: Remove file.
53445
53446 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53447 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53448 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53449 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53450 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53451 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53452 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53453
53454 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53455
53456 * sysdeps/unix/xmknod.c: Remove file.
53457 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53458
53459 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53460
53461 * sysdeps/unix/sysv/i386/time.S: Remove file.
53462
53463 * sysdeps/unix/fxstat.c: Remove file.
53464 * sysdeps/unix/xstat.c: Likewise.
53465 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53466
53467 * sysdeps/unix/sysv/sigaction.c: Remove file.
53468
53469 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53470 (sysdep_headers): Remove variable.
53471 [termio.h not in sysdep_headers] (generated): Likewise.
53472 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53473 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53474 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53475 * sysdeps/unix/sysv/tcflow.c: Likewise.
53476 * sysdeps/unix/sysv/tcflush.c: Likewise.
53477 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53478 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53479 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53480 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53481 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53482
53483 * sysdeps/unix/siglist.c: Remove file.
53484
53485 * sysdeps/unix/getppid.S: Remove file.
53486
53487 * sysdeps/unix/mkdir.c: Remove file.
53488 * sysdeps/unix/rmdir.c: Likewise.
53489
53490 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53491
53492 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53493 ERR_MAX value.
53494 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53495 errlist-compat value.
53496
53497 2012-04-18 David S. Miller <davem@davemloft.net>
53498
53499 * sysdeps/generic/memcopy.h (reg_char): Delete.
53500 * debug/strcat_chk.c: Use char, not reg_char.
53501 * debug/strcpy_chk.c: Likewise.
53502 * debug/strncat_chk.c: Likewise.
53503 * debug/strncpy_chk.c: Likewise.
53504 * string/memchr.c: Likewise.
53505 * string/memrchr.c: Likewise.
53506 * string/rawmemchr.c: Likewise.
53507 * string/strcat.c: Likewise.
53508 * string/strchr.c: Likewise.
53509 * string/strchrnul.c: Likewise.
53510 * string/strcmp.c: Likewise.
53511 * string/strcpy.c: Likewise.
53512 * string/strncat.c: Likewise.
53513 * string/strncmp.c: Likewise.
53514 * string/strncpy.c: Likewise.
53515
53516 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53517
53518 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53519 __builtin_memcopy is called when src and dest ranges are known to not
53520 overlap.
53521
53522 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53523
53524 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53525 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53526 fwd_align_merge macro call.
53527 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53528 bwd_align_merge macro call.
53529 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53530
53531 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53532
53533 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53534 bwd_align_merge macros.
53535 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53536 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53537 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53538
53539 2012-04-18 David S. Miller <davem@davemloft.net>
53540
53541 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53542
53543 2012-04-18 Andreas Jaeger <aj@suse.de>
53544
53545 [BZ# 6794]
53546 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53547 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53548 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53549
53550 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53551 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53552 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53553
53554 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53555 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53556 Adjust for changed ldbl-128 files.
53557
53558 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53559 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53560 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53561
53562 2012-04-17 David S. Miller <davem@davemloft.net>
53563
53564 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53565
53566 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53567
53568 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53569 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53570 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53571 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53572 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53573 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53574
53575 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53576
53577 [BZ #6794]
53578 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53579 * math/libm-test.inc: Add ilogb errno and exception tests.
53580 * math/w_ilogb.c: New file: ilogb wrapper.
53581 * math/w_ilogbf.c: New file: ilogbf wrapper.
53582 * math/w_ilogbl.c: New file: ilogbl wrapper.
53583 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53584 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53585 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53586 exception being thrown with 0.0 as argument.
53587 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53588 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53589 exception being thrown with 0.0 as argument.
53590 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53591 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53592 exception being thrown with 0.0 as argument.
53593 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53594 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53595 exception being thrown with 0.0 as argument.
53596 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53597 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53598 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53599 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53600 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53601 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53602 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53603 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53604 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53605
53606 2012-04-17 Petr Baudis <pasky@ucw.cz>
53607
53608 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53609 with altivec.
53610
53611 2012-04-16 Marek Polacek <polacek@redhat.com>
53612
53613 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53614
53615 2012-04-16 Marek Polacek <polacek@redhat.com>
53616
53617 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53618 operands of fdivp instruction.
53619
53620 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53621
53622 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53623 * elf/tst-auditmod3b.c: Likewise.
53624 * elf/tst-auditmod4b.c: Likewise.
53625 * elf/tst-auditmod5b.c: Likewise.
53626 * elf/tst-auditmod6b.c: Likewise.
53627 * elf/tst-auditmod6c.c: Likewise.
53628 * elf/tst-auditmod7b.c: Likewise.
53629 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53630 * sysdeps/x86_64/preconfigure.in: Likewise.
53631 * sysdeps/x86_64/preconfigure: Regenerated.
53632
53633 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53634
53635 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53636 __ILP32__.
53637
53638 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53639
53640 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53641 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53642
53643 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53644
53645 [BZ #13973]
53646 * locale/iso-639.def: Fix gl language name. Spotted by
53647 Yaron Shahrabani.
53648
53649 2012-04-12 Roland McGrath <roland@hack.frob.com>
53650
53651 [BZ #2074]
53652 * libio/libio.h (__io_write_fn): Update comment.
53653
53654 2012-04-12 Petr Baudis <pasky@ucw.cz>
53655
53656 [BZ #2074]
53657 * stdio.texi (Hook Functions): The user provided writer function
53658 is not allowed to return -1.
53659
53660 2012-04-11 David S. Miller <davem@davemloft.net>
53661
53662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53663
53664 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53665
53666 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53667 Add a leading slash to rtkaio.
53668
53669 2012-04-11 Jim Meyering <meyering@redhat.com>
53670
53671 [BZ #11959]
53672 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53673 It is not necessarily an error to ignore fwrite's return
53674 value. One can reliably use ferror to test for errors after
53675 the fact.
53676
53677 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53678
53679 * bits/types.h (__snseconds_t): New type.
53680 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53681
53682 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53684 (__SNSECONDS_T_TYPE): Likewise.
53685 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53686 (__SNSECONDS_T_TYPE): Likewise.
53687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53688 (__SNSECONDS_T_TYPE): Likewise.
53689
53690 2012-04-10 Andreas Jaeger <aj@suse.de>
53691
53692 [BZ #2636]
53693 * manual/time.texi (Processor Time): Return type of times is
53694 elapsed real time since an arbitrary point in the past.
53695 (CPU Time): Move CLK_TCK from here...
53696 (Processor Time): ...to here. Correct description.
53697 * manual/conf.texi (Constants for Sysconf): Correct description of
53698 _SC_CLK_TCK.
53699
53700 2012-04-10 David S. Miller <davem@davemloft.net>
53701
53702 [BZ #13967]
53703 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53704 where the is a gap between DT_REL(A) and DT_JMPREL.
53705
53706 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53707
53708 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53709 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53710 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53711
53712 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53713
53714 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53715 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53716 (dl_main): Handle --inhibit-cache.
53717 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53718 _dl_inhibit_cache.
53719 * elf/dl-load.c (_dl_map_object): Use it.
53720 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53721
53722 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53723
53724 [BZ #13872]
53725 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53726 (__ieee754_powl): Saturate large exponents rather than testing for
53727 overflow of y*log2(x).
53728 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53729 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53730 exceptions.
53731
53732 [BZ #11521]
53733 * math/s_ctan.c: Include <float.h>.
53734 (__ctan): Avoid internal overflow or cancellation in calculating
53735 denominator.
53736 * math/s_ctanf.c: Likewise.
53737 * math/s_ctanl.c: Likewise.
53738 * math/s_ctanh.c: Likewise.
53739 * math/s_ctanhf.c: Likewise.
53740 * math/s_ctanhl.c: Likewise.
53741 * math/libm-test.inc (ctan_test): Add more tests.
53742 (ctanh_test): Likewise.
53743 * sysdeps/i386/fpu/libm-test-ulps: Update.
53744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53745
53746 2012-04-09 Andreas Jaeger <aj@suse.de>
53747
53748 [BZ #6894]
53749 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53750 is an optional BSD extension.
53751
53752 [BZ #10254]
53753 * manual/stdio.texi (Opening Streams): Document additional fopen
53754 parameters.
53755
53756 2012-04-09 Roland McGrath <roland@hack.frob.com>
53757
53758 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53759 %eax without telling the compiler.
53760
53761 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53762
53763 [BZ # 13963]
53764 * manual/install.texi: Use sourceware.org.
53765
53766 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53767
53768 [BZ #13873]
53769 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53770 (__ieee754_pow): Generate overflow and underflow using huge*huge
53771 and tiny*tiny rather than just returning constant infinity or zero
53772 for large exponents.
53773 * math/libm-test.inc (pow_test): Require overflow exceptions for
53774 applicable cases of large exponents.
53775
53776 [BZ #706]
53777 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53778 (__ieee754_pow): Use iterative multiplication algorithm only for
53779 integer exponents with absolute value below 1024. Check for odd
53780 integer exponents when using algorithm for real exponents.
53781 * math/libm-test.inc (pow_test): Add more tests.
53782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53783
53784 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53785
53786 [BZ #13705]
53787 * math/libm-test.inc (exp_test): Do not allow overflow exception
53788 on underflow test.
53789
53790 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53791
53792 [BZ #13705]
53793 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53794 instead of __kernel_standard_f.
53795
53796 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53797
53798 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53799 * sysdeps/x86_64/memset_chk.S: Likewise.
53800
53801 2012-04-08 Andreas Jaeger <aj@suse.de>
53802
53803 [BZ #10153]
53804 * manual/startup.texi (Environment Access): Describe return value
53805 for putenv and setenv.
53806
53807 [BZ #6895]
53808 * manual/filesys.texi (Directory Entries): Add description for
53809 DT_LNK.
53810
53811 [BZ #6890]
53812 * manual/filesys.texi (Directory Entries): Clarify that it's file
53813 system not operating system in the description of DT_UNKNOWN.
53814
53815 [BZ #6578]
53816 * manual/syslog.texi (closelog): Fix reference, it's openlog.
53817
53818 2012-04-08 Stephen Compall <s11@member.fsf.org>
53819
53820 [BZ #6649]
53821 * manual/llio.texi (Opening and Closing Files): Add cross
53822 reference to explain mode argument.
53823
53824 2012-04-07 Mike Frysinger <vapier@gentoo.org>
53825
53826 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53827 * sysdeps/x86_64/memset_chk.S: Likewise.
53828
53829 2012-04-07 David S. Miller <davem@davemloft.net>
53830
53831 * elf/elf.h (R_SPARC_WDISP10): Define.
53832 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53833 R_SPARC_SIZE32.
53834 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53835 R_SPARC_SIZE64 and R_SPARC_H34.
53836
53837 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
53838
53839 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53840 conditions and remove no longer applicable assertion.
53841
53842 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53843
53844 * bits/byteswap.h: Include <features.h>.
53845 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53846 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53847
53848 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53849
53850 * bits/byteswap.h (__bswap_16): Removed.
53851 Include <bits/byteswap-16.h> to get __bswap_16.
53852 * sysdeps/i386/bits/byteswap.h: Likewise.
53853 * sysdeps/s390/bits/byteswap.h: Likewise.
53854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53855 * bits/byteswap-16.h: New file.
53856 * sysdeps/i386/bits/byteswap-16.h: Likewise.
53857 * sysdeps/s390/bits/byteswap-16.h: Likewise.
53858 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53859 * string/Makefile (headers): Add bits/byteswap-16.h.
53860
53861 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53862
53863 [BZ #13895]
53864 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53865 extra indirection.
53866 * nss/Makefile (tests-static, tests): Add tst-nss-static.
53867 * nss/tst-nss-static.c: New.
53868
53869 2012-04-06 Robert Millan <rmh@gnu.org>
53870
53871 [BZ #6486]
53872 * manual/llio.texi (File Position Primitive): lseek
53873 refers to WHENCE when it really means OFFSET.
53874
53875 2012-04-06 Andreas Jaeger <aj@suse.de>
53876
53877 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53878 strncmp declarations.
53879
53880 * abilist/libc.abilist: Add __poll and __ppoll.
53881
53882 2012-04-05 David S. Miller <davem@davemloft.net>
53883
53884 * scripts/check-local-headers.sh: Accept a host triplet in the
53885 path matched by the exclude regexp.
53886
53887 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53888 definition.
53889 * sysdeps/powerpc/powerpc32/dl-machine.h
53890 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53891 * sysdeps/s390/s390-32/dl-machine.h
53892 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53893 * sysdeps/sparc/sparc32/dl-machine.h
53894 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53895 * sysdeps/sparc/sparc64/dl-machine.h
53896 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53897
53898 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53899 lazy binding.
53900 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53901 undefined symbol errors.
53902
53903 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53904 DT_NEEDED entries.
53905
53906 2012-04-05 Michael Matz <matz@suse.de>
53907
53908 [BZ #13592]
53909 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53910
53911 2012-04-05 Andreas Jaeger <aj@suse.de>
53912
53913 [BZ #13908]
53914 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53915 comment.
53916
53917 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53918
53919 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53920 which ROUND is no valid rounding mode.
53921
53922 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53923
53924 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53925 read again.
53926 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53927
53928 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53929
53930 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53931 an exception using FPU order intentionally.
53932
53933 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53934
53935 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53936 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53937 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53938 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53939
53940 2012-04-05 Simon Josefsson <simon@josefsson.org>
53941
53942 [BZ #12340]
53943 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53944 EINVAL when BUFLEN is too smal.
53945
53946 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
53947
53948 [BZ #13553]
53949 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53950 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53951
53952 2012-04-03 Andreas Jaeger <aj@suse.de>
53953
53954 [BZ #13938]
53955 * manual/setjmp.texi (System V contexts): Fix sentence.
53956
53957 [BZ #13926]
53958 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53959 New macro for this case.
53960 [!__GNUC__] (__bswap_64): New inline function for this case.
53961 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53962 * bits/byteswap.h: Likewise.
53963 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53964 ull, guard with __GLIBC_HAVE_LONG_LONG.
53965
53966 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53967 __GLIBC_HAVE_LONG_LONG.
53968
53969 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53970 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53971
53972 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53973
53974 [BZ #13691]
53975 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53976 inptr and inend, rather than using last_ch.
53977
53978 2012-04-02 David S. Miller <davem@davemloft.net>
53979
53980 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53981 * stdio-common/printf-parse.h (read_int): Change return type to
53982 'int', return -1 on INT_MAX overflow.
53983 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53984 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
53985 overflows INT_MAX. Check for overflow of in-format-string precision
53986 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
53987 SIZE_MAX not INT_MAX for integer overflow test.
53988 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53989 skip the construct in the format string but do not record anything.
53990 * stdio-common/bug22.c: Adjust to test both width/prevision
53991 INT_MAX overflow as well as total length INT_MAX overflow. Check
53992 explicitly for proper errno values.
53993
53994 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
53995
53996 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53997 CHAR_MAX.
53998 * string/test-strcmp.c [! WIDE]: Likewise.
53999 * time/tst-mktime2.c: Likewise for INT_MAX.
54000 * string/test-string.h: #include <sys/param.h> for MIN.
54001
54002 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54003 * sysdeps/i386/init-first.c (init): Likewise.
54004 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54005 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54006 * sysdeps/sh/init-first.c (init): Likewise.
54007
54008 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54009
54010 * po/ru.po: Update from translation team.
54011 * po/vi.po: Likewise.
54012
54013 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54014
54015 * resolv/nss_dns/dns-host.c: Merge copyright years.
54016
54017 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54018
54019 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54020 Optimize memcpy with prefetch if
54021 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54022 src, dst pointers have unequal 16 byte alignments.
54023
54024 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54025
54026 [BZ #13928]
54027 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54028 from a CNAME entry and return the minimum ttl for the query.
54029 (gaih_getanswer_slice): Likewise.
54030
54031 2012-03-30 Jeff Law <law@redhat.com>
54032
54033 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54034 due to long keys.
54035 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54036 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54037
54038 * resolv/nss_dns/dns-host.c: Update copyright year.
54039
54040 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54041
54042 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54043 requests to save a system call. Fix check that all bytes are sent.
54044
54045 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54046 comments for sendmmsg.
54047
54048 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54049
54050 [BZ #13691]
54051 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54052 with only 1 character between 0x0041 and 0x01b0.
54053 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54054 * wcsmbs/tst-mbsnrtowcs.c: New file.
54055
54056 2012-03-29 David S. Miller <davem@davemloft.net>
54057
54058 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54059 small copies by hand.
54060
54061 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54062
54063 [BZ #13761]
54064 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54065 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54066 group memberships.
54067
54068 2012-03-28 David S. Miller <davem@davemloft.net>
54069
54070 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54071 that branches into memcpy.
54072 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54073 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54075 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54077 bits.
54078 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54079 implementation too.
54080 * sysdeps/sparc/mempcpy.S: New file.
54081
54082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54083 the IFUNC routine in the libc case.
54084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54085
54086 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54087 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54088 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54089 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54090 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54091 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54092 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54093 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54094
54095 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54096 loop to 256 bytes instead of 64 bytes and fix test signedness.
54097
54098 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54099 * sysdeps/sparc/sparc32/Makefile: rather than here...
54100 * sysdeps/sparc/sparc64/Makefile: and here.
54101
54102 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54103
54104 * malloc/mallocbug.c: Avoid warnings about unused variables.
54105
54106 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54107
54108 [BZ #13760]
54109 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54110 in the right place. Discard and retry query if response is
54111 larger than input buffer size.
54112
54113 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54114
54115 [BZ #369]
54116 [BZ #2678]
54117 [BZ #3866]
54118 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54119 x for large integer exponent.
54120 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54121 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54122 sign of result as needed afterwards.
54123 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54124 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54125 result for underflowing pow the same as for overflow.
54126 (__kernel_standard_l): Handle powl overflow and underflow here
54127 rather than calling __kernel_standard.
54128 * math/libm-test.inc (pow_test): Add more tests.
54129
54130 [BZ #3868]
54131 [BZ #13879]
54132 [BZ #13910]
54133 [BZ #13911]
54134 [BZ #13912]
54135 [BZ #13913]
54136 [BZ #13915]
54137 [BZ #13916]
54138 [BZ #13917]
54139 [BZ #13918]
54140 [BZ #13919]
54141 [BZ #13920]
54142 [BZ #13921]
54143 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54144 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54145 (__kernel_standard_l): New function.
54146 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54147 __kernel_standard.
54148 * math/w_acosl.c (__acosl): Likewise.
54149 * math/w_asinl.c (__asinl): Likewise.
54150 * math/w_atan2l.c (__atan2l): Likewise.
54151 * math/w_atanhl.c (__atanhl): Likewise.
54152 * math/w_coshl.c (__coshl): Likewise.
54153 * math/w_exp10l.c (__exp10l): Likewise.
54154 * math/w_exp2l.c (__exp2l): Likewise.
54155 * math/w_fmodl.c (__fmodl): Likewise.
54156 * math/w_hypotl.c (__hypotl): Likewise.
54157 * math/w_j0l.c (__j0l, __y0l): Likewise.
54158 * math/w_j1l.c (__j1l, __y1l): Likewise.
54159 * math/w_jnl.c (__jnl, __ynl): Likewise.
54160 * math/w_lgammal.c (__lgammal): Likewise.
54161 * math/w_log10l.c (__log10l): Likewise.
54162 * math/w_log2l.c (__log2l): Likewise.
54163 * math/w_logl.c (__logl): Likewise.
54164 * math/w_powl.c (__powl): Likewise.
54165 * math/w_remainderl.c (__remainderl): Likewise.
54166 * math/w_scalbl.c (sysv_scalbl): Likewise.
54167 * math/w_sinhl.c (__sinhl): Likewise.
54168 * math/w_sqrtl.c (__sqrtl): Likewise.
54169 * math/w_tgammal.c (__tgammal): Likewise.
54170 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54171 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54172 * math/libm-test.inc (acos_test): Add more tests.
54173 (acosh_test): Likewise.
54174 (asin_test): Likewise.
54175 (atanh_test): Likewise.
54176 (exp_test): Likewise.
54177 (exp10_test): Likewise.
54178 (exp2_test): Likewise.
54179 (expm1_test): Likewise.
54180 (lgamma_test): Likewise.
54181 (log_test): Likewise.
54182 (log10_test): Likewise.
54183 (log1p_test): Likewise.
54184 (log2_test): Likewise.
54185 (pow_test): Do not allow some spurious overflow exceptions.
54186 (sqrt_test): Add more tests.
54187 (tgamma_test): Likewise.
54188 (y0_test): Likewise.
54189 (y1_test): Likewise.
54190 (yn_test): Likewise.
54191
54192 2012-03-27 Anton Blanchard <anton@samba.org>
54193
54194 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54195 MAP_HUGETLB.
54196 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54197 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54198 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54199
54200 2012-03-27 David S. Miller <davem@davemloft.net>
54201
54202 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54203
54204 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54205 have-as-vis3 check.
54206
54207 2012-03-27 Andreas Jaeger <aj@suse.de>
54208
54209 * sysdeps/x86_64/elf/configure.in: Moved to ...
54210 * sysdeps/x86_64/configure.in: ... here.
54211 * sysdeps/x86_64/elf/start.S: Moved to ...
54212 * sysdeps/x86_64/start.S: ... here.
54213 * sysdeps/x86_64/elf/configure: Delete.
54214
54215 * sysdeps/x86_64/configure.in: Merge contents from
54216 sysdeps/i386/configure.in (without i686 check).
54217
54218 * sysdeps/i386/elf/Versions: Merge into ...
54219 * sysdeps/i386/Versions: ... this.
54220 * sysdeps/i386/elf/Versions: Delete file.
54221 * sysdeps/i386/elf/start.S: Moved to ...
54222 * sysdeps/i386/start.S: ...here.
54223 * sysdeps/i386/elf/configure.in: Merge into...
54224 * sysdeps/i386/configure.in: ...here.
54225 * sysdeps/i386/elf/configure.in: Delete file.
54226 * sysdeps/i386/elf/configure: Delete file.
54227
54228 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54229 * debug/backtracesyms.c: ... here.
54230 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54231 * debug/backtracesymsfd.c: ... here.
54232 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54233 * sysdeps/generic/ifunc-sel.h: ... here.
54234
54235 * sysdeps/unix/i386/start.c: Delete file.
54236 * sysdeps/unix/sparc/start.c: Delete file.
54237 * sysdeps/unix/start.c: Delete file.
54238
54239 * sysdeps/sh/elf/configure.in: Moved to ...
54240 * sysdeps/sh/configure.in: ... here.
54241 * sysdeps/sh/elf/start.S: Moved to ...
54242 * sysdeps/sh/start.S: ... here.
54243 * sysdeps/sh/elf/configure: Delete file.
54244
54245 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54246 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54247 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54248 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54249 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54250 * sysdeps/powerpc/powerpc64/start.S: here.
54251 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54252 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54253 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54254 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54255 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54256
54257 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54258 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54259 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54260 * sysdeps/powerpc/powerpc32/start.S: ... here.
54261 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54262 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54263 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54264
54265 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54266 * sysdeps/powerpc/ifunc-sel.h: ... here.
54267 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54268 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54269
54270 * sysdeps/sparc/elf/configure.in: Moved to ...
54271 * sysdeps/sparc/configure.in: ... here.
54272 * sysdeps/sparc/elf/configure: Delete file.
54273 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54274 * sysdeps/sparc/sparc32/start.S: ... here.
54275 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54276 * sysdeps/sparc/sparc64/start.S: ... here.
54277 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54278 * sysdeps/sparc/sparc32/Makefile: ... this.
54279 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54280 * sysdeps/sparc/sparc64/Makefile: ... this.
54281
54282 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54283 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54284 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54285 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54286 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54287 * sysdeps/s390/s390-32/setjmp.S: ... here.
54288 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54289 * sysdeps/s390/s390-32/configure.in: ... here.
54290 * sysdeps/s390/s390-32/elf/configure: Delete file.
54291 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54292 * sysdeps/s390/s390-32/start.S: ... here.
54293
54294 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54295 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54296 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54297 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54298 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54299 * sysdeps/s390/s390-64/setjmp.S: ... here.
54300 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54301 * sysdeps/s390/s390-64/configure.in: ... here
54302 * sysdeps/s390/s390-64/elf/configure: Delete file.
54303 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54304 * sysdeps/s390/s390-64/start.S: ... here.
54305 * sysdeps/s390/s390-64/elf/configure: Delete.
54306
54307 * configure.in: Remove support for elf directories in sysdeps.
54308
54309 * configure: Regenerated.
54310 * sysdeps/i386/configure: Regenerated.
54311 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54312 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54313 * sysdeps/s390/s390-32/configure: Regenerated.
54314 * sysdeps/s390/s390-64/configure: Regenerated.
54315 * sysdeps/sh/configure: Regenerated.
54316 * sysdeps/sparc/configure: Regenerated.
54317 * sysdeps/x86_64/configure: Regenerated.
54318
54319 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54320
54321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54322
54323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54324 denormal result into account.
54325
54326 2012-03-25 Roland McGrath <roland@hack.frob.com>
54327
54328 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54329 Reported by Allan McRae <allan@archlinux.org>.
54330
54331 2012-03-23 Jeff Law <law@redhat.com>
54332
54333 * nss/getnssent.c (__nss_getent): Fix typo.
54334
54335 2012-03-23 David S. Miller <davem@davemloft.net>
54336
54337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54338
54339 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54340
54341 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54342 to pad to uint64_t for each field.
54343 (dl_tls_index): Replace unsigned long with uint64_t.
54344
54345 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54346 Paul Pluzhnikov <ppluzhnikov@google.com>
54347
54348 [BZ #6528]
54349 * grp/Makefile (otherlibs): Don't set it.
54350 * inet/Makefile (otherlibs): Likewise.
54351 * login/Makefile (otherlibs): Likewise.
54352 * nscd/Makefile (otherlibs): Likewise.
54353 * posix/Makefile (otherlibs): Likewise.
54354 * pwd/Makefile (otherlibs): Likewise.
54355 * rt/Makefile (otherlibs): Likewise.
54356 * sunrpc/Makefile (otherlibs): Likewise.
54357 * nss/Makefile (otherlibs): Likewise.
54358 Add libnss_files to routines and static-only-routines.
54359 ($(objpfx)getent): Remove rule.
54360 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54361 static-only-routines.
54362
54363 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54364
54365 [BZ #13892]
54366 * math/s_cexp.c: Include <float.h>.
54367 (__cexp): Handle exp result overflowing not necessarily
54368 overflowing both real and imaginary parts of result.
54369 * math/s_cexpf.c: Likewise.
54370 * math/s_cexpl.c: Likewise.
54371 * math/libm-test.inc (cexp_test): Add more tests.
54372 * sysdeps/i386/fpu/libm-test-ulps: Update.
54373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54374
54375 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54376
54377 * include/link.h (ELFW): New macro.
54378 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54379 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54380
54381 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54382
54383 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54384 with uint64_t.
54385
54386 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54387
54388 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54389 declaration.
54390 (struct La_x32_retval): Likewise.
54391
54392 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54393
54394 * sysdeps/x86_64/preconfigure.in: New file.
54395 * sysdeps/x86_64/preconfigure: New generated file.
54396
54397 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54398
54399 [BZ #13824]
54400 * math/e_exp2l.c: Include <float.h>.
54401 (__ieee754_exp2l): Handle overflow and underflow cases
54402 separately. Only pass fractional part of argument to
54403 __ieee754_expl.
54404 * math/libm-test.inc (exp2_test): Add more tests.
54405
54406 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54407 negating x to take absolute value.
54408 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54409 Likewise.
54410 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54411 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54412 Likewise.
54413 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54414 computing low part if x was negated.
54415 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54416
54417 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54418
54419 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54420 la_x32_gnu_pltexit.
54421 (pltexit): Cast int_retval to ptrdiff_t.
54422 * elf/tst-auditmod3b.c: Likewise.
54423 * elf/tst-auditmod4b.c: Likewise.
54424 * elf/tst-auditmod5b.c: Likewise.
54425 * elf/tst-auditmod6b.c: Likewise.
54426 * elf/tst-auditmod6c.c: Likewise.
54427 * elf/tst-auditmod7b.c: Likewise.
54428
54429 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54430 and x32_gnu_pltexit.
54431
54432 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54433 __ELF_NATIVE_CLASS.
54434 (La_x32_regs): New macro.
54435 (La_x32_retval): Likewise.
54436 (la_x32_gnu_pltenter): New function prototype.
54437 (la_x32_gnu_pltexit): Likewise.
54438
54439 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54440
54441 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54442 exponent.
54443
54444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54445
54446 * configure.in (libc_cv_cc_nofma): Check for option to disable
54447 generation of FMA instructions.
54448 * configure: Regenerate.
54449 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54450 * sysdeps/ieee754/dbl-64/Makefile: New file.
54451 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54452 Remove brandred-fma4.
54453 (CFLAGS-brandred-fma4.c): Remove.
54454 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54455 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54456 define.
54457 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54458 define.
54459
54460 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54461
54462 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54463 LLONG_MAX != LONG_MAX.
54464 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54465 (_fitoa_word): Likewise.
54466 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54467 LLONG_MAX != LONG_MAX.
54468 * stdio-common/_itowa.h: Include <_itoa.h>.
54469 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54470 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54471 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54472 only if not defined.
54473 (_ITOA_WORD_TYPE): Likewise.
54474 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54475 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54476
54477 2012-03-21 David S. Miller <davem@davemloft.net>
54478
54479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54480
54481 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54482
54483 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54484 of x86_64 when setting libc_cv_slibdir, libdir and
54485 libc_cv_localedir.
54486 * sysdeps/unix/sysv/linux/configure: Regenerated.
54487
54488 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54489
54490 * manual/lang.texi (Old Varargs): Remove section.
54491 (How Variadic): Update menu.
54492 (va_start): Do not mention varargs.h.
54493
54494 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54495 Joseph Myers <joseph@codesourcery.com>
54496
54497 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54498 link test.
54499 * configure: Regenerated.
54500
54501 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54502
54503 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54504 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54505 conformtest.pl
54506
54507 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54508
54509 * NOTES: Remove.
54510 * Makefile (files-for-dist): Remove NOTES.
54511 (NOTES): Remove rule.
54512 * README: Don't refer to NOTES.
54513 * manual/creature.texi: Don't include macros.texi.
54514 * manual/intro.texi (creature.texi): Remove comment referring to
54515 NOTES.
54516
54517 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54518 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54519 * configure: Regenerated.
54520 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54521 LIBC_TRY_CC_OPTION.
54522 (libc_cv_as_i686): Likewise.
54523 (libc_cv_cc_avx): Likewise.
54524 (libc_cv_cc_sse2avx): Likewise.
54525 (libc_cv_cc_fma4): Likewise.
54526 (libc_cv_cc_novzeroupper): Likewise.
54527 * sysdeps/i386/configure: Regenerated.
54528
54529 [BZ #13883]
54530 * sysdeps/i386/fpu/s_cexp.S: Remove.
54531 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54532 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54533 * math/libm-test.inc (cexp_test): Add more tests.
54534 * sysdeps/i386/fpu/libm-test-ulps: Update.
54535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54536
54537 2012-03-21 Allan McRae <allan@archlinux.org>
54538
54539 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54540
54541 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54542
54543 [BZ #13871]
54544 * math/w_exp2.c: Do not include <float.h>.
54545 (o_threshold, u_threshold): Remove.
54546 (__exp2): Calculate result before checking finiteness and calling
54547 __kernel_standard.
54548 * math/w_exp2f.c: Likewise.
54549 * math/w_exp2l.c: Likewise.
54550 * math/libm-test.inc (exp2_test): Require overflow exception for
54551 1e6 input.
54552
54553 [BZ #3866]
54554 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54555 range of signed 64-bit integers before using fistpll. Remove
54556 checks for whether integers fit in mantissa bits.
54557 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54558 the range of signed 32-bit integers before using fistpl. Remove
54559 checks for whether integers fit in mantissa bits.
54560 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54561 (__ieee754_powl): Test for y outside the range of signed 64-bit
54562 integers before using fistpll. Reduce 64-bit values to 63-bit
54563 ones as needed.
54564 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54565 divide-by-zero is raised for zero to large negative powers.
54566 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54567 (__ieee754_powl): Test for y outside the range of signed 64-bit
54568 integers before using fistpll. Reduce 64-bit values to 63-bit
54569 ones as needed.
54570 * math/libm-test.inc (pow_test): Add more tests.
54571
54572 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54573
54574 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54575 <stdio-common/_itoa.h>.
54576 * debug/segfault.c: Likewise.
54577 * elf/dl-cache.c: Likewise.
54578 * elf/dl-minimal.c: Likewise.
54579 * elf/dl-misc.c: Likewise.
54580 * elf/dl-sysdep.c: Likewise.
54581 * elf/dl-version.c: Likewise.
54582 * elf/rtld.c: Likewise.
54583 * hurd/hurdsock.c: Likewise.
54584 * hurd/lookup-retry.c: Likewise.
54585 * malloc/malloc.c: Likewise.
54586 * malloc/mtrace.c: Likewise.
54587 * nscd/nscd_getgr_r.c: Likewise.
54588 * nscd/nscd_getpw_r.c: Likewise.
54589 * nscd/nscd_getserv_r.c: Likewise.
54590 * posix/getopt_init.c: Likewise.
54591 * posix/wordexp.c: Likewise.
54592 * stdio-common/_itoa.c: Likewise.
54593 * stdio-common/printf_fphex.c: Likewise.
54594 * stdio-common/vfprintf.c: Likewise.
54595 * string/_strerror.c: Likewise.
54596 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54597 * sysdeps/i386/i686/hp-timing.h: Likewise.
54598 * sysdeps/mach/_strerror.c: Likewise.
54599 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54600 * sysdeps/mach/hurd/sethostid.c: Likewise.
54601 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54602 * sysdeps/mach/xpg-strerror.c: Likewise.
54603 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54604 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54605 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54606 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54607 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54608 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54609 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54610 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54611 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54612 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54613 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54614 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54615 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54616 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54617 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54618 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54619 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54620 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54621 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54622 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54623 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54624
54625 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54626
54627 * stdio-common/_itoa.h: Moved to ...
54628 * sysdeps/generic/_itoa.h: Here.
54629
54630 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54631
54632 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54633 instead of "_itoa.h" and "_itowa.h".
54634 * stdio-common/vfprintf.: Likewise.
54635
54636 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54637
54638 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54639 <bits/wordsize.h>.
54640 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54641 (__signbit): Likwise.
54642 (llrintf): Likwise.
54643 (llrint): Likwise.
54644
54645 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54646
54647 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54648 __WORDSIZE != 64.
54649
54650 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54651
54652 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54653 OVERFLOW_EXCEPTION_OK.
54654 * math/libm-test.inc ("Philosophy"): Update comment about
54655 exception testing.
54656 (OVERFLOW_EXCEPTION): Define.
54657 (OVERFLOW_EXCEPTION_OK): Likewise.
54658 (INVALID_EXCEPTION_OK): Renumber.
54659 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54660 (IGNORE_ZERO_INF_SIGN): Likewise.
54661 (test_exceptions): Handle FE_OVERFLOW.
54662 (exp10_test): Expect overflow exceptions.
54663 (exp2_test): Likewise.
54664 (expm1_test): Likewise.
54665 (nextafter_test): Likewise.
54666 (pow_test): Likewise.
54667 (scalbn_test): Likewise.
54668 (scalbln_test): Likewise.
54669
54670 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54671
54672 * sysdeps/x86_64/bits/atomic.h
54673 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54674 64bit integer.
54675 (atomic_exchange_acq): Likewise.
54676 (__arch_exchange_and_add_body): Likewise.
54677 (__arch_add_body): Likewise.
54678 (atomic_add_negative): Likewise.
54679 (atomic_add_zero): Likewise.
54680
54681 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54682
54683 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54684 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54685
54686 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54687
54688 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54689 Check __x86_64__ instead of __WORDSIZE.
54690
54691 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54692
54693 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54694
54695 2012-03-19 David S. Miller <davem@davemloft.net>
54696
54697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54698
54699 * sysdeps/sparc/fpu/fenv_private.h: New file.
54700 * sysdeps/sparc/fpu/math_private.h: Use it.
54701 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54702 Remove.
54703 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54704 (libc_feholdexcept_setroundl): Remove.
54705 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54706 Remove.
54707 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54708 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54709
54710 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54711
54712 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54713 int64_t instead of long int.
54714 (INSERT_WORDS64): Likwise.
54715
54716 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54717
54718 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54719 _Unwind_GetCFA return to _Unwind_Ptr first.
54720
54721 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54722
54723 [BZ #13629]
54724 * math/s_clog.c: Include <float.h>.
54725 (__clog): Scale large or subnormal inputs.
54726 * math/s_clogf.c: Likewise.
54727 * math/s_clogl.c: Likewise.
54728 * math/s_clog10.c: Include <float.h>.
54729 (M_LOG10_2): Define.
54730 (__clog10): Scale large or subnormal inputs.
54731 * math/s_clog10f.c: Likewise.
54732 * math/s_clog10l.c: Likewise.
54733 * math/libm-test.inc (clog_test): Add more tests.
54734 (clog10_test): Likewise.
54735 * sysdeps/i386/fpu/libm-test-ulps: Update.
54736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54737
54738 [BZ #11451]
54739 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54740 x and y.
54741 * math/libm-test.inc (atan2_test): Add another test.
54742
54743 * Makerules (common-objdir-compile): Remove.
54744 * sysdeps/unix/Makefile (config-generated): Do not add
54745 $(unix-generated) to variable.
54746 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54747 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54748 Remove rule.
54749 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54750 Likewise.
54751 [generic bits/local_lim.h] (before-compile): Do not append to
54752 variable.
54753 [generic bits/local_lim.h] (common-generated): Likewise.
54754 [generic sys/param.h] (before-compile): Do not append to variable.
54755 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54756 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54757 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54758 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54759 include.
54760 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54761 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54762 [generic sys/param.h] ($(addprefix
54763 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54764 [generic sys/param.h] (common-generated): Do not append to
54765 variable.
54766 [generic sys/param.h] (sysdep_headers): Likewise.
54767 [generic bits/errno.h] (before-compile): Do not append to
54768 variable.
54769 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54770 rule.
54771 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54772 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54773 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54774 [generic bits/errno.h] (common-generated): Do not append to
54775 variable.
54776 [generic bits/ioctls.h] (before-compile): Do not append to
54777 variable.
54778 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54779 rule.
54780 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54781 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54782 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54783 rule.
54784 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54785 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54786 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54787 [generic bits/ioctls.h] (common-generated): Do not append to
54788 variable.
54789 [generic sys/syscall.h] (syscall.h): Remove variable.
54790 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54791 rule.
54792 [generic sys/syscall.h] (before-compile): Do not append to
54793 variable.
54794 [generic sys/syscall.h] (common-generated): Likewise.
54795 * sysdeps/unix/errnos-tmpl.c: Remove file.
54796 * sysdeps/unix/errnos.awk: Likewise.
54797 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54798 * sysdeps/unix/ioctls.awk: Likewise.
54799 * sysdeps/unix/mk-local_lim.c: Likewise.
54800 * sysdeps/unix/snarf-ioctls: Likewise.
54801
54802 2012-03-19 Richard Henderson <rth@twiddle.net>
54803
54804 * sysdeps/i386/fpu/fenv_private.h: New file.
54805 * sysdeps/i386/fpu/math_private.h: Use it.
54806 (math_opt_barrier, math_force_eval): Remove.
54807 (libc_feholdexcept_setround_53bit): Remove.
54808 (libc_feupdateenv_53bit): Remove.
54809 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54810 (math_opt_barrier, math_force_eval): Remove.
54811 (libc_feholdexcept): Remove.
54812 (libc_feholdexcept_setround): Remove.
54813 (libc_fetestexcept, libc_fesetenv): Remove.
54814 (libc_feupdateenv_test): Remove.
54815 (libc_feupdateenv, libc_feholdsetround): Remove.
54816 (libc_feresetround): Remove.
54817
54818 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54819 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54820
54821 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54822 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54823 (libc_feupdateenv_testl): New.
54824 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54825 (libc_feupdateenv_testf): New.
54826 (libc_feupdateenv): Use libc_feupdateenv_test.
54827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54828 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54829
54830 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54831 (libc_feholdsetroundf, libc_feholdsetroundl): New.
54832 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54833 (libc_feresetround_noex): New.
54834 (libc_feresetround_noexf): New.
54835 (libc_feresetround_noexl): New.
54836 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54837 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54838 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54839 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54840 SET_RESTORE_ROUND.
54841 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54842 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54843 (__cos): Likewise.
54844 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54845 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54846 SET_RESTORE_ROUND_NOEX.
54847 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54848 SET_RESTORE_ROUND_NOEXF.
54849 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54850 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54851 (libc_feholdsetroundf): New.
54852 (libc_feresetround, libc_feresetroundf): New.
54853
54854 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54855 (libc_feholdexcept_setround_53bit): Convert from macro to function.
54856 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
54857
54858 * sysdeps/generic/math_private.h: Include <fenv.h>.
54859 (default_libc_feholdexcept): New.
54860 (default_libc_feholdexcept_setround): New.
54861 (default_libc_fesetenv, default_libc_feupdateenv): New.
54862 (libc_feholdexcept): Only define if undefined.
54863 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54864 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54865 (libc_feholdexcept_setroundl): Likewise.
54866 (libc_feholdexcept_setround_53bit): Likewise.
54867 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54868 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54869 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54870 (libc_feupdateenv_53bit): Likewise.
54871 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54872 (libc_feholdexcept): Convert from macro to inline function.
54873 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54874 (libc_fesetenv, libc_feupdateenv): Likewise.
54875
54876 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54877 not previously defined.
54878 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54879 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54880 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54881 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54882 * sysdeps/ieee754/flt-32/math_private.h: New file.
54883 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54884 math_private.h below SET_FLOAT_WORD.
54885 (__isnan, __isinf_ns, __finite): Remove.
54886 (__isnanf, __isinf_nsf, __finitef): Remove.
54887
54888 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
54889
54890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54891
54892 2012-03-17 David S. Miller <davem@davemloft.net>
54893
54894 [BZ #6471]
54895 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54896 for 2.16.
54897
54898 2012-03-16 David S. Miller <davem@davemloft.net>
54899
54900 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54901 warnings.
54902
54903 [BZ #6471]
54904 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54905 properly.
54906 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54907 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54908 sysdep_routines when subdir is sysvipc.
54909 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54910 __getshmlba helper.
54911
54912 * sysdeps/sparc/fpu/libm-test/ulps: Update.
54913
54914 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54915
54916 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54917 [__LP64__].
54918
54919 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54920
54921 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54922 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54923 (__lround): Renamed to ...
54924 (__llround): This. Replace long int with long long int.
54925 Define lround functions as aliases of llround functions.
54926 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54927
54928 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54929
54930 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54931 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
54932 adresses to uintptr_t. Replace "long int" and "unsigned long
54933 int" with "greg_t" on va_arg.
54934
54935 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54936
54937 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54938 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54939
54940 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54941 Move e_machine check before EI_CLASS check. Handle x32
54942 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54943 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54944 SKIP_EM_IA_64 and include
54945 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54946
54947 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54948 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54949 (add_system_dir): New macro.
54950
54951 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54952 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54953
54954 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54955
54956 [BZ #2551]
54957 [BZ #2552]
54958 [BZ #2553]
54959 [BZ #2554]
54960 [BZ #2562]
54961 [BZ #2563]
54962 [BZ #2565]
54963 [BZ #2566]
54964 [BZ #2576]
54965 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54966 (y0): Likewise.
54967 * math/w_j0f.c (j0f): Likewise.
54968 (y0f): Likewise.
54969 * math/w_j0l.c (__j0l): Likewise.
54970 (__y0l): Likewise.
54971 * math/w_j1.c (j1): Likewise.
54972 (y1): Likewise.
54973 * math/w_j1f.c (j1f): Likewise.
54974 (y1f): Likewise.
54975 * math/w_j1l.c (__j1l): Likewise.
54976 (__y1l): Likewise.
54977 * math/w_jn.c (jn): Likewise.
54978 (yn): Likewise.
54979 * math/w_jnf.c (jnf): Likewise.
54980 (ynf): Likewise.
54981 * math/w_jnl.c (__jnl): Likewise.
54982 (__ynl): Likewise.
54983 * math/libm-test.inc (j0_test): Add more tests.
54984 (j1_test): Likewise.
54985 (jn_test): Likewise. Add trailing semicolon to existing test.
54986 (y0_test): Likewise.
54987 (y1_test): Likewise.
54988 * sysdeps/i386/fpu/libm-test-ulps: Update.
54989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54990
54991 [BZ #13851]
54992 [BZ #13854]
54993 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54994 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54995 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54996 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54997 (__tanl): Set errno for infinite argument.
54998 * sysdeps/i386/fpu/mptan.c: Remove.
54999 * sysdeps/i386/fpu/s_tan.S: Likewise.
55000 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55001 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55002 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55003 * math/libm-test.inc (tan_test): Add more tests and enable more
55004 tests for double and long double.
55005 * sysdeps/i386/fpu/libm-test-ulps: Update.
55006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55007
55008 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55009
55010 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55011 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55012
55013 2012-03-16 Roland McGrath <roland@hack.frob.com>
55014
55015 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55016 * configure.in: Use it for both main tree and add-ons.
55017 * configure: Regenerated.
55018
55019 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55020
55021 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55022
55023 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55024
55025 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55026 in comment.
55027
55028 [BZ #13851]
55029 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55030 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55031 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55032 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55033 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55034 infinite argument.
55035 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55036 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55037 != 0 for prec == 2.
55038 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55039 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55040 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55041 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55042 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55043 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55044 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55045 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55046 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55047 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55048 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55049 * math/libm-test.inc (cos_test): Add more tests and enable more
55050 tests for long double.
55051 (sin_test): Likewise.
55052 (sincos_test): Likewise.
55053 * sysdeps/i386/fpu/libm-test-ulps: Update.
55054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55055
55056 2012-03-16 David S. Miller <davem@davemloft.net>
55057
55058 * sysdeps/sparc/fpu/math_private.h: New file.
55059
55060 2012-03-15 David S. Miller <davem@davemloft.net>
55061
55062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55063 file.
55064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55066 file.
55067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55072 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55073 sysdep routines.
55074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55075
55076 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55077 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55078
55079 * sysdeps/sparc/sparc-ifunc.h: New file.
55080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55081 sparc-ifunc.h
55082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55084 Likewise.
55085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55086 Likewise.
55087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55091 Likewise.
55092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55097 Likewise.
55098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55099 Likewise.
55100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55106 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55109 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55118 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55119 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55120 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55121 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55122 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55123 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55124
55125 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55126
55127 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55128 scaling.
55129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55130
55131 2012-03-15 Andreas Jaeger <aj@suse.de>
55132
55133 [BZ #13852]
55134 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55135 ieee754/flt-32 implementation for sin, cos and sincos.
55136 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55137 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55138 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55139 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55140 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55141 ieee754/flt-32 implementation for tan.
55142
55143 * math/libm-test.inc (cos_test): Enable some large input tests for
55144 float as well
55145 (sin_test): Likewise.
55146 (sincos_test): Likewise.
55147 (tan_test): Add tests for large input.
55148
55149 * sysdeps/i386/fpu/libm-test-ulps: Update.
55150
55151 2012-03-15 Andreas Jaeger <aj@suse.de>
55152
55153 [BZ #13658]
55154 * math/libm-test.inc (cos_test): Add more test cases.
55155 (sin_test): Likewise.
55156 (sincos_test): Likewise.
55157
55158 2012-03-15 Andreas Jaeger <aj@suse.de>
55159
55160 [BZ #13837]
55161 * math/libm-test.inc (cos_test): Add a test case for large input
55162 value.
55163 (sin_test): Likewise.
55164 (sincos_test): Likewise.
55165
55166 2012-03-15 Andreas Jaeger <aj@suse.de>
55167 Joseph Myers <joseph@codesourcery.com>
55168
55169 [BZ #13658]
55170 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55171 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55172 * sysdeps/i386/fpu/branred.c: Likewise.
55173 * sysdeps/i386/fpu/dosincos.c: Likewise.
55174 * sysdeps/i386/fpu/mpa.c: Likewise.
55175 * sysdeps/i386/fpu/s_cos.S: Likewise.
55176 * sysdeps/i386/fpu/s_sin.S: Likewise.
55177 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55178 * sysdeps/i386/fpu/sincos32.c: Likewise.
55179
55180 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55181 Define.
55182 (libc_feupdateenv_53bit): Define.
55183 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55184 Define.
55185 (libc_feupdateenv_53bit): Define.
55186
55187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55188 53 bit (without extend i386 double precision).
55189
55190 * math/libm-test.inc (sincos_test): Add tests for large input.
55191 (sin): Likewise.
55192 (cos): Likewise.
55193
55194 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55195
55196 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55197
55198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55199
55200 2012-03-15 David S. Miller <davem@davemloft.net>
55201
55202 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55203 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55204 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55205 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55218 file.
55219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55221 file.
55222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55224 file.
55225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55227 file.
55228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55230 fmin/fmax sysdep routines.
55231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55232
55233 2012-03-14 David S. Miller <davem@davemloft.net>
55234
55235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55237 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55238 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55257 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55262 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55263 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55264 routines.
55265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55266 file.
55267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55269 file.
55270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55272 file.
55273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55275 file.
55276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55278 file.
55279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55281 file.
55282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55283 file.
55284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55285 file.
55286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55287 file.
55288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55289 New file.
55290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55291 file.
55292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55293 file.
55294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55296 file.
55297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55299 file.
55300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55302 file.
55303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55305 VIS3 routines.
55306
55307 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55308 New file.
55309
55310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55311
55312 * sysdeps/sparc/configure.in: New file.
55313 * sysdeps/sparc/configure: Generate.
55314 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55315 * configure: Regenerate.
55316 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55317 * config.make.in (have-as-vis3): New.
55318 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55319 available use -Av9d instead of -Av9a.
55320 * sysdeps/sparc/sparc64/Makefile: Likewise.
55321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55323 New file.
55324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55325 file.
55326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55327 New file.
55328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55329 file.
55330 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55333 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55334 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55335
55336 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55337 fzeros/fnegs to load 0x80000000 into a float register instead of
55338 using the stack.
55339 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55340
55341 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55342
55343 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55344 bits/syscall.h.
55345 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55346 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55347 ($(inst_includedir)/bits/syscall.h): Remove rule.
55348 ($(objpfx)bits/syscall.d): Include instead of
55349 $(objpfx)syscall-list.d.
55350 (generated): Change syscall-list.h and syscall-list.d to
55351 bits/syscall.h and bits/syscall.d.
55352
55353 2012-03-14 Roland McGrath <roland@hack.frob.com>
55354
55355 [BZ #13846]
55356 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55357
55358 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55359
55360 [BZ #13841]
55361 * math/s_csqrt.c: Include <float.h>.
55362 (__csqrt): Scale large or subnormal inputs.
55363 * math/s_csqrtf.c: Likewise.
55364 * math/s_csqrtl.c: Likewise.
55365 * math/libm-test.inc (csqrt_test): Add more tests.
55366 * sysdeps/i386/fpu/libm-test-ulps: Update.
55367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55368
55369 [BZ #13840]
55370 * math/libm-test.inc (hypot_test): Add more tests.
55371
55372 2012-03-13 David S. Miller <davem@davemloft.net>
55373
55374 [BZ #13840]
55375 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55376 double-precision for the calculation instead of scaling.
55377
55378 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55379
55380 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55381 manipulate bits before adding and subtracting TWO52[sx].
55382 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55383 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55384 Likewise.
55385 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55386
55387 2012-03-13 David S. Miller <davem@davemloft.net>
55388
55389 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55390 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55391 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55392 rtld-global-offsets.h
55393 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55394
55395 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55396 large parameters.
55397
55398 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55399
55400 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55401 'err' in the ifdef scope in which it is actually used.
55402
55403 * nss/nss_db/db-init.c: Include string.h
55404
55405 2012-03-12 David S. Miller <davem@davemloft.net>
55406
55407 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55408 masking out of the most significant byte of random value used.
55409 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55410 Fix coding style in previous change.
55411
55412 * sysdeps/unix/sysv/linux/kernel-features.h
55413 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55414 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55415 expression.
55416 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55417 later.
55418
55419 2012-03-11 David S. Miller <davem@davemloft.net>
55420
55421 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55422 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55423 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55424 for 'resultvar' otherwise things get truncated on 64-bit.
55425
55426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55427 Fix masking out of the most significant byte of random value used.
55428
55429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55430
55431 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55432
55433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55434
55435 2012-03-09 David S. Miller <davem@davemloft.net>
55436
55437 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55438 variables with appropriate CPP guards.
55439 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55440 from the frame pointer, not the stack pointer. Correct layout
55441 comments. Fix test on resulting framesize and the management of
55442 the outregs buffer for pltexit. Preserve floating point return
55443 values across _dl_call_pltexit call.
55444 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55445 framesize and the management of the outregs buffer for pltexit.
55446 Preserve floating point return values across _dl_call_pltexit
55447 call.
55448 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55449 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55450 (la_sparc64_gnu_pltexit): New functions.
55451 (print_exit): Fix format string for return register value.
55452
55453 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55454
55455 * sunrpc/Makefile (others): Add rpcgen.
55456 ($(objpfx)rpcgen): Remove special build rule and dependency on
55457 libc.
55458 * sunrpc/rpcgen.c: New file.
55459
55460 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55461
55462 [BZ #13673]
55463 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55464 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55465 * sysdeps/i386/crti.S: Likewise.
55466 * sysdeps/i386/crtn.S: Likewise.
55467 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55468 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55469 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55470 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55471 * sysdeps/sh/crti.S: Likewise.
55472 * sysdeps/sh/crtn.S: Likewise.
55473 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55474
55475 [BZ #13673]
55476 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55477 with URL.
55478 * locale/programs/locfile-kw.gperf: Likewise.
55479 * locale/programs/charmap-kw.h: Regenerated.
55480 * locale/programs/locfile-kw.h: Likewise.
55481
55482 [BZ #13673]
55483 * intl/plural.y: Replace FSF snail mail address with URL.
55484 * intl/plural.c: Regenerated.
55485
55486 2012-03-09 Richard Henderson <rth@twiddle.net>
55487
55488 * include/math_private.h: Remove file.
55489 * math/math_private.h: Move file ...
55490 * sysdeps/generic/math_private.h: ... here.
55491
55492 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55493 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55494 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55495
55496 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55497 and <math_private.h>.
55498 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55499 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55500 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55501 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55502 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55503 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55504 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55505 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55506 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55507 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55508 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55509 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55510 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55511 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55512 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55513 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55514 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55515 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55516 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55517 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55518 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55519 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55520 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55521 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55522 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55523 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55524 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55525 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55527 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55528 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55529 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55530 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55531 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55532 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55533 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55534 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55535 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55536 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55537 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55538 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55539 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55540 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55541 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55542 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55543 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55544 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55545 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55546 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55547 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55548 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55549 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55550 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55551 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55552 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55553 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55554 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55555 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55556 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55557 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55558 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55559 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55560 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55561 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55562 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55563 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55564 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55565 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55566 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55567 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55568 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55569 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55570 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55571 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55572 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55573 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55576 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55577 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55578 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55579 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55580 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55581 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55582 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55583 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55585 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55586 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55587 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55588 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55589 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55590 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55591 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55592 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55593 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55594 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55595 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55596 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55597 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55598 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55599 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55600 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55601 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55602 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55603 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55604 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55605 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55606 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55607 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55608 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55609 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55610 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55611 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55612 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55613 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55614 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55615 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55616 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55617 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55618 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55619 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55620 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55621 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55622 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55623 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55624 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55625 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55626 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55627 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55628 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55629 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55630 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55631 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55632 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55633 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55634 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55635 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55636 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55637 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55638 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55639 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55640 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55641 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55642 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55643 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55644 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55645 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55646 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55647 * sysdeps/ieee754/k_standard.c: Likewise.
55648 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55649 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55650 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55651 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55652 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55653 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55654 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55655 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55656 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55657 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55658 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55659 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55660 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55661 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55662 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55663 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55664 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55665 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55666 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55667 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55668 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55669 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55670 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55671 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55672 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55673 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55674 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55675 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55676 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55677 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55678 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55679 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55680 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55681 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55682 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55683 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55684 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55685 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55686 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55687 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55688 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55689 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55690 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55691 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55692 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55693 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55694 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55695 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55696 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55697 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55698 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55699 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55700 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55701 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55704 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55705 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55706 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55707 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55708 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55709 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55710 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55711 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55712 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55713 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55714 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55715 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55716 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55717 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55718 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55719 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55720 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55721 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55722 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55723 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55724 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55725 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55726 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55727 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55728 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55729 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55730 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55731 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55732 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55733 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55734 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55735 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55736 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55737 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55738 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55739 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55740 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55741 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55742 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55743 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55744 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55745 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55746 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55747 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55748 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55749 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55750 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55751 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55752 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55753 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55754 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55755 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55756 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55757 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55758 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55759 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55760 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55761 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55762 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55763 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55764 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55765 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55766 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55767 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55768 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55769 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55770 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55771 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55772 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55773 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55774 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55775 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55776 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55777 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55778 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55779 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55780 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55781 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55782 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55783 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55784 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55785 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55786 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55787 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55788 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55789 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55790 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55791 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55792 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55793 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55794 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55795 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55796 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55797 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55798 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55799 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55800 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55801 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55802 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55803 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55804 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55805 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55806 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55807 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55808 * sysdeps/ieee754/s_lib_version.c: Likewise.
55809 * sysdeps/ieee754/s_matherr.c: Likewise.
55810 * sysdeps/ieee754/s_signgam.c: Likewise.
55811 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55812 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55813 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55814 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55815 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55816 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55817 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55818 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55819 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55820 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55821 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55822 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55823 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55824 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55825 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55826 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55827 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55828 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55829 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55832
55833 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55834
55835 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55836 * sunrpc/rpc_main.c: Likewise.
55837 * sunrpc/rpc_svcout.c: Likewise.
55838
55839 2012-03-09 David S. Miller <davem@davemloft.net>
55840
55841 * include/math_private.h: New file.
55842
55843 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55844
55845 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55846 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55847 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55848 from <bits/socket_type.h>.
55849 (enum __socket_type): Don't define here.
55850 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55852 bits/socket_type.h.
55853
55854 [BZ #13566]
55855 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55856 checking __USE_GNU.
55857
55858 * Makerules ($(inst_includedir)/%.h): New rule.
55859 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55860 (install-others): Remove variable setting.
55861 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55862
55863 2012-03-08 Richard Henderson <rth@twiddle.net>
55864
55865 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55866 from macro to inline function; merge with the
55867 !__LIBC_INTERNAL_MATH_INLINES version.
55868 (__ieee754_sqrtf): Likewise.
55869
55870 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55871 to inline function.
55872 (__rintf, __floor, __floorf): Likewise.
55873
55874 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55875 macro to inline function.
55876 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55877
55878 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55879 not <math/math_private.h>.
55880
55881 2012-03-08 David S. Miller <davem@davemloft.net>
55882
55883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55884 copyright year.
55885 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55886
55887 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
55888
55889 * resolv/gai_misc.c (handle_requests): Fix struct timespec
55890 normalization.
55891 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55892 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55893
55894 2012-03-08 Ulrich Drepper <drepper@gmail.com>
55895
55896 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
55897 be defined individually, they must be defined as a block. Define
55898 S for printing a string instead of hidint the different by using a
55899 macro for adding the 'l'.
55900 * stdio-common/tst-fphex-wide.c: Adjust.
55901
55902 2012-03-07 Marek Polacek <polacek@redhat.com>
55903
55904 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55905
55906 2012-03-08 Marek Polacek <polacek@redhat.com>
55907
55908 [BZ #13806]
55909 * stdio-common/Makefile (tests): Add tst-fphex-wide.
55910 * stdio-common/tst-fphex.c: Define a few macros to make the
55911 test reusable. Use them.
55912 * stdio-common/tst-fphex-wide.c: New file.
55913
55914 2012-03-08 Joseph Myers <joseph@codesourcery.com>
55915
55916 [BZ #6911]
55917 * manual/macros.texi (gnusystems): New macro.
55918 (nongnusystems): Likewise.
55919 (gnulinuxhurdsystems): Likewise.
55920 (gnuhurdsystems): Likewise..
55921 (gnulinuxsystems): Likewise.
55922 * manual/charset.texi: Use new macros or @theglibc{} to refer to
55923 variants of the GNU system, not "GNU system".
55924 * manual/conf.texi: Likewise.
55925 * manual/errno.texi: Likewise. Update example of errno macro
55926 expansion.
55927 * manual/filesys.texi: Likewise.
55928 (getumask): Document as specific to GNU/Hurd.
55929 * manual/install.texi: Likewise. Reword some references to
55930 GNU/Linux.
55931 * manual/intro.texi: Likewise.
55932 * manual/io.texi: Likewise.
55933 (File Name Portability): Detail which constraints are inapplicable
55934 to all GNU systems and which are only inapplicable to GNU/Hurd.
55935 * manual/job.texi: Likewise.
55936 * manual/llio.texi: Likewise.
55937 (O_NOCTTY): Document as present on GNU/Linux.
55938 * manual/maint.texi: Likewise.
55939 * manual/memory.texi: Likewise.
55940 * manual/pattern.texi: Likewise.
55941 * manual/pipe.texi: Likewise.
55942 * manual/process.texi: Likewise.
55943 * manual/resource.texi: Likewise.
55944 (RUSAGE_CHILDREN): Remove statement about specifying a particular
55945 child on GNU/Hurd.
55946 * manual/setjmp.texi: Likewise.
55947 * manual/signal.texi: Likewise.
55948 * manual/startup.texi: Likewise.
55949 * manual/stdio.texi: Likewise.
55950 * manual/terminal.texi: Likewise.
55951 (ONLCR): Document as POSIX.
55952 (OXTABS): Document availability on GNU/Linux as XTABS.
55953 (ONOEOT): Document availability separately from other bits.
55954 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55955 * manual/time.texi: Likewise.
55956 * manual/users.texi: Likewise.
55957 * INSTALL: Regenerated.
55958 * sysdeps/gnu/errlist.c: Regenerated.
55959
55960 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55961 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55962 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
55963 puts.
55964 * configure: Regenerated.
55965
55966 2012-03-07 Joseph Myers <joseph@codesourcery.com>
55967
55968 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55969 default includes instead of AC_HEADER_CHECK.
55970 * sysdeps/i386/configure: Regenerated.
55971
55972 [BZ #10716]
55973 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55974 * math/s_cacoshf.c (__cacoshf): Likewise.
55975 * math/s_cacoshl.c (__cacoshl): Likewise.
55976 * math/s_casinh.c (__casinh): Set signs of result from argument.
55977 * math/s_casinhf.c (__casinhf): Likewise.
55978 * math/s_casinhl.c (__casinhl): Likewise.
55979 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55980 (casinh_test): Add more tests.
55981 * sysdeps/i386/fpu/libm-test-ulps: Update.
55982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55983
55984 2012-03-07 Ulrich Drepper <drepper@gmail.com>
55985
55986 * po/zh_TW.po: Update from translation team.
55987
55988 * login/Makefile (distribute): Remove variable.
55989 * catgets/Makefile: Likewise.
55990 * mach/Makefile: Likewise.
55991 * malloc/Makefile: Likewise.
55992 * misc/Makefile: Likewise.
55993 * iconv/Makefile: Likewise.
55994 * nscd/Makefile: Likewise.
55995 * hurd/Makefile: Likewise.
55996 * manual/Makefile: Likewise.
55997 * locale/Makefile: Likewise.
55998 * intl/Makefile: Likewise.
55999 * conform/Makefile: Likewise.
56000 * nss/Makefile: Likewise.
56001 * time/Makefile: Likewise.
56002 * soft-fp/Makefile: Likewise.
56003 * dirent/Makefile: Likewise.
56004 * gmon/Makefile: Likewise.
56005 * po/Makefile: Likewise.
56006 * rt/Makefile: Likewise.
56007 * socket/Makefile: Likewise.
56008 * math/Makefile: Likewise.
56009 * signal/Makefile: Likewise.
56010 * debug/Makefile: Likewise.
56011 * elf/Makefile: Likewise.
56012 * timezone/Makefile: Likewise.
56013 * stdlib/Makefile: Likewise.
56014 * iconvdata/Makefile: Likewise.
56015 * sunrpc/Makefile: Likewise.
56016 * io/Makefile: Likewise.
56017 * argp/Makefile: Likewise.
56018 * inet/Makefile: Likewise.
56019 * hesiod/Makefile: Likewise.
56020 * grp/Makefile: Likewise.
56021 * csu/Makefile: Likewise.
56022 * wctype/Makefile: Likewise.
56023 * crypt/Makefile: Likewise.
56024 * libio/Makefile: Likewise.
56025 * string/Makefile: Likewise.
56026 * nis/Makefile: Likewise.
56027 * resolv/Makefile: Likewise.
56028 * stdio-common/Makefile: Likewise.
56029 * wcsmbs/Makefile: Likewise.
56030 * dlfcn/Makefile: Likewise.
56031 * posix/Makefile: Likewise.
56032
56033 [BZ #6959]
56034 * timezone/Makefile: Don't install timezone files, just the programs
56035 and scripts.
56036
56037 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56038
56039 * nss/databases.def: Add missing gshadow entry.
56040
56041 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56042
56043 2012-03-06 Marek Polacek <polacek@redhat.com>
56044
56045 [BZ #13726]
56046 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56047 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56048 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56049 * stdio-common/tst-long-dbl-fphex.c: New file.
56050
56051 2012-03-06 David S. Miller <davem@davemloft.net>
56052
56053 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56054 (set_obp_int): New function.
56055 (get_obp_int): New function.
56056 (__get_clockfreq_via_dev_openprom): Likewise.
56057 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56058 Avoid unused variable warnings on 'val' and use builtin_expect.
56059 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56060 __builtin_expect.
56061 (INLINE_CLONE_SYSCALL): Likewise.
56062
56063 2012-03-05 David S. Miller <davem@davemloft.net>
56064
56065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56066
56067 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56068
56069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56070
56071 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56072 only for |x| >= 40.
56073 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56074
56075 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56076
56077 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56078 Replace gettimeofday with __vdso_gettimeofday.
56079
56080 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56081 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56082 __vdso_clock_gettime and __vdso_getcpu.
56083
56084 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56085 time with __vdso_time.
56086
56087 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56088
56089 * manual/lang.texi (size_t): Note types to which size_t may be
56090 equivalent with the GNU C Library, but do not describe when
56091 differences between them are significant.
56092
56093 2012-03-05 Andreas Jaeger <aj@suse.de>
56094
56095 * sysdeps/i386/fpu/libm-test-ulps: Update.
56096
56097 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56098
56099 [BZ #3976]
56100 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56101 (__ieee754_pow): Save and restore rounding mode and use
56102 round-to-nearest for main computations.
56103 * math/libm-test.inc (pow_test_tonearest): New function.
56104 (pow_test_towardzero): Likewise.
56105 (pow_test_downward): Likewise.
56106 (pow_test_upward): Likewise.
56107 (main): Call the new functions.
56108 * sysdeps/i386/fpu/libm-test-ulps: Update.
56109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56110
56111 [BZ #3976]
56112 * math/libm-test.inc (cosh_test_tonearest): New function.
56113 (cosh_test_towardzero): Likewise.
56114 (cosh_test_downward): Likewise.
56115 (cosh_test_upward): Likewise.
56116 (sinh_test_tonearest): Likewise.
56117 (sinh_test_towardzero): Likewise.
56118 (sinh_test_downward): Likewise.
56119 (sinh_test_upward): Likewise.
56120 (main): Call the new functions.
56121 * sysdeps/i386/fpu/libm-test-ulps: Update.
56122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56123
56124 2012-03-05 Tom de Vries <tom@codesourcery.com>
56125
56126 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56127 default stack guard is set in last bytes.
56128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56129
56130 2012-03-05 Kees Cook <keescook@chromium.org>
56131
56132 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56133
56134 [BZ #13656]
56135 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56136 possibly allocate from heap instead of stack.
56137 * stdio-common/bug-vfprintf-nargs.c: New file.
56138 * stdio-common/Makefile (tests): Add nargs overflow test.
56139
56140 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56141
56142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56143
56144 2012-03-03 Marek Polacek <polacek@redhat.com>
56145
56146 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56147 * math/math_private.h: Likewise.
56148 * stdlib/tst-strtod.c: Likewise.
56149 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56150 * sysdeps/x86_64/bits/atomic.h: Likewise.
56151
56152 2012-03-02 David S. Miller <davem@davemloft.net>
56153
56154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56158 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56159 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56160 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56161 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56162
56163 2012-03-02 Roland McGrath <roland@hack.frob.com>
56164
56165 [BZ #13792]
56166 * manual/examples/README: New file, says the example source files
56167 can be used under GPL>=2.
56168 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56169 line containing just "*/".
56170 * manual/examples/add.c: Add copyright header (GPL>=2).
56171 * manual/examples/argp-ex1.c: Likewise.
56172 * manual/examples/argp-ex2.c: Likewise.
56173 * manual/examples/argp-ex3.c: Likewise.
56174 * manual/examples/argp-ex4.c: Likewise.
56175 * manual/examples/atexit.c: Likewise.
56176 * manual/examples/db.c: Likewise.
56177 * manual/examples/dir.c: Likewise.
56178 * manual/examples/dir2.c: Likewise.
56179 * manual/examples/execinfo.c: Likewise.
56180 * manual/examples/filecli.c: Likewise.
56181 * manual/examples/filesrv.c: Likewise.
56182 * manual/examples/fmtmsgexpl.c: Likewise.
56183 * manual/examples/genpass.c: Likewise.
56184 * manual/examples/inetcli.c: Likewise.
56185 * manual/examples/inetsrv.c: Likewise.
56186 * manual/examples/isockad.c: Likewise.
56187 * manual/examples/longopt.c: Likewise.
56188 * manual/examples/memopen.c: Likewise.
56189 * manual/examples/memstrm.c: Likewise.
56190 * manual/examples/mkfsock.c: Likewise.
56191 * manual/examples/mkisock.c: Likewise.
56192 * manual/examples/mygetpass.c: Likewise.
56193 * manual/examples/pipe.c: Likewise.
56194 * manual/examples/popen.c: Likewise.
56195 * manual/examples/rprintf.c: Likewise.
56196 * manual/examples/search.c: Likewise.
56197 * manual/examples/select.c: Likewise.
56198 * manual/examples/setjmp.c: Likewise.
56199 * manual/examples/sigh1.c: Likewise.
56200 * manual/examples/sigusr.c: Likewise.
56201 * manual/examples/stpcpy.c: Likewise.
56202 * manual/examples/strdupa.c: Likewise.
56203 * manual/examples/strftim.c: Likewise.
56204 * manual/examples/strncat.c: Likewise.
56205 * manual/examples/subopt.c: Likewise.
56206 * manual/examples/swapcontext.c: Likewise.
56207 * manual/examples/termios.c: Likewise.
56208 * manual/examples/testopt.c: Likewise.
56209 * manual/examples/testpass.c: Likewise.
56210 * manual/examples/timeval_subtract.c: Likewise.
56211
56212 [BZ #13792]
56213 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56214 function to ...
56215 * manual/timeval_subtract.c.texi: ... here, new file.
56216
56217 2012-03-02 David S. Miller <davem@davemloft.net>
56218
56219 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56220
56221 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56222
56223 [BZ #3976]
56224 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56225 (__sin): Save and restore rounding mode and use round-to-nearest
56226 for all computations.
56227 (__cos): Save and restore rounding mode and use round-to-nearest
56228 for all computations.
56229 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56230 <fenv.h>.
56231 (tan): Save and restore rounding mode and use round-to-nearest for
56232 all computations.
56233 * math/libm-test.inc (cos_test_tonearest): New function.
56234 (cos_test_towardzero): Likewise.
56235 (cos_test_downward): Likewise.
56236 (cos_test_upward): Likewise.
56237 (sin_test_tonearest): Likewise.
56238 (sin_test_towardzero): Likewise.
56239 (sin_test_downward): Likewise.
56240 (sin_test_upward): Likewise.
56241 (tan_test_tonearest): Likewise.
56242 (tan_test_towardzero): Likewise.
56243 (tan_test_downward): Likewise.
56244 (tan_test_upward): Likewise.
56245 (main): Call the new functions.
56246 * sysdeps/i386/fpu/libm-test-ulps: Update.
56247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56248
56249 [BZ #10135]
56250 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56251 small n, then large n, before computing and testing k+n.
56252 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56254 Likewise.
56255 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56256 Likewise.
56257 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56258 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56259 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56260 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56261 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56262 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56263 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56264 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56265 * math/libm-test.inc (scalbn_test): Add more tests.
56266 (scalbln_test): Likewise.
56267
56268 * manual/filesys.texi (mode_t): Describe constraints on size and
56269 signedness, not exact equivalence to a particular type.
56270 (ino_t): Likewise.
56271 (ino64_t): Likewise.
56272 (dev_t): Likewise.
56273 (nlink_t): Likewise.
56274 (blkcnt_t): Likewise.
56275 (blkcnt64_t): Likewise.
56276 * manual/llio.texi (off_t): Likewise.
56277
56278 [BZ #3976]
56279 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56280 (__ieee754_exp): Save and restore rounding mode and use
56281 round-to-nearest for all computations.
56282 * math/libm-test.inc (exp_test_tonearest): New function.
56283 (exp_test_towardzero): Likewise.
56284 (exp_test_downward): Likewise.
56285 (exp_test_upward): Likewise.
56286 (main): Call the new functions.
56287 * sysdeps/i386/fpu/libm-test-ulps: Update.
56288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56289
56290 2012-03-01 Chris Demetriou <cgd@google.com>
56291
56292 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56293 have predictable order.
56294
56295 2012-03-01 David S. Miller <davem@davemloft.net>
56296
56297 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56298
56299 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56300 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56301 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56302 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56303
56304 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56305 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56306 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56308 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56309 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56310 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56311 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56312 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56313
56314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56315
56316 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56317 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56318 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56319
56320 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56321 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56322 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56323 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56324 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56325 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56326 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56327 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56328 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56329 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56330 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56331 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56333 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56334 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56336 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56337 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56338 * sysdeps/sparc/elf/configure: Regenerated.
56339
56340 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56341
56342 * configure.in (AS, LD): Require binutils 2.20 or later.
56343 * configure: Regenerated.
56344 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56345 as required minimum version.
56346 * INSTALL: Regenerated.
56347
56348 [BZ #2541]
56349 [BZ #4108]
56350 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56351 before squaring exponent.
56352 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56353 bottom long double and 27 bits of top long double before squaring
56354 exponent.
56355 * math/libm-test.inc (erfc_test): Add more tests.
56356 * sysdeps/i386/fpu/libm-test-ulps: Update.
56357 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56359
56360 2012-03-01 Kai Tietz <ktietz@redhat.com>
56361
56362 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56363 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56364 containing bit-fields.
56365 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56366 * soft-fp/single.h (_FP_UNION_S): Likewise.
56367 * soft-fp/double.h (_FP_UNION_D): Likewise.
56368
56369 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56370
56371 [BZ #13786]
56372 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56373 not include ../strcmp.S.
56374 [USE_AS_STRNCASECMP_L]: Likewise.
56375 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56376 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56377 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56378 (__strncasecmp_l_ia32): Define as alias to
56379 __strncasecmp_l_nonascii.
56380
56381 [BZ #5794]
56382 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56383 * sysdeps/i386/fpu/libm-test-ulps: Update.
56384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56385
56386 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56388
56389 2012-02-29 Jeff Law <law@redhat.com>
56390
56391 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56392 out of bounds read.
56393
56394 2012-02-29 Marek Polacek <polacek@redhat.com>
56395
56396 [BZ #13706]
56397 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56398 * elf/Makefile: Add rules to run tst-unused-dep.out.
56399
56400 2012-02-28 David S. Miller <davem@davemloft.net>
56401
56402 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56403 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56406 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56407 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56408
56409 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56410
56411 * math/libm-test.inc (llround_test): Move one test from
56412 lround_test. Use TEST_f_L in moved test.
56413 (lround_test): Move misplaced test to llround_test. Add testcase
56414 from bug 2561.
56415
56416 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56417
56418 * sysdeps/x86_64/fpu/e_expf.S: New file.
56419 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56420
56421 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56422
56423 [BZ #13637]
56424 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56425 of remain_len that may cause incomplete multi-byte character and
56426 false match.
56427 * posix/bug-regex33.c: New file.
56428 * posix/Makefile (tests): Add bug-regex33.
56429
56430 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56431
56432 * manual/macros.texi: New file.
56433 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56434 * manual/libc.texinfo: Include macros.texi.
56435 * manual/creatute.texi: Likewise.
56436 * manual/install.texi: Likewise.
56437 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56438 @glibcadj{} in references to the GNU C Library.
56439 * manual/charset.texi: Likewise.
56440 * manual/conf.texi: Likewise.
56441 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56442 when not using those macros.
56443 * manual/creature.texi: Likewise.
56444 * manual/crypt.texi: Likewise.
56445 * manual/errno.texi: Likewise.
56446 * manual/filesys.texi: Likewise.
56447 * manual/header.texi: Likewise.
56448 * manual/install.texi: Likewise.
56449 * manual/intro.texi: Likewise.
56450 * manual/io.texi: Likewise.
56451 * manual/job.texi: Likewise.
56452 * manual/lang.texi: Likewise.
56453 * manual/libc.texiinfo: Likewise.
56454 * manual/llio.texi: Likewise.
56455 * manual/locale.texi: Likewise.
56456 * manual/maint.texi: Likewise.
56457 * manual/math.texi: Likewise.
56458 * manual/memory.texi: Likewise.
56459 * manual/message.texi: Likewise.
56460 * manual/nss.texi: Likewise.
56461 * manual/pattern.texi: Likewise.
56462 * manual/process.texi: Likewise.
56463 * manual/resource.texi: Likewise.
56464 * manual/search.texi: Likewise.
56465 * manual/setjmp.texi: Likewise.
56466 * manual/signal.texi: Likewise.
56467 * manual/socket.texi: Likewise.
56468 * manual/startup.texi: Likewise.
56469 * manual/stdio.texi: Likewise.
56470 * manual/string.texi: Likewise.
56471 * manual/sysinfo.texi: Likewise.
56472 * manual/syslog.texi: Likewise.
56473 * manual/terminal.texi: Likewise.
56474 * manual/time.texi: Likewise.
56475 * manual/users.texi: Likewise.
56476 * INSTALL: Regenerated.
56477 * NOTES: Regenerated.
56478 * sysdeps/gnu/errlist.c: Regenerated.
56479
56480 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56481
56482 * include/dirent.h: Include <dirstream.h> before
56483 <dirent/dirent.h>.
56484
56485 2012-02-28 David S. Miller <davem@davemloft.net>
56486
56487 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56488 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56489 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56490 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56491
56492 2012-02-27 David S. Miller <davem@davemloft.net>
56493
56494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56496 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56497 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56498
56499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56500 frame pointer instead of stack pointer relative arg slot.
56501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56502 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56503 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56504
56505 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56506
56507 [BZ #3992]
56508 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56509
56510 2012-02-27 David S. Miller <davem@davemloft.net>
56511
56512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56518 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56519 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56520
56521 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56522
56523 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56524 later. Allow versions 5-9.
56525 * configure: Regenerated.
56526 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56527 required minimum version and 4.6 as recommended version. Do not
56528 mention bugs in GCC 2.7 and 2.8.
56529 * INSTALL: Regenerated.
56530
56531 2012-02-27 David S. Miller <davem@davemloft.net>
56532
56533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56537 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56538 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56539 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56540 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56541
56542 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56543 manipulate bits before adding and subtracting TWO112[sx].
56544 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56545
56546 2012-02-27 Roland McGrath <roland@hack.frob.com>
56547
56548 [BZ #13775]
56549 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56550 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56551 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56552 being in POSIX, because they are in 1003.1-2008.
56553
56554 * rt/tst-aio.c: Include <fcntl.h>.
56555 * rt/tst-aio7.c: Likewise.
56556 * rt/tst-aio64.c: Likewise.
56557
56558 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56559
56560 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56561
56562 * manual/install.texi (--with-headers): Describe headers as
56563 interface headers, not private headers.
56564 (Specific advice for GNU/Linux systems): Describe use of headers
56565 from "make headers_install", not private headers from older
56566 kernels.
56567 * INSTALL: Regenerated.
56568 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56569 Change to 2.6.19.
56570 * sysdeps/unix/sysv/linux/configure: Regenerated.
56571
56572 * manual/llio.texi (fclean): Remove documentation.
56573
56574 * manual/Makefile (libc-texi-generated): New variable. Include
56575 version.texi.
56576 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56577 $(libc-texi-generated), not duplicated list of files.
56578 (version.texi, stamp-version): New rules.
56579 (realclean): Remove $(libc-texi-generated), not individual files
56580 from that list. Do not remove dir-add.texinfo.
56581 * manual/libc.texinfo: Comment out uses of edition numbers and
56582 references to printed manual. Remove last-updated dates.
56583 (EDITION): Comment out.
56584 (ISBN): Likewise.
56585 (VERSION, UPDATED): Remove.
56586 (version.texi): Include.
56587
56588 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56589
56590 * sysdeps/posix/spawni.c: Include <signal.h>.
56591 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56592 * sysdeps/pthread/aio_fsync.c: Likewise.
56593
56594 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56595
56596 * conform/Makefile (tests): Run only when not cross-compiling and
56597 when fast-check is not defined.
56598
56599 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56600 * conform/data/limits.h-data: Fixes for POSIX2008.
56601 * conform/run-conformtest.sh: Run all tests.
56602 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56603 headers.
56604 * include/bits/dlfcn.h: Likewise.
56605 * include/langinfo.h: Likewise.
56606 * include/monetary.h: Likewise.
56607 * include/sys/poll.h: Likewise.
56608
56609 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56610 for __USE_GNU.
56611 * posix/spawn.h: Define __need_sigset_t.
56612 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56613 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56614 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56615 to get sigevent_t only.
56616 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56617 only for __USE_GNU.
56618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56619 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56620 process_vm_writev only for __USE_GNU.
56621 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56622
56623 * conform/Makefile: For now ignore errors from run-conformtest.
56624 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56625 POSIX to avoid namespace pollution. Don't prepend headers.
56626 * conform/data/aio.h-data: Fixes for POSIX testing.
56627 * conform/data/fcntl.h-data: Likewise.
56628 * conform/data/glob.h-data: Likewise.
56629 * conform/data/grp.h-data: Likewise.
56630 * conform/data/pthread.h-data: Likewise.
56631 * conform/data/pwd.h-data: Likewise.
56632 * conform/data/signal.h-data: Likewise.
56633 * conform/data/spawn.h-data: Likewise.
56634 * conform/data/stdio.h-data: Likewise.
56635 * conform/data/stdlib.h-data: Likewise.
56636 * conform/data/stropts.h-data: Likewise.
56637 * conform/data/sys/mman.h-data: Likewise.
56638 * conform/data/sys/stat.h-data: Likewise.
56639 * conform/data/sys/types.h-data: Likewise.
56640 * conform/data/sys/wait.h-data: Likewise.
56641 * conform/data/time.h-data: Likewise.
56642 * conform/data/unistd.h-data: Likewise.
56643 * conform/data/utime.h-data: Likewise.
56644
56645 * io/sys/stat.h: fchmod was always in POSIX.
56646 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56647 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56648 * rt/aio.h: Define __need_timespec before including <time.h>.
56649 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56650 struct. Add forward declaration of pthread_attr_t and use it in
56651 sigevent.
56652 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56653 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56654 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56655 always remove CLK_TCK definition.
56656
56657 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56658
56659 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56660
56661 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56662
56663 * conform/run-conformtest.sh: New file.
56664 * conform/Makefile: Run run-conformtest for tests.
56665 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56666 support.
56667
56668 * conform/data/uchar.h-data: New file.
56669 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56670 * conform/data/arpa/inet.h-data: Likewise.
56671 * conform/data/assert.h-data: Likewise.
56672 * conform/data/complex.h-data: Likewise.
56673 * conform/data/cpio.h-data: Likewise.
56674 * conform/data/ctype.h-data: Likewise.
56675 * conform/data/dirent.h-data: Likewise.
56676 * conform/data/dlfcn.h-data: Likewise.
56677 * conform/data/errno.h-data: Likewise.
56678 * conform/data/fcntl.h-data: Likewise.
56679 * conform/data/float.h-data: Likewise.
56680 * conform/data/fmtmsg.h-data: Likewise.
56681 * conform/data/fnmatch.h-data: Likewise.
56682 * conform/data/ftw.h-data: Likewise.
56683 * conform/data/glob.h-data: Likewise.
56684 * conform/data/grp.h-data: Likewise.
56685 * conform/data/iconv.h-data: Likewise.
56686 * conform/data/inttypes.h-data: Likewise.
56687 * conform/data/langinfo.h-data: Likewise.
56688 * conform/data/libgen.h-data: Likewise.
56689 * conform/data/limits.h-data: Likewise.
56690 * conform/data/locale.h-data: Likewise.
56691 * conform/data/math.h-data: Likewise.
56692 * conform/data/monetary.h-data: Likewise.
56693 * conform/data/mqueue.h-data: Likewise.
56694 * conform/data/ndbm.h-data: Likewise.
56695 * conform/data/net/if.h-data: Likewise.
56696 * conform/data/netdb.h-data: Likewise.
56697 * conform/data/netinet/in.h-data: Likewise.
56698 * conform/data/nl_types.h-data: Likewise.
56699 * conform/data/poll.h-data: Likewise.
56700 * conform/data/pthread.h-data: Likewise.
56701 * conform/data/pwd.h-data: Likewise.
56702 * conform/data/regex.h-data: Likewise.
56703 * conform/data/sched.h-data: Likewise.
56704 * conform/data/search.h-data: Likewise.
56705 * conform/data/semaphore.h-data: Likewise.
56706 * conform/data/setjmp.h-data: Likewise.
56707 * conform/data/signal.h-data: Likewise.
56708 * conform/data/spawn.h-data: Likewise.
56709 * conform/data/stdarg.h-data: Likewise.
56710 * conform/data/stdio.h-data: Likewise.
56711 * conform/data/stdlib.h-data: Likewise.
56712 * conform/data/string.h-data: Likewise.
56713 * conform/data/strings.h-data: Likewise.
56714 * conform/data/stropts.h-data: Likewise.
56715 * conform/data/sys/ipc.h-data: Likewise.
56716 * conform/data/sys/mman.h-data: Likewise.
56717 * conform/data/sys/msg.h-data: Likewise.
56718 * conform/data/sys/resource.h-data: Likewise.
56719 * conform/data/sys/select.h-data: Likewise.
56720 * conform/data/sys/sem.h-data: Likewise.
56721 * conform/data/sys/shm.h-data: Likewise.
56722 * conform/data/sys/socket.h-data: Likewise.
56723 * conform/data/sys/stat.h-data: Likewise.
56724 * conform/data/sys/statvfs.h-data: Likewise.
56725 * conform/data/sys/time.h-data: Likewise.
56726 * conform/data/sys/timeb.h-data: Likewise.
56727 * conform/data/sys/times.h-data: Likewise.
56728 * conform/data/sys/types.h-data: Likewise.
56729 * conform/data/sys/uio.h-data: Likewise.
56730 * conform/data/sys/un.h-data: Likewise.
56731 * conform/data/sys/utsname.h-data: Likewise.
56732 * conform/data/sys/wait.h-data: Likewise.
56733 * conform/data/syslog.h-data: Likewise.
56734 * conform/data/tar.h-data: Likewise.
56735 * conform/data/termios.h-data: Likewise.
56736 * conform/data/utime.h-data: Likewise.
56737 * conform/data/utmpx.h-data: Likewise.
56738 * conform/data/varargs.h-data: Likewise.
56739 * conform/data/wchar.h-data: Likewise.
56740 * conform/data/wctype.h-data: Likewise.
56741 * conform/data/wordexp.h-data: Likewise.
56742
56743 * include/stropts.h: New file.
56744 * include/uchar.h: New file.
56745 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56746 * include/assert.h: Likewise.
56747 * include/ctype.h: Likewise.
56748 * include/dirent.h: Likewise.
56749 * include/dlfcn.h: Likewise.
56750 * include/fcntl.h: Likewise.
56751 * include/fnmatch.h: Likewise.
56752 * include/glob.h: Likewise.
56753 * include/grp.h: Likewise.
56754 * include/libio.h: Likewise.
56755 * include/locale.h: Likewise.
56756 * include/math.h: Likewise.
56757 * include/net/if.h: Likewise.
56758 * include/netdb.h: Likewise.
56759 * include/netinet/in.h: Likewise.
56760 * include/pthread.h: Likewise.
56761 * include/pwd.h: Likewise.
56762 * include/regex.h: Likewise.
56763 * include/sched.h: Likewise.
56764 * include/search.h: Likewise.
56765 * include/setjmp.h: Likewise.
56766 * include/signal.h: Likewise.
56767 * include/stdio.h: Likewise.
56768 * include/stdlib.h: Likewise.
56769 * include/string.h: Likewise.
56770 * include/sys/cdefs.h: Likewise.
56771 * include/sys/mman.h: Likewise.
56772 * include/sys/msg.h: Likewise.
56773 * include/sys/resource.h: Likewise.
56774 * include/sys/select.h: Likewise.
56775 * include/sys/socket.h: Likewise.
56776 * include/sys/stat.h: Likewise.
56777 * include/sys/statvfs.h: Likewise.
56778 * include/sys/time.h: Likewise.
56779 * include/sys/times.h: Likewise.
56780 * include/sys/uio.h: Likewise.
56781 * include/sys/utsname.h: Likewise.
56782 * include/sys/wait.h: Likewise.
56783 * include/termios.h: Likewise.
56784 * include/time.h: Likewise.
56785 * include/ulimit.h: Likewise.
56786 * include/unistd.h: Likewise.
56787 * include/utime.h: Likewise.
56788 * include/wchar.h: Likewise.
56789 * include/wctype.h: Likewise.
56790 * include/wordexp.h: Likewise.
56791
56792 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56793
56794 * time/time.h: TIME_UTC must be a macro.
56795 Make timespec_get available for ISO C11 only as well.
56796
56797 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56798
56799 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56800 Reported by Peng Haitao <penght@cn.fujitsu.com>.
56801
56802 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56803
56804 * configure.in: Use -o not -a in test for unsupported multi-arch.
56805
56806 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56807
56808 * manual/texinfo.tex: Update to version 2012-01-19.16.
56809
56810 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56811
56812 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56813
56814 2012-02-24 Roland McGrath <roland@hack.frob.com>
56815
56816 [BZ #13738]
56817 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56818 * manual/fdl-1.3.texi: New file.
56819 * manual/fdl-1.1.texi: File removed.
56820
56821 [BZ #13738]
56822 * manual/libc.texinfo (FDL_VERSION): New @set.
56823 Use it for mention of FDL in cover text.
56824 (Documentation License): Use it in @include file name.
56825
56826 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56827 Roland McGrath <roland@hack.frob.com>
56828
56829 [BZ #5461]
56830 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56831 (not LONG_LONG_MAX and LONG_LONG_MIN.
56832 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56833 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
56834 name.
56835 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56836
56837 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56838
56839 [BZ #2547]
56840 [BZ #11365]
56841 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56842 manipulate bits before adding and subtracting TWO23[sx].
56843 * math/libm-test.inc (nearbyint_test): Add more tests.
56844
56845 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56846
56847 [BZ #2548]
56848 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56849 bits before adding and subtracting TWO23[sx].
56850 * math/libm-test.inc (rint_test): Add more tests.
56851 (rint_test_tonearest): Likewise.
56852 (rint_test_towardzero): Likewise.
56853 (rint_test_downward): Likewise.
56854 (rint_test_upward: Likewise.
56855
56856 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56857
56858 [BZ #10110]
56859 * include/stdc-predef.h: New file. Extracted from features.h.
56860 * include/features.h: Include stdc-predef.h.
56861 * Makefile (headers): Add stdc-predef.h.
56862 * CONFORMANCE (Compiler limitations): Update.
56863
56864 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56865
56866 * manual/libc.texinfo (VERSION, UPDATED): Revert.
56867
56868 2012-02-21 David S. Miller <davem@davemloft.net>
56869
56870 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56871 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56872
56873 2012-02-20 David S. Miller <davem@davemloft.net>
56874
56875 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56876 using a normal save/restore sequence, rather than allocating a
56877 dummy stack frame just to store a frame pointer and restore.
56878 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56879
56880 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56881
56882 * manual/install.texi: Fix stray word in line-wrapped comment.
56883
56884 2012-02-20 David S. Miller <davem@davemloft.net>
56885
56886 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56887 both binutils and gcc support GOTDATA.
56888
56889 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56890 "rd %pc" in the PIC register setup sequences.
56891
56892 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56893 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56894 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56895 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56896 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56898 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56899 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56900 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56901 (SYSCALL_ERROR_HANDLER): Likewise.
56902 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56903 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56904 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56905 (SYSCALL_ERROR_HANDLER): Likewise.
56906
56907 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56908 (HAVE_GCC_GOTDATA): New.
56909 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56910 relocation support in both binutils and gcc.
56911 * sysdeps/sparc/elf/configure: Regenerate.
56912
56913 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56914 * sysdeps/sparc/sparc32/elf/configure: Delete.
56915 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56916 * sysdeps/sparc/sparc64/elf/configure: Delete.
56917 * sysdeps/sparc/elf/configure.in: New file.
56918 * sysdeps/sparc/elf/configure: Generate.
56919
56920 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56921 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56922 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56923 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56924 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56925
56926 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56927
56928 * manual/install.texi: Do not mention specific glibc version
56929 numbers.
56930 * manual/libc.texinfo (VERSION, UPDATED): Update.
56931 (@copying): Use @copyright{} and range of years.
56932
56933 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56934
56935 [BZ #13695]
56936 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56937 [crti.S not in sysdirs] (generated): Do not append.
56938 [crti.S not in sysdirs] (omit-deps): Likewise.
56939 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56940 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56941 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56942 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56943 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56944 Likewise.
56945 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56946 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56947 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56948 * csu/defs.awk: Remove file.
56949 * sysdeps/generic/initfini.c: Likewise.
56950 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56951 variable.
56952 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56953 Likewise.
56954
56955 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56956
56957 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56958 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56959 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56960 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56961 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56962 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56963 <bits/epoll.h>.
56964 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56965 (__EPOLL_PACKED): Define to empty if not defined by
56966 <bits/epoll.h>.
56967 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56969 bits/epoll.h.
56970
56971 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56972
56973 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56974 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56975 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56976 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56977 <bits/timerfd.h>.
56978 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56980 bits/timerfd.h.
56981
56982 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56983
56984 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56985 in C locale.
56986 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56987 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56988 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56990
56991 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
56992
56993 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56994 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56995
56996 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
56997
56998 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56999 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57000 defined.
57001 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57002 Likewise.
57003 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57004 entry for 2.16.
57005
57006 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57007
57008 * math/w_acos.c: Use non-signaling floating-point comparisons.
57009 * math/w_acosf.c: Likewise.
57010 * math/w_acosh.c: Likewise.
57011 * math/w_acoshf.c: Likewise.
57012 * math/w_acoshl.c: Likewise.
57013 * math/w_acosl.c: Likewise.
57014 * math/w_asin.c: Likewise.
57015 * math/w_asinf.c: Likewise.
57016 * math/w_asinl.c: Likewise.
57017 * math/w_atanh.c: Likewise.
57018 * math/w_atanhf.c: Likewise.
57019 * math/w_atanhl.c: Likewise.
57020 * math/w_exp2.c: Likewise.
57021 * math/w_exp2f.c: Likewise.
57022 * math/w_exp2l.c: Likewise.
57023 * math/w_j0.c: Likewise.
57024 * math/w_j0f.c: Likewise.
57025 * math/w_j0l.c: Likewise.
57026 * math/w_j1.c: Likewise.
57027 * math/w_j1f.c: Likewise.
57028 * math/w_j1l.c: Likewise.
57029 * math/w_jn.c: Likewise.
57030 * math/w_jnf.c: Likewise.
57031 * math/w_log.c: Likewise.
57032 * math/w_log10.c: Likewise.
57033 * math/w_log10f.c: Likewise.
57034 * math/w_log10l.c: Likewise.
57035 * math/w_log2.c: Likewise.
57036 * math/w_log2f.c: Likewise.
57037 * math/w_log2l.c: Likewise.
57038 * math/w_logf.c: Likewise.
57039 * math/w_logl.c: Likewise.
57040 * math/w_sqrt.c: Likewise.
57041 * math/w_sqrtf.c: Likewise.
57042 * math/w_sqrtl.c: Likewise.
57043 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57044 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57045 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57046 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57047 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57048
57049 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57050
57051 [BZ #9739]
57052 * manual/string.texi (strnlen): Use correct parameter name in
57053 equivalent expression.
57054
57055 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57056
57057 [BZ #11174]
57058 * manual/users.texi (seteuid): Consistently use neweuid for
57059 argument name.
57060
57061 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57062
57063 [BZ #13704]
57064 * manual/nss.texi (Services in the NSS configuration): Correct
57065 list of services in example configuration file.
57066
57067 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57068
57069 [BZ #11322]
57070 * manual/arith.texi: Remove statements about negative zero
57071 behaving identically to zero.
57072
57073 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57074
57075 [BZ #5993]
57076 * manual/install.texi: Do not document upgrading from libc5.
57077
57078 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57079
57080 [BZ #4596]
57081 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57082
57083 2012-02-18 David S. Miller <davem@davemloft.net>
57084
57085 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57086 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57087 %o7 across the call.
57088 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57089 instead.
57090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57091 SETUP_PIC_REG_LEAF.
57092 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57093 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57094 * sysdeps/sparc/crtn.S: Likewise.
57095
57096 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57097
57098 * aout/Makefile: Remove.
57099
57100 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57101
57102 [BZ #13058]
57103 * manual/examples/argp-ex1.c (main): Format definition in GNU
57104 style.
57105 * manual/examples/argp-ex2.c (main): Likewise.
57106 * manual/examples/argp-ex3.c (main): Likewise.
57107 * manual/examples/argp-ex4.c (main): Likewise.
57108 * manual/examples/longopt.c (main): Use new-style prototype
57109 definition.
57110 * manual/examples/strncat.c (main): Specify return type and use
57111 (void) for arguments.
57112 * manual/examples/subopt.c (main): Use char **argv argument.
57113
57114 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57115
57116 [BZ #5077]
57117 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57118 rounding modes.
57119
57120 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57121
57122 [BZ #6907]
57123 * manual/string.texi (strchr): Change when strchrnul is
57124 recommended.
57125
57126 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57127
57128 [BZ #174]
57129 * manual/locale.texi (setlocale): Document LOCPATH.
57130
57131 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57132
57133 [BZ #10210]
57134 * manual/process.texi (execle): Move @dots{} before last argument.
57135
57136 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57137
57138 [BZ #12047]
57139 * manual/charset.texi (Generic Charset Conversion): Fix typo
57140 (LC_TYPE -> LC_CTYPE).
57141
57142 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57143
57144 [BZ #5805]
57145 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57146 (scalbnf): Likewise.
57147 (scalbnl): Likewise.
57148 (scalbln): Likewise.
57149 (scalblnf): Likewise.
57150 (scalblnl): Likewise.
57151 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57152 (vwarnx): Likewise.
57153 (verr): Likewise.
57154 (verrx): Likewise.
57155 * manual/filesys.texi (telldir): Use braces around return type.
57156 * manual/llio.texi (mmap): Add space after comma.
57157 (mmap64): Likewise.
57158 * manual/math.texi (jn): Use @var{} on parameter names.
57159 (jnf): Likewise.
57160 (jnl): Likewise.
57161 (yn): Likewise.
57162 (ynf): Likewise.
57163 (ynl): Likewise.
57164 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57165 line.
57166 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57167 "...".
57168 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57169 (sched_get_priority_max): Likewise.
57170 * manual/signal.texi (sigvec): Add space after comma.
57171 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57172 names.
57173 (if_indextoname): Likewise.
57174 (if_freenameindex): Likewise.
57175 (sendto): Use ',' instead of '.' in prototype.
57176 * manual/startup.texi (syscall): Use @dots{} instead of literal
57177 "...".
57178 * manual/stdio.texi (__fpending): Separate initial words of
57179 paragraph from @deftypefun line.
57180 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57181 "...".
57182 (vsyslog): Use @var{} on parameter names.
57183 * manual/terminal.texi (stty): Use @var{} on parameter names.
57184 * manual/users.texi (getutmp): Use @var{} on parameter names.
57185 (getutmpx): Likewise.
57186
57187 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57188
57189 [BZ #6884]
57190 * manual/stdio.texi (fopen): Fix typos in description of
57191 ",ccs=STRING".
57192
57193 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57194
57195 [BZ #4026]
57196 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57197 get clock_id definition.
57198
57199 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57200
57201 [BZ #4822]
57202 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57203 (madvise): Cast every argument to void on its own.
57204
57205 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57206
57207 [BZ #9902]
57208 * manual/startup.texi (Exit Status): Fix typo.
57209
57210 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57211
57212 [BZ #10140]
57213 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57214 * manual/examples/argp-ex2.c: Likewise.
57215 * manual/examples/argp-ex3.c: Likewise.
57216
57217 2012-02-16 Richard Henderson <rth@redhat.com>
57218
57219 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57220 * sysdeps/s390/s390-32/initfini.c: Remove.
57221 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57222 * sysdeps/s390/s390-64/initfini.c: Remove.
57223
57224 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57225
57226 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57227 compiler output for sysdeps/generic/initfini.c.
57228 * sysdeps/sh/elf/initfini.c: Remove file.
57229
57230 2012-02-16 David S. Miller <davem@davemloft.net>
57231
57232 [BZ #11494]
57233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57234
57235 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57236 * sysdeps/sparc/crti.S: New file.
57237 * sysdeps/sparc/crtn.S: New file.
57238 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57239 * sysdeps/sparc/sparc64/Makefile: Likewise.
57240
57241 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57242
57243 [BZ #3335]
57244 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57245
57246 2012-02-15 Roland McGrath <roland@hack.frob.com>
57247
57248 [BZ #4822]
57249 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57250
57251 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57252 (write, read, close): Likewise.
57253 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57254
57255 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57256
57257 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57258 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57259 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57260 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57261 <bits/signalfd.h>.
57262 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57264 bits/signalfd.h.
57265
57266 2012-02-14 Marek Polacek <polacek@redhat.com>
57267
57268 * sysdeps/x86_64/crti.S: New file.
57269 * sysdeps/x86_64/crtn.S: New file.
57270 * sysdeps/x86_64/elf/initfini.c: Remove file.
57271
57272 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57273
57274 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57275 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57276 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57277 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57278 <bits/inotify.h>.
57279 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57281 bits/inotify.h.
57282
57283 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57284
57285 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57286 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57287 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57288 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57289 <bits/eventfd.h>.
57290 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57292 bits/eventfd.h.
57293
57294 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57295
57296 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57297 __feraiseexcept instead of feraiseexcept.
57298
57299 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57300 nanosleep invocations.
57301 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57302 strings, and add error checking for a nanosleep invocations.
57303
57304 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57305
57306 Replace FSF snail mail address with URLs, as per GNU coding standards.
57307 Most of the snail mail addresses were wrong anyway, and omitting
57308 them makes the source code easier to maintain. Almost all of the
57309 changes are to license notices and to locale LC_IDENTIFICATION
57310 addresses, except for this one:
57311 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57312 not its snail mail address.
57313
57314 2012-02-09 Richard Henderson <rth@twiddle.net>
57315
57316 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57317 of kernel-features.h.
57318
57319 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57320
57321 2012-02-08 Marek Polacek <polacek@redhat.com>
57322
57323 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57324 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57325 * sysdeps/gnu/_G_config.h: Likewise.
57326 * sysdeps/generic/_G_config.h: Likewise.
57327
57328 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57329
57330 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57331 tests.
57332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57333
57334 * sysdeps/powerpc/powerpc32/crti.S: New file.
57335 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57336 * sysdeps/powerpc/powerpc64/crti.S: New file.
57337 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57338
57339 * Makeconfig (have-initfini): Don't set.
57340 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57341 * configure.in (nopic_initfini): Don't substitute.
57342 * config.h.in (HAVE_INITFINI): Don't #undef.
57343 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57344 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57345
57346 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57347
57348 Support crti.S and crtn.S provided directly by architectures.
57349 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57350 [crti.S in sysdirs] (omit-deps): Likewise.
57351 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57352 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57353 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57354 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57355 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57356 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57357 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57358 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57359 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57360 compiler output for sysdeps/generic/initfini.c.
57361 * sysdeps/i386/elf/Makefile: Remove file.
57362 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57363
57364 2012-02-07 Marek Polacek <polacek@redhat.com>
57365
57366 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57367 * sysdeps/gnu/_G_config.h: Likewise.
57368 * sysdeps/mach/hurd/_G_config.h: Likewise.
57369
57370 2012-02-07 Marek Polacek <polacek@redhat.com>
57371
57372 * math/Makefile (tests): Add tst-CMPLX2.
57373 * math/tst-CMPLX2.c: New file.
57374
57375 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57376
57377 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57378
57379 * math/libm-test.inc (jn_test): Add missing L suffix.
57380
57381 2012-02-06 Marek Polacek <polacek@redhat.com>
57382
57383 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57384 * sysdeps/i386/fpu/e_powf.S: Likewise.
57385 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57386 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57387 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57388 * sysdeps/i386/fpu/e_pow.S: Likewise.
57389 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57390 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57391 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57392 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57393 * sysdeps/i386/fpu/e_log2.S: Likewise.
57394 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57395 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57396 * sysdeps/i386/fpu/e_powl.S: Likewise.
57397 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57398 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57399 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57400 * sysdeps/i386/fpu/e_logl.S: Likewise.
57401 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57402 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57403 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57404 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57405 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57406 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57407 * sysdeps/i386/fpu/e_log.S: Likewise.
57408 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57409 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57410 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57411 * sysdeps/i386/fpu/e_logf.S: Likewise.
57412 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57413 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57414 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57415 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57416 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57417 * sysdeps/i386/fpu/e_log10.S: Likewise.
57418 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57419 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57420 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57421 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57422 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57423 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57424 * sysdeps/i386/asm-syntax.h: Likewise.
57425 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57426 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57427 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57428 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57429 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57430 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57431 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57432 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57433 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57434 * sysdeps/powerpc/sysdep.h: Likewise.
57435 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57436 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57437
57438 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57439
57440 [BZ #411]
57441 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57442
57443 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57444
57445 * sysdeps/i386/sysdep.h: Include <features.h>.
57446 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57447 version.
57448
57449 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57450
57451 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57452 Define.
57453 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57454 LOAD_PIC_REG_STR.
57455
57456 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57457
57458 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57459 (SETUP_PIC_REG): Use GET_PC_THUNK.
57460 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57461 macro.
57462
57463 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57464
57465 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57466 for non-PIC compilation.
57467 (SETUP_PIC_REG): Add .p2align directive.
57468 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57469 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57470 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57471 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57472 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57473 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57474 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57476 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57477 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57478 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57479 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57480 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57481 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57482 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57483 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57484 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57485 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57486 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57487 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57488 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57489 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57490 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57491 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57492 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57494 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57495 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57496 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57497 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57498 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57499 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57500 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57501 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57502 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57503 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57504 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57505 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57506 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57507 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57508 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57509
57510 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57511
57512 * math/tst-CMPLX.c: Include <stdio.h>.
57513
57514 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57515
57516 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57517 float.
57518 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57519 * sysdeps/sparc/bits/mathdef.h: Likewise.
57520
57521 2012-01-31 Marek Polacek <polacek@redhat.com>
57522
57523 * libio/libio.h: Don't define _PARAMS.
57524 * locale/programs/config.h: Don't define PARAMS.
57525 * stdlib/strtol_l.c: Likewise.
57526 (__strtol_l): Remove PARAMS from the prototype.
57527
57528 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57529
57530 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57531 names. Just use the correct names. Remove unnecessary wrapper
57532 functions.
57533 * malloc/arena.c: Likewise.
57534 * malloc/hooks.c: Likewise.
57535
57536 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57537 ARENA_TEST says not to. Simplify test for creation of a new arena.
57538 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57539
57540 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57541
57542 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57543 into tail calls.
57544 (update_get_addr): New function.
57545 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57546 GET_ADDR_MODULE parameter.
57547
57548 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57549
57550 * crypt/cert.c: Remove __STDC__ conditionals.
57551 * crypt/crypt-entry.c: Likewise.
57552 * crypt/crypt_util.c: Likewise.
57553 * libio/filedoalloc.c: Likewise.
57554 * libio/fileops.c: Likewise.
57555 * libio/genops.c: Likewise.
57556 * libio/iofclose.c: Likewise.
57557 * libio/iofdopen.c: Likewise.
57558 * libio/iofopen.c: Likewise.
57559 * libio/iofopen64.c: Likewise.
57560 * libio/iogetdelim.c: Likewise.
57561 * libio/iopopen.c: Likewise.
57562 * libio/obprintf.c: Likewise.
57563 * libio/oldfileops.c: Likewise.
57564 * libio/oldiofclose.c: Likewise.
57565 * libio/oldiofdopen.c: Likewise.
57566 * libio/oldiofopen.c: Likewise.
57567 * libio/oldiopopen.c: Likewise.
57568 * libio/wfiledoalloc.c: Likewise.
57569 * libio/wgenops.c: Likewise.
57570 * locale/programs/xmalloc.c: Likewise.
57571 * misc/syslog.c: Likewise.
57572 * stdio-common/xbug.c: Likewise.
57573 * string/memchr.c: Likewise.
57574 * string/memcmp.c: Likewise.
57575 * string/memrchr.c: Likewise.
57576 * string/rawmemchr.c: Likewise.
57577 * sysdeps/posix/getcwd.c: Likewise.
57578 * time/strftime_l.c: Likewise.
57579
57580 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57581
57582 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57583 * config.make.in (config-cflags-sse2avx): Define.
57584 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57585 Fix typo.
57586
57587 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57588
57589 * scripts/config.guess: Update from upstream config git repository.
57590 * scripts/config.sub: Likewise.
57591
57592 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57593
57594 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57595 (EM_NUM): Update.
57596 (R_TILEPRO_*, R_TILEGX_*): New macros.
57597
57598 * scripts/firstversions.awk: Fix bug in version range handling.
57599
57600 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57601
57602 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57603
57604 * include/sys/epoll.h: New file.
57605 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57606 libc_hidden_def.
57607
57608 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57609
57610 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57611 Avoid unnecessary __WORDSIZE == 64 test.
57612 (fmaxf): Use VEX format if possible.
57613 (fmax): Likewise.
57614 (fminf): Likewise.
57615 (fmin): Likewise.
57616
57617 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57618 * math/math_private.h: Remove libc_fegetround* and
57619 libc_fesetround*.
57620 * sysdeps/i386/configure.in: Check for -msse2avx.
57621 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57622 also if SSE2AVX is defined.
57623 Remove libc_fegetround* and libc_fesetround*.
57624 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57625 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57626 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57627 of HAS_YMM_USABLE.
57628 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57629 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57630 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57631 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57632 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57633
57634 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57635
57636 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57637
57638 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57639 size is not set.
57640 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57641
57642 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57643
57644 [BZ #13618]
57645 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57646 relocation.
57647 * Makeconfig (libm): Define.
57648 * elf/Makefile: Add rules to build and run tst-relsort1.
57649 * elf/tst-relsort1.c: New file.
57650 * elf/tst-relsort1mod1.c: New file.
57651 * elf/tst-relsort1mod2.c: New file.
57652
57653 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57654
57655 * math/s_ldexp.c: Remove __STDC__ conditionals.
57656 * math/s_ldexpf.c: Likewise.
57657 * math/s_ldexpl.c: Likewise.
57658 * math/s_nextafter.c: Likewise.
57659 * math/s_nexttowardf.c: Likewise.
57660 * math/s_significand.c: Likewise.
57661 * math/s_significandf.c: Likewise.
57662 * math/s_significandl.c: Likewise.
57663 * math/w_jnl.c: Likewise.
57664 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57665 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57666 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57667 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57668 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57669 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57670 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57671 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57672 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57673 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57674 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57675 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57676 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57677 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57678 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57679 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57680 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57681 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57682 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57683 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57684 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57685 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57686 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57687 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57688 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57689 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57690 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57691 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57692 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57693 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57694 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57695 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57696 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57697 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57698 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57699 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57700 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57701 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57702 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57703 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57704 * sysdeps/ieee754/k_standard.c: Likewise.
57705 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57706 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57707 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57708 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57709 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57710 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57711 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57712 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57713 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57714 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57715 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57716 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57717 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57718 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57719 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57720 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57721 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57722 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57723 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57724 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57725 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57726 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57727 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57728 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57729 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57730 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57731 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57732 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57734 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57735 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57736 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57737 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57738 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57739 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57740 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57741 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57742 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57743 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57744 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57745 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57747 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57748 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57749 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57750 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57751 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57752 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57753 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57754 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57755 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57756 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57757 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57758 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57759 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57760 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57761 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57762 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57763 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57764 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57765 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57766 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57767 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57768 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57769 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57770 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57771 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57772 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57773 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57774 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57775 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57776 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57777 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57778 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57779 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57780 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57781 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57782 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57783 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57784 * sysdeps/ieee754/s_matherr.c: Likewise.
57785 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57786 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57788 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57789
57790 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57791
57792 * crypt/md5.h: Remove __STDC__ conditionals.
57793 * libio/libioP.h: Likewise.
57794 * locale/programs/config.h: Likewise.
57795 * sysdeps/generic/sysdep.h: Likewise.
57796 * sysdeps/i386/asm-syntax.h: Likewise.
57797 * sysdeps/s390/asm-syntax.h: Likewise.
57798 * sysdeps/unix/sysdep.h: Likewise.
57799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57801
57802 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57803
57804 * libio/libio.h: Remove __STDC__ conditionals.
57805 * malloc/obstack.h: Likewise.
57806 * math/complex.h: Likewise.
57807 * math/math.h: Likewise.
57808 * sysdeps/generic/_G_config.h: Likewise.
57809 * sysdeps/gnu/_G_config.h: Likewise.
57810 * sysdeps/mach/hurd/_G_config.h: Likewise.
57811 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57812 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57813 * sysdeps/sparc/bits/mathdef.h: Likewise.
57814
57815 2012-01-26 Ulrich Drepper <drepper@gmail.com>
57816
57817 [BZ #13583]
57818 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57819 Clean up HAS_* macros.
57820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57821 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57822 possible.
57823 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57824 HAS_AVX.
57825 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57826 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57827 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57828 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57829 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57830
57831 2012-01-25 Joseph Myers <joseph@codesourcery.com>
57832
57833 * elf/tst-unique3.cc (gets): Remove declaration.
57834 * elf/tst-unique3lib.cc (gets): Likewise.
57835 * elf/tst-unique3lib2.cc (gets): Likewise.
57836 * elf/tst-unique4.cc (gets): Likewise.
57837
57838 2012-01-24 Ulrich Drepper <drepper@gmail.com>
57839
57840 * include/stdio.h: Add C++ protection. Add gets declarations and
57841 definitions.
57842 * debug/tst-chk1.c: Don't declare gets here.
57843 * stdio-common/tst-gets.c: Likewise.
57844
57845 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57846
57847 * posix/glob: Remove directory.
57848
57849 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57850
57851 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57852
57853 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
57854
57855 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57856 of the non-standard EPFNOSUPPORT.
57857
57858 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
57859
57860 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57861 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57862 ANYWHERE set to 1 only on KERN_NO_SPACE error.
57863
57864 2012-01-21 Ulrich Drepper <drepper@gmail.com>
57865
57866 * wcsmbs/uchar.h: Test __STDC_VERSION__.
57867
57868 2012-01-20 Ulrich Drepper <drepper@gmail.com>
57869
57870 * nscd/aicache.c (addhstaiX): Do not cache negative results of
57871 transient errors.
57872 * nscd/grpcache.c (cache_addgr): Likewise.
57873 * nscd/hstcache.c (cache_addhst): Likewise.
57874 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57875 * nscd/pwdcache.c (cache_addpw): Likewise.
57876 * nscd/servicescache.c (cache_addserv): Likewise.
57877
57878 2012-01-16 Ulrich Drepper <drepper@gmail.com>
57879
57880 * malloc/malloc.c: Various cleanups.
57881 * malloc/hooks.c: Likewise.
57882
57883 * stdlib/Makefile (tests): Add bug-fmtmsg1.
57884 * stdlib/bug-fmtmsg1.c: New file.
57885
57886 * stdlib/fmtmsg.c (init): Add missing unlock.
57887 Patch by Peng Haitao <penght@cn.fujitsu.com>.
57888
57889 2012-01-12 Marek Polacek <polacek@redhat.com>
57890
57891 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57892 and _GNU_SOURCE.
57893
57894 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57895
57896 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57897 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57898 macro to ensure uniqueness of label name.
57899 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57900 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57901
57902 2012-01-11 Ulrich Drepper <drepper@gmail.com>
57903
57904 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57905
57906 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57907 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57908 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57910
57911 2012-01-10 Ulrich Drepper <drepper@gmail.com>
57912
57913 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57914
57915 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57916 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57917 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57918
57919 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57920
57921 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57922 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57923 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57924 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57925
57926 * math/bits/math-finite.h: Add ldexp support.
57927
57928 2012-01-10 Marek Polacek <polacek@redhat.com>
57929
57930 * locale/programs/localedef.h (show_archive_content): Add noreturn
57931 attribute.
57932
57933 2012-01-09 Ulrich Drepper <drepper@gmail.com>
57934
57935 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57936
57937 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57938
57939 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57940
57941 * io/Makefile (headers): Add bits/poll2.h.
57942
57943 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
57944
57945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57946 typo #include statement.
57947
57948 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57949
57950 * include/sys/cdefs.h: Define __attribute_alloc_size.
57951 * catgets/gencat.c: Add alloc_size attribute and apply consistently
57952 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57953 * elf/pldd.c: Likewise.
57954 * iconv/iconv_charmap.c: Likewise.
57955 * iconv/iconvconfig.c: Likewise.
57956 * iconv/strtab.c: Likewise.
57957 * locale/programs/locale.c: Likewise.
57958 * locale/programs/localedef.h: Likewise.
57959 * locale/programs/simple-hash.c: Likewise.
57960 * nscd/nscd.h: Likewise.
57961 * nss/makedb.c: Likewise.
57962 * sysdeps/generic/ldconfig.h: Likewise.
57963 * locale/programs/localedef.c: Remove xmalloc prototype.
57964 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57965
57966 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57967
57968 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57969 appropriate.
57970
57971 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57972
57973 * math/Makefile (tests): Add tst-CMPLX.
57974 * math/tst-CMPLX.c: New file.
57975
57976 * math/complex.h (CMPLXL): Fix typo.
57977
57978 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57979 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57980 GLIBC_2.16.
57981 * debug/tst-chk1.c: Add poll and ppoll tests.
57982 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57983 * include/sys/poll.h: Add hidden proto for ppoll.
57984 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57985 * sysdeps/mach/hurd/ppoll.c: Likewise.
57986 * io/ppoll.c: Likewise.
57987 * debug/poll_chk.c: New file.
57988 * debug/ppoll_chk.c: New file.
57989 * include/bits/poll2.h: New file.
57990 * io/bits/poll2.h: New file.
57991
57992 [BZ #1350]
57993 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57994
57995 * configure.in: static is always set to yes. Remove.
57996 * config.make.in: Don't set build-static.
57997 * Makeconfig: Remove use of build-static.
57998 * dlfcn/Makefile: Likewise.
57999 * elf/Makefile: Likewise.
58000 * math/Makefile: Likewise.
58001 * misc/Makefile: Likewise.
58002 * nptl/Makefile: Likewise.
58003 * sysdeps/mach/hurd/Makefile: Likewise.
58004
58005 * configure.in: PWD_P is not used anymore.
58006 * config.make.in: Remove PWD_P entry.
58007
58008 * configure.in: Remove last remnants of RANLIB.
58009 No need to check for signed size_t anymore.
58010 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58011 and IA-64.
58012 Remove __builtin_expect test because we require at least gcc 3.4.
58013 * aclocal.m4: Likewise.
58014
58015 * wcsmbs/mbrtoc16.c: Implement using towc function.
58016 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58017 * wcsmbs/wcsmbsload.c: Likewise.
58018 * iconv/gconv_simple.c: Likewise.
58019 * iconv/gconv_int.h: Likewise.
58020 * iconv/gconv_builtin.h: Likewise.
58021 * iconv/iconv_prog.c: Remove CHAR16 handling.
58022
58023 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58024
58025 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58026
58027 * configure.in: Remove --with-elf and --enable-bounded options.
58028 Dont set base_machine for ia64. More non-ELF conditions removed.
58029 Remove testing and setting of leading underscore information.
58030 * config.make.in (build-bounded): Set to no.
58031 * config.h.in: Remove NO_UNDERSCORES entry.
58032 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58033 them.
58034 * csu/start.c: Remove !NO_UNDERSCORE code.
58035 * locale/localeinfo.h: Likewise.
58036 * sysdeps/generic/machine-gmon.h: Likewise.
58037 * sysdeps/generic/sysdep.h: Likewise.
58038 * sysdeps/i386/sysdep.h: Likewise.
58039 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58040 * sysdeps/mach/sysdep.h: Likewise.
58041 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58042 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58043 * sysdeps/sh/sysdep.h: Likewise.
58044 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58045 * sysdeps/unix/i386/sysdep.S: Likewise.
58046 * sysdeps/unix/sparc/start.c: Likewise.
58047 * sysdeps/unix/sparc/sysdep.S: Likewise.
58048 * sysdeps/unix/sparc/sysdep.h: Likewise.
58049 * sysdeps/unix/start.c: Likewise.
58050 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58051 * sysdeps/x86_64/sysdep.h: Likewise.
58052
58053 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58054
58055 [BZ #13553]
58056 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58057 for non-gcc.
58058 * argp/argp-fmtstream.h: Use const instead __const.
58059 * argp/argp.h: Likewise.
58060 * assert/assert.h: Likewise.
58061 * bits/fenv.h: Likewise.
58062 * bits/sched.h: Likewise.
58063 * bits/sigset.h: Likewise.
58064 * bits/sigthread.h: Likewise.
58065 * catgets/nl_types.h: Likewise.
58066 * conform/data/pthread.h-data: Likewise.
58067 * crypt/crypt-private.h: Likewise.
58068 * crypt/crypt.h: Likewise.
58069 * crypt/crypt_util.c: Likewise.
58070 * ctype/ctype.h: Likewise.
58071 * debug/execinfo.h: Likewise.
58072 * debug/mbsnrtowcs_chk.c: Likewise.
58073 * debug/mbsrtowcs_chk.c: Likewise.
58074 * debug/wcsnrtombs_chk.c: Likewise.
58075 * debug/wcsrtombs_chk.c: Likewise.
58076 * debug/wcstombs_chk.c: Likewise.
58077 * dirent/dirent.h: Likewise.
58078 * dlfcn/dlfcn.h: Likewise.
58079 * elf/neededtest4.c: Likewise.
58080 * grp/grp.h: Likewise.
58081 * gshadow/gshadow.h: Likewise.
58082 * iconv/gconv.h: Likewise.
58083 * iconv/gconv_int.h: Likewise.
58084 * iconv/gconv_simple.c: Likewise.
58085 * iconv/iconv.h: Likewise.
58086 * iconv/loop.c: Likewise.
58087 * iconv/skeleton.c: Likewise.
58088 * include/aio.h: Likewise.
58089 * include/aliases.h: Likewise.
58090 * include/argz.h: Likewise.
58091 * include/arpa/inet.h: Likewise.
58092 * include/assert.h: Likewise.
58093 * include/dirent.h: Likewise.
58094 * include/dlfcn.h: Likewise.
58095 * include/execinfo.h: Likewise.
58096 * include/fcntl.h: Likewise.
58097 * include/fenv.h: Likewise.
58098 * include/glob.h: Likewise.
58099 * include/grp.h: Likewise.
58100 * include/libintl.h: Likewise.
58101 * include/mntent.h: Likewise.
58102 * include/netdb.h: Likewise.
58103 * include/pwd.h: Likewise.
58104 * include/rpc/netdb.h: Likewise.
58105 * include/sched.h: Likewise.
58106 * include/search.h: Likewise.
58107 * include/shadow.h: Likewise.
58108 * include/signal.h: Likewise.
58109 * include/stdio.h: Likewise.
58110 * include/stdlib.h: Likewise.
58111 * include/string.h: Likewise.
58112 * include/sys/socket.h: Likewise.
58113 * include/sys/stat.h: Likewise.
58114 * include/sys/statfs.h: Likewise.
58115 * include/sys/statvfs.h: Likewise.
58116 * include/sys/syslog.h: Likewise.
58117 * include/sys/time.h: Likewise.
58118 * include/sys/uio.h: Likewise.
58119 * include/time.h: Likewise.
58120 * include/unistd.h: Likewise.
58121 * include/utmp.h: Likewise.
58122 * include/wchar.h: Likewise.
58123 * include/wctype.h: Likewise.
58124 * inet/aliases.h: Likewise.
58125 * inet/arpa/inet.h: Likewise.
58126 * inet/netinet/ether.h: Likewise.
58127 * inet/netinet/in.h: Likewise.
58128 * intl/libintl.h: Likewise.
58129 * io/bits/fcntl2.h: Likewise.
58130 * io/fcntl.h: Likewise.
58131 * io/ftw.h: Likewise.
58132 * io/sys/poll.h: Likewise.
58133 * io/sys/stat.h: Likewise.
58134 * io/sys/statfs.h: Likewise.
58135 * io/sys/statvfs.h: Likewise.
58136 * io/utime.h: Likewise.
58137 * libio/bits/stdio.h: Likewise.
58138 * libio/bits/stdio2.h: Likewise.
58139 * libio/libio.h: Likewise.
58140 * libio/libioP.h: Likewise.
58141 * libio/stdio.h: Likewise.
58142 * locale/lc-ctype.c: Likewise.
58143 * locale/locale.h: Likewise.
58144 * login/utmp.h: Likewise.
58145 * malloc/arena.c: Likewise.
58146 * malloc/malloc.c: Likewise.
58147 * malloc/malloc.h: Likewise.
58148 * malloc/mcheck.c: Likewise.
58149 * malloc/mtrace.c: Likewise.
58150 * math/bits/mathcalls.h: Likewise.
58151 * math/fenv.h: Likewise.
58152 * math/math_private.h: Likewise.
58153 * misc/bits/error.h: Likewise.
58154 * misc/bits/syslog.h: Likewise.
58155 * misc/err.h: Likewise.
58156 * misc/error.h: Likewise.
58157 * misc/fstab.h: Likewise.
58158 * misc/mntent.h: Likewise.
58159 * misc/regexp.h: Likewise.
58160 * misc/search.h: Likewise.
58161 * misc/sgtty.h: Likewise.
58162 * misc/sys/mman.h: Likewise.
58163 * misc/sys/syslog.h: Likewise.
58164 * misc/sys/uio.h: Likewise.
58165 * misc/sys/xattr.h: Likewise.
58166 * misc/ttyent.h: Likewise.
58167 * nis/rpcsvc/ypclnt.h: Likewise.
58168 * nss/nss.h: Likewise.
58169 * posix/bits/unistd.h: Likewise.
58170 * posix/fnmatch.h: Likewise.
58171 * posix/glob.h: Likewise.
58172 * posix/sched.h: Likewise.
58173 * posix/spawn.h: Likewise.
58174 * posix/sys/wait.h: Likewise.
58175 * posix/unistd.h: Likewise.
58176 * posix/wordexp.h: Likewise.
58177 * pwd/pwd.h: Likewise.
58178 * resolv/netdb.h: Likewise.
58179 * resource/sys/resource.h: Likewise.
58180 * rt/aio.h: Likewise.
58181 * rt/bits/mqueue2.h: Likewise.
58182 * rt/mqueue.h: Likewise.
58183 * shadow/shadow.h: Likewise.
58184 * signal/signal.h: Likewise.
58185 * socket/send.c: Likewise.
58186 * socket/sendto.c: Likewise.
58187 * socket/sys/socket.h: Likewise.
58188 * stdio-common/printf.h: Likewise.
58189 * stdlib/bits/stdlib.h: Likewise.
58190 * stdlib/fmtmsg.h: Likewise.
58191 * stdlib/monetary.h: Likewise.
58192 * stdlib/stdlib.h: Likewise.
58193 * stdlib/ucontext.h: Likewise.
58194 * streams/stropts.h: Likewise.
58195 * string/argz.h: Likewise.
58196 * string/bits/string2.h: Likewise.
58197 * string/string.h: Likewise.
58198 * string/strings.h: Likewise.
58199 * sunrpc/rpc/auth.h: Likewise.
58200 * sunrpc/rpc/auth_des.h: Likewise.
58201 * sunrpc/rpc/clnt.h: Likewise.
58202 * sunrpc/rpc/netdb.h: Likewise.
58203 * sunrpc/rpc/pmap_clnt.h: Likewise.
58204 * sunrpc/rpc/xdr.h: Likewise.
58205 * sysdeps/generic/inttypes.h: Likewise.
58206 * sysdeps/generic/net/if.h: Likewise.
58207 * sysdeps/generic/sys/swap.h: Likewise.
58208 * sysdeps/gnu/net/if.h: Likewise.
58209 * sysdeps/gnu/utmpx.h: Likewise.
58210 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58211 * sysdeps/i386/i486/bits/string.h: Likewise.
58212 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58213 * sysdeps/s390/bits/string.h: Likewise.
58214 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58215 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58216 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58217 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58218 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58219 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58220 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58221 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58222 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58223 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58224 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58225 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58226 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58227 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58228 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58229 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58230 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58232 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58233 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58234 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58235 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58236 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58237 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58238 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58239 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58240 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58241 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58242 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58243 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58244 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58245 * sysvipc/sys/ipc.h: Likewise.
58246 * sysvipc/sys/msg.h: Likewise.
58247 * sysvipc/sys/sem.h: Likewise.
58248 * sysvipc/sys/shm.h: Likewise.
58249 * termios/termios.h: Likewise.
58250 * time/sys/time.h: Likewise.
58251 * time/time.h: Likewise.
58252 * wcsmbs/bits/wchar2.h: Likewise.
58253 * wcsmbs/uchar.h: Likewise.
58254 * wcsmbs/wchar.h: Likewise.
58255 * wctype/wctype.h: Likewise.
58256
58257 [BZ #13551]
58258 * Makeconfig: Remove all but ELF support including AIX support.
58259 * Makerules: Likewise.
58260 * config.h.in: Likewise.
58261 * config.make.in: Likewise.
58262 * configure: Likewise.
58263 * configure.in: Likewise.
58264 * csu/Makefile: Likewise.
58265 * csu/version.c: Likewise.
58266 * debug/Makefile: Likewise.
58267 * dlfcn/Makefile: Likewise.
58268 * elf/Makefile: Likewise.
58269 * extra-lib.mk: Likewise.
58270 * iconv/Makefile: Likewise.
58271 * include/libc-symbols.h: Likewise.
58272 * include/shlib-compat.h: Likewise.
58273 * resolv/Makefile: Likewise.
58274 * resolv/res_libc.c: Likewise.
58275 * rt/Makefile: Likewise.
58276 * sysdeps/i386/asm-syntax.h: Likewise.
58277 * sysdeps/i386/sysdep.h: Likewise.
58278 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58279 * sysdeps/mach/sysdep.h: Likewise.
58280 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58281 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58282 * sysdeps/s390/asm-syntax.h: Likewise.
58283 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58284 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58285 * sysdeps/sh/sysdep.h: Likewise.
58286 * sysdeps/unix/sparc/sysdep.h: Likewise.
58287 * sysdeps/wordsize-32/divdi3.c: Likewise.
58288 * sysdeps/x86_64/sysdep.h: Likewise.
58289
58290 * argp/Versions: Remove _argp_unlock_xxx.
58291
58292 [BZ #13559]
58293 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58294 * abilist/libBrokenLocale.abilist: Likewise.
58295 * abilist/libanl.abilist: Likewise.
58296 * abilist/libc.abilist: Likewise.
58297 * abilist/libcrypt.abilist: Likewise.
58298 * abilist/libdl.abilist: Likewise.
58299 * abilist/libm.abilist: Likewise.
58300 * abilist/libnsl.abilist: Likewise.
58301 * abilist/libpthread.abilist: Likewise.
58302 * abilist/libresolv.abilist: Likewise.
58303 * abilist/librt.abilist: Likewise.
58304 * abilist/libthread_db.abilist: Likewise.
58305 * abilist/libutil.abilist: Likewise.
58306 * abilist/libnss_db.abilist: New file.
58307
58308 * scripts/abilist.awk: Add support for indirect functions.
58309
58310 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58311
58312 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58313
58314 * shlib-versions: Remove entries for ports architectures.
58315
58316 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58317 files in ports.
58318 * elf/stackguard-macros.h: Remove support for IA-64.
58319 * elf/tst-auditmod1.c: Likewise.
58320 * sysdeps/generic/ldsodefs.h: Likewise.
58321
58322 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58323 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58324 configure files.
58325
58326 [BZ #13552]
58327 * configure.in: Remove --enable-omitfp support.
58328 * FAQ.in: Adjust.
58329 * config.make.in: Likewise.
58330 * Makeconfig: Likewise.
58331 * manual/install.texi: Likewise.
58332
58333 In case anyone cares, the IA-64 architecture could move to ports.
58334 * sysdeps/ia64/*: Removed.
58335 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58336 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58337
58338 [BZ #13555]
58339 * configure.in: Remove entries for unsupported architectures.
58340
58341 [BZ #13533]
58342 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58343 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58344 routines.
58345 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58346 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58347 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58348 fall back to using wcrtomb.
58349 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58350 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58351 renaming.
58352 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58353 * wcsmbs/tst-c16c32-1.c: New file.
58354
58355 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58356 local variable.
58357
58358 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58359
58360 * elf/tst-unique3.cc: Add explicit declaration of gets.
58361 * elf/tst-unique3lib.cc: Likewise.
58362 * elf/tst-unique3lib2.cc: Likewise.
58363 * elf/tst-unique4.cc: Likewise.
58364
58365 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58366
58367 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58368
58369 [BZ #13566]
58370 * assert/assert.h (static_assert): Don't define for C++.
58371 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58372 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58373
58374 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58375
58376 * iconv/loop.c (single loop): Fix assertion in storing of
58377 remaining bytes.
58378
58379 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58380
58381 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58382
58383 * posix/getconf.c: Update copyright year.
58384 * nss/getent.c: Likewise.
58385 * nss/makedb.c: Likewise.
58386 * iconv/iconvconfig.c: Likewise.
58387 * iconv/iconv_prog.c: Likewise.
58388 * elf/ldconfig.c: Likewise.
58389 * elf/pldd.c: Likewise.
58390 * elf/sotruss.ksh: Likewise.
58391 * catgets/gencat.c: Likewise.
58392 * csu/version.c: Likewise.
58393 * elf/ldd.bash.in: Likewise.
58394 * elf/sprof.c (print_version): Likewise.
58395 * locale/programs/locale.c: Likewise.
58396 * locale/programs/localedef.c: Likewise.
58397 * login/programs/pt_chown.c: Likewise.
58398 * nscd/nscd.c (print_version): Likewise.
58399 * debug/xtrace.sh: Likewise.
58400 * malloc/memusage.sh: Likewise.
58401 * malloc/mtrace.pl: Likewise.
58402 * debug/catchsegv.sh: Likewise.
58403
58404 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58405
58406 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58407 pure attribute.
58408
58409 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58410
58411 [BZ #13533]
58412 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58413 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58414 transformations.
58415 * iconv/gconv_int.h: Likewise.
58416 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58417 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58418 from libc for GLIBC_2.16.
58419 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58420 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58421 * wcsmbs/uchar.h: Really define mbstate_t.
58422 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58423 * wcsmbs/c16rtomb.c: New file.
58424 * wcsmbs/mbrtoc16.c: New file.
58425 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58426 for C/POSIX locale.
58427 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58428 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58429
58430 * wcsmbs/wchar.h: Add missing __restrict.
58431
58432 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58433
58434 [BZ #13532]
58435 * time/Makefile (routines): Add timespec_get.
58436 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58437 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58438 timespec for ISO C11.
58439 * time/timespec_get.c: New file.
58440 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58441 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58442
58443 [BZ #13531]
58444 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58445 * stdlib/stdlib.h: Declare aligned_alloc.
58446 * Versions.def: Add GLIBC_2.16 for libc.
58447 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58448
58449 [BZ 13527]
58450 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58451 ISO C11.
58452
58453 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58454 code.
58455
58456 [BZ #13528]
58457 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58458
58459 [BZ #13529]
58460 * assert/assert.h (static_assert): Define.
58461
58462 * version.h: Update for 2.16 development version.
58463
58464 [BZ #13526]
58465 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58466 _ISOC11_SOURCE.
58467
58468 * version.h (RELEASE): Bump for 2.15 release.
58469 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58470
58471 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58472 Patch by Marek Polacek <mpolacek@redhat.com>.
58473
58474 * bits/byteswap.h: Protect long long constants with __extension__.
58475 * sysdeps/i386/bits/byteswap.h: Likewise.
58476 * sysdeps/ia64/bits/byteswap.h: Likewise.
58477 * sysdeps/s390/bits/byteswap.h: Likewise.
58478 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58479
58480 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58481
58482 [BZ #13540]
58483 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58484 destination buffer.
58485 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58486
58487 2011-12-23 Marek Polacek <polacek@redhat.com>
58488
58489 * elf/dl-addr.c (determine_info): Add inline keyword.
58490 * elf/tst-auditmod4b.c (check_avx): Likewise.
58491 * elf/tst-auditmod6b.c (check_avx): Likewise.
58492 * elf/tst-auditmod6c.c (check_avx): Likewise.
58493 * elf/tst-auditmod7b.c (check_avx): Likewise.
58494
58495 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58496
58497 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58498 !__SSE_MATH__.
58499
58500 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58501
58502 [BZ #13540]
58503 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58504 processing for last bytes.
58505
58506 2011-08-06 Bruno Haible <bruno@clisp.org>
58507
58508 [BZ #13061]
58509 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58510 U+0385, not to U+1FEE.
58511
58512 [BZ #13062]
58513 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58514 entry for U+00A5 U+0301.
58515
58516 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58517
58518 [BZ #13166]
58519 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58520 buffer for the output is too small.
58521
58522 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58523 optimization.
58524
58525 [BZ #13185]
58526 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58527 SSE flags if possible.
58528
58529 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58530
58531 [BZ #13540]
58532 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58533 processing for last bytes.
58534
58535 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58536
58537 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58538 (syscall-list-default-options, syscall-list-default-condition)
58539 (syscall-list-includes): Define.
58540 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58541 list of ABIs and options and #if conditions for each ABI. Do not
58542 handle common syscalls between ABIs specially.
58543 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58544 Remove.
58545 (syscall-list-variants, syscall-list-32bit-options)
58546 (syscall-list-32bit-condition, syscall-list-64bit-options)
58547 (syscall-list-64bit-condition): Define.
58548 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58549 (syscall-list-variants, syscall-list-32bit-options)
58550 (syscall-list-32bit-condition, syscall-list-64bit-options)
58551 (syscall-list-64bit-condition): Define.
58552 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58553 Remove.
58554 (syscall-list-variants, syscall-list-32bit-options)
58555 (syscall-list-32bit-condition, syscall-list-64bit-options)
58556 (syscall-list-64bit-condition): Define.
58557 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58558 Remove.
58559 (syscall-list-variants, syscall-list-32bit-options)
58560 (syscall-list-32bit-condition, syscall-list-64bit-options)
58561 (syscall-list-64bit-condition): Define.
58562
58563 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58564
58565 * locale/iso-639.def: Add brx entry.
58566
58567 [BZ #13328]
58568 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58569 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58570
58571 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58572 __feraiseexcept_renamed.
58573
58574 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58575
58576 [BZ #13538]
58577 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58578 EPOLLET with unsigned values.
58579 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58580 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58581
58582 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58583 to large cancellation.
58584 * math/s_cacoshf.c: Likewise.
58585 * math/s_cacoshl.c: Likewise.
58586
58587 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58588
58589 [BZ #13305]
58590 [BZ #12786]
58591 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58592 * math/s_cacoshf.c: Likewise.
58593 * math/s_cacoshl.c: Likewise.
58594
58595 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58596
58597 [BZ #13439]
58598 * iconv/gconv.h: Define __GCONV_SWAP.
58599 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58600 * iconvdata/utf-16.c: Likewise.
58601 * iconvdata/utf-32.c: Likewise.
58602
58603 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58604
58605 [BZ #13524]
58606 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58607 numerator after shifting it by one limb.
58608
58609 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58610
58611 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58612 under [__USE_EXTERN_INLINES].
58613
58614 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58615
58616 [BZ #13446]
58617 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58618
58619 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58620
58621 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58622 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58623 optimized code.
58624 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58625 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58626 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58627 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58628 for strncasecmp/strncasecmp_l compilation.
58629 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58630 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58631
58632 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58633
58634 [BZ #13484]
58635 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58636 of __asm__.
58637
58638 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58639
58640 [BZ #13506]
58641 * time/tzfile.c (__tzfile_read): Check values from file header.
58642
58643 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58644
58645 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58646 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58647 * powerpc/powerpc32/dl-start.S: Likewise.
58648 * powerpc/powerpc32/elf/start.S: Likewise.
58649 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58650 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58651 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58652 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58653 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58654 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58655 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58656 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58657 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58658 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58659 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58660 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58661 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58662 * powerpc/powerpc32/memset.S: Likewise.
58663 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58664 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58665 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58666 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58667 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58668 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58669 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58670 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58671 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58672 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58673 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58674 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58675 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58676
58677 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58678
58679 * math/libm-test.inc: Added more nearbyint tests.
58680 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58681 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58682 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58683 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58684
58685 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58686
58687 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58688 FD_CLOEXEC.
58689
58690 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58691
58692 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58693 Add wcscpy-ssse3 wcscpy-c.
58694 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58695 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58696 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58697 * sysdeps/x86_64/wcschr.S: New file.
58698 * sysdeps/x86_64/wcsrchr.S: New file.
58699 * string/test-strcmp.c: Remove checking of wcscmp function for
58700 wrong alignments.
58701 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58702 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58703 wcsrchr-sse2 wcsrchr-c.
58704 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58705 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58706 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58707 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58708 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58709 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58710 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58711 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58712 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58713 * wcsmbc/wcschr.c (WCSCHR): New macro.
58714
58715 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58716
58717 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58718 * wcsmbs/test-wcsrchr.c: New file.
58719 * string/test-strrchr.c: Add wcsrchr support.
58720 (WIDE): New macro.
58721 * wcsmbs/test-wcscpy.c: New file.
58722 * string/test-strcpy.c: Add wcscpy support.
58723 (WIDE): New macro.
58724
58725 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58726
58727 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58728 the inner loop.
58729
58730 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58731
58732 [BZ #13472]
58733 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58734
58735 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58736
58737 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58738 Minor optimizations.
58739
58740 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58741 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58742 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58743
58744 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58745
58746 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58747 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58748 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58749 for gcc to avoid warnings.
58750 * inet/Makefile (tests): Add tst-checks.
58751 * inet/tst-checks.c: New file.
58752
58753 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58754 warning.
58755
58756 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58757 __wmemcmp_sse2.
58758
58759 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58760 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58761
58762 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58763
58764 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58765
58766 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58767 problem.
58768
58769 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58770
58771 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58772
58773 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58774 conditional on GCC version.
58775 (__arch_compare_and_exchange_val_8_acq)
58776 (__arch_compare_and_exchange_val_16_acq)
58777 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58778 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58779 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58780
58781 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58782
58783 * sysdeps/sh/backtrace.c: New file.
58784
58785 2011-12-02 Andreas Schwab <schwab@redhat.com>
58786
58787 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58788 parenthesis.
58789
58790 2011-12-01 Andreas Schwab <schwab@redhat.com>
58791
58792 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58793 falling back to utime.
58794
58795 2011-11-30 Andreas Schwab <schwab@redhat.com>
58796
58797 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58798 expectations for float.
58799
58800 2011-11-29 Andreas Schwab <schwab@redhat.com>
58801
58802 * locale/weight.h (findidx): Add parameter len.
58803 * locale/weightwc.h (findidx): Likewise.
58804 * posix/fnmatch_loop.c (FCT): Adjust caller.
58805 * posix/regcomp.c (build_equiv_class): Likewise.
58806 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58807 * posix/regexec.c (check_node_accept_bytes): Likewise.
58808 * string/strcoll_l.c (STRCOLL): Likewise.
58809 * string/strxfrm_l.c (STRXFRM): Likewise.
58810
58811 2011-11-17 Ulrich Drepper <drepper@gmail.com>
58812
58813 * Makefile.in: Remove CVSOPT handling.
58814 * configure.in: Remove use of AC_REVISION.
58815 * iconvdata/Makefile (distribute): No need to filter out CVS.
58816 * scripts/list-sources.sh: Remove CVS, subversion and monotone
58817 handling.
58818
58819 2011-11-16 Andreas Schwab <schwab@redhat.com>
58820
58821 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58822 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58823 [USE_AS_STRNCASECMP_L]: Likewise.
58824 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58825 NO_TLS_DIRECT_SEG_REFS.
58826 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58827 Fix argument offsets for non-PIC.
58828 [USE_AS_STRNCASECMP_L]: Likewise.
58829 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58830 NO_TLS_DIRECT_SEG_REFS.
58831
58832 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58833
58834 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58835 O_CLOEXEC.
58836 * locale/loadlocale.c (_nl_load_locale): Likewise.
58837
58838 2011-11-15 Andreas Schwab <schwab@redhat.com>
58839
58840 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58841 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58842 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58843 (SYSCALL_GETTIME): Set errno on error.
58844
58845 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58846 count references to noai6ai_cached.
58847
58848 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58849
58850 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58851
58852 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58853 FD_CLOEXEC for /proc/self/maps.
58854
58855 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58856 FD_CLOEXEC for /proc/meminfo.
58857
58858 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58859 gai.conf.
58860
58861 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
58862 FD_CLOEXEC for given file.
58863
58864 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58865
58866 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58867 FD_CLOEXEC for /etc/hosts.
58868 (_gethtent): Likewise.
58869
58870 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58871
58872 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58873 cancellation and set FD_CLOEXEC for /etc/netgroup.
58874
58875 * nss/nss_files/files-key.c (search): Don't allow cancellation when
58876 reading /etc/publickey.
58877
58878 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58879 allow cancellation when reading /etc/group.
58880
58881 * nss/nss_files/files-alias.c (internal_setent): Don't allow
58882 cancellation.
58883 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
58884
58885 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58886 when using data file.
58887
58888 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58889
58890 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58891 (write_nis_obj): Use "c" and "e" in fopen.
58892
58893 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58894
58895 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58896
58897 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58898
58899 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58900
58901 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58902 locale.alias.
58903
58904 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58905
58906 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58907
58908 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58909
58910 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58911 file parsing and set FD_CLOEXEC.
58912
58913 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58914
58915 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58916
58917 2011-11-14 Andreas Schwab <schwab@redhat.com>
58918
58919 * malloc/arena.c (arena_get2): Don't call reused_arena when
58920 _int_new_arena failed.
58921
58922 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58923
58924 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58925 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58926 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58927 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58928 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58929 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58930 to compile strcasecmp and strncasecmp.
58931 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58932 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58933
58934 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58935
58936 2011-11-13 Ulrich Drepper <drepper@gmail.com>
58937
58938 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58939 locale-defines.sym to gen-as-const-headers.
58940 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58941 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58943 to compile strcasecmp and strncasecmp.
58944 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58945 strcasecmp_l and strncasecmp_l.
58946 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58947 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58948 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58949 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58950 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58951 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58952 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58953 * sysdeps/i386/i686/multiarch/strncase.S: New file.
58954 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58955 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58956 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58957
58958 2011-11-12 Ulrich Drepper <drepper@gmail.com>
58959
58960 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58961 result of SYSDEP_GETTIME_CPU to retval.
58962 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58963 parameter list to macro. Remove trailing semicolon. Adjust users.
58964
58965 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58966 variable.
58967
58968 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58969 mantissa words.
58970 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58971
58972 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58973 from unused variable.
58974
58975 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58976 DWARF definitions.
58977 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58978 for assembling.
58979
58980 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58981 over namespaces.
58982
58983 * sunrpc/rpc_prot.c (rejected): Fix case value.
58984
58985 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58986 unsigned long long int to avoid warnings in shift.
58987
58988 * posix/regex_internal.c (re_string_reconstruct): Actually use result
58989 of use of trans.
58990 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58991 variable tmp.
58992
58993 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58994 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58995 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58996
58997 * nis/nis_table.c (nis_list): Use variable of correct type for
58998 result of __follow_path call.
58999
59000 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59001
59002 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59003 of math functions ceil, trunc, floor, round, and sqrt, when
59004 avaliable on the platform.
59005 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59006 name clash.
59007 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59008 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59009 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59010
59011 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59012
59013 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59014 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59015
59016 2011-11-11 Roland McGrath <roland@hack.frob.com>
59017
59018 * include/unistd.h: Fix __readlink return type.
59019 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59020
59021 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59022
59023 * stdlib/ucontext.h: Undo last change for makecontext.
59024
59025 2011-11-11 Andreas Schwab <schwab@redhat.com>
59026
59027 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59028
59029 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59030 * setjmp/setjmp.h: Mark functions as non-leaf.
59031 * setjmp/bits/setjmp2.h: Likewise.
59032 * stdlib/ucontext.h: Likewise.
59033
59034 2011-11-10 Andreas Schwab <schwab@redhat.com>
59035
59036 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59037 (reused_arena): Don't check arena limit.
59038 (arena_get2): Atomically check arena limit.
59039
59040 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59041
59042 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59043 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59044
59045 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59046 instructions.
59047
59048 2011-11-07 Andreas Schwab <schwab@redhat.com>
59049
59050 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59051 handler when locking.
59052
59053 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59054 Fix size of allocated buffer.
59055
59056 2011-11-04 Andreas Schwab <schwab@redhat.com>
59057
59058 [BZ #10103]
59059 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59060 declarations for long double functions.
59061 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59062
59063 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59064
59065 2011-11-03 Andreas Schwab <schwab@redhat.com>
59066
59067 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59068 installed.
59069
59070 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59071 is disabled.
59072
59073 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59074
59075 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59076
59077 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59078
59079 * include/alloca.h (stackinfo_alloca_round): Define.
59080 (extend_alloca): Use it.
59081 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59082 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59083 here.
59084
59085 * scripts/check-local-headers.sh: Ignore libaudit.h.
59086
59087 * nscd/Makefile (extra-objs): Make recursively expanded.
59088
59089 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59090
59091 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59092 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59093
59094 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59095 * posix/tst-rfc3484-2.c: Likewise.
59096 * posix/tst-rfc3484-3.c: Likewise.
59097
59098 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59099 process_vm_writev.
59100 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59101 process_vm_writev.
59102 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59103 process_vm_writev from libc using GLIBC_2.15 version.
59104
59105 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59106
59107 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59108
59109 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59110 stack usage.
59111
59112 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59113
59114 [BZ #13367]
59115 * nss/getent.c (initgroups_keys): Show error message in case no group
59116 names are given.
59117
59118 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59119 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59120 __bump_nl_timestamp.
59121 * nscd/connections (nscd_init): When host database is served open
59122 netlink socket and request notification about configuration changes.
59123 (main_loop_poll): Track netlink file descriptor and bump timestamp
59124 in case data becomes available.
59125 (main_loop_epoll): Likewise.
59126 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59127 (database_pers_head): Add extra_data fileds.
59128 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59129 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59130 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59131 Adjust caller.
59132 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59133 in6ai data, call __free_in6ai.
59134 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59135 Add -DHAVE_NETLINK.
59136 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59137 interface information. Reuse previous data if netlink timestamp
59138 is not changed.
59139 (__bump_nl_timestamp): New function.
59140 (__free_in6ai): New function.
59141
59142 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59143
59144 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59145 close_not_cancel_no_status here.
59146 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59147
59148 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59149
59150 [BZ #13276]
59151 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59152 return value.
59153
59154 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59155 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59156 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59157
59158 2011-07-03 Andreas Jaeger <aj@suse.de>
59159
59160 [BZ #10709]
59161 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59162 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59163 * math/libm-test.inc (sin_test): Add test case.
59164
59165 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59166
59167 [BZ #13337]
59168 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59169 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59170
59171 * elf/chroot_canon.c (chroot_canon): Cleanups.
59172
59173 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59174
59175 [BZ #13335]
59176 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59177 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59178
59179 * string/test-strchr.c: Make usable for strchrnul testing.
59180 * string/test-strchrnul.c: New file.
59181 * string/Makefile (strop-tests): Add strchrnul.
59182
59183 * po/it.po: Update from translation team.
59184 * po/es.po: Likewise.
59185
59186 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59187
59188 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59189 the three constants needed as parameters. Drop the others.
59190 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59191 __m128i_strloadu_tolower.
59192 Create and initialize variable zero and use it in all the places
59193 where _mm_setzero_si128 was used.
59194
59195 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59196 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59197 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59198 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59199 anymore.
59200 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59201 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59202 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59203 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59204 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59205 __mpranred, __mptan.
59206 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59207 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59208 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59209 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59210 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59211 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59212 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59213 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59214 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59215
59216 2011-10-28 Andreas Schwab <schwab@redhat.com>
59217
59218 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59219 redefine if SHARED.
59220 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59221
59222 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59223 wide char related routines to wcsmbs subdir.
59224
59225 2011-10-27 Andreas Schwab <schwab@redhat.com>
59226
59227 [BZ #13344]
59228 * misc/sys/cdefs.h (__THROWNL): Define.
59229 * posix/unistd.h: Use __THREADNL instead of __THREAD
59230 for memory synchronization functions.
59231
59232 2011-10-26 Roland McGrath <roland@hack.frob.com>
59233
59234 [BZ #13349]
59235 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59236 doesn't exist.
59237 * manual/stdio.texi (Obstack Streams): Node removed.
59238
59239 2011-10-26 Andreas Schwab <schwab@redhat.com>
59240
59241 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59242 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59243 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59244
59245 * math/math_private.h (math_force_eval): Allow non-addressable
59246 arguments.
59247 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59248
59249 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59250
59251 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59252 file is not needed.
59253
59254 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59255 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59256 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59257 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59258 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59259 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59260 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59261 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59262 Add AVX variants.
59263 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59264 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59265 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59266 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59267 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59268 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59269 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59270 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59271 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59272 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59273 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59274 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59275 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59276 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59277 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59278 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59279 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59280 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59281 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59282
59283 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59284 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59285
59286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59287 place. Use VEX encoding when compiling for AVX.
59288
59289 2011-10-25 Andreas Schwab <schwab@redhat.com>
59290
59291 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59292 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59293
59294 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59295
59296 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59297
59298 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59299 useless if() expression.
59300 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59301 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59302 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59303 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59304 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59305 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59306 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59307 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59308 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59309 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59310 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59311 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59312 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59313 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59314 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59315 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59316 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59317 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59318 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59319
59320 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59321
59322 2011-10-25 Andreas Schwab <schwab@redhat.com>
59323
59324 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59325 condition.
59326 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59327
59328 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59329
59330 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59331 .text section. Avoid duplicate constants.
59332 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59333 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59334 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59335 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59336 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59337 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59339 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59340 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59341 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59342 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59343 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59344 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59345 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59346 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59347 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59348 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59349 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59350 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59351 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59352 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59353 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59354 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59355 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59356 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59357 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59358 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59359 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59360 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59361 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59362 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59363 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59364 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59365 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59366 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59367 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59368 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59369 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59370 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59371 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59372 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59373 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59374 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59375 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59376 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59377
59378 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59379
59380 * sysdeps/x86_64/dla.h: Move to ...
59381 * sysdeps/x86_64/fpu/dla.h: ...here.
59382 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59383 situations. Use __builtin_fma only for gcc 4.6 and up.
59384
59385 * config.make.in: Add have-mfma4 entry.
59386 * configure.in: Substitute libc_cv_cc_fma4.
59387 * math/Makefile (dbl-only-routines): Add sincostab.
59388 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59389 Use __sincostab not sincos.
59390 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59391 name is a macro.
59392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59396 using __copysign.
59397 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59398 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59399 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59400 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59401 and __inv.
59402 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59403 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59404 __copysign.
59405 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59406 define aliases when function name is a macro.
59407 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59408 sysdeps/ieee754/dbl-64/sincos.tbl.
59409 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59410 fma4-enabled routines.
59411 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59412 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59413 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59414 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59415 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59416 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59417 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59418 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59419 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59420 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59421 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59422 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59423 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59424 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59425 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59426 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59427 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59428 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59429 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59430 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59431 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59432 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59433 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59434 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59435 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59436 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59437 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59438 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59439 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59440 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59441
59442 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59443 rename.
59444 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59445 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59446 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59450 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59451 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59452
59453 2011-10-24 Andreas Schwab <schwab@redhat.com>
59454
59455 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59456
59457 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59458
59459 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59460
59461 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59462 prediction.
59463 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59464
59465 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59466 Remove unused variable magic_bits.
59467 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59468
59469 * string/strnlen.c: Define and use STRNLEN macro.
59470 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59471 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59472 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59473 * wcsmbs/wcslen.c: Define and use WCSLEN.
59474 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59475 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59476 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59477 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59478 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59479 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59480 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59481
59482 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59483
59484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59485 strnlen-sse2-no-bsf.
59486 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59487 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59488 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59489 Add strnlen support.
59490 (USE_AS_STRNLEN): New macro.
59491 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59492 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59493 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59494 * sysdeps/x86_64/wcslen.S: New file.
59495
59496 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59497
59498 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59499 XMM-moves are used for copying on small sizes.
59500
59501 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59502
59503 * wcsmbs/Makefile (strop-tests): Add wcschr.
59504 * wcsmbs/test-wcschr.c: New file.
59505 * string/test-strchr.c: Update.
59506 Add wcschr support.
59507 (WIDE): New macro.
59508
59509 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59510
59511 * wcsmbs/Makefile (strop-tests): Add wcslen.
59512 * wcsmbs/test-wcslen.c: New file.
59513 * string/test-strlen.c: Update.
59514 Add wcslen support.
59515 (WIDE): New macro.
59516
59517 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59518
59519 * po/it.po: Update from translation team.
59520
59521 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59522
59523 * sysdeps/x86_64/wcscmp.S: Update.
59524 Fix wrong comparison semantics.
59525 wcscmp shall use signed comparison not unsigned.
59526 Don't use substraction to avoid overflow bug.
59527 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59528 * wcsmbc/wcscmp.c: Likewise.
59529 * string/test-strcmp.c: Likewise.
59530 Add new tests to check cases with negative values.
59531
59532 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59533
59534 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59535 * sysdeps/x86_64/dla.h: ...here. New file.
59536 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59537 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59538 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59541 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59545
59546 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59547
59548 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59549 __ynl_finite aliases.
59550
59551 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59552
59553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59554
59555 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59556 define DLA_FMA.
59557 [DLA_FMA] (EMULV): Use DLA_FMA.
59558 [DLA_FMA] (MUL12): Use EMULV.
59559 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59560 that are not needed.
59561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59566 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59567 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59568
59569 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59570
59571 * math/s_nan.c: Undef __nan.
59572 * math/s_nanf.c: Undef __nanf.
59573 * math/s_nanl.c: Undef __nanl.
59574 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59575 "math_private.h".
59576
59577 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59578
59579 * math/s_catan.c: Add branch predictions.
59580 * math/s_catanf.c: Likewise.
59581 * math/s_catanh.c: Likewise.
59582 * math/s_catanhf.c: Likewise.
59583 * math/s_catanhl.c: Likewise.
59584 * math/s_catanl.c: Likewise.
59585 * math/s_cexp.c: Likewise.
59586 * math/s_cexpf.c: Likewise.
59587 * math/s_cexpl.c: Likewise.
59588 * math/s_clog.c: Likewise.
59589 * math/s_clog10.c: Likewise.
59590 * math/s_clog10f.c: Likewise.
59591 * math/s_clog10l.c: Likewise.
59592 * math/s_clogf.c: Likewise.
59593 * math/s_clogl.c: Likewise.
59594 * math/s_csqrt.c: Likewise.
59595 * math/s_csqrtf.c: Likewise.
59596 * math/s_csqrtl.c: Likewise.
59597 * math/s_ctanf.c: Likewise.
59598 * math/s_ctanh.c: Likewise.
59599 * math/s_ctanhf.c: Likewise.
59600 * math/s_ctanhl.c: Likewise.
59601 * math/s_ctanl.c: Likewise.
59602
59603 * math/math_private.h: Define __nan, __nanf, __nanl.
59604 * math/s_cacosh.c: Include <math_private.h>.
59605 * math/s_cacoshl.c: Likewise.
59606 * math/s_casinh.c: Likewise.
59607 * math/s_casinhf.c: Likewise.
59608 * math/s_casinhl.c: Likewise.
59609 * math/s_ccos.c: Rely entire on ccosh.
59610 * math/s_ccosf.c: Rely entire on ccoshf.
59611 * math/s_ccosl.c: Rely entirely on ccoshl.
59612 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59613 Remove tests for FE_INVALID.
59614 * math/s_ccoshf.c: Likewise.
59615 * math/s_ccoshl.c: Likewise.
59616 * math/s_csin.c: Likewise.
59617 * math/s_csinf.c: Likewise.
59618 * math/s_csinh.c Likewise.
59619 * math/s_csinhf.c: Likewise.
59620 * math/s_csinhl.c: Likewise.
59621 * math/s_csinl.c: Likewise.
59622 * math/s_ctan.c: Likewise.
59623 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59624 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59625 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59626
59627 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59628
59629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59630 compilation problems.
59631
59632 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59633 __builtin_expect.
59634
59635 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59636
59637 * sysdeps/i386/configure.in: Test for -mfma4 option.
59638 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59639 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59640 COMMON_CPUID_INDEX_80000001.
59641 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59642 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59643 use it if FMA3 is not supported.
59644 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59645
59646 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59647 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59648
59649 2011-10-20 Andreas Schwab <schwab@redhat.com>
59650
59651 [BZ #12892]
59652 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59653 it would create a cycle with a link time dependency.
59654
59655 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59656
59657 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59658 instruction.
59659 * string/Makefile (strop-tests): Add rawmemchr.
59660 * string/test-rawmemchr.c: New file.
59661
59662 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59663 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59664 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59665 when compiling str{,n}casecmp and when AVX is available. Hook up
59666 new optimized code in initializers.
59667
59668 2011-10-19 Andreas Schwab <schwab@redhat.com>
59669
59670 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59671 __feraiseexcept instead of feraiseexcept.
59672
59673 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59674
59675 * math/math_private.h: Define defaults for libc_fetestexcept and
59676 libc_feupdateenv.
59677 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59678 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59679 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59680 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59681 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59682 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59683 libc_fetestexcept and libc_feupdateenv.
59684
59685 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59686 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59687 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59688 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59689 libc_feholdexcept_setround.
59690
59691 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59692 Add s_nearbyint-c and s_nearbyintf-c.
59693 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59694 nearbyintf inlines.
59695 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59696 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59697 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59698 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59699
59700 * math/math_private.h: Define defaults for libc_fegetround,
59701 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59702 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59703 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59704 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59705 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59706 standard functions.
59707 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59708 Remove comments and hacks for old compiler versions.
59709 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59710 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59711 libc_feholdexceptl.
59712
59713 2011-10-18 Andreas Schwab <schwab@redhat.com>
59714
59715 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59716 (__feraiseexcept_renamed): Add __NTH.
59717 (feraiseexcept): Add __NTH. Rename local variables to fix
59718 namespace violations.
59719
59720 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59721
59722 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59723
59724 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59725
59726 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59727 recently added interfaces.
59728 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59729
59730 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59731 about macro parameter expansion.
59732
59733 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59734 __NO_MATH_INLINES is defined. Cleanups.
59735
59736 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59737 and __floorf is target has SSE4.1.
59738 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59739 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59740 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59741 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59742
59743 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59744 name.
59745 (floorf): Likewise.
59746
59747 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59748
59749 2011-10-17 Andreas Schwab <schwab@redhat.com>
59750
59751 * misc/sys/cdefs.h: Fix last change.
59752
59753 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59754 database lookup.
59755
59756 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59757
59758 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59759
59760 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59761 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59762 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59763 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59764 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59765 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59766 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59767 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59768 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59769 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59770 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59771 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59772 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59773 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59774 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59775 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59776 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59777 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59778 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59779 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59780 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59781 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59782
59783 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59784 ceil, ceilf, floor, floorf.
59785
59786 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59787 Perform IRELATIVE relocations last.
59788
59789 * elf/do-rel.h: Add another parameter nrelative, replacing the
59790 local variable with the same name. Change name of the function
59791 to end in Rel or Rela (uppercase).
59792 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59793 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59794 elf_dynamic_do_##reloc function.
59795
59796 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59797
59798 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59799 is sufficient, at least on modern CPUs.
59800
59801 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59802
59803 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59804 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59805
59806 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59807 __expl_finite.
59808 * math/bits/math-finite.h: Add entries for exp.
59809 * math/e_expl.c: Add __*_finite alias.
59810 * sysdeps/i386/fpu/e_exp.S: Likewise.
59811 * sysdeps/i386/fpu/e_expf.S: Likewise.
59812 * sysdeps/i386/fpu/e_expl.c: Likewise.
59813 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59814 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59815 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59816 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59817 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59818 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59819 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59820
59821 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59822 is sufficient, at least on modern CPUs.
59823
59824 * ctype/ctype-info.c (__ctype_init): Define.
59825 * include/ctype.h (__ctype_init): Declare.
59826 (__ctype_b_loc): The variable is always initialized.
59827 (__ctype_toupper_loc): Likewise.
59828 (__ctype_tolower_loc): Likewise.
59829 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59830 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59831
59832 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
59833
59834 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59835
59836 * configure.in: Also look in $cxxmachine/include for C++ system
59837 headers.
59838
59839 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59840
59841 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59842 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59843 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59844 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
59845 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59846 (USE_AS_WMEMCMP): New macro.
59847 Fixing indents.
59848 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59849 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59850 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59851 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59853 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59854 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59855 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59856 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59857 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59858 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59859 (USE_AS_WMEMCMP): New macro.
59860 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59861 * sysdeps/string/test-memcmp.c: Update.
59862 Fix simple_wmemcmp.
59863 Add new tests.
59864 * wcsmbs/wmemcmp.c: Update.
59865 (WMEMCMP): New macro.
59866 Fix overflow bug.
59867
59868 2011-10-12 Andreas Jaeger <aj@suse.de>
59869
59870 [BZ #13268]
59871 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59872
59873 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59874
59875 * libio/iofwide.c (do_length): Avoid warning.
59876
59877 * ctype/ctype.h (__isctype_f): Add missing __THROW.
59878
59879 2011-10-14 Ulrich Drepper <drepper@gmail.com>
59880
59881 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59882
59883 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59884 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59885 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59886 * sysdeps/i386/i686/fpu/e_log.S: New file.
59887 * sysdeps/i386/i686/fpu/e_logf.S: New file.
59888 * sysdeps/i386/i686/fpu/e_logl.S: New file.
59889
59890 * ctype/ctype.h: Add support for inlined isXXX functions when
59891 compiling C++ code.
59892
59893 2011-10-14 Andreas Schwab <schwab@redhat.com>
59894
59895 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59896
59897 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59898
59899 2011-10-13 Roland McGrath <roland@hack.frob.com>
59900
59901 [BZ #13291]
59902 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59903
59904 2011-10-13 Andreas Schwab <schwab@redhat.com>
59905
59906 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59907 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59908 feraiseexcept.
59909
59910 * sysdeps/x86_64/memrchr.S: Check for zero size.
59911
59912 * string/stratcliff.c: Add memrchr tests.
59913
59914 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59915
59916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59917 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59918 rawmemchr-sse2 rawmemchr-sse2-bsf.
59919 * sysdeps/i386/i686/multiarch/memchr.S: New file.
59920 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59921 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59922 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59923 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59924 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59925 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59926 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59927 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59928 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59929 * string/memrchr.c (MEMRCHR): New macro.
59930
59931 2011-10-12 Ulrich Drepper <drepper@gmail.com>
59932
59933 Add integration with gcc's -ffinite-math-only and optimize wrapper
59934 functions in libm.
59935 * Versions.def: Define GLIBC_2.15 version for libm.
59936 * math/Makefile (headers): Add bits/math-finite.h.
59937 * math/bits/math-finite.h: New file.
59938 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59939 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59940 * math/e_acoshl.c: Add __*_finite alias.
59941 * math/e_acosl.c: Likewise.
59942 * math/e_asinl.c: Likewise.
59943 * math/e_atan2l.c: Likewise.
59944 * math/e_atanhl.c: Likewise.
59945 * math/e_coshl.c: Likewise.
59946 * math/e_exp10.c: Likewise.
59947 * math/e_exp10f.c: Likewise.
59948 * math/e_exp10l.c: Likewise.
59949 * math/e_exp2l.c: Likewise.
59950 * math/e_fmodl.c: Likewise.
59951 * math/e_gammal_r.c: Likewise.
59952 * math/e_hypotl.c: Likewise.
59953 * math/e_j0l.c: Likewise.
59954 * math/e_j1l.c: Likewise.
59955 * math/e_jnl.c: Likewise.
59956 * math/e_lgammal_r.c: Likewise.
59957 * math/e_log10l.c: Likewise.
59958 * math/e_log2l.c: Likewise.
59959 * math/e_logl.c: Likewise.
59960 * math/e_powl.c: Likewise.
59961 * math/e_sinhl.c: Likewise.
59962 * math/e_sqrtl.c: Likewise.
59963 * math/e_scalb.c: Completely rewritten and optimized.
59964 * math/e_scalbf.c: Likewise.
59965 * math/e_scalbl.c: Likewise.
59966 * math/w_acos.c: Likewise.
59967 * math/w_acosf.c: Likewise.
59968 * math/w_acosl.c: Likewise.
59969 * math/w_acosh.c: Likewise.
59970 * math/w_acoshf.c: Likewise.
59971 * math/w_acoshl.c: Likewise.
59972 * math/w_asin.c: Likewise.
59973 * math/w_asinf.c: Likewise.
59974 * math/w_asinl.c: Likewise.
59975 * math/w_atan2.c: Likewise.
59976 * math/w_atan2f.c: Likewise.
59977 * math/w_atan2l.c: Likewise.
59978 * math/w_atanh.c: Likewise.
59979 * math/w_atanhf.c: Likewise.
59980 * math/w_atanhl.c: Likewise.
59981 * math/w_exp10.c: Likewise.
59982 * math/w_exp10f.c: Likewise.
59983 * math/w_exp10l.c: Likewise.
59984 * math/w_fmod.c: Likewise.
59985 * math/w_fmodf.c: Likewise.
59986 * math/w_fmodl.c: Likewise.
59987 * math/w_j0.c: Likewise.
59988 * math/w_j0f.c: Likewise.
59989 * math/w_j0l.c: Likewise.
59990 * math/w_j1.c: Likewise.
59991 * math/w_j1f.c: Likewise.
59992 * math/w_j1l.c: Likewise.
59993 * math/w_jn.c: Likewise.
59994 * math/w_jnf.c: Likewise.
59995 * math/w_log.c: Likewise.
59996 * math/w_logf.c: Likewise.
59997 * math/w_logl.c: Likewise.
59998 * math/w_log10.c: Likewise.
59999 * math/w_log10f.c: Likewise.
60000 * math/w_log10l.c: Likewise.
60001 * math/w_log2.c: Likewise.
60002 * math/w_log2f.c: Likewise.
60003 * math/w_log2l.c: Likewise.
60004 * math/w_pow.c: Likewise.
60005 * math/w_powf.c: Likewise.
60006 * math/w_powl.c: Likewise.
60007 * math/w_remainder.c: Likewise.
60008 * math/w_remainderf.c: Likewise.
60009 * math/w_remainderl.c: Likewise.
60010 * math/w_scalb.c: Likewise.
60011 * math/w_scalbf.c: Likewise.
60012 * math/w_scalbl.c: Likewise.
60013 * math/w_sqrt.c: Likewise.
60014 * math/w_sqrtf.c: Likewise.
60015 * math/w_sqrtl.c: Likewise.
60016 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60017 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60018 used.
60019 * math/math_private.h: Declare __kernel_standard_f.
60020 * math/w_cosh.c: Remove cruft and optimize a bit.
60021 * math/w_coshf.c: Likewise.
60022 * math/w_coshl.c: Likewise.
60023 * math/w_exp2.c: Likewise.
60024 * math/w_exp2f.c: Likewise.
60025 * math/w_exp2l.c: Likewise.
60026 * math/w_hypot.c: Likewise.
60027 * math/w_hypotf.c: Likewise.
60028 * math/w_hypotl.c: Likewise.
60029 * math/w_lgamma.c: Likewise.
60030 * math/w_lgamma_r.c: Likewise.
60031 * math/w_lgammaf.c: Likewise.
60032 * math/w_lgammaf_r.c: Likewise.
60033 * math/w_lgammal.c: Likewise.
60034 * math/w_lgammal_r.c: Likewise.
60035 * math/w_sinh.c: Likewise.
60036 * math/w_sinhf.c: Likewise.
60037 * math/w_sinhl.c: Likewise.
60038 * math/w_tgamma.c: Likewise.
60039 * math/w_tgammaf.c: Likewise.
60040 * math/w_tgammal.c: Likewise.
60041 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60042 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60043 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60044 Minor optimizations. Pretty printing. Remove cruft.
60045 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60046 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60047 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60048 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60049 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60050 * sysdeps/i386/fpu/e_asin.S: Likewise.
60051 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60052 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60053 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60054 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60055 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60056 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60057 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60058 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60059 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60060 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60061 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60062 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60063 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60064 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60065 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60066 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60067 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60068 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60069 * sysdeps/i386/fpu/e_log.S: Likewise.
60070 * sysdeps/i386/fpu/e_log10.S: Likewise.
60071 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60072 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60073 * sysdeps/i386/fpu/e_log2.S: Likewise.
60074 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60075 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60076 * sysdeps/i386/fpu/e_logf.S: Likewise.
60077 * sysdeps/i386/fpu/e_logl.S: Likewise.
60078 * sysdeps/i386/fpu/e_pow.S: Likewise.
60079 * sysdeps/i386/fpu/e_powf.S: Likewise.
60080 * sysdeps/i386/fpu/e_powl.S: Likewise.
60081 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60082 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60083 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60084 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60085 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60086 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60087 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60088 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60089 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60090 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60091 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60093 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60094 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60095 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60096 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60097 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60098 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60099 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60100 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60101 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60103 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60104 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60105 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60106 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60107 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60108 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60109 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60110 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60111 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60112 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60113 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60114 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60115 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60116 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60117 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60118 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60119 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60120 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60121 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60122 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60123 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60124 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60125 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60126 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60127 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60128 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60129 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60130 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60131 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60132 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60133 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60134 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60135 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60136 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60137 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60138 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60139 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60140 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60141 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60142 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60143 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60144 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60145 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60146 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60147 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60148 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60149 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60150 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60151 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60152 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60153 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60154 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60155 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60156 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60157 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60158 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60159 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60160 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60161 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60162 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60163 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60164 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60165 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60166 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60167 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60168 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60169 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60170 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60171 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60172 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60173 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60174 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60175 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60176 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60177 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60178 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60179 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60180 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60181 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60182 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60183 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60184 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60185 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60186 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60187 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60188 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60189 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60190 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60191 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60192 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60193 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60194 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60195 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60196 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60197 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60198 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60199 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60200 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60201 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60202 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60203 (__isnanf): Likewise.
60204 (__isinf_ns): Likewise.
60205 (__isinf_nsf): Likewise.
60206 (__finite): Likewise.
60207 (__finitef): Likewise.
60208 (__ieee754_sqrt): Define as macro.
60209 (__ieee754_sqrtf): Define as macro.
60210 (__ieee754_sqrtl): Define as macro.
60211 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60212 inlined copy.
60213 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60214 __FINITE_MATH_ONLY__ consistent.
60215 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60216
60217 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60218
60219 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60220 of rawmemchr.
60221
60222 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60223
60224 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60225
60226 * po/ja.po: Update from translation team.
60227
60228 2011-10-08 Roland McGrath <roland@hack.frob.com>
60229
60230 * locale/programs/locarchive.c (prepare_address_space): New function.
60231 (create_archive, enlarge_archive, open_archive): Use it.
60232
60233 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60234 inside [SHARED], where it is used.
60235
60236 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60237
60238 * nss/getent.c (netgroup_keys): Remove unused variable.
60239 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60240
60241 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60242
60243 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60244 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60246 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60247 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60248 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60249 * math/Makefile (libm-calls): Add s_isinf_ns.
60250 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60251 * math/multc3.c: Likewise.
60252 * math/s_casin.c: Likewise.
60253 * math/s_casinf.c: Likewise.
60254 * math/s_casinl.c: Likewise.
60255 * math/s_ccos.c: Likewise.
60256 * math/s_ccosf.c: Likewise.
60257 * math/s_ccosl.c: Likewise.
60258 * math/s_ctan.c: Likewise.
60259 * math/s_ctanf.c: Likewise.
60260 * math/s_ctanh.c: Likewise.
60261 * math/s_ctanhf.c: Likewise.
60262 * math/s_ctanhl.c: Likewise.
60263 * math/s_ctanl.c: Likewise.
60264 * math/w_fmod.c: Likewise.
60265 * math/w_fmodf.c: Likewise.
60266 * math/w_fmodl.c: Likewise.
60267 * math/w_remainder.c: Likewise.
60268 * math/w_remainderf.c: Likewise.
60269 * math/w_remainderl.c: Likewise.
60270 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60271 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60272 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60274 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60275 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60276 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60277 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60278
60279 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60280 of the number.
60281 * stdio-common/printf_fphex.c: Likewise.
60282 * stdio-common/printf_size.c: Likewise.
60283
60284 * math/e_exp10.c: Include math_private.h using <...> not "...".
60285 * math/e_exp10f.c: Likewise.
60286 * math/e_exp10l.c: Likewise.
60287 * math/e_exp2l.c: Likewise.
60288 * math/e_j0l.c: Likewise.
60289 * math/e_j1l.c: Likewise.
60290 * math/e_jnl.c: Likewise.
60291 * math/e_lgammal_r.c: Likewise.
60292 * math/e_rem_pio2l.c: Likewise.
60293 * math/e_scalb.c: Likewise.
60294 * math/e_scalbf.c: Likewise.
60295 * math/e_scalbl.c: Likewise.
60296 * math/k_cosl.c: Likewise.
60297 * math/k_sinl.c: Likewise.
60298 * math/k_tanl.c: Likewise.
60299 * math/s_cacoshf.c: Likewise.
60300 * math/s_catan.c: Likewise.
60301 * math/s_catanf.c: Likewise.
60302 * math/s_catanh.c: Likewise.
60303 * math/s_catanhf.c: Likewise.
60304 * math/s_catanhl.c: Likewise.
60305 * math/s_catanl.c: Likewise.
60306 * math/s_ccosh.c: Likewise.
60307 * math/s_ccoshf.c: Likewise.
60308 * math/s_ccoshl.c: Likewise.
60309 * math/s_cexp.c: Likewise.
60310 * math/s_cexpf.c: Likewise.
60311 * math/s_cexpl.c: Likewise.
60312 * math/s_clog.c: Likewise.
60313 * math/s_clog10.c: Likewise.
60314 * math/s_clog10f.c: Likewise.
60315 * math/s_clog10l.c: Likewise.
60316 * math/s_clogf.c: Likewise.
60317 * math/s_clogl.c: Likewise.
60318 * math/s_csin.c: Likewise.
60319 * math/s_csinf.c: Likewise.
60320 * math/s_csinh.c: Likewise.
60321 * math/s_csinhf.c: Likewise.
60322 * math/s_csinhl.c: Likewise.
60323 * math/s_csinl.c: Likewise.
60324 * math/s_csqrt.c: Likewise.
60325 * math/s_csqrtf.c: Likewise.
60326 * math/s_csqrtl.c: Likewise.
60327 * math/s_ctan.c: Likewise.
60328 * math/s_ctanf.c: Likewise.
60329 * math/s_ctanh.c: Likewise.
60330 * math/s_ctanhf.c: Likewise.
60331 * math/s_ctanhl.c: Likewise.
60332 * math/s_ctanl.c: Likewise.
60333 * math/s_ldexp.c: Likewise.
60334 * math/s_ldexpf.c: Likewise.
60335 * math/s_ldexpl.c: Likewise.
60336 * math/s_significand.c: Likewise.
60337 * math/s_significandf.c: Likewise.
60338 * math/s_significandl.c: Likewise.
60339 * math/w_acos.c: Likewise.
60340 * math/w_acosf.c: Likewise.
60341 * math/w_acosh.c: Likewise.
60342 * math/w_acoshf.c: Likewise.
60343 * math/w_acoshl.c: Likewise.
60344 * math/w_acosl.c: Likewise.
60345 * math/w_asin.c: Likewise.
60346 * math/w_asinf.c: Likewise.
60347 * math/w_asinl.c: Likewise.
60348 * math/w_atan2.c: Likewise.
60349 * math/w_atan2f.c: Likewise.
60350 * math/w_atan2l.c: Likewise.
60351 * math/w_atanh.c: Likewise.
60352 * math/w_atanhf.c: Likewise.
60353 * math/w_atanhl.c: Likewise.
60354 * math/w_cosh.c: Likewise.
60355 * math/w_coshf.c: Likewise.
60356 * math/w_coshl.c: Likewise.
60357 * math/w_dremf.c: Likewise.
60358 * math/w_exp10.c: Likewise.
60359 * math/w_exp10f.c: Likewise.
60360 * math/w_exp10l.c: Likewise.
60361 * math/w_exp2.c: Likewise.
60362 * math/w_exp2f.c: Likewise.
60363 * math/w_fmod.c: Likewise.
60364 * math/w_fmodf.c: Likewise.
60365 * math/w_fmodl.c: Likewise.
60366 * math/w_hypot.c: Likewise.
60367 * math/w_hypotf.c: Likewise.
60368 * math/w_hypotl.c: Likewise.
60369 * math/w_j0.c: Likewise.
60370 * math/w_j0f.c: Likewise.
60371 * math/w_j0l.c: Likewise.
60372 * math/w_j1.c: Likewise.
60373 * math/w_j1f.c: Likewise.
60374 * math/w_j1l.c: Likewise.
60375 * math/w_jn.c: Likewise.
60376 * math/w_jnf.c: Likewise.
60377 * math/w_jnl.c: Likewise.
60378 * math/w_lgamma.c: Likewise.
60379 * math/w_lgamma_r.c: Likewise.
60380 * math/w_lgammaf.c: Likewise.
60381 * math/w_lgammaf_r.c: Likewise.
60382 * math/w_lgammal.c: Likewise.
60383 * math/w_lgammal_r.c: Likewise.
60384 * math/w_log.c: Likewise.
60385 * math/w_log10.c: Likewise.
60386 * math/w_log10f.c: Likewise.
60387 * math/w_log10l.c: Likewise.
60388 * math/w_log2.c: Likewise.
60389 * math/w_log2f.c: Likewise.
60390 * math/w_log2l.c: Likewise.
60391 * math/w_logf.c: Likewise.
60392 * math/w_logl.c: Likewise.
60393 * math/w_pow.c: Likewise.
60394 * math/w_powf.c: Likewise.
60395 * math/w_powl.c: Likewise.
60396 * math/w_remainder.c: Likewise.
60397 * math/w_remainderf.c: Likewise.
60398 * math/w_remainderl.c: Likewise.
60399 * math/w_scalb.c: Likewise.
60400 * math/w_scalbf.c: Likewise.
60401 * math/w_scalbl.c: Likewise.
60402 * math/w_sinh.c: Likewise.
60403 * math/w_sinhf.c: Likewise.
60404 * math/w_sinhl.c: Likewise.
60405 * math/w_sqrt.c: Likewise.
60406 * math/w_sqrtf.c: Likewise.
60407 * math/w_sqrtl.c: Likewise.
60408 * math/w_tgamma.c: Likewise.
60409 * math/w_tgammaf.c: Likewise.
60410 * math/w_tgammal.c: Likewise.
60411
60412 * po/ja.po: Update from translation team.
60413
60414 2011-09-29 Andreas Jaeger <aj@suse.de>
60415
60416 [BZ #13179]
60417 * sunrpc/netname.c (netname2host): Fix logic.
60418
60419 [BZ #6779]
60420 [BZ #6783]
60421 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60422 correctly.
60423 * math/w_remainder.c (__remainder): Likewise.
60424 * math/w_remainderf.c (__remainderf): Likewise.
60425 * math/libm-test.inc (remainder_test): Add test cases.
60426
60427 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60428
60429 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60430 sdiv_qrnnd.
60431
60432 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60433
60434 * string/test-memcmp.c: Avoid unncessary #defines.
60435 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60436
60437 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60438
60439 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60440 Use new sse2 version for core i3 - i7 as it's faster
60441 than sse42 version.
60442 (bit_Prefer_PMINUB_for_stringop): New.
60443 * sysdeps/x86_64/rawmemchr.S: Update.
60444 Replace with faster SSE2 version.
60445 * sysdeps/x86_64/memrchr.S: New file.
60446 * sysdeps/x86_64/memchr.S: Update.
60447 Replace with faster SSE2 version.
60448
60449 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60450
60451 * elf/dl-load.c (lose): Add cast to avoid warning.
60452
60453 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60454
60455 * po/ca.po: Update from translation team.
60456
60457 * inet/getnetgrent_r.c: Hook up nscd.
60458 * nscd/Makefile (routines): Add nscd_netgroup.
60459 (nscd-modules): Add netgroupcache.
60460 (CFLAGS-netgroupcache.c): Define.
60461 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60462 (cache_search): Add const to second parameter.
60463 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60464 INNETGR.
60465 (dbs): Add netgrdb entry.
60466 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60467 (verify_persistent_db): Handle netgrdb.
60468 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60469 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60470 GETFDNETGR.
60471 (netgroup_response_header): Define.
60472 (innetgroup_response_header): Define.
60473 (datahead): Add netgroup_response_header and innetgroup_response_header
60474 elements.
60475 * nscd/nscd.conf: Add entries for netgroup cache.
60476 * nscd/nscd.h (dbtype): Add netgrdb.
60477 (_PATH_NSCD_NETGROUP_DB): Define.
60478 (netgroup_iov_disabled): Declare.
60479 (xmalloc, xcalloc, xrealloc): Move declarations here.
60480 (cache_search): Adjust prototype.
60481 Add netgroup-related prototypes.
60482 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60483 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60484 (__nscd_innetgr): Declare.
60485 * nscd/selinux.c (perms): Use access_vector_t as element type and
60486 add netgroup-related initializers.
60487 * nscd/netgroupcache.c: New file.
60488 * nscd/nscd_netgroup.c: New file.
60489 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60490 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60491 For four parameters use innetgr.
60492 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60493 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60494 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60495 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60496
60497 * nscd/connections.c (register_traced_file): Don't register file
60498 for disabled databases.
60499
60500 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60501
60502 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60503
60504 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60505 from tree and freeing node.
60506
60507 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60508
60509 * nss/nsswitch.c (__nss_database_lookup): Handle
60510 nss_parse_service_list out of memory case.
60511
60512 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60513
60514 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60515 out of memory case.
60516
60517 2011-10-04 Andreas Schwab <schwab@redhat.com>
60518
60519 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60520 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60521 pass it down.
60522 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60523 elf_machine_rela, elf_machine_lazy_rel.
60524 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60525 (ELF_DYNAMIC_DO_REL): Likewise.
60526 (ELF_DYNAMIC_DO_RELA): Likewise.
60527 (ELF_DYNAMIC_RELOCATE): Likewise.
60528 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60529 to ELF_DYNAMIC_DO_REL.
60530 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60531 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60532 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60533 elf_machine_rela.
60534 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60535 skip_ifunc, don't call ifunc function if non-zero.
60536 (elf_machine_rela): Likewise.
60537 (elf_machine_lazy_rel): Likewise.
60538 (elf_machine_lazy_rela): Likewise.
60539 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60540 (elf_machine_lazy_rel): Likewise.
60541 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60542 Likewise.
60543 (elf_machine_lazy_rel): Likewise.
60544 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60545 Likewise.
60546 (elf_machine_lazy_rel): Likewise.
60547 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60548 (elf_machine_lazy_rel): Likewise.
60549 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60550 (elf_machine_lazy_rel): Likewise.
60551 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60552 (elf_machine_lazy_rel): Likewise.
60553 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60554 (elf_machine_lazy_rel): Likewise.
60555 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60556 (elf_machine_lazy_rel): Likewise.
60557 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60558 (elf_machine_lazy_rel): Likewise.
60559
60560 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60561
60562 * nss/nss_files/files-init.c (_nss_files_init): Use static
60563 initialization for all the *_traced_file variables.
60564
60565 2011-09-28 Andreas Schwab <schwab@redhat.com>
60566
60567 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60568
60569 2011-09-27 Roland McGrath <roland@hack.frob.com>
60570
60571 [BZ #13226]
60572 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60573
60574 2011-09-27 Andreas Schwab <schwab@redhat.com>
60575
60576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60577 Reread the line before reparsing it.
60578
60579 2011-09-26 Andreas Schwab <schwab@redhat.com>
60580
60581 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60582
60583 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60584 Maxim Kuvyrkov <maxim@codesourcery.com>
60585 Joseph Myers <joseph@codesourcery.com>
60586
60587 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60588 if needed for __stack_chk_guard.
60589
60590 2011-09-19 Roland McGrath <roland@hack.frob.com>
60591
60592 * sysdeps/posix/spawni.c (script_execute): Always define it.
60593 It will be optimized away if unused.
60594 (maybe_script_execute): New function.
60595 (__spawni): Call it.
60596
60597 * Makerules: Don't include tls.make.
60598 (config-tls): Always set to thread.
60599 * tls.make.c: File removed.
60600
60601 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60602
60603 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60604 * config.make.in (CPPFLAGS-config): New substituted variable.
60605
60606 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60607
60608 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60609
60610 [BZ #13192]
60611 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60612 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60613
60614 2011-09-15 Roland McGrath <roland@hack.frob.com>
60615
60616 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60617 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60619 (CALL_FAIL): Likewise.
60620 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60621 (CALL_FAIL): Macro removed.
60622 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60623
60624 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60625
60626 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60627 for __FINITE_MATH_ONLY__ == 1.
60628
60629 2011-09-15 Andreas Schwab <schwab@redhat.com>
60630
60631 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60632 __ieee754_sqrt instead of sqrt.
60633 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60634 __ieee754_sqrtf instead of sqrtf.
60635 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60636 __floorf instead of floorf.
60637 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60638 __floorf, __truncf instead of floorf, truncf.
60639
60640 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60641
60642 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60643
60644 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60645 __extern_always_inline.
60646 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60647 32-bit.
60648
60649 2011-09-14 Andreas Schwab <schwab@redhat.com>
60650
60651 * elf/rtld.c (dl_main): Also relocate in dependency order when
60652 doing symbol dependency testing.
60653
60654 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60655
60656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60657 Always define `refsym'.
60658
60659 2011-09-13 Andreas Schwab <schwab@redhat.com>
60660
60661 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60662 (__FD_ELT): Renamed from __FDELT.
60663 * misc/bits/select2.h (__FD_ELT): Likewise.
60664 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60665 __FD_MASK instead of __FDELT, __FDMASK.
60666 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60667 Likewise.
60668 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60669 Likewise.
60670
60671 * elf/Makefile (gen-ldd): Fix pattern.
60672
60673 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60674 (init_tls): Likewise.
60675
60676 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60677
60678 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60679
60680 2011-09-12 Andreas Schwab <schwab@redhat.com>
60681
60682 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60683 `struct cmsghdr *' instead of `void *'.
60684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60685 Likewise.
60686
60687 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60688
60689 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60690 if non-absolute.
60691 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60692 ldd_rewrite_script.
60693
60694 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60695
60696 * configure.in: Remove --with-tls option.
60697 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60698 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60699 out in case it is missing.
60700 * sysdeps/ia64/elf/configure.in: Likewise.
60701 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60702 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60703 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60704 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60705 * sysdeps/sh/elf/configure.in: Likewise.
60706 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60707 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60708 * sysdeps/x86_64/elf/configure.in: Likewise.
60709 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60710 * sysdeps/mach/hurd/tls.h: Likewise.
60711
60712 [BZ #13067]
60713 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60714
60715 [BZ #13090]
60716 * configure.in: Fix use of AC_INIT.
60717
60718 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60719
60720 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60721
60722 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60723 __set_errno.
60724 * malloc/hooks.c: Likewise.
60725
60726 [BZ #11929]
60727 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60728 variables statically.
60729 (narenas): Initialize.
60730 (list_lock): Initialize.
60731 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60732 initializtion of main_arena and list_lock. Small cleanups.
60733 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60734 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60735 Add initializers to main_arena and mp_.
60736 (malloc_state): Remove pagesize member. Change all users to use
60737 GLRO(dl_pagesize).
60738
60739 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60740 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60741 is always initialized.
60742
60743 * malloc/malloc.c: Removed unused configurations and dead code.
60744 * malloc/arena.c: Likewise.
60745 * malloc/hooks.c: Likewise.
60746 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60747
60748 * include/tls.h: Removed. USE___THREAD must always be defined.
60749 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60750 * elf/dl-libc.c: Likewise.
60751 * elf/dl-tsd.c: Likewise.
60752 * include/errno.h: Likewise.
60753 * include/netdb.h: Likewise.
60754 * include/resolv.h: Likewise.
60755 * inet/herrno-loc.c: Likewise.
60756 * inet/herrno.c: Likewise.
60757 * malloc/arena.c: Likewise.
60758 * malloc/hooks.c: Likewise.
60759 * malloc/malloc.c: Likewise.
60760 * resolv/res-state.c: Likewise.
60761 * resolv/res_libc.c: Likewise.
60762 * sysdeps/i386/dl-machine.h: Likewise.
60763 * sysdeps/ia64/dl-machine.h: Likewise.
60764 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60765 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60766 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60767 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60768 * sysdeps/sh/dl-machine.h: Likewise.
60769 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60770 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60771 * sysdeps/unix/i386/sysdep.S: Likewise.
60772 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60773 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60774 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60775 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60776 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60778 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60779 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60780 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60782 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60783 * sysdeps/x86_64/dl-machine.h: Likewise.
60784 * tls.make.c: Likewise.
60785
60786 * configure.in: Remove --with-__thread option. Make tests for
60787 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60788 tls_model attribute fail if no support is available. Remove
60789 USE_IN_LIBIO.
60790 * Makeconfig: Adjust for dropped configure option. All features are
60791 now mandatory.
60792 * Makerules: Likewise.
60793 * Versions.def: Likewise.
60794 * argp/argp-fmtstream.c: Likewise.
60795 * argp/argp-fmtstream.h: Likewise.
60796 * argp/argp-help.c: Likewise.
60797 * assert/assert.c: Likewise.
60798 * config.h.in: Likewise.
60799 * config.make.in: Likewise.
60800 * configure: Likewise.
60801 * configure.in: Likewise.
60802 * csu/Versions: Likewise.
60803 * csu/init.c: Likewise.
60804 * elf/tst-audit2.c: Likewise.
60805 * elf/tst-tls10.c: Likewise.
60806 * elf/tst-tls10.h: Likewise.
60807 * elf/tst-tls11.c: Likewise.
60808 * elf/tst-tls12.c: Likewise.
60809 * elf/tst-tls14.c: Likewise.
60810 * elf/tst-tlsmod11.c: Likewise.
60811 * elf/tst-tlsmod12.c: Likewise.
60812 * elf/tst-tlsmod13.c: Likewise.
60813 * elf/tst-tlsmod13a.c: Likewise.
60814 * elf/tst-tlsmod14a.c: Likewise.
60815 * elf/tst-tlsmod15b.c: Likewise.
60816 * elf/tst-tlsmod16a.c: Likewise.
60817 * elf/tst-tlsmod16b.c: Likewise.
60818 * elf/tst-tlsmod7.c: Likewise.
60819 * elf/tst-tlsmod8.c: Likewise.
60820 * elf/tst-tlsmod9.c: Likewise.
60821 * gmon/gmon.c: Likewise.
60822 * grp/fgetgrent_r.c: Likewise.
60823 * grp/putgrent.c: Likewise.
60824 * hurd/fopenport.c: Likewise.
60825 * include/libc-symbols.h: Likewise.
60826 * include/tls.h: Likewise.
60827 * intl/gettextP.h: Likewise.
60828 * intl/loadinfo.h: Likewise.
60829 * locale/global-locale.c: Likewise.
60830 * locale/localeinfo.h: Likewise.
60831 * mach/devstream.c: Likewise.
60832 * malloc/arena.c: Likewise.
60833 * malloc/set-freeres.c: Likewise.
60834 * misc/err.c: Likewise.
60835 * misc/getttyent.c: Likewise.
60836 * misc/mntent_r.c: Likewise.
60837 * posix/getopt.c: Likewise.
60838 * posix/wordexp.c: Likewise.
60839 * pwd/fgetpwent_r.c: Likewise.
60840 * resolv/Versions: Likewise.
60841 * resolv/res_hconf.c: Likewise.
60842 * shadow/fgetspent_r.c: Likewise.
60843 * shadow/putspent.c: Likewise.
60844 * stdio-common/printf_fphex.c: Likewise.
60845 * stdio-common/tmpfile.c: Likewise.
60846 * stdlib/abort.c: Likewise.
60847 * stdlib/fmtmsg.c: Likewise.
60848 * sunrpc/auth_unix.c: Likewise.
60849 * sunrpc/clnt_perr.c: Likewise.
60850 * sunrpc/clnt_tcp.c: Likewise.
60851 * sunrpc/clnt_udp.c: Likewise.
60852 * sunrpc/clnt_unix.c: Likewise.
60853 * sunrpc/openchild.c: Likewise.
60854 * sunrpc/svc_simple.c: Likewise.
60855 * sunrpc/svc_tcp.c: Likewise.
60856 * sunrpc/svc_udp.c: Likewise.
60857 * sunrpc/svc_unix.c: Likewise.
60858 * sunrpc/xdr.c: Likewise.
60859 * sunrpc/xdr_array.c: Likewise.
60860 * sunrpc/xdr_rec.c: Likewise.
60861 * sunrpc/xdr_ref.c: Likewise.
60862 * sunrpc/xdr_stdio.c: Likewise.
60863
60864 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60865
60866 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60867
60868 2011-07-03 Andreas Jaeger <aj@suse.de>
60869
60870 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60871 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60872 regenerate with gen-libm-tests.pl.
60873
60874 2010-05-12 Petr Baudis <pasky@suse.cz>
60875
60876 [BZ #11589]
60877 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60878 around j0() zero points by switching to j1().
60879 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60880 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60882 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60883
60884 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60885
60886 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60887 instead of 0.
60888 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60889 instead of 0.
60890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60891 Patch in part by Pavel Roskin <proski@gnu.org>.
60892
60893 [BZ #13138]
60894 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60895 realloc.
60896 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
60897 Free memory block if necessary.
60898
60899 [BZ #12847]
60900 * libio/genops.c (INTDEF): For string streams the _lock pointer can
60901 be NULL. Don't lock in this case.
60902
60903 2011-09-09 Roland McGrath <roland@hack.frob.com>
60904
60905 * elf/elf.h (ELFOSABI_GNU): New macro.
60906 (ELFOSABI_LINUX): Define to that.
60907
60908 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
60909
60910 * string/strncat.c (strncat): Undef the symbol in case it has been
60911 defined in bits/string.h.
60912
60913 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60914
60915 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60916
60917 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60918 link map.
60919
60920 2011-08-17 Andreas Jaeger <aj@suse.de>
60921
60922 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60923
60924 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
60925 Ian Lance Taylor <iant@google.com>
60926
60927 * math/libm-test.inc (lround_test): New testcase.
60928 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60929
60930 2011-09-08 Ulrich Drepper <drepper@gmail.com>
60931
60932 * Makefile: Remove support for automatic cvs check-ins.
60933 * Makerules: Likewise.
60934 * config.make.in: Likewise.
60935 * configure.in: Likewise.
60936 * intl/Makefile: Likewise.
60937 * locale/Makefile: Likewise.
60938 * po/Makefile: Likewise.
60939 * posix/Makefile: Likewise.
60940 * sysdeps/gnu/Makefile: Likewise.
60941 * sysdeps/mach/hurd/Makefile: Likewise.
60942 * sysdeps/sparc/sparc32/Makefile: Likewise.
60943
60944 [BZ #13118]
60945 * posix/Makefile (bug-regex32-ENV): Define.
60946 Patch by John Stanley <jpsinthemix@verizon.net>.
60947
60948 * misc/Makefile (headers): Add bits/select2.h.
60949 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60950 * misc/bits/select2.h: New file.
60951 * include/bits/select2.h: New file.
60952 * debug/Makefile (routines): Add fdelt_chk.
60953 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60954 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60955 FD_ISSET.
60956 * debug/fdelt_chk.c: New file.
60957
60958 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
60959 * wcsmbs/test-wmemcmp.c: Likewise.
60960 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60961 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60962
60963 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60964
60965 * string/Makefile (strop-tests): Add memcmp.
60966 * string/test-wmemcmp.c: New file.
60967 * string/test-memcmp.c: Add wmemcmp support.
60968
60969 2011-09-08 Roland McGrath <roland@hack.frob.com>
60970
60971 [BZ #13153]
60972 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60973 2011-07-19 change.
60974
60975 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60976 garbage value in a __mach_port_mod_refs call in the cases of the
60977 task-self and thread-self ports.
60978
60979 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60980
60981 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60982
60983 2011-09-08 Andreas Schwab <schwab@redhat.com>
60984
60985 * elf/dl-load.c (lose): Check for non-null L.
60986
60987 2011-09-07 Ulrich Drepper <drepper@gmail.com>
60988
60989 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60990
60991 * elf/dl-libc.c (dlerror_run): Pass back error code from
60992 dl_catch_error.
60993
60994 [BZ #13123]
60995 * elf/dl-load.c (lose): Free l_origin if it is valid.
60996
60997 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60998 names.
60999 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61000 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61001 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61002 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61003 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61004 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61005
61006 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61007
61008 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61009 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61010 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61011 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61012 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61013 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61014 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61015 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61016 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61017 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61018
61019 2011-08-15 Alan Modra <amodra@gmail.com>
61020
61021 [BZ #13092]
61022 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61023 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61024 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61025 ppc_mcount to static-only-routines.
61026 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61027 __mcount_internal.
61028 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61029 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61030
61031 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61032
61033 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61034 for finite and infinity parameters.
61035
61036 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61037
61038 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61039 and add nop instructions for throughput optimization.
61040 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61041
61042 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61043
61044 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61045 aligned copy for power7 with vector-scalar instructions.
61046 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61047
61048 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61049
61050 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61051 AVX check.
61052
61053 2011-09-07 Andreas Schwab <schwab@redhat.com>
61054
61055 [BZ #13144]
61056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61057 last change.
61058
61059 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61060
61061 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61062 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61063 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61064 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61065 clock_gettime.
61066
61067 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61068
61069 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61070 Forgot to demangle the pointer.
61071
61072 * sysdeps/i386/sysdep.h: Define atom_text_section.
61073 * sysdeps/x86_64/sysdep.h: Likewise.
61074 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61075 section with atom_text_section.
61076 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61077 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61078 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61079 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61080 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61081
61082 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61083 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61084 already be defined. Change to take two parameters and don't assign
61085 result to variable. Adjust all users.
61086 Define INTERNAL_GETTIME if not already defined.
61087 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61088 call.
61089 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61090 HAVE_CLOCK_GETTIME_VSYSCALL.
61091 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61092
61093 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61094 gettimeofday vsyscall, just use time.
61095
61096 2011-09-06 Andreas Schwab <schwab@redhat.com>
61097
61098 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61099 <errno.h>.
61100
61101 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61102
61103 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61104 syscall on x86-64.
61105 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61106 syscall.
61107 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61108 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61109 syscall if possible.
61110
61111 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61112
61113 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61114 e_ident. Don't pass to find_mapsXX.
61115 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61116
61117 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61118
61119 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61120 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61121 * sysdeps/x86_64/multiarch/strchr.S: Update.
61122 Check bit_slow_BSF bit.
61123 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61124 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61125 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61126
61127 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61128
61129 [BZ #13134]
61130 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61131 before glibc 2.15.
61132 (tryshell): Define.
61133 (__spawni): Change last parameter to be flag. Test
61134 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61135 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61136 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61137 * posix/spawni.c: Likewise.
61138 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61139 * posix/spawnp.c: Likewise. Change normal version to use
61140 SPAWN_XFLAGS_USE_PATH.
61141 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61142 SPAWN_XFLAGS_TRY_SHELL.
61143
61144 [BZ #13150]
61145 * posix/glob.h: Remove gcc 1.x support.
61146
61147 [BZ #13068]
61148 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61149
61150 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61151
61152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61153 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61154 strrchr-sse2-bsf
61155 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61156 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61157 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61158 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61159 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61160 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61161
61162 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61163
61164 * sysdeps/x86_64/wcscmp.S: New file.
61165
61166 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61167 wcscmp-c wcscmp-sse2
61168 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61169 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61170 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61171 * wcsmbs/wcscmp.c: Allow renaming.
61172
61173 2011-09-05 David S. Miller <davem@davemloft.net>
61174
61175 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61176 stack slot, rather than the struct return pointer slot.
61177 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61178 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61180 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61181
61182 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61183
61184 * po/ja.po: Update from translation team.
61185
61186 [BZ #13144]
61187 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61188 kernel in 64-bit binaries.
61189
61190 2011-09-01 David S. Miller <davem@davemloft.net>
61191
61192 * elf/elf.h (HWCAP_SPARC_*): Move to..
61193 * sysdeps/sparc/sysdep.h: this new file and add new values.
61194 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61195 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61196 _DL_HWCAP_COUNT to 24.
61197 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61198 entries.
61199 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61200 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61201 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61202 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61203 instead of magic constants.
61204 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61205
61206 2011-08-31 David S. Miller <davem@davemloft.net>
61207
61208 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61210 Reimplement to do errno handling inline.
61211 (SYSCALL_ERROR_HANDLER): New macro.
61212 (__SYSCALL_STRING): Do not do errno handling in asm.
61213 (__CLONE_SYSCALL_STRING): Delete.
61214 (__INTERNAL_SYSCALL_STRING): Delete.
61215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61216 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61217 (PSEUDO): Reimplement to do errno handling inline.
61218 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61219 (SYSCALL_ERROR_HANDLER): New macro.
61220 (__SYSCALL_STRING): Do not do errno handling in asm.
61221 (__CLONE_SYSCALL_STRING): Delete.
61222 (__INTERNAL_SYSCALL_STRING): Delete.
61223 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61224 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61225 i386.
61226 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61227 (inline_syscall*): Add 'err' argument.
61228 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61229 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61230 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61231 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61232
61233 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61234 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61235
61236 2011-08-30 Andreas Schwab <schwab@redhat.com>
61237
61238 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61239
61240 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61241
61242 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61243 directive.
61244
61245 2011-08-24 David S. Miller <davem@davemloft.net>
61246
61247 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61248
61249 2011-08-24 Andreas Schwab <schwab@redhat.com>
61250
61251 * elf/Makefile: Add rules to build and run unload8 test.
61252 * elf/unload8.c: New file.
61253 * elf/unload8mod1.c: New file.
61254 * elf/unload8mod1x.c: New file.
61255 * elf/unload8mod2.c: New file.
61256 * elf/unload8mod3.c: New file.
61257
61258 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61259 it wasn't used.
61260
61261 2011-08-23 David S. Miller <davem@davemloft.net>
61262
61263 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61264 subtract stack bias.
61265 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61266 %sp not %fp in calculations.
61267 (_JMPBUF_UNWINDS_ADJ): Likewise.
61268
61269 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61270 (aio_suspend): Call it to force an exception region around the
61271 AIO_MISC_WAIT() invocation.
61272
61273 2011-08-23 Andreas Schwab <schwab@redhat.com>
61274
61275 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61276 backslash.
61277
61278 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61279
61280 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61281 protection macro.
61282 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61283 and <dl-machine.h>.
61284 (Elf64_FuncDesc): Remove.
61285
61286 2011-08-22 David S. Miller <davem@davemloft.net>
61287
61288 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61289 sigaltstack check, add missing cfi directives.
61290 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61291 missing cfi directives, and sigaltstack handling.
61292
61293 2011-08-16 Andreas Schwab <schwab@redhat.com>
61294
61295 [BZ #11724]
61296 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61297 object is seen twice.
61298 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61299
61300 * elf/Makefile (distribute): Add tst-initorder2.c.
61301 (tests): Add tst-initorder2.
61302 (modules-names): Add tst-initorder2a tst-initorder2b
61303 tst-initorder2c tst-initorder2d. Add rules to build them.
61304 ($(objpfx)tst-initorder2.out): New rule.
61305 * elf/tst-initorder2.c: New file.
61306 * elf/tst-initorder2.exp: New file.
61307
61308 2011-08-22 Andreas Schwab <schwab@redhat.com>
61309
61310 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61311
61312 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61313 dependencies back to end of function.
61314
61315 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61316 $(elfobjdir)/ld.so.
61317
61318 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61319
61320 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61321 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61322 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61323 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61324 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61325 of __vdso_gettimeofday.
61326 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61327 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61328 attribute_hidden.
61329 (_libc_vdso_platform_setup): Remove initialization of
61330 __vdso_gettimeofday and __vdso_time.
61331
61332 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61333
61334 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61335 and fgetc_unlocked.
61336 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61337 getc_unlocked.
61338
61339 * elf/dl-open.c (add_to_global): Report additions to the global scope
61340 for LD_DEBUG=scopes.
61341 (dl_open_worker): Also print scope of newly loaded dependencies.
61342 (_dl_show_scope): Indicate if there is no scope.
61343
61344 [BZ #13114]
61345 * stdio-common/Makefile (tests): Add bug24.
61346 * stdio-common/bug24.c: New file.
61347
61348 2011-08-19 Andreas Jaeger <aj@suse.de>
61349
61350 [BZ #13114]
61351 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61352 non-existant file when using close-on-exec mode.
61353
61354 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61355
61356 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61357 the very first instruction.
61358
61359 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61360 the CFI state in the end.
61361 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61362 inclusion of dl-trampoline.h.
61363 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61364
61365 2011-08-19 Andreas Schwab <schwab@redhat.com>
61366
61367 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61368 expectations for long double.
61369
61370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61371 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61372
61373 2011-08-14 David S. Miller <davem@davemloft.net>
61374
61375 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61376 artificual limit depends upon the system page size.
61377
61378 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61379
61380 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61381 * resolv/Makefile: Define CFLAGS-libresolv.
61382
61383 2011-08-17 Andreas Schwab <schwab@redhat.com>
61384
61385 * nss/makedb.c (compute_tables): Make variables used in nested
61386 function static.
61387
61388 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61389
61390 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61391 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61392 if buffer was too small.
61393
61394 * elf/pldd.c (main): Attach to all threads in the process.
61395 Rewrite /proc handling to use *at functions.
61396
61397 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61398
61399 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61400 specifies first scope to show.
61401 (dl_open_worker): Update callers. Move printing scope of new
61402 object to before the relocation.
61403 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61404 * sysdeps/generic/ldsodefs.h: Update declaration.
61405
61406 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61407 string for the scope number.
61408
61409 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61410
61411 * nscd/servicescache.c (cache_addserv): Make sure written is always
61412 initialized.
61413
61414 2011-08-14 Roland McGrath <roland@hack.frob.com>
61415
61416 * sysdeps/i386/i486/bits/atomic.h
61417 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61418 statement expression, so as to suppress "set but not used" warning.
61419 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61420
61421 * string/strncat.c (STRNCAT): Use prototype definition.
61422
61423 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61424 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61425 -Iprograms here.
61426 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61427 (localedef-modules): Add localedef.
61428 (locale-modules): Add locale.
61429
61430 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61431 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61432 to avoid a warning.
61433
61434 2011-08-14 David S. Miller <davem@davemloft.net>
61435
61436 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61437 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61438
61439 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61440
61441 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61442 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61443 * elf/rtld.c (dl_main): Set l_name of vDSO.
61444 Call _dl_show_scope when DL_DEBUG_SCOPES.
61445 (process_dl_debug): Recognize scopes flag and also set it for all.
61446 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61447 Declare _dl_show_scope.
61448
61449 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61450 (do_dlopen): Pass caller_dlopen to dl_open.
61451 (__libc_dlopen_mode): Initialize caller_dlopen.
61452
61453 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61454 of libc. Make tolower call locale-independent. Optimize a bit by
61455 using isdigit instead of isalnum.
61456 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61457
61458 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61459
61460 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61461 was a dependency or dynamically loaded.
61462
61463 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61464
61465 * intl/l10nflist.c: Allow architecture-specific pop function.
61466 * sysdeps/x86_64/l10nflist.c: New file.
61467
61468 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61469 classification.
61470
61471 2011-08-10 Andreas Schwab <schwab@redhat.com>
61472
61473 * include/dirent.h: Add libc_hidden_proto for scandirat and
61474 scandirat64. Don't declare __scandirat64.
61475 * dirent/scandirat.c: Add libc_hidden_def.
61476 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61477 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61478
61479 2011-08-10 David S. Miller <davem@davemloft.net>
61480
61481 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61482 enum.
61483 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61484 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61485 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61486
61487 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61488
61489 * Versions.def [libc]: Add GLIBC_2.15.
61490 * dirent/Makefile (routines): Add scandirat and scandirat64.
61491 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61492 GLIBC_2.15.
61493 * dirent/dirent.h: Declare scandirat and scandirat64.
61494 * dirent/scandirat.c: New file.
61495 * dirent/scandirat64.c: New file.
61496 * sysdeps/wordsize-64/scandirat.c: New file.
61497 * sysdeps/wordsize-64/scandirat64.c: New file.
61498 * dirent/opendir.c: Define opendirat.
61499 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61500 using scandirat.
61501 * dirent/scandir64.c: Adjust for scandir.c change.
61502 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61503 __scandirat64, and __scandir_cancel_handler.
61504 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61505 additional parameter and use openat instead of open (outside of ld.so).
61506 Add new __opendir as wrapper around __opendirat.
61507 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61508 here without requiring old scandirat implementation.
61509
61510 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61511
61512 * dirent/scandir.c (cancel_handler): Renamed to
61513 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61514 defined. Adjust users.
61515 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61516 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61517
61518 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61519
61520 * string/test-string.h (IMPL): Use __STRING to expand name and then
61521 stringify it.
61522
61523 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61524 of cleanups.
61525
61526 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61527
61528 * string/Makefile: Update.
61529 (strop-tests): Append strncat.
61530 * string/test-wcscmp.c: New file.
61531 New comprehensive test for wcscmp.
61532 * string/test-strcmp.c: Update.
61533 (WIDE): New define.
61534
61535 2011-07-22 Andreas Schwab <schwab@redhat.com>
61536
61537 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61538 line.
61539
61540 2011-07-26 Andreas Schwab <schwab@redhat.com>
61541
61542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61543 encoding to ACE if AI_IDN.
61544
61545 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61546
61547 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61548 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61549
61550 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61551
61552 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61553 Fix overflow bug in strncat.
61554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61555
61556 * string/test-strncat.c: Update.
61557 Add new tests for checking overflow bugs.
61558
61559 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61560
61561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61562 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61563 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61564 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61565 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61566 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61567 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61568 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61569 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61570
61571 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61572 (USE_AS_STRCAT): Define.
61573 Add strcat and strncat support.
61574 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61575
61576 2011-07-25 Andreas Schwab <schwab@redhat.com>
61577
61578 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61579 __n bigger than INT_MAX+1.
61580 (__strncmp_g): Likewise.
61581
61582 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61583
61584 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61585 * libio/stido.h: Likewise.
61586
61587 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61588 (AF_NFC): Define.
61589 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61590 (AF_NFC): Define.
61591
61592 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61593 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61594 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61595 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61596 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61597
61598 [BZ #13021]
61599 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61600 installed.
61601
61602 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61603 typo.
61604 (_dl_x86_64_save_sse): Likewise.
61605
61606 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61607
61608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61609 OSXSAVE.
61610 (_dl_x86_64_save_sse): Likewise.
61611
61612 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61613
61614 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61615
61616 2011-07-21 Andreas Schwab <schwab@redhat.com>
61617
61618 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61619 change.
61620 (_dl_x86_64_save_sse): Use correct AVX check.
61621
61622 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61623
61624 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61625 bug in strncpy/strncat.
61626 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61627
61628 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61629
61630 * string/tester.c (test_strcat): Add tests for different alignments
61631 of source and destination.
61632 (test_strncat): Likewise.
61633
61634 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61635
61636 [BZ #12852]
61637 * posix/glob.c (glob): Check passed in values before using them in
61638 expressions to avoid some overflows.
61639 (glob_in_dir): Likewise.
61640
61641 [BZ #13007]
61642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61643 check for AVX enablement so that we don't crash with old kernels and
61644 new hardware.
61645 * elf/tst-audit4.c: Add same checks here.
61646 * elf/tst-audit6.c: Likewise.
61647
61648 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61649
61650 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61651
61652 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61653
61654 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61655
61656 * po/cs.po: Update from translation team.
61657 * po/bg.po: Likewise.
61658
61659 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61660
61661 * misc/sys/cdefs.h: Add support for const attribute.
61662 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61663 to gnu_dev_{major,minor,makedev} functions.
61664
61665 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61666
61667 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61668
61669 2011-07-20 Andreas Schwab <schwab@redhat.com>
61670
61671 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61672 strlen results.
61673
61674 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61675
61676 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61677 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61678 register in order to avoid conflicts with the soft frame pointer
61679 being held in r11 when necessary.
61680 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61681 (INTERNAL_VSYSCALL_NCS): Likewise.
61682
61683 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61684
61685 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61686 * elf/dl-fini.c (_dl_fini): Adjust caller.
61687 * elf/dl-close.c (_dl_close_worker): Likewise.
61688 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61689
61690 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61691
61692 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61693 "aux_cache->nlibs < 0".
61694
61695 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61696 in the reload-count case.
61697
61698 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61699
61700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61701 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61702 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61703 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61704 * sysdeps/x86_64/multiarch/strcat.S: New file.
61705 * sysdeps/x86_64/multiarch/strncat.S: New file.
61706 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61707 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61708 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61709 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61710 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61711 (USE_AS_STRCAT): Define.
61712 Add strcat and strncat support.
61713 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61714 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61715 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61716 * string/strncat.c: Update.
61717 (USE_AS_STRNCAT): Define.
61718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61719 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61720 and i7.
61721 * sysdeps/x86_64/multiarch/init-arch.h
61722 (bit_Prefer_PMINUB_for_stringop): New.
61723 (index_Prefer_PMINUB_for_stringop): Likewise.
61724 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61725 bit_Prefer_PMINUB_for_stringop.
61726
61727 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61728
61729 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61730 buffer64.
61731 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61732 of casting of buffer.
61733 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61734 buffer32 and buffer64.
61735 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61736 writes instead of casting of buffer.
61737 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61738 buffer32.
61739 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61740 casting of buffer.
61741
61742 2011-07-19 Andreas Schwab <schwab@redhat.com>
61743
61744 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61745
61746 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61747
61748 * nscd/nscd.c (termination_handler): Don't do anything for a database
61749 if it has not yet been initialized.
61750
61751 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61752
61753 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61754
61755 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61756
61757 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61758
61759 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61760
61761 * po/nl.po: Update from translation team.
61762 * po/sv.po: Likewise.
61763
61764 2011-07-16 Roland McGrath <roland@hack.frob.com>
61765
61766 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61767 now disallowed by GCC.
61768
61769 * configure.in (use-default-link): Default to yes if a test -shared
61770 link meets our qualifications.
61771 * configure: Regenerated.
61772
61773 * config.make.in (output-format): New variable.
61774 * configure.in: Check for ld --print-output-format support.
61775 * configure: Regenerated.
61776 * Makerules ($(common-objpfx)format.lds)
61777 [$(output-format) != unknown]: Just use $(output-format),
61778 instead of the linker-script munging.
61779
61780 2011-07-14 Roland McGrath <roland@hack.frob.com>
61781
61782 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61783 of $(common-objpfx)shlib.lds.
61784 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61785
61786 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61787 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61788
61789 * configure.in (-z relro check): Adjust test code to add a large
61790 writable data section after it.
61791 * configure: Regenerated.
61792
61793 2011-07-11 Roland McGrath <roland@hack.frob.com>
61794
61795 * configure.in (-z relro check): Fix test code to make the variable
61796 truly const.
61797 * configure: Regenerated.
61798
61799 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61800
61801 * nscd/nscd.h (struct traced_file): Define.
61802 (struct database_dyn): Remove inotify_descr, reset_res, and filename
61803 elements. Add traced_files.
61804 (inotify_fd): Declare.
61805 (register_traced_file): Declare.
61806 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61807 (inotify_fd): Export.
61808 (resolv_conf_descr): Remove.
61809 (nscd_init): Move inotify descriptor creation to main.
61810 Don't register files for notification here.
61811 (register_traced_file): New function.
61812 (invalidate_cache): Don't use reset_res to determine whether to call
61813 res_init, go through the list of registered files.
61814 (main_loop_poll): The inotify descriptors are now stored in the
61815 structures for the traced files.
61816 (main_loop_epoll): Likewise
61817 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
61818 to __nss_disable_nscd.
61819 * nscd/cache.c (prune_cache): There is no single inotify descriptor
61820 for a database anymore. Check the records for all the registered
61821 files instead.
61822 * nss/Makefile (libnss_files-routines): Add files-init.
61823 (libnss_db-routines): Add db-init.
61824 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61825 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61826 * nss/nss_db/db-init.c: New file.
61827 * nss/nss_files/files-init.c: New file.
61828 * nss/nsswitch.c (nss_load_library): New function. Broken out of
61829 __nss_lookup_function.
61830 (__nss_lookup_function): Call nss_load_library.
61831 (nss_load_all_libraries): New function.
61832 (__nss_disable_nscd): Take parameter with callback function for files
61833 to register. Set is_nscd. Load all the DSOs for the NSS modules
61834 used for the cached services.
61835 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61836 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61837 options for features to all the files in nscd.
61838
61839 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61840
61841 2011-07-10 Roland McGrath <roland@hack.frob.com>
61842
61843 * csu/elf-init.c (__libc_csu_init): Comment typo.
61844
61845 2011-07-09 Ulrich Drepper <drepper@gmail.com>
61846
61847 * po/pl.po: Update from translation team.
61848 * po/ja.po: Likewise.
61849 * po/ru.po: Likewise.
61850 * po/ko.po: Likewise.
61851 * po/fr.po: Likewise.
61852
61853 2011-07-09 Roland McGrath <roland@hack.frob.com>
61854
61855 * configure.in (.ctors/.dtors header and trailer check):
61856 Use an empirical test on a built program.
61857 * configure: Regenerated.
61858
61859 * configure.in (-z relro check): Use an empirical test on a built DSO.
61860 Detect, but do not require, on ia64.
61861 * configure: Regenerated.
61862
61863 * configure.in (READELF): Find it with AC_CHECK_TOOL.
61864 Update tests that use readelf to use $READELF instead.
61865 * configure: Regenerated.
61866
61867 2011-07-08 Ulrich Drepper <drepper@gmail.com>
61868
61869 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61870 if the result is not used.
61871
61872 2011-07-05 Andreas Jaeger <aj@suse.de>
61873
61874 [BZ#9696]
61875 * stdlib/tst-strtod.c: Add testcase.
61876
61877 2011-07-07 Ulrich Drepper <drepper@gmail.com>
61878
61879 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61880 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61881 The latter has a higher limit. Take additional parameter to pass to
61882 the new function.
61883 (__pathconf): Pass file to __statfs_link_max.
61884 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61885 __statfs_link_max.
61886 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61887 __statfs_link_max.
61888
61889 [BZ #12868]
61890 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61891 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61892 Handle Lustre.
61893 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61894 (__statfs_filesize_max): Likewise.
61895 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61896
61897 2011-07-05 Andreas Jaeger <aj@suse.de>
61898
61899 * resolv/res_comp.c (dn_skipname): Remove unused variable.
61900
61901 2011-07-06 Marek Polacek <mpolacek@redhat.com>
61902
61903 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61904 `status' variable.
61905 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61906 Likewise.
61907
61908 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
61909
61910 * Makefile (strop-tests): Add strncat.
61911 * string/test-strncat.c: New file.
61912
61913 2011-06-30 Marek Polacek <mpolacek@redhat.com>
61914
61915 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61916
61917 2011-06-21 Andreas Jaeger <aj@suse.de>
61918
61919 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61920 Copy rule from iconvdata/Makefile.
61921
61922 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61923
61924 [BZ #12922]
61925 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61926 but no long options are defined, just return 'W'.
61927
61928 2011-06-22 Marek Polacek <mpolacek@redhat.com>
61929
61930 [BZ #9696]
61931 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61932
61933 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61934
61935 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61936 netgroups to read.
61937 (innetgr): Likewise.
61938
61939 2011-07-05 Roland McGrath <roland@hack.frob.com>
61940
61941 * config.make.in (install_root): Default to $(DESTDIR).
61942
61943 2011-07-05 Ulrich Drepper <drepper@gmail.com>
61944
61945 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61946
61947 2011-07-02 Roland McGrath <roland@hack.frob.com>
61948
61949 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61950
61951 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61952 containing directory rather than embedding absolute directory names.
61953
61954 * scripts/check-local-headers.sh: Rewritten using awk.
61955 Match by word, not by line. Print error messages for matches.
61956 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61957
61958 * Makerules [shlib-lds-flags empty]:
61959 ($(common-objpfx)libc_pic.opts): New target.
61960 ($(common-objpfx)libc_pic.os.clean): New target.
61961 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61962
61963 * config.make.in (OBJCOPY): New variable.
61964 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61965 * configure: Regenerated.
61966
61967 * config.make.in (use-default-link): New variable.
61968 * configure.in (use_default_link): Grok --with-default-link to set it.
61969 * configure: Regenerated.
61970 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61971 (shlib-lds, shlib-lds-flags): Define to empty.
61972
61973 * Makerules (shlib-lds): New variable.
61974 (shlib-lds-flags): New variable.
61975 (build-shlib, build-moduile, build-module-asneeded): Use it.
61976 ($(common-objpfx)libc.so): Use $(shlib-lds).
61977 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61978 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61979
61980 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61981 DT_FLAGS/DT_FLAGS_1 with zero flags.
61982
61983 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61984 linker script munging.
61985
61986 2011-07-02 Ulrich Drepper <drepper@gmail.com>
61987
61988 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61989 as 128-bit value.
61990 * crypt/sha512.c (sha512_process_block): Perform total addition using
61991 128-bit if possible.
61992 (__sha512_finish_ctx): Likewise.
61993 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61994 as 64-bit value.
61995 * crypt/sha256.c (SWAP64): Define.
61996 (sha256_process_block): Perform total addition using 64-bit if
61997 possible.
61998 (__sha256_finish_ctx): Likewise.
61999
62000 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62001
62002 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62004 * nscd/hstcache.c (cache_addhst): Likewise.
62005 * nscd/grpcache.c (cache_addgr): Likewise.
62006 * nscd/aicache.c (addhstaiX): Likewise
62007 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62008
62009 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62010
62011 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62012 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62013 * nscd/hstcache.c (cache_addhst): Likewise.
62014 * nscd/grpcache.c (cache_addgr): Likewise.
62015 * nscd/aicache.c (addhstaiX): Likewise
62016
62017 2011-07-01 Andreas Schwab <schwab@redhat.com>
62018
62019 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62020 domain only when needed.
62021
62022 2011-06-30 Andreas Schwab <schwab@redhat.com>
62023
62024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62025 is always restored.
62026
62027 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62028
62029 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62030 are re-adding the entry.
62031 * nscd/servicescache.c (cache_addserv): Likewise.
62032
62033 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62034
62035 * sysdeps/generic/dl-irel.h: fix protection against multiple
62036 inclusions.
62037 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62038
62039 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62040
62041 [BZ #12935]
62042 * malloc/memusage.sh: Fix quoting in message.
62043 * debug/xtrace.sh: Likewise.
62044
62045 * configure.in: Remove support for --experimental-malloc option, make
62046 it the default.
62047 * config.make.in: Likewise.
62048 * malloc/Makefile: Likewise.
62049
62050 2011-06-27 Andreas Schwab <schwab@redhat.com>
62051
62052 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62053 two-byte characters.
62054
62055 2011-06-27 Roland McGrath <roland@hack.frob.com>
62056
62057 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62058 AC_CACHE_CHECK invocation.
62059 * configure: Regenerated.
62060
62061 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62062
62063 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62064
62065 [BZ #12350]
62066 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62067 bit from old_res_options.
62068
62069 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62070
62071 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62072 value type for setfct.
62073
62074 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62075
62076 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62077 __gettimeofday instead of gettimeofday.
62078
62079 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62080
62081 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62082
62083 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62084
62085 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62086
62087 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62088 info.
62089
62090 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62091
62092 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62093 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62094 strcpy-sse2-unaligned strncpy-sse2-unaligned
62095 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62096 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62097 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62098 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62099 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62100 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62101 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62102 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62103 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62104 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62105 (STRCPY): Support SSE2 and SSSE3 versions.
62106
62107 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62108
62109 [BZ #12874]
62110 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62111 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62112 kernels which artificially limit size of requests.
62113
62114 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62115
62116 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62117 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62118 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62119 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62120 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62121 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62122 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62123 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62124 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62125 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62126 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62127 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62128 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62129 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62130 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62132 Enable unaligned load optimization for Intel Core i3, i5 and i7
62133 processors.
62134 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62135 Define.
62136 (index_Fast_Unaligned_Load): Define.
62137 (HAS_FAST_UNALIGNED_LOAD): Define.
62138
62139 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62140
62141 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62142
62143 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62144
62145 [BZ #12907]
62146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62147 until it is clear that the information is realy needed.
62148 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62149
62150 2011-06-22 Andreas Schwab <schwab@redhat.com>
62151
62152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62153
62154 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62155
62156 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62157 /sys/devices/system/cpu/online if it is usable.
62158
62159 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62160 reading the information from the /proc filesystem to once a second.
62161
62162 2011-06-21 Andreas Jaeger <aj@suse.de>
62163
62164 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62165 NULL after inclusion of kernel headers.
62166
62167 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62168
62169 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62170 calls to internal_setent.
62171
62172 [BZ #12885]
62173 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62174 addresses using gethostbyname4_r ignore IPv4 addresses.
62175
62176 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62177 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62178
62179 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62180
62181 2011-06-20 David S. Miller <davem@davemloft.net>
62182
62183 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62184 inclusions.
62185 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62186
62187 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62188 (elf_irel): Use it.
62189 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62190 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62191 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62192 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62193 * sysdeps/x86_64/dl-irel.h: Likewise.
62194
62195 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62196 * elf/dl-sym.c: Likewise.
62197
62198 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62199
62200 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62201 need to dereference resplen2.
62202
62203 2011-06-14 Andreas Schwab <schwab@redhat.com>
62204
62205 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62206
62207 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62208
62209 * Makeconfig: Define vardbdir and inst_vardbdir.
62210 * nss/Makefile: Add rules to install db-Makefile.
62211
62212 * nss/nss_db/db-XXX.c: Cleanup.
62213
62214 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62215 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62216 GLIBC_PRIVATE.
62217 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62218 * nss/makedb.c: Implement -g option to specify that value strings
62219 are generated and should not be added to table iterated over for
62220 get*ent calls.
62221 * nss/nss_db/db-initgroups.c: New file.
62222
62223 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62224 interface.
62225
62226 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62227 (internal_getgrouplist): Adjust to name change.
62228 Update use_initgroups_entry if this is not the first call.
62229 * nss/databases.def: Add initgroups entry.
62230
62231 * nss/makedb.c (compute_tables): Check result of multiple hash table
62232 sizes to minimize maximum chain length.
62233
62234 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62235
62236 * Versions.def: Add entry for libnss_db.
62237 * shlib-versions: Likewise.
62238 * nss/Makefile: Add rules to build libnss_db.
62239 * nss/Versions: Add libnss_db information. Organize libnss_files
62240 entries better.
62241 * nss/db-Makefile: Add gshadow support. Change rules for the new
62242 makedb progra. Some minor improvements to generate smaller files.
62243 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62244 here from...
62245 * nss/makedb.c: ...here.
62246 Improve database format to be smaller and require less memory at
62247 runtime.
62248 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62249 db anymore.
62250 * nss/nss_db/db-netgrp.c: Likewise.
62251 * nss/nss_db/db-open.c: Likewise.
62252 * nss/nss_files/flies-XXX.x: Adjust comments.
62253 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62254 * nss/nss_files/files-grp.c: Likewise.
62255 * nss/nss_files/files-hosts.c: Likewise.
62256 * nss/nss_files/files-network.c: Likewise.
62257 * nss/nss_files/files-proto.c: Likewise.
62258 * nss/nss_files/files-pwd.c: Likewise.
62259 * nss/nss_files/files-rpc.c: Likewise.
62260 * nss/nss_files/files-service.c: Likewise.
62261 * nss/nss_files/files-sgrp.c: Likewise.
62262 * nss/nss_files/files-spwd.c: Likewise.
62263 * nss/nss_db/db-alias.c: Removed.
62264 * nss/nss_db/dummy-db.h: Removed.
62265
62266 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62267
62268 * nss/makedb.c: Rewritten to not use database library.
62269 * nss/Makefile: Update to build new makedb program.
62270
62271 2011-06-14 Andreas Jaeger <aj@suse.de>
62272
62273 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62274 memset declaration.
62275
62276 2011-06-10 Andreas Schwab <schwab@redhat.com>
62277
62278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62279 tmpbuf.
62280
62281 2011-06-10 Roland McGrath <roland@hack.frob.com>
62282
62283 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62284 * elf/Makefile ($(objpfx)ld.so): Likewise.
62285
62286 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62287 Don't list ld.so twice in dependencies.
62288
62289 * posix/bug-regex31.c: Include <stdlib.h>.
62290
62291 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62292
62293 * nis/nss_compat/compat-spwd.c
62294 (getspent_next_nss_netgr): Remove unused variable.
62295 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62296
62297 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62298 nonmembers" output to use the right array.
62299
62300 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62301
62302 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62303
62304 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62305 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62306 * catgets/gencat.c (read_input_file): Likewise.
62307 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62308
62309 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62310 variable definition inside #if's controlling its use.
62311
62312 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62313
62314 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62315
62316 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62317
62318 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62319 unreachable code.
62320
62321 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62322
62323 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62324 * configure: Regenerated.
62325
62326 * Makerules: Revert last change.
62327 * elf/Makefile: Likewise.
62328
62329 2011-06-09 Roland McGrath <roland@hack.frob.com>
62330
62331 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62332 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62333 (reloc-link): Likewise.
62334
62335 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62336
62337 * elf/Makefile: Add rules to build pldd.
62338 * elf/pldd.c: New file.
62339 * elf/pldd-xx.c: New file.
62340
62341 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62342
62343 * version.h: Update for 2.15 development version.
62344
62345 2011-06-07 David S. Miller <davem@davemloft.net>
62346
62347 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62348 ifuncs.
62349 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62350 elf_machine_lazy_rel): Likewise.
62351 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62352 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62353 elf_machine_lazy_rel): Likewise.
62354 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62355 dl_hwcap via passed in argument.
62356 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62357 Likewise.
62358
62359 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62360
62361 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62362
62363 2011-06-06 Roland McGrath <roland@hack.frob.com>
62364
62365 [BZ #12849]
62366 * manual/fdl-1.1.texi: New file, verbatim from:
62367 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62368 * manual/lgpl-2.1.texi: New file, verbatim from:
62369 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62370 * manual/Makefile (licenses): New variable, list those new file names.
62371 (texis): Use it.
62372 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62373
62374 * manual/fdl.texi: File removed.
62375 * manual/lesser.texi: File removed.
62376 * manual/libc.texinfo (Copying, Documentation License):
62377 Use new @include file names, put @appendix directive before @include.
62378
62379 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62380
62381 [BZ #12841]
62382 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62383 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62384 (mq_open): Add __NTH.
62385
62386 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62387
62388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62389 Assume Intel Core i3/i5/i7 processor if AVX is available.
62390
62391 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62392
62393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62394 typo.
62395
62396 2011-05-31 Andreas Schwab <schwab@redhat.com>
62397
62398 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62399 memory. Use alloca_account. Fix memory leak when retrying.
62400
62401 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62402
62403 * version.h (RELEASE): Bump for 2.14 release.
62404 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62405
62406 * config.make.in (RANLIB): Remove entry.
62407
62408 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62409
62410 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62411 (libc.pot): Work around missing support for .ksh extension in xgettext.
62412
62413 [BZ #12684]
62414 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62415 if both request failed.
62416 (send_dg): In case of server errors clear resplen or *resplen2.
62417
62418 [BZ #12454]
62419 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62420 when there are multiple maps.
62421 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62422 (_dl_fini): Remove test here.
62423
62424 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62425
62426 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62427
62428 [BZ #12350]
62429 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62430 bit from old_res_options.
62431 (gaih_inet): Likewise.
62432
62433 [BZ #11099]
62434 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62435 as signed.
62436
62437 * resolv/res_init.c (res_setoptions): Make the code more compact.
62438
62439 [BZ #11558]
62440 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62441 set RES_USEVC.
62442
62443 [BZ #11634]
62444 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62445
62446 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62447
62448 [BZ #11781]
62449 * malloc/malloc.h: Declare malloc hook variables as volatile.
62450
62451 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62452 in last patch.
62453
62454 [BZ #11799]
62455 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62456 raise in the comment.
62457 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62458 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62459 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62460
62461 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62462
62463 [BZ #12811]
62464 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62465 grow the buffers more if it already has to be sufficient.
62466 (build_wcs_upper_buffer): Likewise.
62467 * posix/regexec.c (check_matching): Likewise.
62468 (clean_state_log_if_needed): Likewise.
62469 (extend_buffers): Don't enlarge buffers beyond size of the input
62470 buffer.
62471 Patches mostly by Emil Wojak <emil@wojak.eu>.
62472 * posix/bug-regex32.c: New file.
62473 * posix/Makefile (tests): Add bug-regex32.
62474
62475 * locale/findlocale.c (_nl_find_locale): Return right away if
62476 _nl_explode_name failed.
62477 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62478
62479 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62480
62481 * debug/xtrace.sh: Unify messages.
62482 * malloc/memusage.sh: Likewise.
62483
62484 [BZ #12813]
62485 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62486 time symbol from vDSO. Substitute with vsyscall if not available.
62487 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62488 __vdso_time.
62489
62490 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62491 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62492 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62493 Add sendmmsg and internal_sendmmsg.
62494 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62495 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62496 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62497
62498 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62499 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62500 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62501
62502 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62503
62504 [BZ #12813]
62505 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62506 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62507 available.
62508 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62509 __vdso_getcpu.
62510
62511 [BZ #12814]
62512 * iconvdata/Makefile (tests): Add bug-iconv9.
62513 * iconvdata/bug-iconv9.c: New file.
62514
62515 2011-05-27 Andreas Schwab <schwab@redhat.com>
62516
62517 [BZ #12814]
62518 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62519
62520 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62521
62522 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62523 (struct user_regs_struct): Change intcs field back to cs.
62524
62525 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62526
62527 * po/ja.po: Update from translation team.
62528
62529 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62530
62531 [BZ #12795]
62532 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62533 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62534
62535 2011-05-20 Andreas Schwab <schwab@redhat.com>
62536
62537 * stdlib/longlong.h: Update from GCC.
62538
62539 2011-05-23 Andreas Schwab <schwab@redhat.com>
62540
62541 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62542 parameter name.
62543 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62544 Add parameter name.
62545 (__sysconf): Pass it down.
62546
62547 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62548
62549 [BZ #12671]
62550 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62551 some situations.
62552 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62553 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62554 add in in __libc_use_alloca calls. Adjust callers.
62555 (glob): Use malloc in some situations.
62556
62557 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62558 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62559 pltexit.
62560
62561 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62562
62563 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62564 and CLOCK_BOOTTIME_ALARM.
62565
62566 [BZ #12782]
62567 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62568 is returned.
62569
62570 * string/_strerror.c (__strerror_r): Print negative errors as signed
62571 numbers.
62572
62573 [BZ #12777]
62574 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62575 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62576 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62577
62578 * configure.in: Fix typo in redirection and correct removal of test
62579 files in two cases.
62580
62581 [BZ #12788]
62582 * locale/setlocale.c (new_composite_name): Fix test to check for
62583 identical name of all categories.
62584
62585 [BZ #12792]
62586 * libio/filedoalloc.c (local_isatty): New function.
62587 (_IO_file_doallocate): Use local_isatty.
62588 * stdio-common/perror.c (perror): In case a new stream is used
62589 forward the stream error.
62590 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62591 error flag.
62592
62593 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62594
62595 [BZ #11869]
62596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62597 alloca.
62598 * include/alloca.h (extend_alloca_account): Define.
62599
62600 [BZ #11857]
62601 * posix/regex.h: Fix comments with documentation of user-accessible
62602 fields after compilation and describe correct free'ing of pattern
62603 after re_compile_pattern.
62604 Patch by Reuben Thomas <rrt@sc3d.org>.
62605
62606 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62607
62608 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62609 and -mno-altivec to prevent the compiler from using Altivec and/or
62610 VSX instructions when the corresponding registers are not available.
62611
62612 2011-05-19 Andreas Schwab <schwab@redhat.com>
62613
62614 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62615
62616 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62617
62618 * libio/freopen.c (freopen): Use __dup2, not dup2.
62619 * libio/freopen64.c (freopen64): Likewise.
62620
62621 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62622
62623 [BZ #12775]
62624 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62625 * math/Makefile (tests): Add test-powl.
62626 (CFLAGS-test-powl.c): Define.
62627 * math/test-powl.c: New file.
62628
62629 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62630
62631 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62632
62633 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62634
62635 [BZ #11837]
62636 * iconvdata/gb18030.c: Update to GB18020-2005.
62637
62638 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62639
62640 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62641 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62642 Patch by Aharon Robbins <arnold@skeeve.com>.
62643
62644 [BZ #11892]
62645 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62646 on the stack.
62647
62648 [BZ #11895]
62649 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62650 through underflows.
62651
62652 [BZ #12766]
62653 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62654 point to strings before performing equality test for error_one_per_line
62655 mode.
62656
62657 [BZ #11697]
62658 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62659
62660 [BZ #11820]
62661 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62662 (struct user_fpregs_struct): Avoid __uint*_t types.
62663
62664 [BZ #6420]
62665 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62666 symbol info. Use it instead of calling _dl_addr locally.
62667 (lock_and_info): New function.
62668 (tr_freehook): Call lock_and_info and pass symbol info as additional
62669 parameter to tr_where.
62670 (tr_mallochook): Likewise.
62671 (tr_reallochook): Likewise.
62672 (tr_memalignhook): Likewise.
62673
62674 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62675 used and couldn't be at all thread-safe.
62676
62677 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62678
62679 * libio/freopen.c (freopen): Don't close old file descriptor
62680 before the new one is opened. Instead dup the new file descriptor
62681 to the old one after the new stream is created.
62682 * libio/freopen64.c (freopen64): Likewise.
62683 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62684 * libio/fileops.c (_IO_new_file_close_it): Handle new
62685 _IO_FLAGS2_NOCLOSE flag.
62686 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62687 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62688 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62689 _IO_FLAGS2_NOCLOSE flag.
62690 * include/unistd.h: Add hidden_proto for dup3.
62691 Define __have_dup3.
62692 * io/dup3.c: Define hidden symbol.
62693 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62694
62695 [BZ #7101]
62696 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62697 when an incomplete long option is used.
62698 * posix/tst-getopt_long1.c: New file.
62699 * posix/Makefile (tests): Add tst-getopt_long1.
62700
62701 [BZ #10138]
62702 * scripts/config.guess: Update from autoconf-2.68.
62703 * scripts/config.sub: Likewise.
62704
62705 [BZ #10157]
62706 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62707 tests into ...
62708 (has_cpuclock): ...this. New function.
62709 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62710 macro here based on has_cpuclock code.
62711
62712 [BZ #10149]
62713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62714 First byte (not low byte) is now always NUL.
62715 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62716
62717 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62718 Use non-cancelable interfaces.
62719
62720 [BZ #9809]
62721 * locale/iso-639.def: Add entry for Sorani.
62722
62723 [BZ #11901]
62724 * include/stdlib.h: Move include protection to the right place.
62725 Define abort_msg_s. Declare __abort_msg with it.
62726 * stdlib/abort.c (__abort_msg): Adjust type.
62727 * assert/assert.c (__assert_fail_base): New function. Majority
62728 of code from __assert_fail. Allocate memory for __abort_msg with
62729 mmap.
62730 (__assert_fail): Now call __assert_fail_base.
62731 * assert/assert-perr.c: Remove bulk of implementation. Use
62732 __assert_fail_base.
62733 * include/assert.hL Declare __assert_fail_base.
62734 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62735 mmap.
62736 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62737
62738 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62739
62740 [BZ #11952]
62741 [BZ #12453]
62742 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62743 until all modules are registered in the DTV.
62744 * elf/Makefile: Add rules to build and run tst-tls19.
62745 * elf/tst-tls19.c: New file.
62746 * elf/tst-tls19mod1.c: New file.
62747 * elf/tst-tls19mod2.c: New file.
62748 * elf/tst-tls19mod3.c: New file.
62749 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62750
62751 [BZ #12083]
62752 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62753 correctly.
62754
62755 [BZ #12601]
62756 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62757 two-byte sequence errors.
62758 * iconvdata/Makefile (tests): Add bug-iconv8.
62759 * iconvdata/bug-iconv8.c: New file.
62760
62761 [BZ #12626]
62762 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62763 buf2 definition.
62764
62765 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62766
62767 [BZ #12432]
62768 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62769 (dummy_getcfa): New function.
62770 (init): Get _Unwind_GetCFA address, use dummy if not found.
62771 (backtrace_helper): In recursion check, also check whether CFA changes.
62772 (__backtrace): Completely initialize arg.
62773
62774 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62775 storing incomplete byte sequence in state object. Avoid testing for
62776 guaranteed too small input if we know there is enough data available.
62777
62778 2011-05-11 Andreas Schwab <schwab@redhat.com>
62779
62780 * Makeconfig (+link-pie): Indent.
62781 * Rules (binaries-pie): Define if $(have-fpie) and
62782 $(build-shared).
62783 (binaries-shared): Also filter out $(binaries-pie).
62784 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62785 * nscd/Makefile (others-pie): Add nscd.
62786 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62787 ($(objpfx)nscd): Remove command override.
62788 * login/Makefile (others-pie): Add pt_chown.
62789 ($(objpfx)pt_chown): Remove command override.
62790 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62791 remove command overrides.
62792
62793 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62794
62795 * libio/tst_putwc.c: Fix error messages.
62796
62797 [BZ #12724]
62798 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62799 currently writing and seek to current position when not.
62800 * libio/Makefile (tests): Add bug-fclose1.
62801 * libio/bug-fclose1.c: New file.
62802
62803 2011-05-12 Ulrich Drepper <drepper@gmail.com>
62804
62805 [BZ #12511]
62806 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62807 don't set DF_1_NODELETE here.
62808 (do_lookup_x): When entering new entry test for copy relocation
62809 and if necessary set DF_1_NODELETE flag.
62810 * elf/tst-unique4.cc: New file.
62811 * elf/tst-unique4.h: New file.
62812 * elf/tst-unique4lib.cc: New file.
62813 * elf/Makefile: Add rules to build and run tst-unique4.
62814 Patch by Piotr Bury <pbury@goahead.com>.
62815
62816 2011-05-11 Ulrich Drepper <drepper@gmail.com>
62817
62818 [BZ #12052]
62819 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62820
62821 [BZ #12625]
62822 * misc/mntent_r.c (addmntent): Flush the stream after the output
62823
62824 [BZ #12393]
62825 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62826 (is_trusted_path_normalize): Skip initial colon. Append slash
62827 to empty buffer. Duplicate is_trusted_path code but allow
62828 constructed patch to be prefix.
62829 (is_dst): Allow $ORIGIN followed by /.
62830 (_dl_dst_substitute): Correct clearing of check_for_trusted.
62831 Correct testing of result of is_trusted_path_normalize
62832 (decompose_rpath): Fix warning.
62833
62834 2011-05-10 Ulrich Drepper <drepper@gmail.com>
62835
62836 [BZ #11257]
62837 * grp/initgroups.c (internal_getgrouplist): When we found the service
62838 list through the initgroups entry in nsswitch.conf do not always
62839 continue on a successful lookup. Don't always use the
62840 __nss_group_database value if it is set.
62841 * nss/nsswitch.conf (initgroups): Change action for successful db
62842 lookup to continue for compatibility.
62843
62844 2011-05-09 Ulrich Drepper <drepper@gmail.com>
62845
62846 [BZ #11532]
62847 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62848 and CP774 modules.
62849 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62850 and CP774 modules.
62851 * iconvdata/tst-tables.sh: Likewise.
62852 * iconvdata/cp770.c: New file.
62853 * iconvdata/cp771.c: New file.
62854 * iconvdata/cp772.c: New file.
62855 * iconvdata/cp773.c: New file.
62856 * iconvdata/cp774.c: New file.
62857 * iconvdata/testdata/CP770: New file.
62858 * iconvdata/testdata/CP770..UTF8: New file.
62859 * iconvdata/testdata/CP771: New file.
62860 * iconvdata/testdata/CP771..UTF8: New file.
62861 * iconvdata/testdata/CP772: New file.
62862 * iconvdata/testdata/CP772..UTF8: New file.
62863 * iconvdata/testdata/CP773: New file.
62864 * iconvdata/testdata/CP773..UTF8: New file.
62865 * iconvdata/testdata/CP774: New file.
62866 * iconvdata/testdata/CP774..UTF8: New file.
62867
62868 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62869 END CHARMAP line.
62870 * iconvdata/gen-8bit-gap.sh: Likewise.
62871 * iconvdata/gen-8bit.sh: Likewise.
62872
62873 * locale/iso-639.def: Add ary entry.
62874
62875 [BZ #11258]
62876 * locale/C-translit.h.in: Add U20A1 transliteration.
62877
62878 [BZ #12178]
62879 * locale/iso-639.def: Add wae entry.
62880 Patch by Kevin Bortis <bortis@translate-wae.ch>.
62881
62882 [BZ #12545]
62883 * locale/programs/localedef.c (construct_output_path): Use ssize_t
62884 for n.
62885
62886 [BZ #12711]
62887 * locale/C-translit.h.in: Add entry for U20B9.
62888 Patch by pravin.d.s@gmail.com.
62889
62890 2011-05-08 Ulrich Drepper <drepper@gmail.com>
62891
62892 [BZ #12713]
62893 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62894 ENAMETOOLONG use generic getcwd.
62895 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
62896 in rtld. Use *stat64.
62897 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62898 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62899 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62900 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62901 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62902 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62903 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62904 __fstatat64 macros.
62905 * include/dirent.h: Add libc_hidden_proto for rewinddir.
62906 * dirent/rewinddir.c: Add libc_hidden_def.
62907 * sysdeps/mach/hurd/rewinddir.c: Likewise.
62908 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
62909
62910 * include/dirent.h (__alloc_dir): Add flags parameter.
62911 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62912 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62913 __alloc_dir.
62914 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
62915 from fdopendir if O_CLOEXEC is already set.
62916
62917 2011-03-15 Alan Modra <amodra@gmail.com>
62918
62919 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62920 l_tls_firstbyte_offset non-zero. Save padding offset in
62921 l_tls_firstbyte_offset for later use.
62922 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62923 freeing static tls block.
62924
62925 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
62926
62927 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62928 where #ifdef was intended. The intent is to prevent ARG_MAX from
62929 being defined by the kernel headers.
62930
62931 2011-05-07 Ulrich Drepper <drepper@gmail.com>
62932
62933 [BZ #12734]
62934 * resolv/resolv.h: Define RES_NOTLDQUERY.
62935 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62936 no-tld-query and set RES_NOTLDQUERY.
62937 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62938 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62939 modern BIND to search name as TLD unless forbidden.
62940
62941 2011-05-07 Petr Baudis <pasky@suse.cz>
62942 Ulrich Drepper <drepper@gmail.com>
62943
62944 [BZ #12393]
62945 * elf/dl-load.c (fillin_rpath): Move trusted path check...
62946 (is_trusted_path): ...to here.
62947 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62948 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62949 using is_trusted_path_normalize() in setuid scripts.
62950
62951 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62952
62953 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62954 __BEGIN/__END_DECLS.
62955
62956 2011-05-06 Ulrich Drepper <drepper@gmail.com>
62957
62958 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62959 NSS_STATUS_NOTFOUND if no record was found.
62960
62961 2011-05-05 Andreas Schwab <schwab@redhat.com>
62962
62963 * sunrpc/Makefile (headers): Add rpc/netdb.h.
62964 (headers-not-in-tirpc): Remove rpc/netdb.h
62965 * resolv/netdb.h: Revert last change.
62966
62967 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
62968
62969 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62970 circular dependency between libgcc.a and libc.a.
62971
62972 2011-05-05 Andreas Schwab <schwab@redhat.com>
62973
62974 * resolv/netdb.h: Don't include <rpc/netdb.h>.
62975 * nis/Makefile: Don't install rpcsvc/*.
62976 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62977 instead of <rpc/types.h>.
62978 (MAXHOSTNAMELEN): Define.
62979
62980 2011-05-03 Andreas Schwab <schwab@redhat.com>
62981
62982 * elf/ldconfig.c (add_dir): Don't crash on empty path.
62983
62984 2011-04-28 Maciej Babinski <mbabinski@google.com>
62985
62986 [BZ #12714]
62987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62988 gethostbyname4_r when IPv6 results are possible.
62989
62990 2011-05-02 Ulrich Drepper <drepper@gmail.com>
62991
62992 [BZ #12723]
62993 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62994 _PC_PIPE_BUF handling.
62995
62996 2011-04-30 Bruno Haible <bruno@clisp.org>
62997
62998 [BZ #12717]
62999 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63000 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63001 to 'int'.
63002 * inet/getnameinfo.c (getnameinfo): Likewise.
63003
63004 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63005
63006 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63007 to groups setting in database lookup.
63008 * nss/nsswitch.conf: Add initgroups entry.
63009
63010 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63011
63012 [BZ #12685]
63013 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63014 mode string.
63015 Patch by Eric Blake <eblake@redhat.com>.
63016
63017 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63018
63019 * sunrpc/Makefile (need-export-routines): Add svc_run.
63020 (routines): Remove svc_run.
63021 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63022 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63023 * sunrpc/svc_run.c (svc_run): Likewise.
63024 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63025
63026 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63027
63028 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63029 problem in reallocation in last patch.
63030
63031 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63032
63033 * sunrpc/Makefile: Move inclusion of Rules.
63034
63035 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63036
63037 * nss/nss_files/files-initgroups.c: New file.
63038 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63039 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63040 _nss_files_initgroups_dyn.
63041
63042 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63043
63044 * elf/elf.h (R_ARM_IRELATIVE): Define.
63045
63046 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63047
63048 * po/ru.po: Update from translation team.
63049
63050 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63051
63052 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63053 dependencies.
63054
63055 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63056
63057 [BZ #12653]
63058 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63059 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63060 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63061 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63062 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63063
63064 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63065
63066 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63067 differing bytes.
63068 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63069 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63070 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63071
63072 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63073
63074 [BZ #12420]
63075 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63076 storing it.
63077 * stdlib/bug-getcontext.c: New file.
63078 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63079
63080 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63081
63082 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63083 instructions into .machine "z9-109".
63084 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63085 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63086
63087 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63088
63089 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63090 between environment variables and auxiliary vector.
63091
63092 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63093
63094 * Makefile: Add rules to build linkobj/libc.so.
63095 * include/libc-symbols.h: Define libc_hidden_nolink.
63096 * include/rpc/auth.h: Mark functions which are to be hidden.
63097 * include/rpc/auth_des.h: Likewise.
63098 * include/rpc/auth_unix.h: Likewise.
63099 * include/rpc/clnt.h: Likewise.
63100 * include/rpc/des_crypt.h: Likewise.
63101 * include/rpc/key_prot.h: Likewise.
63102 * include/rpc/pmap_clnt.h: Likewise.
63103 * include/rpc/pmap_prot.h: Likewise.
63104 * include/rpc/pmap_rmt.h: Likewise.
63105 * include/rpc/rpc_msg.h: Likewise.
63106 * include/rpc/svc.h: Likewise.
63107 * include/rpc/svc_auth.h: Likewise.
63108 * include/rpc/xdr.h: Likewise.
63109 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63110 * nss/Makefile: Likewise.
63111 * sunrpc/Makefile: Don't install headers. Build library with normal
63112 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63113 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63114 for the compat linking library. Remove use of INTDEF/INTUSE.
63115 * sunrpc/auth_none.c: Likewise.
63116 * sunrpc/auth_unix.c: Likewise.
63117 * sunrpc/authdes_prot.c: Likewise.
63118 * sunrpc/authuxprot.c: Likewise.
63119 * sunrpc/clnt_gen.c: Likewise.
63120 * sunrpc/clnt_perr.c: Likewise.
63121 * sunrpc/clnt_raw.c: Likewise.
63122 * sunrpc/clnt_simp.c: Likewise.
63123 * sunrpc/clnt_tcp.c: Likewise.
63124 * sunrpc/clnt_udp.c: Likewise.
63125 * sunrpc/clnt_unix.c: Likewise.
63126 * sunrpc/des_crypt.c: Likewise.
63127 * sunrpc/des_soft.c: Likewise.
63128 * sunrpc/get_myaddr.c: Likewise.
63129 * sunrpc/key_call.c: Likewise.
63130 * sunrpc/key_prot.c: Likewise.
63131 * sunrpc/netname.c: Likewise.
63132 * sunrpc/pm_getmaps.c: Likewise.
63133 * sunrpc/pm_getport.c: Likewise.
63134 * sunrpc/pmap_clnt.c: Likewise.
63135 * sunrpc/pmap_prot.c: Likewise.
63136 * sunrpc/pmap_prot2.c: Likewise.
63137 * sunrpc/pmap_rmt.c: Likewise.
63138 * sunrpc/publickey.c: Likewise.
63139 * sunrpc/rpc_cmsg.c: Likewise.
63140 * sunrpc/rpc_common.c: Likewise.
63141 * sunrpc/rpc_dtable.c: Likewise.
63142 * sunrpc/rpc_prot.c: Likewise.
63143 * sunrpc/rpc_thread.c: Likewise.
63144 * sunrpc/rtime.c: Likewise.
63145 * sunrpc/svc.c: Likewise.
63146 * sunrpc/svc_auth.c: Likewise.
63147 * sunrpc/svc_authux.c: Likewise.
63148 * sunrpc/svc_raw.c: Likewise.
63149 * sunrpc/svc_run.c: Likewise.
63150 * sunrpc/svc_simple.c: Likewise.
63151 * sunrpc/svc_tcp.c: Likewise.
63152 * sunrpc/svc_udp.c: Likewise.
63153 * sunrpc/svc_unix.c: Likewise.
63154 * sunrpc/svcauth_des.c: Likewise.
63155 * sunrpc/xcrypt.c: Likewise.
63156 * sunrpc/xdr.c: Likewise.
63157 * sunrpc/xdr_array.c: Likewise.
63158 * sunrpc/xdr_float.c: Likewise.
63159 * sunrpc/xdr_intXX_t.c: Likewise.
63160 * sunrpc/xdr_mem.c: Likewise.
63161 * sunrpc/xdr_rec.c: Likewise.
63162 * sunrpc/xdr_ref.c: Likewise.
63163 * sunrpc/xdr_sizeof.c: Likewise.
63164 * sunrpc/xdr_stdio.c: Likewise.
63165
63166 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63167
63168 [BZ #12650]
63169 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63170 * sysdeps/ia64/dl-tls.h: Likewise.
63171 * sysdeps/powerpc/dl-tls.h: Likewise.
63172 * sysdeps/s390/dl-tls.h: Likewise.
63173 * sysdeps/sh/dl-tls.h: Likewise.
63174 * sysdeps/sparc/dl-tls.h: Likewise.
63175 * sysdeps/x86_64/dl-tls.h: Likewise.
63176 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63177
63178 2011-03-14 Andreas Schwab <schwab@redhat.com>
63179
63180 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63181 rpath element also skip the following colon.
63182 (expand_dynamic_string_token): Add is_path parameter and pass
63183 down to DL_DST_REQUIRED and _dl_dst_substitute.
63184 (decompose_rpath): Call expand_dynamic_string_token with
63185 non-zero is_path. Ignore empty rpaths.
63186 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63187 with zero is_path.
63188
63189 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63190
63191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63192 Make cancelable.
63193
63194 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63195
63196 [BZ #12655]
63197 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63198 Patch by Filipe David Manana <fdmanana@apache.org>.
63199
63200 2011-04-07 Andreas Schwab <schwab@redhat.com>
63201
63202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63203 Maintain aligned stack.
63204 (CHECK_RSP): Remove unused macro.
63205
63206 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63207
63208 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63209 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63210
63211 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63212
63213 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63214
63215 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63216
63217 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63218
63219 [BZ #12518]
63220 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63221 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63222 * sysdeps/x86_64/memmove.c: New file.
63223 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63224 (memcpy): Renamed to ...
63225 (__new_memcpy): This.
63226 (memcpy): Provide GLIBC_2_14 memcpy.
63227 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63228 (memcpy): Provide GLIBC_2_2_5 memcpy.
63229
63230 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63231
63232 [BZ #12631]
63233 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63234
63235 2011-03-30 Andreas Schwab <schwab@redhat.com>
63236
63237 * misc/syncfs.c: New file.
63238 * misc/Makefile (routines): Add syncfs.
63239 * posix/unistd.h: Declare syncfs.
63240 * sysdeps/unix/syscalls.list: Add syncfs.
63241
63242 2011-04-01 Andreas Schwab <schwab@redhat.com>
63243
63244 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63245 open_by_handle_at.
63246 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63247 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63249 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63250 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63251 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63252 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63253
63254 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63255
63256 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63257 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63258 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63260 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63262 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63263
63264 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63265 sync_file_range.c with -fexceptions.
63266 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63267 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63268 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63269 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63270 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63271 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63272 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63273 sync_file_range as cancellation point
63274 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63275 now a wrapper around __call_sync_file_range with cancellation handling.
63276 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63277 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63278 function name to __call_sync_file_range.
63279 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63280 Add call_sync_file_range.
63281
63282 2011-04-01 Andreas Schwab <schwab@redhat.com>
63283
63284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63285 bits/timex.h.
63286
63287 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63288
63289 * iconv/iconv.h: Fix typo in comment.
63290 * io/fcntl.h: Likewise.
63291 * libio/stdio.h: Likewise.
63292 * posix/spawn.h: Likewise.
63293 * posix/unistd.h: Likewise.
63294 * stdlib/stdlib.h: Likewise.
63295 * time/time.h: Likewise.
63296 * wcsmbs/wchar.h: Likewise.
63297
63298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63299 open_by_handle): Add.
63300 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63301 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63302 Augment a few comments.
63303 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63308 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63309 open_by_handle.
63310
63311 * io/fcntl.h (AT_EMPTY_PATH): Define.
63312
63313 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63314
63315 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63316 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63317 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63318 to...
63319 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63320 * Versions.def: Add GLIBC_2.14.
63321 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63322 Export.
63323
63324 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63325
63326 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63327 round counter.
63328 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63329
63330 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63331
63332 [BZ #12597]
63333 * string/test-strncmp.c (do_page_test): New function.
63334 (check2): Likewise.
63335 (test_main): Call check2.
63336 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63337
63338 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63339
63340 [BZ #12587]
63341 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63342 Handle cache information in CPU leaf 4.
63343 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63344
63345 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63346
63347 [BZ #12583]
63348 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63349 character representation.
63350 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63351
63352 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63353
63354 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63355 END(__isnan) to END(__isnanf) to match function entry point/label
63356 EALIGN(__isnanf,...).
63357
63358 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63359
63360 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63361
63362 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63363
63364 [BZ #12510]
63365 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63366 copy from the symbol referenced in the relocation to initialize the
63367 used variable.
63368 Patch by Piotr Bury <pbury@goahead.com>.
63369 * elf/Makefile: Add rules to build and tst-unique3.
63370 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63371 * elf/tst-unique3.cc: New file.
63372 * elf/tst-unique3.h: New file.
63373 * elf/tst-unique3lib.cc: New file.
63374 * elf/tst-unique3lib2.cc: New file.
63375
63376 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63377
63378 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63379
63380 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63381 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63382 to _start.
63383
63384 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63385
63386 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63387 to-be-loaded object along a path to loader is ld.so.
63388
63389 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63390 Ulrich Drepper <drepper@gmail.com>
63391
63392 * sysdeps/x86_64/memset.S: After aligning destination, code
63393 branches to different locations depending on the value of
63394 misalignment, when multiarch is enabled. Fix this.
63395
63396 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63397
63398 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63399 Set _x86_64_preferred_memory_instruction for AMD processsors.
63400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63401 Set bit_Prefer_SSE_for_memop for AMD processors.
63402
63403 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63404
63405 * libio/fmemopen.c (fmemopen): Optimize a bit.
63406
63407 2011-03-03 Andreas Schwab <schwab@redhat.com>
63408
63409 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63410
63411 2011-03-03 Roland McGrath <roland@redhat.com>
63412
63413 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63414
63415 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63416
63417 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63418 __bzero_ultra1 instead of __memset_ultra1.
63419
63420 2011-02-23 Andreas Schwab <schwab@redhat.com>
63421 Ulrich Drepper <drepper@gmail.com>
63422
63423 [BZ #12509]
63424 * include/link.h (struct link_map): Add l_orig_initfini.
63425 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63426 returning unsuccessfully.
63427 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63428 close of a file loaded at startup, restore the original l_initfini
63429 list.
63430 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63431 list, store the pointer.
63432 * elf/Makefile ($(objpfx)noload-mem): New rule.
63433 (noload-ENV): Define.
63434 (tests): Add $(objpfx)noload-mem.
63435 * elf/noload.c: Include <memcheck.h>.
63436 (main): Call mtrace. Close all opened handles.
63437
63438 2011-02-17 Andreas Schwab <schwab@redhat.com>
63439
63440 [BZ #12454]
63441 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63442 dependencies are missing.
63443
63444 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63445
63446 Fix __if_freereq crash: Unlike the generic version which uses free,
63447 Hurd needs munmap.
63448 * sysdeps/mach/hurd/ifreq.h: New file.
63449
63450 2011-01-27 Petr Baudis <pasky@suse.cz>
63451 Ulrich Drepper <drepper@gmail.com>
63452
63453 [BZ 12445]#
63454 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63455 to extend_alloca().
63456 * stdio-common/bug23.c: New file.
63457 * stdio-common/Makefile (tests): Add bug23.
63458
63459 2010-09-28 Andreas Schwab <schwab@redhat.com>
63460 Ulrich Drepper <drepper@gmail.com>
63461
63462 [BZ #12489]
63463 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63464 before performing relro protection. At old place add assertion
63465 to make sure nothing changed.
63466
63467 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63468 Glauber de Oliveira Costa <glommer@gmail.com>
63469
63470 * elf/elf.h: Add new ARM TLS relocs.
63471
63472 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63473
63474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63475 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63476 cast from r3.
63477 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63478 'tests' variable.
63479 * sysdeps/wordsize-64/tst-writev.c: New file.
63480
63481 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63482
63483 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63484 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63485 insns in _dl_start to prevent a TOC reference before relocs are
63486 resolved.
63487
63488 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63489
63490 [BZ #12469]
63491 * Makeconfig: Remove RANLIB definition.
63492 * Makerules: Don't use RANLIB.
63493 * aclocal.m4: Remove ranlib test.
63494 * configure.in: No need to check for ranlib.
63495 * elf/rtld-Rules: Don't use RANLIB.
63496
63497 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63498
63499 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63500 protection macro.
63501 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63502 inclusion protection macro.
63503
63504 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63505 SIGRTMIN and SIGRTMAX and print information in that case only when
63506 SIGRTMIN is defined.
63507
63508 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63509
63510 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63511 arginfo fn returning -1.
63512
63513 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63514 and thousands string is zero terminated.
63515
63516 2011-02-03 Andreas Schwab <schwab@redhat.com>
63517
63518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63519 sysdeps/unix/sysv/linux/bits/socket.h.
63520
63521 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63522
63523 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63524 (__CPU_COUNT): Remove old macros.
63525 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63526 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63527 (__CPU_ALLOC, __CPU_FREE): Add macros.
63528 (__sched_cpualloc, __sched_cpufree): Add declarations.
63529
63530 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63531
63532 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63533 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63534 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63535 (readdhstai): Return value of addhstaiX call.
63536 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63537 (addgrbyX): Return value returned by cache_addgr.
63538 (readdgrbyname): Return value returned by addgrbyX.
63539 (readdgrbygid): Likewise.
63540 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63541 (addpwbyX): Return value returned by cache_addpw.
63542 (readdpwbyname): Return value returned by addhstbyX.
63543 (readdpwbyuid): Likewise.
63544 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63545 (addservbyX): Return value returned by cache_addserv.
63546 (readdservbyname): Return value returned by addservbyX:
63547 (readdservbyport): Likewise.
63548 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63549 (addhstbyX): Return value returned by cache_addhst.
63550 (readdhstbyname): Return value returned by addhstbyX.
63551 (readdhstbyaddr): Likewise.
63552 (readdhstbynamev6): Likewise.
63553 (readdhstbyaddrv6): Likewise.
63554 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63555 (readdinitgroups): Return value returned by addinitgroupsX.
63556 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63557 (prune_cache): Keep track of timeout value of re-added entries.
63558 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63559 * nscd/nscd.h: Adjust prototypes of readd* functions.
63560
63561 2011-02-04 Roland McGrath <roland@redhat.com>
63562
63563 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63564 (nis_stats): Likewise.
63565 * nis/nis_modify.c (nis_modify): Likewise.
63566 * nis/nis_remove.c (nis_remove): Likewise.
63567 * nis/nis_add.c (nis_add): Likewise.
63568
63569 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63570
63571 * posix/fnmatch_loop.c: Add some consts.
63572
63573 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63574
63575 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63576
63577 [BZ #12460]
63578 * config.make.in (config-cflags-novzeroupper): Define.
63579 * configure.in: Substitute libc_cv_cc_novzeroupper.
63580 * elf/Makefile (AVX-CFLAGS): Define.
63581 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63582 (CFLAGS-tst-auditmod4a.c): Likewise.
63583 (CFLAGS-tst-auditmod4b.c): Likewise.
63584 (CFLAGS-tst-auditmod6b.c): Likewise.
63585 (CFLAGS-tst-auditmod6c.c): Likewise.
63586 (CFLAGS-tst-auditmod7b.c): Likewise.
63587 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63588
63589 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63590
63591 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63592 function to the callback.
63593 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63594
63595 2011-02-02 Andreas Schwab <schwab@redhat.com>
63596
63597 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63598 of errno.
63599
63600 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63601
63602 [BZ #11724]
63603 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63604 of constructors.
63605 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63606 of destructors.
63607 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63608
63609 [BZ #11724]
63610 * elf/Makefile: Add rules to build and run new test.
63611 * elf/tst-initorder.c: New file.
63612 * elf/tst-initorder.exp: New file.
63613 * elf/tst-initordera1.c: New file.
63614 * elf/tst-initordera2.c: New file.
63615 * elf/tst-initordera3.c: New file.
63616 * elf/tst-initordera4.c: New file.
63617 * elf/tst-initorderb1.c: New file.
63618 * elf/tst-initorderb2.c: New file.
63619 * elf/tst-order-a1.c: New file.
63620 * elf/tst-order-a2.c: New file.
63621 * elf/tst-order-a3.c: New file.
63622 * elf/tst-order-a4.c: New file.
63623 * elf/tst-order-b1.c: New file.
63624 * elf/tst-order-b2.c: New file.
63625 * elf/tst-order-main.c: New file.
63626 New test case by George Gensure <werkt0@gmail.com>.
63627
63628 2010-10-01 Andreas Schwab <schwab@redhat.com>
63629
63630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63631 decoding ACE if AI_CANONIDN.
63632
63633 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63634
63635 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63636
63637 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63638
63639 * version.h (RELEASE): Bump for 2.13 release.
63640 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63641
63642 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63643
63644 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63645 MADV_NOHUGEPAGE.
63646 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63647 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63648 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63649 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63650 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63651 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63652
63653 * posix/getconf.c: Update copyright year.
63654 * catgets/gencat.c: Likewise.
63655 * csu/version.c: Likewise.
63656 * debug/catchsegv.sh: Likewise.
63657 * debug/xtrace.sh: Likewise.
63658 * elf/ldconfig.c: Likewise.
63659 * elf/ldd.bash.in: Likewise.
63660 * elf/sprof.c (print_version): Likewise.
63661 * iconv/iconv_prog.c: Likewise.
63662 * iconv/iconvconfig.c: Likewise.
63663 * locale/programs/locale.c: Likewise.
63664 * locale/programs/localedef.c: Likewise.
63665 * malloc/memusage.sh: Likewise.
63666 * malloc/mtrace.pl: Likewise.
63667 * nscd/nscd.c (print_version): Likewise.
63668 * nss/getent.c: Likewise.
63669
63670 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63671 PF_CAIF, and PF_ALG.
63672 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63673
63674 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63675
63676 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63677 (modules-names): Use them.
63678 (ifunc-test-modules, ifunc-pie-tests): Define.
63679 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63680 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63681 (test-extras): Likewise.
63682 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63683 $(compile-command.c).
63684 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63685 (all-built-dso): Define.
63686 (check-textrel.out, check-execstack.out): Depend on it.
63687
63688 * configure.in: Don't override --enable-multi-arch.
63689
63690 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63691
63692 [BZ #6812]
63693 * nscd/hstcache.c (tryagain): Define.
63694 (cache_addhst): Return tryagain not notfound for temporary errors.
63695 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63696 failed.
63697
63698 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63699
63700 [BZ #10563]
63701 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63702 to make the syscall.
63703 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63704
63705 [BZ #12378]
63706 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63707 and fall back to matching as normal character if the string ends before
63708 the matching ']' is found. This is what POSIX requires.
63709 * posix/testfnm.c: Adjust test result.
63710 * posix/globtest.sh: Adjust test result. Add new test.
63711 * posix/tst-fnmatch.input: Likewise.
63712 * posix/tst-fnmatch2.c: Add new test.
63713
63714 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63715
63716 * elf/Makefile (check-execstack): Revert last change. Depend on
63717 check-execstack.h.
63718 (check-execstack.h): New target.
63719 (generated): Add check-execstack.h.
63720 * elf/check-execstack.c: Include "check-execstack.h".
63721 (main): Revert last change.
63722 (handle_file): Return zero if GNU_STACK is absent and
63723 DEFAULT_STACK_PERMS doesn't include PF_X.
63724
63725 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63726
63727 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63728 in child fails because the descriptor is already closed.
63729 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63730 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63731 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63732
63733 [BZ #12397]
63734 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63735 syscall.
63736
63737 [BZ #10484]
63738 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63739 temporary buffer used to handle multi lookups locally.
63740 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63741
63742 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63743
63744 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63745 loader is ld.so.
63746
63747 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63748
63749 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63750 alignment for SSE2.
63751
63752 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63753
63754 [BZ #12394]
63755 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63756 characters. When rounding increased number of integer digits recompute
63757 number of groups.
63758 * stdio-common/tst-grouping.c: New file.
63759 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63760
63761 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63762
63763 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63764 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63765
63766 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63767 void.
63768 * bits/select.h: Likewise.
63769
63770 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63771
63772 * po/ja.po: Update from translation team.
63773
63774 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63775
63776 [BZ #11155]
63777 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63778 implementation just like for lxstat, fxstatat, et al.
63779
63780 2010-12-27 Jim Meyering <meyering@redhat.com>
63781
63782 [BZ #12348]
63783 * posix/regexec.c (build_trtable): Return failure indication upon
63784 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63785
63786 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63787
63788 [BZ #12201]
63789 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63790 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63791 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63792 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63793
63794 [BZ #12207]
63795 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63796
63797 [BZ #12204]
63798 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63799 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63800
63801 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
63802
63803 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63804 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63805 script has SORT_BY_INIT_PRIORITY.
63806 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63807 NO_CTORS_DTORS_SECTIONS is defined.
63808 * elf/soinit.c: Likewise.
63809 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63810 NO_CTORS_DTORS_SECTIONS is defined.
63811 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63812 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63813 * sysdeps/sh/init-first.c: Likewise.
63814 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63815
63816 2010-12-24 Ulrich Drepper <drepper@gmail.com>
63817
63818 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63819 always use the slow path.
63820
63821 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
63822
63823 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63824 similar rule which adds the sysdep directories to the header search in
63825 order to pick up the correct platform stackinfo.h.
63826 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63827 perform test if it is, otherwise return successfully without testing.
63828 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63829 DEFAULT_STACK_PERMS define in stackinfo.h.
63830 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63831 defined in stackinfo.h.
63832 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63833 DEFAULT_STACK_PERMS defined in stackinfo.h.
63834 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63835 * sysdeps/ia64/stackinfo.h: Likewise.
63836 * sysdeps/s390/stackinfo.h: Likewise.
63837 * sysdeps/sh/stackinfo.h: Likewise.
63838 * sysdeps/sparc/stackinfo.h: Likewise.
63839 * sysdeps/x86_64/stackinfo.h: Likewise.
63840 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63841 PF_X for powerpc64. Retain PF_X for powerpc32.
63842
63843 2010-12-19 Ulrich Drepper <drepper@gmail.com>
63844
63845 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63846 accurately.
63847 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63848 GETDENTS_64BIT_ALIGNED.
63849
63850 2010-12-14 Ulrich Drepper <dreper@gmail.com>
63851
63852 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63853
63854 2010-12-10 Andreas Schwab <schwab@redhat.com>
63855
63856 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63857 _GNU_SOURCE.
63858
63859 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63860 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63861 Remove __restrict.
63862 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63863 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63864
63865 2010-12-09 Ulrich Drepper <drepper@gmail.com>
63866
63867 [BZ #11655]
63868 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63869 are initialized.
63870
63871 2010-12-09 Jakub Jelinek <jakub@redhat.com>
63872
63873 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63874
63875 2010-12-03 Ulrich Drepper <drepper@gmail.com>
63876
63877 * po/it.po: Update from translation team.
63878
63879 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
63880
63881 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63882 unused codes.
63883
63884 2010-11-30 Ulrich Drepper <drepper@gmail.com>
63885
63886 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63887
63888 2010-11-24 Andreas Schwab <schwab@redhat.com>
63889
63890 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63891 specially.
63892 (gaih_getanswer_slice): Likewise.
63893
63894 2010-10-20 Jakub Jelinek <jakub@redhat.com>
63895
63896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63897
63898 2010-05-31 Petr Baudis <pasky@suse.cz>
63899
63900 [BZ #11149]
63901 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63902 silently even in the chroot mode.
63903
63904 2010-11-22 Ulrich Drepper <drepper@gmail.com>
63905
63906 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63907 last patch a bit. Pretty printing
63908
63909 2010-05-31 Petr Baudis <pasky@suse.cz>
63910
63911 [BZ #10085]
63912 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63913 initialization of skip_initgroups_dyn.
63914
63915 2010-11-19 Ulrich Drepper <drepper@gmail.com>
63916
63917 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63918 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63919
63920 2010-11-16 Ulrich Drepper <drepper@gmail.com>
63921
63922 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63923
63924 2010-11-11 Andreas Schwab <schwab@redhat.com>
63925
63926 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63927 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63928 (tst-fnmatch-ENV): Set MALLOC_TRACE.
63929 ($(objpfx)tst-fnmatch-mem): New rule.
63930 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63931 * posix/tst-fnmatch.c (main): Call mtrace.
63932
63933 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
63934
63935 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63936 Support Intel processor model 6 and model 0x2c.
63937
63938 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
63939
63940 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63941 signed comparison.
63942
63943 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
63944
63945 [BZ #12205]
63946 * string/test-strncasecmp.c (check_result): New function.
63947 (do_one_test): Use it.
63948 (check1): New function.
63949 (test_main): Use it.
63950 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63951 Support strcasecmp and strncasecmp.
63952
63953 2010-11-08 Ulrich Drepper <drepper@gmail.com>
63954
63955 [BZ #12194]
63956 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63957 * sysdeps/x86_64/bits/byteswap.h: Likewise.
63958
63959 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
63960
63961 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63962 IFUNC support.
63963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63964 memset-x86-64.
63965 * sysdeps/x86_64/multiarch/bzero.S: New file.
63966 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63967 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63968 * sysdeps/x86_64/multiarch/memset.S: New file.
63969 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63971 Set bit_Prefer_SSE_for_memop for Intel processors.
63972 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63973 Define.
63974 (index_Prefer_SSE_for_memop): Define.
63975 (HAS_PREFER_SSE_FOR_MEMOP): Define.
63976
63977 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
63978
63979 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63980 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63981
63982 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
63983
63984 [BZ #12191]
63985 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63986 (__x86_64_raw_data_cache_size_half): Likewise.
63987 (__x86_64_raw_shared_cache_size): Likewise.
63988 (__x86_64_raw_shared_cache_size_half): Likewise.
63989
63990 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63991 (__x86_64_raw_data_cache_size_half): Likewise.
63992 (__x86_64_raw_shared_cache_size): Likewise.
63993 (__x86_64_raw_shared_cache_size_half): Likewise.
63994 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63995 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63996 and __x86_64_raw_shared_cache_size_half. Round
63997 __x86_64_data_cache_size_half, __x86_64_data_cache_size
63998 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63999 to multiple of 256 bytes.
64000
64001 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64002
64003 [BZ #12167]
64004 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64005 of inacessible symlinks. Verify result of symlink before returning it.
64006 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64007 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64008
64009 2010-10-28 Erich Ritz <erichritz@gmail.com>
64010
64011 * math/math.h (isinf): Fix typo in comment.
64012
64013 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64014
64015 * po/da.po: Update from translation team.
64016
64017 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64018
64019 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64020 is added to the list.
64021
64022 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64023 Ulrich Drepper <drepper@gmail.com>
64024
64025 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64026 the global list here. Move code to...
64027 (_dl_add_to_namespace_list): ...here. New function.
64028 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64029 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64030 * elf/dl-load.c (lose): Don't remove the element from the list.
64031 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64032 (_dl_map_object): Likewise.
64033
64034 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64035
64036 [BZ #12159]
64037 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64038 into all bytes of SSE register.
64039 Patch by Richard Li <richardpku@gmail.com>.
64040
64041 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64042
64043 [BZ #12140]
64044 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64045 perturbing.
64046
64047 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64048
64049 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64050 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64051 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64052 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64054 submachine.
64055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64056
64057 2010-10-22 Andreas Schwab <schwab@redhat.com>
64058
64059 * include/dlfcn.h (__RTLD_SECURE): Define.
64060 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64061 mode & __RTLD_SECURE instead.
64062 (open_path): Rename preloaded parameter to secure.
64063 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64064 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64065 * elf/dl-deps.c (openaux): Likewise.
64066 * elf/rtld.c (struct map_args): Remove is_preloaded.
64067 (map_doit): Don't use it.
64068 (dl_main): Likewise.
64069 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64070 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64071
64072 2010-09-09 Andreas Schwab <schwab@redhat.com>
64073
64074 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64075 (sysd-rules-targets): Remove duplicates.
64076 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64077 rtld-%.$o dependency.
64078
64079 2010-10-18 Andreas Schwab <schwab@redhat.com>
64080
64081 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64082 _dl_map_object do it.
64083
64084 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64085
64086 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64087 fast fma builtins, define the macros in the C99 standard.
64088 (FP_FAST_FMAF): Likewise.
64089 (FP_FAST_FMAL): Likewise.
64090 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64091
64092 * bits/mathdef.h: Update copyright year.
64093 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64094
64095 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64096
64097 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64098 builtins, define the macros in the C99 standard.
64099 (FP_FAST_FMAF): Likewise.
64100 (FP_FAST_FMAL): Likewise.
64101 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64102 multiply/add.
64103 (FP_FAST_FMAF): Likewise.
64104
64105 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64106
64107 [BZ #3268]
64108 * math/libm-test.inc (fma_test): Some new testcases.
64109 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64110 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64111 y and infinite z. Do multiplication by C already in long double.
64112 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64114 y and infinite z. Do bitwise or of inexact bit into u.d.
64115 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64116 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64117 * sysdeps/i386/fpu/s_fma.S: Removed.
64118 * sysdeps/i386/fpu/s_fmal.S: Removed.
64119
64120 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64121
64122 [BZ #3268]
64123 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64124 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64125 computation is not scheduled after fetestexcept. Fix value
64126 of minimum denormal long double.
64127
64128 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64129
64130 [BZ #3268]
64131 * math/libm-test.inc (fma_test): Add some more tests.
64132 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64133 correctly.
64134
64135 2010-10-15 Andreas Schwab <schwab@redhat.com>
64136
64137 * scripts/data/localplt-s390-linux-gnu.data: New file.
64138 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64139
64140 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64141
64142 [BZ #3268]
64143 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64144 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64145 instead of dbl-64.
64146 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64147 inlines.
64148 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64149 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64150 if one of x and y is very large and the other is subnormal.
64151 * sysdeps/s390/fpu/s_fmaf.c: New file.
64152 * sysdeps/s390/fpu/s_fma.c: New file.
64153 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64154 * sysdeps/powerpc/fpu/s_fma.S: New file.
64155 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64156 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64157 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64158
64159 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64160
64161 [BZ #3268]
64162 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64163 fma tests.
64164 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64165 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64166 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64167 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64168 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64169 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64170 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64171
64172 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64173
64174 [BZ #12078]
64175 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64176 * posix/bug-regex31.input: Add test case.
64177
64178 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64179
64180 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64181 * posix/bug-regex31.input: New file.
64182
64183 [BZ #12078]
64184 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64185 (parse_sub_exp): Fix last change, use postorder.
64186
64187 * posix/bug-regex31.c: New file.
64188 * posix/Makefile: Add rules to build and run bug-regex31.
64189
64190 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64191
64192 [BZ #12078]
64193 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64194
64195 [BZ #12108]
64196 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64197 to have entries in sys_siglist.
64198
64199 [BZ #12093]
64200 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64201 be NULL.
64202
64203 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64204
64205 [BZ #3268]
64206 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64207 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64208 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64209 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64210 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64211 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64212 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64213 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64214 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64215 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64216 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64217 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64218 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64219 * math/ftestexcept.c (fetestexcept): Likewise.
64220 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64221 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64222 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64223 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64224 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64225 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64226 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64227
64228 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64229
64230 [BZ #12107]
64231 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64232 newline.
64233
64234 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64235
64236 * string/bug-strstr1.c: New file.
64237 * string/Makefile: Add rules to build and run bug-strstr1.
64238
64239 2010-10-05 Eric Blake <eblake@redhat.com>
64240
64241 [BZ #12092]
64242 * string/str-two-way.h (two_way_long_needle): Always clear memory
64243 when skipping input due to the shift table.
64244
64245 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64246
64247 [BZ #12005]
64248 * malloc/mcheck.c: Handle large requests.
64249
64250 [BZ #12077]
64251 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64252 for strncmp and strncasecmp.
64253 * string/stratcliff.c: Add tests for strcmp and strncmp.
64254 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64255
64256 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64257
64258 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64259 __set_fpscr.
64260
64261 2010-09-30 Andreas Jaeger <aj@suse.de>
64262
64263 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64264 (CGROUP_SUPER_MAGIC): Define.
64265 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64266 Handle btrfs and cgroup file systems.
64267 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64268 Likewise.
64269
64270 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64271
64272 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64273 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64274
64275 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64276
64277 [BZ #12067]
64278 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64279 trying to locate the ELF header.
64280
64281 2010-09-27 Andreas Schwab <schwab@redhat.com>
64282
64283 [BZ #11611]
64284 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64285 Mask out sign-bit copies when constructing f_fsid.
64286
64287 2010-09-24 Petr Baudis <pasky@suse.cz>
64288
64289 * debug/stack_chk_fail_local.c: Add missing licence exception.
64290 * debug/warning-nop.c: Likewise.
64291
64292 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64293
64294 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64295 implementing getdents64 using getdents syscall, set d_type if
64296 __ASSUME_GETDENTS32_D_TYPE.
64297
64298 2010-09-16 Andreas Schwab <schwab@redhat.com>
64299
64300 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64301 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64302
64303 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64304
64305 [BZ #12037]
64306 * posix/unistd.h: Undo change of feature selection for ftruncate from
64307 2010-01-11.
64308
64309 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64310
64311 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64312 detection.
64313
64314 2010-09-20 Andreas Schwab <schwab@redhat.com>
64315
64316 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64317 fanotify_mark.
64318 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64319
64320 2010-09-14 Andreas Schwab <schwab@redhat.com>
64321
64322 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64323 variables after CHECK_SP call.
64324 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64325
64326 2010-09-13 Andreas Schwab <schwab@redhat.com>
64327 Ulrich Drepper <drepper@redhat.com>
64328
64329 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64330 re-relocationg ld.so.
64331 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64332 _dl_init_paths call.
64333 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64334 here anymore.
64335
64336 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64337
64338 * resolv/res_init.c (__res_vinit): Count the default server we added.
64339
64340 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64341 Ulrich Drepper <drepper@redhat.com>
64342
64343 [BZ #11968]
64344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64345 (____longjmp_chk): Use %ebx for saving value across system call.
64346 Add unwind info.
64347
64348 2010-09-06 Andreas Schwab <schwab@redhat.com>
64349
64350 * manual/Makefile: Don't mix pattern rules with normal rules.
64351
64352 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64353
64354 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64355 operation.
64356 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64357 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64358 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64359 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64360 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64361 Likewise.
64362
64363 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64364
64365 [BZ #11979]
64366 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64367 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64368
64369 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64370
64371 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64372 * sysdeps/x86_64/addmul_1.S: Likewise.
64373 * sysdeps/x86_64/lshift.S: Likewise.
64374 * sysdeps/x86_64/mul_1.S: Likewise.
64375 * sysdeps/x86_64/rshift.S: Likewise.
64376 * sysdeps/x86_64/sub_n.S: Likewise.
64377 * sysdeps/x86_64/submul_1.S: Likewise.
64378
64379 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64380
64381 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64382 Define __sched_param instead of SCHED_* and sched_param when
64383 <bits/sched.h> is included with __need_schedparam defined.
64384 * bits/sched.h [__need_schedparam]
64385 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64386 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64387 (__defined_schedparam): Define to 1.
64388 (__sched_param): New structure, identical to sched_param.
64389 (__need_schedparam): Undefine.
64390
64391 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64392
64393 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64394 (epoll_create1): Declare.
64395
64396 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64397
64398 2010-08-31 Andreas Schwab <schwab@redhat.com>
64399
64400 [BZ #7066]
64401 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64402 shifting retval into place.
64403
64404 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64405
64406 * nis/rpcsvc/nis.h: Update copyright notice.
64407 * nis/rpcsvc/nis.x: Likewise.
64408 * nis/rpcsvc/nis_callback.h: Likewise.
64409 * nis/rpcsvc/nis_callback.x: Likewise.
64410 * nis/rpcsvc/nis_object.x: Likewise.
64411 * nis/rpcsvc/nis_tags.h: Likewise.
64412 * nis/rpcsvc/yp.h: Likewise.
64413 * nis/rpcsvc/yp.x: Likewise.
64414 * nis/rpcsvc/ypupd.h: Likewise.
64415 * nis/yp_xdr.c: Likewise.
64416 * nis/ypupdate_xdr.c: Likewise.
64417
64418 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64419 mainly the body of pmap_getport. Add parameters to specify timeouts.
64420 (pmap_getport): Use __libc_rpc_getport.
64421 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64422 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64423 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64424
64425 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64426
64427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64428 fanotify_mark.
64429
64430 2010-08-27 Roland McGrath <roland@redhat.com>
64431
64432 * sysdeps/i386/i686/multiarch/Makefile
64433 (CFLAGS-varshift.c): New variable.
64434
64435 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64436
64437 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64438 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64439
64440 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64441
64442 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64443
64444 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64445
64446 * sysdeps/x86_64/strlen.S: Unroll the loop.
64447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64448 strlen-sse2 strlen-sse2-bsf.
64449 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64450 __strlen_no_bsf if bit_Slow_BSF is set.
64451 (__strlen_sse42): Removed.
64452 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64453 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64454
64455 2010-08-25 Roland McGrath <roland@redhat.com>
64456
64457 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64458 * sysdeps/x86_64/multiarch/varshift.c: New file.
64459 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64460 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64461 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64462 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64463
64464 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64465
64466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64467 strlen-sse2 strlen-sse2-bsf.
64468 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64469 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64470 (__strlen_sse2): Removed.
64471 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64472 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64474 bit_Slow_BSF for Atom.
64475 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64476 (index_Slow_BSF): Define.
64477 (HAS_SLOW_BSF): Define.
64478
64479 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64480
64481 [BZ #10851]
64482 * resolv/res_init.c (__res_vinit): When no server address at all
64483 is given default to loopback.
64484
64485 2010-08-24 Roland McGrath <roland@redhat.com>
64486
64487 * configure.in: Remove config-name.h generation.
64488 * configure: Regenerated.
64489 * config-name.in: File removed.
64490 * scripts/config-uname.sh: New file.
64491 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64492 ($(objdir)config-name.h): New target.
64493
64494 * sunrpc/rpc_parse.h: Avoid nested comment.
64495
64496 2010-08-24 Richard Henderson <rth@redhat.com>
64497 Ulrich Drepper <drepper@redhat.com>
64498 H.J. Lu <hongjiu.lu@intel.com>
64499
64500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64501 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64502 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64503 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64504 _mm_alignr_epi8 with _mm_loadu_si128.
64505 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64506 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64507 (__m128i_shift_right): Removed.
64508 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64509 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64510 * sysdeps/x86_64/multiarch/varshift.h: New file.
64511 * sysdeps/x86_64/multiarch/varshift.S: New file.
64512
64513 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64514
64515 * configure.in: Move assembler checks to before sysdep dir checking.
64516
64517 2010-08-20 Petr Baudis <pasky@suse.cz>
64518
64519 * LICENSES: Sync the sunrpc license.
64520
64521 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64522
64523 * sunrpc/auth_des.c: Update copyright notice once again.
64524 * sunrpc/auth_none.c: Likewise.
64525 * sunrpc/auth_unix.c: Likewise.
64526 * sunrpc/authdes_prot.c: Likewise.
64527 * sunrpc/authuxprot.c: Likewise.
64528 * sunrpc/bindrsvprt.c: Likewise.
64529 * sunrpc/clnt_gen.c: Likewise.
64530 * sunrpc/clnt_perr.c: Likewise.
64531 * sunrpc/clnt_raw.c: Likewise.
64532 * sunrpc/clnt_simp.c: Likewise.
64533 * sunrpc/clnt_tcp.c: Likewise.
64534 * sunrpc/clnt_udp.c: Likewise.
64535 * sunrpc/clnt_unix.c: Likewise.
64536 * sunrpc/des_crypt.c: Likewise.
64537 * sunrpc/des_soft.c: Likewise.
64538 * sunrpc/get_myaddr.c: Likewise.
64539 * sunrpc/getrpcport.c: Likewise.
64540 * sunrpc/key_call.c: Likewise.
64541 * sunrpc/key_prot.c: Likewise.
64542 * sunrpc/openchild.c: Likewise.
64543 * sunrpc/pm_getmaps.c: Likewise.
64544 * sunrpc/pm_getport.c: Likewise.
64545 * sunrpc/pmap_clnt.c: Likewise.
64546 * sunrpc/pmap_prot.c: Likewise.
64547 * sunrpc/pmap_prot2.c: Likewise.
64548 * sunrpc/pmap_rmt.c: Likewise.
64549 * sunrpc/rpc/auth.h: Likewise.
64550 * sunrpc/rpc/auth_unix.h: Likewise.
64551 * sunrpc/rpc/clnt.h: Likewise.
64552 * sunrpc/rpc/des_crypt.h: Likewise.
64553 * sunrpc/rpc/key_prot.h: Likewise.
64554 * sunrpc/rpc/netdb.h: Likewise.
64555 * sunrpc/rpc/pmap_clnt.h: Likewise.
64556 * sunrpc/rpc/pmap_prot.h: Likewise.
64557 * sunrpc/rpc/pmap_rmt.h: Likewise.
64558 * sunrpc/rpc/rpc.h: Likewise.
64559 * sunrpc/rpc/rpc_des.h: Likewise.
64560 * sunrpc/rpc/rpc_msg.h: Likewise.
64561 * sunrpc/rpc/svc.h: Likewise.
64562 * sunrpc/rpc/svc_auth.h: Likewise.
64563 * sunrpc/rpc/types.h: Likewise.
64564 * sunrpc/rpc/xdr.h: Likewise.
64565 * sunrpc/rpc_clntout.c: Likewise.
64566 * sunrpc/rpc_cmsg.c: Likewise.
64567 * sunrpc/rpc_common.c: Likewise.
64568 * sunrpc/rpc_cout.c: Likewise.
64569 * sunrpc/rpc_dtable.c: Likewise.
64570 * sunrpc/rpc_hout.c: Likewise.
64571 * sunrpc/rpc_main.c: Likewise.
64572 * sunrpc/rpc_parse.c: Likewise.
64573 * sunrpc/rpc_parse.h: Likewise.
64574 * sunrpc/rpc_prot.c: Likewise.
64575 * sunrpc/rpc_sample.c: Likewise.
64576 * sunrpc/rpc_scan.c: Likewise.
64577 * sunrpc/rpc_scan.h: Likewise.
64578 * sunrpc/rpc_svcout.c: Likewise.
64579 * sunrpc/rpc_tblout.c: Likewise.
64580 * sunrpc/rpc_util.c: Likewise.
64581 * sunrpc/rpc_util.h: Likewise.
64582 * sunrpc/rpcinfo.c: Likewise.
64583 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64584 * sunrpc/rpcsvc/key_prot.x: Likewise.
64585 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64586 * sunrpc/rpcsvc/mount.x: Likewise.
64587 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64588 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64589 * sunrpc/rpcsvc/rex.x: Likewise.
64590 * sunrpc/rpcsvc/rstat.x: Likewise.
64591 * sunrpc/rpcsvc/rusers.x: Likewise.
64592 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64593 * sunrpc/rpcsvc/spray.x: Likewise.
64594 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64595 * sunrpc/rtime.c: Likewise.
64596 * sunrpc/svc.c: Likewise.
64597 * sunrpc/svc_auth.c: Likewise.
64598 * sunrpc/svc_authux.c: Likewise.
64599 * sunrpc/svc_raw.c: Likewise.
64600 * sunrpc/svc_run.c: Likewise.
64601 * sunrpc/svc_simple.c: Likewise.
64602 * sunrpc/svc_tcp.c: Likewise.
64603 * sunrpc/svc_udp.c: Likewise.
64604 * sunrpc/svc_unix.c: Likewise.
64605 * sunrpc/svcauth_des.c: Likewise.
64606 * sunrpc/xcrypt.c: Likewise.
64607 * sunrpc/xdr.c: Likewise.
64608 * sunrpc/xdr_array.c: Likewise.
64609 * sunrpc/xdr_float.c: Likewise.
64610 * sunrpc/xdr_mem.c: Likewise.
64611 * sunrpc/xdr_rec.c: Likewise.
64612 * sunrpc/xdr_ref.c: Likewise.
64613 * sunrpc/xdr_sizeof.c: Likewise.
64614 * sunrpc/xdr_stdio.c: Likewise.
64615
64616 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64617 handling.
64618
64619 2010-08-19 Andreas Schwab <schwab@redhat.com>
64620
64621 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64622
64623 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64624
64625 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64626 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64627 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64628 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64629 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64630 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64631 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64632 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64633 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64634 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64635 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64636 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64637 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64638 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64639
64640 2010-07-26 Anton Blanchard <anton@samba.org>
64641
64642 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64643 * malloc/arena.c (heap_trim): Likewise.
64644
64645 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64646
64647 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64648 here. Not...
64649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64650 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64651
64652 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64653
64654 * sysdeps/i386/elf/Makefile: New file.
64655
64656 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64657
64658 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64659 from fanotify_init.
64660 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64661 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64662
64663 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64664
64665 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64666 of strncasecmp_l.
64667 * sysdeps/multiarch/strcmp.S: Likewise.
64668
64669 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64670
64671 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64672 strncase_l-nonascii.
64673 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64674 Add strncase_l-ssse3.
64675 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64676 * sysdeps/x86_64/strcmp.S: Likewise.
64677 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64678 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64679 * sysdeps/x86_64/strncase.S: New file.
64680 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64681 * sysdeps/x86_64/strncase_l.S: New file.
64682 * string/Makefile (strop-tests): Add strncasecmp.
64683 * string/test-strncasecmp.c: New file.
64684
64685 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64686 warning.
64687
64688 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64689 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64690
64691 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64692
64693 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64694
64695 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64696
64697 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64698 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64699 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64700
64701 2010-05-01 Alan Modra <amodra@gmail.com>
64702
64703 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64704 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64705 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64706 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64707 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64708 tidying. Don't tail-call __sigjmp_save for static lib.
64709 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64710 save location.
64711 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64712 (CALL_MCOUNT): Add eh info, and nop after bl.
64713 (TAIL_CALL_SYSCALL_ERROR): New macro.
64714 (PSEUDO_RET): Use it.
64715 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64716 Correct save location of integer regs and cr.
64717 (_dl_profile_resolve): Correct cr save location. Delete nops
64718 after bl when SHARED. Reduce cfi size a little by better
64719 placement of cfi directives.
64720 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64721 make a stack frame. Instead use parm save area as a temp.
64722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64723 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64725 Don't make a stack frame for parent, use parm save area.
64726 Increase child stack frame to 112 bytes. Don't save unused reg,
64727 and adjust reg usage. Set up cfi on error recovery and
64728 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64730 (__makecontext): Add dummy nop after jump to exit.
64731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64732 Use correct parm save area and cr save, reduce stack frame.
64733 Correct cfi for possible PSEUDO_RET frame setup.
64734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64735 Branch to local label emitted by PSEUDO_RET rather than
64736 __syscall_error.
64737
64738 2010-08-12 Andreas Schwab <schwab@redhat.com>
64739
64740 [BZ #11904]
64741 * locale/programs/locale.c (print_assignment): New function.
64742 (show_locale_vars): Use it.
64743
64744 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64745
64746 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64747 field.
64748 (struct statfs64): Likewise.
64749 (_STATFS_F_FLAGS): Define.
64750 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64751 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64752 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64753 (ST_VALID): Define locally.
64754 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64755 __statvfs_getflags, use the provided value.
64756 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64757 __ASSUME_STATFS_F_FLAGS.
64758
64759 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64760
64761 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64762 Add sys/fanotify.h.
64763 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64764 fanotify_mask for GLIBC_2.13.
64765 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64766 fanotify_init and fanotify_mark.
64767 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64768 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64769
64770 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64771 Add prlimit.
64772 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64773 prlimit64 for GLIBC_2.13.
64774 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64775 prlimit64.
64776 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64777 syscall.
64778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64779 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64780 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64781 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64783 add prlimit alias.
64784 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64785
64786 [BZ #11903]
64787 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64788 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64789
64790 * nss/Makefile: Add rules to build and run tst-nss-test1.
64791 * shlib-versions: Add entry for libnss_test1.
64792 * nss/nss_test1.c: New file.
64793 * nss/tst-nss-test1.c: New file.
64794
64795 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64796 (__nss_configure_lookup): Set appropriate entry in
64797 __nss_configure_lookup to true.
64798 * nss/nsswitch.h: Define enum with indeces of databases in
64799 databases and __nss_database_custom arrays. Declare
64800 __nss_database_custom.
64801 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64802 to avoid using nscd when custom rules are installed.
64803 * nss/getXXbyYY_r.c: Likewise.
64804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64805
64806 * nss/nss_files/files-parse.c: Whitespace fixes.
64807
64808 2010-08-09 Ulrich Drepper <drepper@redhat.com>
64809
64810 [BZ #11883]
64811 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64812 * posix/fnmatch_loop.c: Likewise.
64813
64814 2010-07-17 Andi Kleen <ak@linux.intel.com>
64815
64816 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64817 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64818 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64819 * Versions.def [GLIBC_2.13]: Add.
64820
64821 2010-08-06 Ulrich Drepper <drepper@redhat.com>
64822
64823 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64824 Also fail if tpwd after pwuid call is NULL.
64825
64826 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
64827
64828 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64829 when converting to ms.
64830
64831 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
64832
64833 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64834 EOPNOTSUPP errors with ENOTTY.
64835 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64836 EOPNOTSUPP errors with ENOTTY.
64837
64838 2010-07-31 Ulrich Drepper <drepper@redhat.com>
64839
64840 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64841 Add strcasecmp_l-ssse3.
64842 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64843 strcasecmp.
64844 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64845 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64846 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64847
64848 2010-07-30 Ulrich Drepper <drepper@redhat.com>
64849
64850 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64851
64852 * string/Makefile (strop-tests): Add strcasecmp.
64853 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64854 strcasecmp_l-nonascii.
64855 (gen-as-const-headers): Add locale-defines.sym.
64856 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64857 * sysdeps/x86_64/strcasecmp.S: New file.
64858 * sysdeps/x86_64/strcasecmp_l.S: New file.
64859 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64860 * sysdeps/x86_64/locale-defines.sym: New file.
64861 * string/test-strcasecmp.c: New file.
64862
64863 * string/test-strcasestr.c: Test both ends of the range of characters.
64864 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64865
64866 2010-07-29 Roland McGrath <roland@redhat.com>
64867
64868 [BZ #11856]
64869 * manual/locale.texi (Yes-or-No Questions): Fix example code.
64870
64871 2010-07-27 Ulrich Drepper <drepper@redhat.com>
64872
64873 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64874 for ld.so.
64875
64876 2010-07-27 Andreas Schwab <schwab@redhat.com>
64877
64878 * manual/memory.texi (Malloc Tunable Parameters): Document
64879 M_PERTURB.
64880
64881 2010-07-26 Roland McGrath <roland@redhat.com>
64882
64883 [BZ #11840]
64884 * configure.in (-fgnu89-inline check): Set and substitute
64885 gnu89_inline, not libc_cv_gnu89_inline.
64886 * configure: Regenerated.
64887 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64888
64889 2010-07-26 Ulrich Drepper <drepper@redhat.com>
64890
64891 * string/test-strnlen.c: New file.
64892 * string/Makefile (strop-tests): Add strnlen.
64893 * string/tester.c (test_strnlen): Add a few more test cases.
64894 * string/tst-strlen.c: Better error reporting.
64895
64896 * sysdeps/x86_64/strnlen.S: New file.
64897
64898 2010-07-24 Ulrich Drepper <drepper@redhat.com>
64899
64900 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64901 lower-latency instructions.
64902
64903 2010-07-23 Ulrich Drepper <drepper@redhat.com>
64904
64905 * string/test-strcasestr.c: New file.
64906 * string/test-strstr.c: New file.
64907 * string/Makefile (strop-tests): Add strstr and strcasestr.
64908 * string/str-two-way.h: Don't undefine MAX.
64909 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64910
64911 2010-07-21 Andreas Schwab <schwab@redhat.com>
64912
64913 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64914 strcasestr-nonascii.
64915 (CFLAGS-strcasestr-nonascii.c): Define.
64916 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64917 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64918 Remove unused attribute.
64919
64920 2010-07-20 Roland McGrath <roland@redhat.com>
64921
64922 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64923 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
64924 ld.so.cache was broken. With it, there is no way to disable dsocaps
64925 like LD_HWCAP_MASK can disable hwcaps.
64926
64927 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
64928
64929 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64930
64931 2010-07-16 Ulrich Drepper <drepper@redhat.com>
64932
64933 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64934 call in strcasestr.
64935 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64936 __strcasestr_sse42_nonascii.
64937 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64938 strcasestr-nonascii.c.
64939 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64940
64941 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
64942
64943 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64944 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64945 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64946 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64947
64948 2010-07-09 Ulrich Drepper <drepper@redhat.com>
64949
64950 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64951 fcntl.
64952
64953 2010-07-06 Andreas Schwab <schwab@redhat.com>
64954
64955 [BZ #11577]
64956 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64957 dl_signal_cerror.
64958
64959 2010-07-06 Ulrich Drepper <drepper@redhat.com>
64960
64961 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64962 _PC_PIPE_BUF using F_GETPIPE_SZ.
64963
64964 2010-07-05 Roland McGrath <roland@redhat.com>
64965
64966 * manual/arith.texi (Rounding Functions): Fix rint description
64967 implicit in round description.
64968
64969 2010-07-02 Ulrich Drepper <drepper@redhat.com>
64970
64971 * elf/Makefile: Fix linking for a few tests to make recent linker
64972 happy.
64973
64974 2010-06-30 Andreas Schwab <schwab@redhat.com>
64975
64976 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64977 $(common-objpfx)libc_nonshared.a.
64978
64979 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
64980
64981 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64982 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64983 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64984 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64985 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64986 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64987 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64988 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65003 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65004 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65005 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65006 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65007 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65008 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65009 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65010 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65011 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65012 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65013 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65014 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65029
65030 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65031
65032 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65033 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65034 * string/memmove.c (memmove): Renamed to ...
65035 (MEMMOVE): ...this. Default to memmove.
65036 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65037 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65038 (END_CHK): Define.
65039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65040 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65041 mempcpy-ssse3-back memmove-ssse3-back.
65042 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65043 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65044 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65045 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65046 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65047 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65048 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65049 * sysdeps/x86_64/multiarch/memmove.c: New file.
65050 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65051 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65052 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65053 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65054 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65055 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65056 Define.
65057 (index_Fast_Copy_Backward): Define.
65058 (HAS_ARCH_FEATURE): Define.
65059 (HAS_FAST_REP_STRING): Define.
65060 (HAS_FAST_COPY_BACKWARD): Define.
65061
65062 2010-06-21 Andreas Schwab <schwab@redhat.com>
65063
65064 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65065 Restore proper fallback handling.
65066
65067 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65068
65069 [BZ #11701]
65070 * posix/group_member.c (__group_member): Correct checking loop.
65071
65072 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65073 OOM in getpwuid_r correctly. Return error number when the caller
65074 should return, otherwise -1.
65075 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65076 call returning > 0 value.
65077 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65078
65079 2010-06-07 Andreas Schwab <schwab@redhat.com>
65080
65081 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65082 libc_nonshared.a from targets in modules-names.
65083
65084 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65085
65086 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65087 requires it.
65088
65089 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65090
65091 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65092 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65095
65096 2010-06-02 Andreas Schwab <schwab@redhat.com>
65097
65098 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65099
65100 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65101
65102 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65103 and F_GETPIPE_SZ.
65104 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65105 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65108 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65109 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65110
65111 2010-06-14 Roland McGrath <roland@redhat.com>
65112
65113 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65114
65115 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65116
65117 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65118 __REDIRECT followed by __THROW.
65119 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65120 * posix/getopt.h (getopt): Likewise.
65121
65122 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65123
65124 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65125 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65126 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65127 in AT_FLAGS.
65128 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65129 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65130
65131 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65132
65133 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65134
65135 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65136
65137 [BZ #11640]
65138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65139 Properly check family and model.
65140
65141 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65142
65143 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65144
65145 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65146
65147 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65148
65149 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65150
65151 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65152 symbol reference.
65153
65154 2010-05-19 Andreas Schwab <schwab@redhat.com>
65155
65156 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65157 symbol reference.
65158
65159 2010-05-21 Andreas Schwab <schwab@redhat.com>
65160
65161 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65162 and internal_recvmmsg.
65163 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65164 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65165 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65166 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65167
65168 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65169 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65170 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65171
65172 2010-05-20 Andreas Schwab <schwab@redhat.com>
65173
65174 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65175
65176 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65177
65178 POWER7 optimizations.
65179 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65180 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65181
65182 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65183
65184 * version.h: Update for 2.13 development version.
65185
65186 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65187
65188 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65189 exceptions. Return 0.
65190
65191 2010-05-07 Roland McGrath <roland@redhat.com>
65192
65193 * elf/ldconfig.c (main): Add a const.
65194
65195 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65196
65197 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65198 (args_options): Add no-idn option.
65199 (ahosts_keys_int): Add idn_flags to ai_flags.
65200 (parse_option): Handle 'i' option to clear idn_flags.
65201
65202 * malloc/malloc.c (_int_free): Possible race in the most recently
65203 added check. Only act on the data if no current modification
65204 happened.
65205
65206 See ChangeLog.17 for earlier changes.