]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix BZ #18872 -- memory leak in printf_positional.
[thirdparty/glibc.git] / ChangeLog
1 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
2 Paul Pluzhnikov <ppluzhnikov@google.com>
3
4 [BZ #18872]
5 * stdio-common/Makefile (tst-printf-bz18872): New test.
6 (tst-printf-bz18872-mem.out): Likewise.
7 * stdio-common/tst-printf-bz18872.sh: Generate new test.
8 * stdio-common/vfprintf.c: Fix memory leaks.
9
10 2015-09-16 Andreas Schwab <schwab@suse.de>
11
12 [BZ #17244]
13 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14 Remove extra va_start/va_end calls.
15
16 [BZ #17243]
17 * posix/execl.c (execl): Add missing va_end.
18 * posix/execle.c (execle): Likewise.
19 * posix/execlp.c (execlp): Likewise.
20
21 2015-09-15 Roland McGrath <roland@hack.frob.com>
22
23 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
24 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25
26 2015-09-15 Joseph Myers <joseph@codesourcery.com>
27
28 [BZ #18967]
29 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
30 undefine around includes of <bits/mathcalls.h>.
31 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
32 not declare function.
33 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
34 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
35 (scalb): Likewise.
36 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
37 not define macro.
38 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
39 variable.
40 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
41 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
43
44 [BZ #18857]
45 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
46 return non-finite argument without doing ordered comparisons on
47 it.
48
49 [BZ #16296]
50 * math/fenv.h (fegetround): Use __attribute_pure__.
51 * include/fenv.h (__fegetround): Likewise.
52
53 [BZ #18595]
54 * math/s_ctan.c (__ctan): Force underflow exception for results
55 whose real or imaginary part has small absolute value.
56 * math/s_ctanf.c (__ctanf): Likewise.
57 * math/s_ctanh.c (__ctanh): Likewise.
58 * math/s_ctanhf.c (__ctanhf): Likewise.
59 * math/s_ctanhl.c (__ctanhl): Likewise.
60 * math/s_ctanl.c (__ctanl): Likewise.
61 * math/auto-libm-test-in: Do not allow missing underflow for ctan
62 and ctanh. Add more tests of ctan and ctanh.
63
64 [BZ #15918]
65 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
66 handling of cases where one argument is an infinity.
67
68 [BZ #18875]
69 [BZ #18966]
70 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
71 (MO): New macro.
72 (__ieee754_exp10): For small results, force underflow exception
73 and remove excess range and precision from return value.
74 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
75 (MO): New macro.
76 (__ieee754_exp10f): For small results, force underflow exception
77 and remove excess range and precision from return value.
78 * math/auto-libm-test-in: Add more tests of exp10.
79 * math/auto-libm-test-out: Regenerated.
80
81 2015-09-14 Joseph Myers <joseph@codesourcery.com>
82
83 [BZ #18875]
84 [BZ #18961]
85 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
86 (MO): New macro.
87 (__ieee754_exp): For small results, force underflow exception and
88 remove excess range and precision from return value.
89 (__exp_finite): Likewise.
90 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
91 (MO): New macro.
92 (__ieee754_expf): For small results, force underflow exception and
93 remove excess range and precision from return value.
94 (__expf_finite): Likewise.
95 * math/auto-libm-test-in: Add more tests of exp.
96 * math/auto-libm-test-out: Regenerated.
97
98 [BZ #16521]
99 [BZ #18875]
100 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
101 small results.
102 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
103 (MO): New macro.
104 (__ieee754_exp2): For small results, force underflow exception and
105 remove excess range and precision from return value.
106 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
107 (MO): New macro.
108 (__ieee754_exp2f): For small results, force underflow exception
109 and remove excess range and precision from return value.
110 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
111 (MO): New macro.
112 (__ieee754_exp2l): Force underflow exception for small results.
113 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
114 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
115 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
116 (MO): New macro.
117 (__ieee754_exp2l): Force underflow exception for small results.
118 * math/auto-libm-test-in: Add more tests or exp2.
119 * math/auto-libm-test-out: Regenerated.
120
121 2015-09-14 Carlos O'Donell <carlos@redhat.com>
122
123 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
124
125 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
126 /dev/null.
127
128 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
129
130 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
131 io fs process)): Drop spurious backslash.
132
133 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
134
135 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
136 Use sysinfo system call instead of parsing /proc/meminfo.
137 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
138 Likewise.
139
140 2015-09-11 Mike Frysinger <vapier@gentoo.org>
141
142 [BZ #16985]
143 * programs/localedef.c (main): Display argv[remaining] when
144 output_path is NULL.
145
146 2015-09-11 Joseph Myers <joseph@codesourcery.com>
147
148 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
149 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
150 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
151 tanh.
152 * math/auto-libm-test-out: Regenerated.
153 * sysdeps/i386/fpu/libm-test-ulps: Update.
154 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
155 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
157
158 2015-09-11 Roland McGrath <roland@hack.frob.com>
159
160 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
161 Use 'override' keyword to freeze the value here, preventing
162 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
163
164 2015-09-11 Joseph Myers <joseph@codesourcery.com>
165
166 [BZ #14912]
167 * sysdeps/aarch64/bits/atomic.h: Move to ...
168 * sysdeps/aarch64/atomic-machine.h: ...here.
169 (_AARCH64_BITS_ATOMIC_H): Rename macro to
170 _AARCH64_ATOMIC_MACHINE_H.
171 * sysdeps/alpha/bits/atomic.h: Move to ...
172 * sysdeps/alpha/atomic-machine.h: ...here.
173 * sysdeps/arm/bits/atomic.h: Move to ...
174 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
175 * bits/atomic.h: Move to ...
176 * sysdeps/generic/atomic-machine.h: ...here.
177 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
178 * sysdeps/i386/bits/atomic.h: Move to ...
179 * sysdeps/i386/atomic-machine.h: ...here.
180 * sysdeps/ia64/bits/atomic.h: Move to ...
181 * sysdeps/ia64/atomic-machine.h: ...here.
182 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
183 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
184 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
185 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
186 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
187 * sysdeps/microblaze/bits/atomic.h: Move to ...
188 * sysdeps/microblaze/atomic-machine.h: ...here.
189 * sysdeps/mips/bits/atomic.h: Move to ...
190 * sysdeps/mips/atomic-machine.h: ...here.
191 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
192 * sysdeps/powerpc/bits/atomic.h: Move to ...
193 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
194 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
195 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
196 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
197 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
198 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
199 <atomic-machine.h> instead of <bits/atomic.h>.
200 * sysdeps/s390/bits/atomic.h: Move to ...
201 * sysdeps/s390/atomic-machine.h: ...here.
202 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
203 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
204 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
205 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
206 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
207 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
208 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
209 * sysdeps/tile/bits/atomic.h: Move to ...
210 * sysdeps/tile/atomic-machine.h: ...here.
211 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
212 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
213 <sysdeps/tile/atomic-machine.h> instead of
214 <sysdeps/tile/bits/atomic.h>.
215 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
216 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
217 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
218 <sysdeps/tile/atomic-machine.h> instead of
219 <sysdeps/tile/bits/atomic.h>.
220 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
221 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
222 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
223 <sysdeps/arm/atomic-machine.h> instead of
224 <sysdeps/arm/bits/atomic.h>.
225 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
226 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
227 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
228 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
229 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
230 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
231 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
232 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
233 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
234 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
235 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
236 * sysdeps/x86_64/bits/atomic.h: Move to ...
237 * sysdeps/x86_64/atomic-machine.h: ...here.
238 * include/atomic.h: Include <atomic-machine.h> instead of
239 <bits/atomic.h>.
240
241 * sysdeps/mips/mips32/libm-test-ulps: Update.
242 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
243
244 [BZ #18952]
245 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
246 not convert non-integer negative arguments to int to determine the
247 value of signgam.
248 * math/auto-libm-test-in: Add more tests of lgamma.
249 * math/auto-libm-test-out: Regenerated.
250
251 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
252 cosh, csqrt, erfc, expm1 and lgamma.
253 * math/auto-libm-test-out: Regenerated.
254 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256
257 2015-09-10 Joseph Myers <joseph@codesourcery.com>
258
259 [BZ #2542]
260 [BZ #2543]
261 [BZ #2558]
262 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
263 __lgamma_neg for arguments from -28.0 to -2.0.
264 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
265 __lgamma_negf for arguments from -15.0 to -2.0.
266 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
267 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
268 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
269 Call __lgamma_negl for arguments from -33.0 to -2.0.
270 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
271 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
272 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
273 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
274 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
275 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
276 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
278 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
279 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
280 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
281 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
282 (__lgamma_neg): Likewise.
283 (__lgamma_negl): Likewise.
284 (__lgamma_product): Likewise.
285 (__lgamma_productl): Likewise.
286 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
287 * math/auto-libm-test-in: Add more tests of lgamma.
288 * math/auto-libm-test-out: Regenerated.
289 * sysdeps/i386/fpu/libm-test-ulps: Update.
290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
291
292 2015-09-09 Justin Maggard <jmaggard@netgear.com>
293
294 [BZ #18675]
295 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
296
297 2015-09-08 Joseph Myers <joseph@codesourcery.com>
298
299 [BZ #14912]
300 * bits/libc-lock.h: Move to ...
301 * sysdeps/generic/libc-lock.h: ...here.
302 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
303 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
304 * sysdeps/mach/hurd/libc-lock.h: ...here.
305 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
306 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
307 * sysdeps/mach/bits/libc-lock.h: Move to ...
308 * sysdeps/mach/libc-lock.h: ...here.
309 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
310 * sysdeps/nptl/bits/libc-lock.h: Move to ...
311 * sysdeps/nptl/libc-lock.h: ...here.
312 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
313 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
314 * sysdeps/nptl/libc-lockP.h: ...here.
315 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
316 * crypt/crypt_util.c: Include <libc-lock.h> instead of
317 <bits/libc-lock.h>.
318 * dirent/scandir-tail.c: Likewise.
319 * dlfcn/dlerror.c: Likewise.
320 * elf/dl-close.c: Likewise.
321 * elf/dl-iteratephdr.c: Likewise.
322 * elf/dl-lookup.c: Likewise.
323 * elf/dl-open.c: Likewise.
324 * elf/dl-support.c: Likewise.
325 * elf/dl-writev.h: Likewise.
326 * elf/rtld.c: Likewise.
327 * grp/fgetgrent.c: Likewise.
328 * gshadow/fgetsgent.c: Likewise.
329 * gshadow/sgetsgent.c: Likewise.
330 * iconv/gconv_conf.c: Likewise.
331 * iconv/gconv_db.c: Likewise.
332 * iconv/gconv_dl.c: Likewise.
333 * iconv/gconv_int.h: Likewise.
334 * iconv/gconv_trans.c: Likewise.
335 * include/link.h: Likewise.
336 * inet/getnameinfo.c: Likewise.
337 * inet/getnetgrent.c: Likewise.
338 * inet/getnetgrent_r.c: Likewise.
339 * intl/bindtextdom.c: Likewise.
340 * intl/dcigettext.c: Likewise.
341 * intl/finddomain.c: Likewise.
342 * intl/gettextP.h: Likewise.
343 * intl/loadmsgcat.c: Likewise.
344 * intl/localealias.c: Likewise.
345 * intl/textdomain.c: Likewise.
346 * libidn/idn-stub.c: Likewise.
347 * libio/libioP.h: Likewise.
348 * locale/duplocale.c: Likewise.
349 * locale/freelocale.c: Likewise.
350 * locale/newlocale.c: Likewise.
351 * locale/setlocale.c: Likewise.
352 * login/getutent_r.c: Likewise.
353 * login/getutid_r.c: Likewise.
354 * login/getutline_r.c: Likewise.
355 * login/utmp-private.h: Likewise.
356 * login/utmpname.c: Likewise.
357 * malloc/mtrace.c: Likewise.
358 * misc/efgcvt.c: Likewise.
359 * misc/error.c: Likewise.
360 * misc/fstab.c: Likewise.
361 * misc/getpass.c: Likewise.
362 * misc/mntent.c: Likewise.
363 * misc/syslog.c: Likewise.
364 * nis/nis_call.c: Likewise.
365 * nis/nis_callback.c: Likewise.
366 * nis/nss-default.c: Likewise.
367 * nis/nss_compat/compat-grp.c: Likewise.
368 * nis/nss_compat/compat-initgroups.c: Likewise.
369 * nis/nss_compat/compat-pwd.c: Likewise.
370 * nis/nss_compat/compat-spwd.c: Likewise.
371 * nis/nss_nis/nis-alias.c: Likewise.
372 * nis/nss_nis/nis-ethers.c: Likewise.
373 * nis/nss_nis/nis-grp.c: Likewise.
374 * nis/nss_nis/nis-hosts.c: Likewise.
375 * nis/nss_nis/nis-network.c: Likewise.
376 * nis/nss_nis/nis-proto.c: Likewise.
377 * nis/nss_nis/nis-pwd.c: Likewise.
378 * nis/nss_nis/nis-rpc.c: Likewise.
379 * nis/nss_nis/nis-service.c: Likewise.
380 * nis/nss_nis/nis-spwd.c: Likewise.
381 * nis/nss_nisplus/nisplus-alias.c: Likewise.
382 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
383 * nis/nss_nisplus/nisplus-grp.c: Likewise.
384 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
385 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
386 * nis/nss_nisplus/nisplus-network.c: Likewise.
387 * nis/nss_nisplus/nisplus-proto.c: Likewise.
388 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
389 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
390 * nis/nss_nisplus/nisplus-service.c: Likewise.
391 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
392 * nis/ypclnt.c: Likewise.
393 * nptl/libc_pthread_init.c: Likewise.
394 * nss/getXXbyYY.c: Likewise.
395 * nss/getXXent.c: Likewise.
396 * nss/getXXent_r.c: Likewise.
397 * nss/nss_db/db-XXX.c: Likewise.
398 * nss/nss_db/db-netgrp.c: Likewise.
399 * nss/nss_db/nss_db.h: Likewise.
400 * nss/nss_files/files-XXX.c: Likewise.
401 * nss/nss_files/files-alias.c: Likewise.
402 * nss/nsswitch.c: Likewise.
403 * posix/regex_internal.h: Likewise.
404 * posix/wordexp.c: Likewise.
405 * pwd/fgetpwent.c: Likewise.
406 * resolv/res_hconf.c: Likewise.
407 * resolv/res_libc.c: Likewise.
408 * shadow/fgetspent.c: Likewise.
409 * shadow/lckpwdf.c: Likewise.
410 * shadow/sgetspent.c: Likewise.
411 * socket/opensock.c: Likewise.
412 * stdio-common/reg-modifier.c: Likewise.
413 * stdio-common/reg-printf.c: Likewise.
414 * stdio-common/reg-type.c: Likewise.
415 * stdio-common/vfprintf.c: Likewise.
416 * stdio-common/vfscanf.c: Likewise.
417 * stdlib/abort.c: Likewise.
418 * stdlib/cxa_atexit.c: Likewise.
419 * stdlib/fmtmsg.c: Likewise.
420 * stdlib/random.c: Likewise.
421 * stdlib/setenv.c: Likewise.
422 * string/strsignal.c: Likewise.
423 * sunrpc/auth_none.c: Likewise.
424 * sunrpc/bindrsvprt.c: Likewise.
425 * sunrpc/create_xid.c: Likewise.
426 * sunrpc/key_call.c: Likewise.
427 * sunrpc/rpc_thread.c: Likewise.
428 * sysdeps/arm/backtrace.c: Likewise.
429 * sysdeps/generic/ldsodefs.h: Likewise.
430 * sysdeps/generic/stdio-lock.h: Likewise.
431 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
432 * sysdeps/i386/backtrace.c: Likewise.
433 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
434 * sysdeps/m68k/backtrace.c: Likewise.
435 * sysdeps/mach/hurd/cthreads.c: Likewise.
436 * sysdeps/mach/hurd/dirstream.h: Likewise.
437 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
438 * sysdeps/nptl/malloc-machine.h: Likewise.
439 * sysdeps/nptl/stdio-lock.h: Likewise.
440 * sysdeps/posix/dirstream.h: Likewise.
441 * sysdeps/posix/getaddrinfo.c: Likewise.
442 * sysdeps/posix/system.c: Likewise.
443 * sysdeps/pthread/aio_suspend.c: Likewise.
444 * sysdeps/s390/s390-32/backtrace.c: Likewise.
445 * sysdeps/s390/s390-64/backtrace.c: Likewise.
446 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
447 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
448 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
449 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
450 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
451 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
452 * sysdeps/unix/sysv/linux/system.c: Likewise.
453 * sysdeps/x86_64/backtrace.c: Likewise.
454 * time/alt_digit.c: Likewise.
455 * time/era.c: Likewise.
456 * time/tzset.c: Likewise.
457 * wcsmbs/wcsmbsload.c: Likewise.
458 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
459 instead of <bits/libc-lock.h> in comment.
460
461 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
462
463 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
464 Only use .set mips2 if the current ISA is below mips2.
465 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
466 Likewise.
467 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
468 mips32r2 if the current ISA is below mips32r2.
469 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
470 (TLS_IE): Updated to use the TLD_RDHWR macro.
471 (TLS_LE): Likewise.
472 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
473 __ASSEMBLER__ condition.
474
475 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
476
477 Fix parallel build of before-compile targets.
478
479 * sysdeps/mach/Makefile ($(patsubst
480 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
481 mach-before-compile target.
482 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
483 io fs process)): Move rule to dedicated hurd-before-compile target.
484
485 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
486
487 Fix rules generating headers in hurd/ and mach/ when initial make call
488 has subdir= explicitly set.
489
490 * sysdeps/mach/Makefile ($(patsubst
491 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
492 calling $(MAKE).
493 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
494 io fs process)): Force subdir to hurd when calling $(MAKE).
495 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
496 subdir to mach when calling $(MAKE).
497
498 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
499
500 Check sysheaders when looking for Mach and Hurd headers
501
502 * sysdeps/mach/configure.ac: Add sysheaders check.
503 * sysdeps/mach/configure: Regenerate.
504 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
505 * sysdeps/mach/hurd/configure: Regenerate.
506
507 2015-09-04 Roland McGrath <roland@hack.frob.com>
508
509 [BZ #18921]
510 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
511 Fix inverted sense of test of 'o_directory_works' value.
512 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
513 Bernhard Voelker <mail@bernhard-voelker.de>.
514
515 2015-09-04 Joseph Myers <joseph@codesourcery.com>
516
517 [BZ #14912]
518 * bits/linkmap.h: Move to ...
519 * sysdeps/generic/linkmap.h: ...here.
520 * sysdeps/aarch64/bits/linkmap.h: Move to ...
521 * sysdeps/aarch64/linkmap.h: ...here.
522 * sysdeps/arm/bits/linkmap.h: Move to ...
523 * sysdeps/arm/linkmap.h: ...here.
524 * sysdeps/hppa/bits/linkmap.h: Move to ...
525 * sysdeps/hppa/linkmap.h: ...here.
526 * sysdeps/ia64/bits/linkmap.h: Move to ...
527 * sysdeps/ia64/linkmap.h: ...here.
528 * sysdeps/mips/bits/linkmap.h: Move to ...
529 * sysdeps/mips/linkmap.h: ...here.
530 * sysdeps/s390/bits/linkmap.h: Move to ...
531 * sysdeps/s390/linkmap.h: ...here.
532 * sysdeps/sh/bits/linkmap.h: Move to ...
533 * sysdeps/sh/linkmap.h: ...here.
534 * sysdeps/x86/bits/linkmap.h: Move to ...
535 * sysdeps/x86/linkmap.h: ...here.
536 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
537
538 2015-09-04 Andreas Schwab <schwab@suse.de>
539
540 [BZ #18635]
541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
542 (__makecontext): Terminate FDE before return label.
543 (__novec_makecontext): Likewise.
544
545 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
546
547 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
548 first member of struct sv in syscall macro.
549
550 2015-09-04 Joseph Myers <joseph@codesourcery.com>
551
552 [BZ #14912]
553 * bits/stdio-lock.h: Move to ...
554 * sysdeps/generic/stdio-lock.h: ...here.
555 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
556 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
557 * sysdeps/nptl/stdio-lock.h: ...here.
558 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
559 * include/libio.h: Include <stdio-lock.h> instead of
560 <bits/stdio-lock.h>.
561 * sysdeps/nptl/fork.c: Likewise.
562 * sysdeps/pthread/flockfile.c: Likewise.
563 * sysdeps/pthread/ftrylockfile.c: Likewise.
564 * sysdeps/pthread/funlockfile.c: Likewise.
565
566 [BZ #14912]
567 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
568 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
569 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
570 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
571 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
572 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
573 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
574
575 2015-09-03 Roland McGrath <roland@hack.frob.com>
576
577 * elf/Makefile (test-xfail-tst-protected1a): New variable.
578 (test-xfail-tst-protected1b): New variable.
579
580 2015-09-03 Joseph Myers <joseph@codesourcery.com>
581
582 [BZ #14912]
583 * bits/libc-tsd.h: Move to ...
584 * sysdeps/generic/libc-tsd.h: ...here.
585 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
586 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
587 * sysdeps/mach/hurd/libc-tsd.h: ...here.
588 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
589 * include/ctype.h: Include <libc-tsd.h> instead of
590 <bits/libc-tsd.h>.
591 * include/rpc/rpc.h: Likewise.
592 * locale/localeinfo.h: Likewise.
593 * sunrpc/rpc_thread.c: Likewise.
594 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
595 * sysdeps/nptl/malloc-machine.h: Likewise.
596
597 * Makefile (headers): Remove bits/libc-lock.h.
598 * libio/Makefile (headers): Remove bits/stdio-lock.h.
599
600 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
601 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
602 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
603 <bits/stdio-lock.h>.
604 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
605 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
606
607 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
608
609 [BZ #18757]
610 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
611 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
612 BZ #18757.
613
614 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
615
616 * malloc/mtrace.pl: Filter out NULL entries.
617
618 2015-09-01 Joseph Myers <joseph@codesourcery.com>
619
620 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
621 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
622 macro.
623
624 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
625 (TCP_CC_INFO): Likewise.
626 (TCP_SAVE_SYN): Likewise.
627 (TCP_SAVED_SYN): Likewise.
628
629 2015-08-31 Brett Neumeier <brett@neumeier.us>
630
631 [BZ #18870]
632 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
633
634 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
635
636 [BZ #18873]
637 Fix broken overflow check in posix_fallocate
638 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
639 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
640 Fix parenthesization typo.
641
642 2015-08-28 Mike Frysinger <vapier@gentoo.org>
643
644 [BZ #18887]
645 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
646 tst-mntent-blank-passno.
647 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
648 * misc/tst-mntent-blank-corrupt.c: New test.
649 * misc/tst-mntent-blank-passno.c: New test ripped from ...
650 * misc/tst-mntent.c (do_test): ... here.
651
652 2015-08-29 Mike Frysinger <vapier@gentoo.org>
653
654 [BZ #4404]
655 * po/de.po: Fix SIGALRM typo.
656
657 2015-08-28 James Perkins <james@loowit.net>
658
659 * time/tst-strptime2.c (tests): Replace short list of test
660 strings for strptime %z specifier with code which exhaustively
661 tests every combination of sign and 0 to 5 digits. Tests for
662 rejection of invalid strings.
663
664 2015-08-28 James Perkins <james@loowit.net>
665
666 [BZ #16141]
667 * time/strptime_l.c (__strptime_internal): Fix %z minutes
668 calculation, removing incorrect decimal time rounding, so that
669 all minute values result in a valid seconds value.
670 * time/strptime_l.c (__strptime_internal): Extend %z time zone
671 offset range limits to UTC-99:59 through UTC+99:59 to parse
672 current and historical use cases.
673 * time/tst-strptime2.c (tests): Modify and add tests for the
674 strptime %z input field descriptor, specifically conversion of
675 minutes to seconds and validating an offset range of -9959 to
676 +9959.
677
678 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
679 Dmitry V. Levin <ldv@altlinux.org>
680
681 [BZ #18877]
682 * posix/Makefile (tests): Add tst-mmap-offset.
683 * posix/tst-mmap.c: New file.
684 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
685 offset calculation for negative values.
686
687 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
688
689 * sysdeps/i386/init-arch.h: New file.
690 * sysdeps/i386/i586/init-arch.h: Likewise.
691 * sysdeps/i386/i686/init-arch.h: Likewise.
692 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
693 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
694 * sysdeps/x86/cpu-features.h (bit_I586): New.
695 (bit_I686): Likewise.
696 (bit_CX8): Likewise.
697 (bit_CMOV): Likewise.
698 (index_CX8): Likewise.
699 (index_CMOV): Likewise.
700 (index_I586): Likewise.
701 (index_I686): Likewise.
702 (reg_CX8): Likewise.
703 (reg_CMOV): Likewise.
704 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
705 available at compile-time.
706 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
707 available at compile-time.
708 * sysdeps/x86/init-arch.h (USE_I586): New macro.
709 (USE_I686): Likewise.
710
711 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
712
713 * sysdeps/i386/bcopy.S: New file.
714 * sysdeps/i386/bzero.S: Likewise.
715 * sysdeps/i386/memcpy.S: Likewise.
716 * sysdeps/i386/memmove.S: Likewise.
717 * sysdeps/i386/mempcpy.S: Likewise.
718 * sysdeps/i386/memset.S: Likewise.
719 * sysdeps/i386/bzero.c: Removed.
720 * sysdeps/i386/memset.c: Likewise.
721 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
722 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
723 * sysdeps/i386/i586/memset_chk.S: Likewise.
724 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
725 * sysdeps/i386/memcpy_chk.S: Here.
726 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
727 * sysdeps/i386/memmove_chk.S: Here.
728 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
729 * sysdeps/i386/mempcpy_chk.S: Likewise.
730 * sysdeps/i386/i686/memset_chk.S: Moved to ...
731 * sysdeps/i386/memset_chk.S: Likewise.
732
733 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
734
735 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
736 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
737 file, move DIAG_POP_NEEDS_COMMENT to end of file.
738 * soft-fp/fmadf4.c: Ditto.
739 * soft-fp/fmatf4.c: Ditto.
740
741 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
742
743 * sysdeps/i386/i586/Implies: Removed.
744 * sysdeps/i386/i686/Implies: Likewise.
745
746 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
747
748 * sysdeps/i386/i486/strlen.S: Moved to ...
749 * sysdeps/i386/strlen.S: Here.
750
751 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
752
753 * sysdeps/i386/i486/strcat.S: Moved to ...
754 * sysdeps/i386/strcat.S: Here.
755
756 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
757
758 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
759 * sysdeps/i386/pthread_spin_trylock.S: Here.
760 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
761 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
762
763 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
764
765 * sysdeps/i386/i486/string-inlines.c: Moved to ...
766 * sysdeps/i386/string-inlines.c: Here.
767
768 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
769
770 * sysdeps/i386/i486/htonl.S: Moved ...
771 * sysdeps/i386/htonl.S: here.
772
773 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
774
775 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
776 * sysdeps/i386/bits/atomic.h: Here.
777
778 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
779
780 * sysdeps/i386/i486/Versions: Removed.
781
782 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
783
784 [BZ #2898]
785 * misc/mktemp.c: Add mkdtemp to the link_warning message.
786 Based on patch by Aurelien Jarno.
787
788 2015-08-26 Stan Shebs <stanshebs@google.com>
789
790 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
791 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
792
793 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
794
795 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
796 * sysdeps/powerpc/dl-procinfo.c:
797 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
798 feature so it shows when LD_SHOW_AUXV=1.
799
800 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
801
802 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
803 (__arch_compare_and_exchange_val_32_acq): Remove and use common
804 definition. ISA 2.07B no longer requires full sync.
805
806 2015-08-26 Mike Frysinger <vapier@gentoo.org>
807
808 [BZ #18863]
809 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
810 (si_call_addr): Define.
811 (si_syscall): Define.
812 (si_arch): Define.
813
814 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
815
816 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
817 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
818 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
819 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
820 (__memset_zero_constant_len_parameter): New.
821 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
822 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
823 (__memset_zero_constant_len_parameter): Don't define if
824 __memset_chk or USE_AS_BZERO are defined.
825
826 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
827 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
828 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
829
830 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
831 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
832 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
833 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
834 comments.
835 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
836 -mno-mmx for $(all-rtld-routines).
837 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
838 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
839 i386.
840
841 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
842
843 * sysdeps/generic/unwind.h
844 (_Unwind_Word): Use __mode__(__unwind_word__)
845 instead of __mode__(__word__).
846 (_Unwind_Sword): Likewise.
847
848 * sysdeps/s390/s390-64/utf8-utf16-z9.c
849 (MAX_NEEDED_INPUT): New define.
850 (MAX_NEEDED_OUTPUT): New define.
851
852 * NEWS: New item for IBM z13 string optimizations.
853
854 * sysdeps/s390/multiarch/memrchr-c.c: New File.
855 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
856 * sysdeps/s390/multiarch/memrchr.c: Likewise.
857 * sysdeps/s390/multiarch/Makefile
858 (sysdep_routines): Add memrchr functions.
859 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
860 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
861
862 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
863 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
864 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
865 * sysdeps/s390/multiarch/Makefile
866 (sysdep_routines): Add wmemcmp functions.
867 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
868 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
869 * benchtests/bench-wmemcmp.c: New File.
870 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
871
872 * sysdeps/s390/multiarch/wmemset-c.c: New File.
873 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
874 * sysdeps/s390/multiarch/wmemset.c: Likewise.
875 * sysdeps/s390/multiarch/Makefile
876 (sysdep_routines): Add wmemset functions.
877 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
878 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
879 * wcsmbs/wmemset.c: Use WMEMSET if defined.
880 * string/test-memset.c: Add wmemset support.
881 * wcsmbs/test-wmemset.c: New File.
882 * wcsmbs/Makefile (strop-tests): Add wmemset.
883 * benchtests/bench-memset.c: Add wmemset support.
884 * benchtests/bench-wmemset.c: New File.
885 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
886
887 * sysdeps/s390/multiarch/memccpy-c.c: New File.
888 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
889 * sysdeps/s390/multiarch/memccpy.c: Likewise.
890 * sysdeps/s390/multiarch/Makefile
891 (sysdep_routines): Add memccpy functions.
892 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
893 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
894 * string/memccpy.c: Use MEMCCPY if defined.
895
896 * sysdeps/s390/multiarch/memchr-vx.S: New File.
897 * sysdeps/s390/multiarch/memchr.c: Likewise.
898 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
899 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
900 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
901 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
902 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
903 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
904 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
905 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
906 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
907 and rawmemchr functions.
908 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
909 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
910 and wmemchr.
911 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
912 * string/test-memchr.c: Add wmemchr support.
913 * wcsmbs/test-wmemchr.c: New File.
914 * wcsmbs/Makefile (strop-tests): Add wmemchr.
915 * benchtests/bench-memchr.c: Add wmemchr support.
916 * benchtests/bench-wmemchr.c: New File.
917 * benchtests/Makefile (wcsmbs-bench): wmemchr.
918
919 * sysdeps/s390/multiarch/strcspn-c.c: New File.
920 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
921 * sysdeps/s390/multiarch/strcspn.c: Likewise.
922 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
923 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
924 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
925 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
926 wcscspn functions.
927 * sysdeps/s390/multiarch/ifunc-impl-list.c
928 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
929 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
930 * string/test-strcspn.c: Add wcscspn support.
931 * wcsmbs/test-wcscspn.c: New File.
932 * wcsmbs/Makefile (strop-tests): Add wcscspn.
933 * benchtests/bench-strcspn.c: Add wcscspn support.
934 * benchtests/bench-wcscspn.c: New File.
935 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
936
937 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
938 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
939 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
940 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
941 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
942 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
943 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
944 wcspbrk functions.
945 * sysdeps/s390/multiarch/ifunc-impl-list.c
946 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
947 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
948 * string/test-strpbrk.c: Add wcspbrk support.
949 * wcsmbs/test-wcspbrk.c: New File.
950 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
951 * benchtests/bench-strpbrk.c: Add wcspbrk support.
952 * benchtests/bench-wcspbrk.c: New File.
953 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
954
955 * sysdeps/s390/multiarch/strspn-c.c: New File.
956 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
957 * sysdeps/s390/multiarch/strspn.c: Likewise.
958 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
959 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
960 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
961 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
962 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
963 wcsspn functions.
964 * sysdeps/s390/multiarch/ifunc-impl-list.c
965 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
966 * string/test-strspn.c: Add wcsspn support.
967 * wcsmbs/test-wcsspn.c: New File.
968 * wcsmbs/Makefile (strop-tests): Add wcsspn.
969 * benchtests/bench-strspn.c: Add wcsspn support.
970 * benchtests/bench-wcsspn.c: New File.
971 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
972
973 * sysdeps/s390/multiarch/strrchr-c.c: New File.
974 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
975 * sysdeps/s390/multiarch/strrchr.c: Likewise.
976 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
977 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
978 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
979 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
980 wcsrchr functions.
981 * sysdeps/s390/multiarch/ifunc-impl-list.c
982 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
983 * benchtests/bench-wcsrchr.c: New File.
984 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
985
986 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
987 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
988 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
989 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
990 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
991 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
992 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
993 wcschrnul functions.
994 * sysdeps/s390/multiarch/ifunc-impl-list.c
995 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
996 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
997 * string/test-strchr.c: Add wcschrnul support.
998 * wcsmbs/test-wcschrnul.c: New File.
999 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1000 * benchtests/bench-strchr.c: Add wcschrnul support.
1001 * benchtests/bench-wcschrnul.c: New File.
1002 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1003
1004 * sysdeps/s390/multiarch/strchr-c.c: New File.
1005 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1006 * sysdeps/s390/multiarch/strchr.c: Likewise.
1007 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1008 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1009 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1010 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1011 wcschr functions.
1012 * sysdeps/s390/multiarch/ifunc-impl-list.c
1013 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1014 * string/strchr.c (STRCHR): Define and use macro.
1015 * benchtests/bench-wcschr.c: New File.
1016 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1017
1018 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1019 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1020 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1021 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1022 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1023 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1024 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1025 wcsncmp functions.
1026 * sysdeps/s390/multiarch/ifunc-impl-list.c
1027 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1028 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1029 * benchtests/bench-strncmp.c: Add wcsncmp support.
1030 * benchtests/bench-wcsncmp.c: New File.
1031 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1032
1033 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1034 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1035 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1036 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1037 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1038 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1039 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1040 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1041 wcscmp functions.
1042 * sysdeps/s390/multiarch/ifunc-impl-list.c
1043 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1044 * string/strcmp.c (STRCMP): Define and use macro.
1045 * benchtests/bench-wcscmp.c: New File.
1046 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1047 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1048 instead of _HAVE_STRING_ARCH_memchr.
1049
1050 * sysdeps/s390/multiarch/strncat-c.c: New File.
1051 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1052 * sysdeps/s390/multiarch/strncat.c: Likewise.
1053 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1054 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1055 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1056 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1057 wcsncat functions.
1058 * sysdeps/s390/multiarch/ifunc-impl-list.c
1059 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1060 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1061 * string/test-strncat.c: Add wcsncat support.
1062 * wcsmbs/test-wcsncat.c: New File.
1063 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1064 * benchtests/bench-strncat.c: Add wcsncat support.
1065 * benchtests/bench-wcsncat.c: New File.
1066 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1067
1068 * sysdeps/s390/multiarch/strcat-c.c: New File.
1069 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1070 * sysdeps/s390/multiarch/strcat.c: Likewise.
1071 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1072 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1073 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1074 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1075 wcscat functions.
1076 * sysdeps/s390/multiarch/ifunc-impl-list.c
1077 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1078 * string/strcat.c (STRCAT): Define and use macro.
1079 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1080 * string/test-strcat.c: Add wcscat support.
1081 * wcsmbs/test-wcscat.c: New File.
1082 * wcsmbs/Makefile (strop-tests): Add wcscat.
1083 * benchtests/bench-strcat.c: Add wcscat support.
1084 * benchtests/bench-wcscat.c: New File.
1085 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1086
1087 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1088 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1089 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1090 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1091 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1092 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1093 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1094 wcpncpy functions.
1095 * sysdeps/s390/multiarch/ifunc-impl-list.c
1096 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1097 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1098 * string/test-stpncpy.c: Add wcpncpy support.
1099 * wcsmbs/test-wcpncpy.c: New File.
1100 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1101 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1102 * benchtests/bench-wcpncpy.c: New File.
1103 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1104
1105 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1106 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1107 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1108 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1109 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1110 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1111 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1112 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1113 wcsncpy functions.
1114 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1115 * sysdeps/s390/multiarch/ifunc-impl-list.c
1116 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1117 * string/test-strncpy.c: Add wcsncpy support.
1118 * wcsmbs/test-wcsncpy.c: New File.
1119 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1120 * benchtests/bench-strncpy.c: Add wcsncpy support.
1121 * benchtests/bench-wcsncpy.c: New File.
1122 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1123
1124 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1125 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1126 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1127 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1128 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1129 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1130 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1131 wcpcpy functions.
1132 * string/stpcpy.c: Use STPCPY if defined.
1133 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1134 * sysdeps/s390/multiarch/ifunc-impl-list.c
1135 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1136 * string/test-stpcpy.c: Add wcpcpy support.
1137 * wcsmbs/test-wcpcpy.c: New File.
1138 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1139 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1140 * benchtests/bench-wcpcpy.c: New File.
1141 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1142
1143 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1144 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1145 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1146 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1147 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1148 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1149 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1150 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1151 wcscpy functions.
1152 * sysdeps/s390/multiarch/ifunc-impl-list.c
1153 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1154 * benchtests/bench-wcscpy.c: New File.
1155 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1156
1157 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1158 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1159 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1160 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1161 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1162 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1163 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1164 wcsnlen functions.
1165 * sysdeps/s390/multiarch/ifunc-impl-list.c
1166 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1167 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1168 * string/test-strnlen.c: Add wcsnlen support.
1169 * wcsmbs/test-wcsnlen.c: New File.
1170 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1171 * benchtests/bench-strnlen.c: Add wcsnlen support.
1172 * benchtests/bench-wcsnlen.c: New File.
1173 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1174
1175 * sysdeps/s390/multiarch/Makefile: New File.
1176 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1177 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1178 * sysdeps/s390/multiarch/strlen.c: Likewise.
1179 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1180 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1181 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1182 * string/strlen.c (STRLEN): Define and use macro.
1183 * sysdeps/s390/multiarch/ifunc-impl-list.c
1184 (IFUNC_VX_IMPL): New macro function.
1185 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1186 * benchtests/Makefile (wcsmbs-bench): New variable.
1187 (string-bench-all): Added wcsmbs-bench.
1188 * benchtests/bench-wcslen.c: New File.
1189
1190 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1191 s390_vx_libc_ifunc2): New macro function.
1192
1193 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1194 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1195 assembler support.
1196 * sysdeps/s390/configure: Regenerated.
1197
1198 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1199 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1200
1201 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1202 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1203 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1204
1205 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1206 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1207 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1208 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1209 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1210 (memcmp, bcmp): Use __memcmp_default as alias source.
1211 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1212 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1213 Rename to __memcmp_default.
1214 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1215 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1216 (memcpy): Use __memcpy_default as alias source.
1217 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1218 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1219 Rename to __memcpy_default.
1220 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1221 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1222 (memset): Use __memset_default as alias source.
1223 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1224 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1225 Rename to __memset_default.
1226 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1227 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1228 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1229 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1230 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1231 (memcmp, bcmp): Use __memcmp_default as alias source.
1232 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1233 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1234 Rename to __memcmp_default.
1235 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1236 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1237 (memcpy): Use __memcpy_default as alias source.
1238 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1239 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1240 Rename to __memcpy_default.
1241 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1242 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1243 (memset): Use __memset_default as alias source.
1244 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1245 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1246 Rename to __memset_default.
1247 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1248 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1249
1250 [BZ #18610]
1251 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1252 __ieee_instruction_pointer to __unused.
1253 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1254 __ieee_instruction_pointer.
1255 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1256 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1257 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1258 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1259 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1260 Mark dxc-field as reserved.
1261
1262 2015-08-25 Roland McGrath <roland@hack.frob.com>
1263
1264 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1265 if the weak reference is not null.
1266
1267 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1268
1269 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1270
1271 [BZ #11214]
1272 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1273
1274 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1275
1276 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1277 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1278 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1279 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1280 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1281 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1282 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1283 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1284 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1285 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1286 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1287 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1288 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1289 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1290 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1291 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1292 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1293 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1294
1295 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1296
1297 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1298 register other than r0 for tabort, it has special meaning.
1299 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1300 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1301 transaction before starting syscall.
1302
1303 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1304
1305 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1306
1307 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1308
1309 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1310
1311 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1312 * sysdeps/x86_64/rtld-memset.S: Likewise.
1313 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1314 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1315 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1316 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1317
1318 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1319
1320 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1321
1322 * debug/strcpy_chk.c: Improve performance.
1323 * debug/stpcpy_chk.c: Likewise.
1324 * sysdeps/x86_64/strcpy_chk.S: Remove.
1325 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1326
1327 [BZ #18240]
1328 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1329
1330 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1331
1332 [BZ #15128]
1333 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1334 ifuncmain8.
1335 (modules-names): Add ifuncmod8.
1336 ($(objpfx)ifuncmain8): New rule.
1337 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1338 <cpuid.h>.
1339 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1340 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1341 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1342 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1343 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1344 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1345 * sysdeps/x86_64/ifuncmain8.c: New file.
1346 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1347 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1348 Removed.
1349 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1350 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1351 Change rtld_savespace_sse to __glibc_unused2.
1352 (RTLD_CHECK_FOREIGN_CALL): Removed.
1353 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1354 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1355 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1356
1357 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1358
1359 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1360
1361 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1362
1363 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1364 Unconditionally set __fpcr to avoid uninialized warning.
1365 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1366
1367 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1368
1369 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1370 is corrupt.
1371
1372 * malloc/arena.c (arena_get2): Drop unused argument.
1373 (arena_lock): Adjust.
1374 (arena_get_retry): Likewise.
1375
1376 2015-08-24 Andreas Schwab <schwab@suse.de>
1377
1378 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1379 Don't define.
1380 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1381 (__ASSUME_IPC64): Don't undef.
1382 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1383 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1384 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1385 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1386 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1387 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1388 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1389 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1390 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1391 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1392 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1393 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1394 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1395 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1396 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1397 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1398 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1399 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1400 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1401 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1402 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1403
1404 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1405
1406 * manual/Makefile (install): Only build manual when perl is available.
1407
1408 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1409
1410 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1411 '#undef memcpy' by '#undef memchr'.
1412
1413 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1414
1415 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1416 memchr not point to the internal __GI_memchr implementation.
1417
1418 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1419
1420 * timezone/Makefile (CFLAGS-zdump.c): Remove
1421 -Wno-strict-prototypes.
1422 (CFLAGS-zic.c): Likewise.
1423 (CFLAGS-ialloc.c): Likewise.
1424 (CFLAGS-scheck.c): Likewise.
1425
1426 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1427 -Wno-error=undef.
1428
1429 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1430
1431 * i386/i686/multiarch/strcasestr-c.c: Removed.
1432 * x86_64/multiarch/strcasestr.c: Likewise.
1433 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1434 Remove strcasestr.
1435
1436 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1437
1438 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1439
1440 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1441 variables for high and low parts before possibly modifying them.
1442
1443 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1444
1445 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1446 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1447 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1448 of "multiarch/init-arch.h".
1449 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1450 * sysdeps/x86/init-arch.h: This.
1451
1452 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1453
1454 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1455 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1456
1457 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1458
1459 [BZ #17787]
1460 * manual/macros.texi: Add twoexp macro.
1461 * manual/filesys.texi: Fix exponents.
1462 * manual/llio.texi: Likewise.
1463 * manual/stdio.texi: Likewise.
1464
1465 2015-08-20 Florian Weimer <fweimer@redhat.com>
1466
1467 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1468 incorrect use.
1469
1470 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1471
1472 [BZ #18370]
1473 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1474 whose real or imaginary part has small absolute value.
1475 * math/s_csqrtf.c (__csqrtf): Likewise.
1476 * math/s_csqrtl.c (__csqrtl): Likewise.
1477 * math/auto-libm-test-in: Add more tests of csqrt.
1478 * math/auto-libm-test-out: Regenerated.
1479 * sysdeps/i386/fpu/libm-test-ulps: Update.
1480
1481 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1482
1483 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1484 __ppc_set_ppr_very_low): New functions.
1485 * manual/platform.texi: Add documentation about
1486 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1487
1488 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1489
1490 * string/stpncpy.c (stpncpy): Improve performance using
1491 __strnlen/memcpy/memset.
1492
1493 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1494
1495 [BZ #18796]
1496 * scripts/test-installation.pl: Don't add -lmvec to build options if
1497 libmvec wasn't built.
1498
1499 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1500
1501 [BZ #14341]
1502 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1503 case when there is a gap between DT_REL and DT_JMPREL sections.
1504 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1505 (LDFLAGS-tst-split-dynreloc): New.
1506 (tst-split-dynreloc-ENV): Likewise.
1507 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1508 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1509
1510 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1511
1512 [BZ #18822]
1513 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1514 attribute_hidden.
1515 (__xstat64_conv): Likewise.
1516 (__xstat32_conv): Likewise.
1517
1518 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1519
1520 [BZ #18822]
1521 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1522 Don't load %ebx when calling __setcontext. Call __setcontext
1523 with HIDDEN_JUMPTARGET.
1524 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1525 libc_hidden_def.
1526
1527 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1528
1529 * sysdeps/i386/i686/Makefile
1530 [$(subdir) == string] (sysdep_routines): Moved to ...
1531 * sysdeps/i386/Makefile: Here.
1532 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1533 * sysdeps/i386/cacheinfo.c: Here.
1534 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1535 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1536 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1537 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1538
1539 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1542 __i586__ is defined.
1543 (HAS_I686): Defined to 1 if __i686__ is defined.
1544
1545 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1546
1547 * elf/Makefile [$(have-z-execstack) = yes]
1548 (CPPFLAGS-tst-execstack.c): New variable.
1549
1550 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1551 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1552 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1553 UTMPX || _HAVE_UT_TV].
1554 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1555 UTMPX || _HAVE_UT_TV - 0].
1556
1557 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1558
1559 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1560 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1561 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1562
1563 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1564
1565 * sysdeps/powerpc/dl-procinfo.c:
1566 (_dl_powerpc_cap_flags): Added missing strings for some
1567 hwcap features.
1568 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1569
1570 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1571
1572 Port the 0x7efe...feff pattern to GCC 6.
1573 See Steve Ellcey's bug report in:
1574 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1575 * string/memrchr.c (MEMRCHR):
1576 * string/rawmemchr.c (RAWMEMCHR):
1577 * string/strchr.c (strchr):
1578 * string/strchrnul.c (STRCHRNUL):
1579 Rewrite code to avoid issues with signed shift overflow.
1580
1581 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1582
1583 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1584 whether cpuid is available only if HAS_CPUID is 0.
1585 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1586 (HAS_I586): Likewise.
1587 (HAS_I686): Likewise.
1588
1589 2015-08-18 Zack Weinberg <zackw@panix.com>
1590
1591 * misc/Versions (libc): Add GLIBC_2.23.
1592
1593 2015-08-18 Alan Modra <amodra@gmail.com>
1594
1595 [BZ #18421]
1596 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1597 .Lp__global.
1598 (_start): Load %dp via .Lp__global.
1599 [!SHARED]: Use .section .rodata.
1600
1601 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1602
1603 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1604 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1605
1606 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1607
1608 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1609 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1610
1611 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1612
1613 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1614 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1615
1616 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1617
1618 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1619 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1620
1621 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1622
1623 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1624 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1625
1626 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1627
1628 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1629 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1630
1631 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1632
1633 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1634
1635 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1636
1637 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1638 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1639 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1640 (__ASSUME_LWS_CAS): Delete.
1641
1642 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1643
1644 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1645 * sysdeps/hppa/configure: Regenerated.
1646 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1647 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1648 * sysdeps/hppa/nptl/tls.h: Likewise.
1649
1650 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1651
1652 [BZ #18823]
1653 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1654 for scaling up small arguments.
1655 * math/s_csqrtf.c (__csqrtf): Likewise.
1656 * math/s_csqrtl.c (__csqrtl): Likewise.
1657 * math/auto-libm-test-in: Add more tests of csqrt.
1658 * math/auto-libm-test-out: Regenerated.
1659
1660 2015-08-17 Andreas Schwab <schwab@suse.de>
1661
1662 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1663 version set GLIBC_2.19.
1664
1665 2015-08-16 Zack Weinberg <zackw@panix.com>
1666
1667 [BZ #18681]
1668 * misc/regexp.h: This interface is no longer supported.
1669 Remove all contents, leaving only an #error directive.
1670 * misc/regexp.c (loc1, loc2, locs, step, advance):
1671 Demote to compatibility symbols.
1672
1673 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1674
1675 [BZ #18084]
1676 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1677 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1678 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1679 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1680 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1681 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1682 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1683 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1684 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1685
1686 2015-08-15 Zack Weinberg <zackw@panix.com>
1687
1688 [BZ #18795]
1689 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1690 buffer length is known to be too large, not if it's known to be
1691 small enough.
1692 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1693 overflow at runtime, involving a length parameter, twice: once
1694 with a compile-time constant length parameter, once without.
1695
1696 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1697
1698 [BZ #18824]
1699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1700 scaling x * y up instead of down.
1701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1702 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1703 * math/auto-libm-test-in: Add more tests of fma.
1704 * math/auto-libm-test-out: Regenerated.
1705
1706 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1707
1708 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1709
1710 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1711
1712 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1713 unnecessary movq.
1714 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1715 Likewise.
1716
1717 2015-08-13 Joseph Myers <joseph@codesourcery.com>
1718
1719 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1720 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1721 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1722 and tgamma.
1723 * math/auto-libm-test-out: Regenerated.
1724 * sysdeps/i386/fpu/libm-test-ulps: Update.
1725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1726
1727 [BZ #16520]
1728 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1729 (__tanh): Force underflow exception for arguments with small
1730 absolute value.
1731 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1732 (__tanhf): Force underflow exception for arguments with small
1733 absolute value.
1734 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1735 (__tanhl): Force underflow exception for arguments with small
1736 absolute value.
1737 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1738 (__tanhl): Force underflow exception for arguments with small
1739 absolute value.
1740 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1741 (__tanhl): Force underflow exception for arguments with small
1742 absolute value.
1743 * math/auto-libm-test-in: Add more tests of tanh.
1744 * math/auto-libm-test-out: Regenerated.
1745 * sysdeps/i386/fpu/libm-test-ulps: Update.
1746
1747 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1748
1749 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1750 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1751
1752 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1753
1754 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1755 <cpuid.h>.
1756
1757 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1758
1759 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1760 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1761
1762 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1763
1764 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1765 Remove $(objpfx)init-arch.o.
1766 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1767 init-arch.
1768 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1769 (INIT_ARCH_EXT): Defined as empty.
1770 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1771 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1772 __init_cpu_features call. Replace HAS_XXX with
1773 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1774 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1775 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1776 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1777 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1778 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1779 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1780 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1781 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1782 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1783 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1784 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1785 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1786 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1787 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1788 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1789 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1790 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1791 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1792 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1793 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1794 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1795 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1796 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1797 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1798 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1799 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1800 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1801 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1802 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1803 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1804 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1805 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1806 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1807 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1808 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1809
1810 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1811
1812 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1813 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1814 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1815 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1816 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1817 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1818 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1819 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1820 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1821 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1822 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1823 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
1824 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1825 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1826 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1827 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1828 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1829 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1830 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1831 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1832 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1833 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1834 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1835 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1836 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1837 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1838 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1839 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1840 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1841 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1842 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1843 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1844 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1845 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1846 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1847 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1848 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1849 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1850 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1851 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1852 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1853 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1854 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1855
1856 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1857
1858 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1859 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1860 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1862 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1863 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1864 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1865 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1866 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1869 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1870 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1871 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1872 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1873 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1874 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1875 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1876 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1877 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1878 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1879 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1880 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1881 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1882 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1883 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1884 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1885 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
1886 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1887 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1888 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1889 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1890 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1891 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1892 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1893 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1894 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1895 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1896 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1897 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1898 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1899 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1900 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1901
1902 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1905 (dl_platform_init): Call init_cpu_features.
1906 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1907 * sysdeps/i386/i686/cacheinfo.c
1908 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
1909 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
1910 * sysdeps/i386/i686/multiarch/Versions: Removed.
1911 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
1912 Removed.
1913 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
1914 * sysdeps/unix/sysv/linux/x86/Makefile
1915 (libpthread-sysdep_routines): Remove init-arch.
1916 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
1917 <sysdeps/x86_64/dl-procinfo.c> instead of
1918 sysdeps/generic/dl-procinfo.c>.
1919 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
1920 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
1921 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
1922 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
1923 [$(subdir) == elf] (tests-static): Add
1924 tst-get-cpu-features-static.
1925 * sysdeps/x86/Versions: New file.
1926 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
1927 * sysdeps/x86/cpu-features.c: Likewise.
1928 * sysdeps/x86/cpu-features.h: Likewise.
1929 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
1930 * sysdeps/x86/libc-start.c: Likewise.
1931 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1932 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
1933 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
1934 * sysdeps/x86_64/dl-procinfo.c: Likewise.
1935 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
1936 Assume USE_MULTIARCH is defined and don't check it.
1937 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
1938 (is_amd): Likewise.
1939 (max_cpuid): Likewise.
1940 (intel_check_word): Likewise.
1941 (__cache_sysconf): Don't call __init_cpu_features.
1942 (__x86_preferred_memory_instruction): Removed.
1943 (init_cacheinfo): Don't call __init_cpu_features. Replace
1944 __cpu_features with GLRO(dl_x86_cpu_features).
1945 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
1946 (dl_platform_init): Call init_cpu_features.
1947 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
1948 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
1949 * sysdeps/x86_64/multiarch/Versions: Removed.
1950 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
1951 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
1952 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
1953 Removed.
1954 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
1955
1956 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1957
1958 [BZ #18820]
1959 * libio/Makefile (test-fmemopen-mem): New test.
1960 * libio/test-fmemopen.c (do_bz18820): New test.
1961 * libio/fmemopen.c (__fmemopen): Fix memory leak.
1962 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
1963
1964 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1965
1966 [BZ #16734]
1967 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
1968 (FREE_BUF): Delete.
1969 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
1970 * libio/genops.c (_IO_setb): Use malloc and free directly.
1971 (_IO_default_doallocate, _IO_default_finish): Likewise.
1972 ( _IO_unbuffer_all): Likewise.
1973 ( libc_freeres_fn): Likewise.
1974 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1975 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
1976 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
1977 (_IO_wdefault_doallocate): Likewise.
1978
1979 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1980
1981 [BZ #18086]
1982 * sysdeps/posix/nice.c (nice): Restore old errno.
1983 * posix/tst-nice.c (do_test): Add test for BZ #18086.
1984
1985 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
1986
1987 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
1988
1989 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1990
1991 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
1992 __bcopy and add a weak_alias to bcopy.
1993 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
1994 for static build.
1995
1996 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
1997 cleanup macro usage.
1998 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
1999 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2000 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2001 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2002 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2003 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2004 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2005 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2006 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2007 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2008 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2009 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2010 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2011 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2012 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2013 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2014 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2015 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2016 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2017
2018 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2019 libc_hidden_def.
2020 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2021
2022 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2023 (sysdep_routines): Add strstr-ppc64.
2024 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2025
2026 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2027
2028 [BZ #18778]
2029 * elf/Makefile (tests): Add Add tst-nodelete2.
2030 (modules-names): Add tst-nodelete2mod.
2031 (tst-nodelete2mod.so-no-z-defs): New.
2032 ($(objpfx)tst-nodelete2): Likewise.
2033 ($(objpfx)tst-nodelete2.out): Likewise.
2034 (LDFLAGS-tst-nodelete2): Likewise.
2035 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2036 out of loop through all loaded libraries.
2037 * elf/tst-nodelete2.c: New file.
2038 * elf/tst-nodelete2mod.c: Likewise.
2039 * elf/tst-znodelete-zlib.cc: Delete.
2040
2041 2015-08-11 Andreas Schwab <schwab@suse.de>
2042
2043 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2044 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2045 (__openat64_nocancel): Likewise.
2046
2047 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2048
2049 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2050 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2051 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2052 * math/auto-libm-test-out: Regenerated.
2053 * sysdeps/i386/fpu/libm-test-ulps: Update.
2054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2055
2056 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2057
2058 [BZ #18790]
2059 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2060 threshold for returning +/- 1.
2061 * math/auto-libm-test-in: Add more tests of tanh.
2062 * math/auto-libm-test-out: Regenerated.
2063 * sysdeps/i386/fpu/libm-test-ulps: Update.
2064
2065 2015-08-10 Andreas Schwab <schwab@suse.de>
2066
2067 [BZ #18781]
2068 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2069 MORE_OFLAGS to oflag.
2070 * io/test-lfs.c (do_test): Test openat64.
2071
2072 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2073
2074 [BZ #18789]
2075 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2076 smaller threshold for returning the argument.
2077 * math/auto-libm-test-in: Add more tests of sinh.
2078 * math/auto-libm-test-out: Regenerated.
2079 * sysdeps/i386/fpu/libm-test-ulps: Update.
2080
2081 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2082
2083 [BZ #18674]
2084 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2085 break.
2086
2087 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2088
2089 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2090 (generated): Don't add $(addprefix z.,$(tzfiles)).
2091
2092 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2093
2094 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2095 * scripts/sysd-rules.awk: Likewise.
2096
2097 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2098
2099 * iconvdata/tst-tables.sh: Change echo -n to printf.
2100 * nss/db-Makefile: Likewise.
2101 * posix/tst-getconf.sh: Likewise.
2102 * stdio-common/tst-unbputc.sh: Likewise.
2103
2104 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2105
2106 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2107 MADV_*_PAGES defines behind this feature check.
2108
2109 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2110
2111 [BZ #18480]
2112 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2113 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2114 Define.
2115 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2116 LOAD_REGS_5, LOAD_REGS_6): Update.
2117 (INTERNAL_SYSCALL): Update using new LOAD defines.
2118 (INTERNAL_SYSCALL_NCS): Likewise.
2119 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2120
2121 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2122
2123 [BZ #16734]
2124 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2125
2126 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2127
2128 [BZ #17905]
2129 * catgets/Makefile (tst-catgets-mem): New test.
2130 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2131 * catgets/open_catalog.c (__open_catalog): Likewise.
2132 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2133
2134 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2135
2136 [BZ #18787]
2137 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2138 clobber registers.
2139 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2140 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2141 Cast return to __typeof (oldval).
2142
2143 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2144
2145 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2146 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2147 and delete sys/syscall.h include.
2148
2149 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2150
2151 [BZ #16517]
2152 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2153 (tan): Force underflow exception for arguments with small absolute
2154 value.
2155 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2156 (__kernel_tanf): Force underflow exception for arguments with
2157 small absolute value.
2158 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2159 (__kernel_tanl): Force underflow exception for arguments with
2160 small absolute value.
2161 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2162 (__kernel_tanl): Force underflow exception for arguments with
2163 small absolute value.
2164 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2165 (__kernel_tanl): Force underflow exception for arguments with
2166 small absolute value.
2167 * math/auto-libm-test-in: Add more tests of tan.
2168 * math/auto-libm-test-out: Regenerated.
2169
2170 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2171
2172 Fix sysdeps/i386/fpu/s_scalbn.S build
2173
2174 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2175
2176 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2177
2178 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2179
2180 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2181
2182 Fix gcrt0.o compilation
2183
2184 When static-start-installed-name is different from
2185 start-installed-name, we must not use the shared objects.
2186
2187 * csu/Makefile
2188 (extra-objs): Add gmon-start.o when building shared library and
2189 $(static-start-installed-name) is different from
2190 $(start-installed-name).
2191 $(objpfx)g$(static-start-installed-name): When building shared
2192 library and $(static-start-installed-name) is different from
2193 $(static-start-installed-name), revert to non-shared rule,
2194 i.e. using $(objpfx)% and gmon-start.o.
2195
2196 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2197
2198 [BZ #16519]
2199 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2200 (__ieee754_sinh): Force underflow exception for arguments with
2201 small absolute value.
2202 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2203 (__ieee754_sinhf): Force underflow exception for arguments with
2204 small absolute value.
2205 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2206 (__ieee754_sinhl): Force underflow exception for arguments with
2207 small absolute value.
2208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2209 (__ieee754_sinhl): Force underflow exception for arguments with
2210 small absolute value.
2211 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2212 (__ieee754_sinhl): Force underflow exception for arguments with
2213 small absolute value.
2214 * math/auto-libm-test-in: Add more tests of sinh.
2215 * math/auto-libm-test-out: Regenerated.
2216 * sysdeps/i386/fpu/libm-test-ulps: Update.
2217
2218 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2219
2220 * libio/oldfileops.c: Include unistd.h.
2221
2222 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2223
2224 * stdlib/isomac.c: Include ctype.h.
2225
2226 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2227
2228 * dirent/tst-seekdir.c (main): Converted to ...
2229 (do_test): ... this.
2230 (TEST_FUNCTION): New macro.
2231 Include test-skeleton.c.
2232 * elf/tst-dlmodcount.c (main): Converted to ...
2233 (do_test): ... this.
2234 (TEST_FUNCTION): New macro.
2235 Include test-skeleton.c.
2236 * elf/tst-order-main.c (main): Converted to ...
2237 (do_test): ... this.
2238 (TEST_FUNCTION): New macro.
2239 Include test-skeleton.c.
2240 * elf/tst-pie2.c (main): Converted to ...
2241 (do_test): ... this.
2242 (TEST_FUNCTION): New macro.
2243 Include test-skeleton.c.
2244 * inet/tst-ether_aton.c (main): Converted to ...
2245 (do_test): ... this.
2246 (TEST_FUNCTION): New macro.
2247 Include test-skeleton.c.
2248 * misc/tst-mntent.c (main): Converted to ...
2249 (do_test): ... this.
2250 (TEST_FUNCTION): New macro.
2251 Include test-skeleton.c.
2252 * misc/tst-tsearch.c (main): Converted to ...
2253 (do_test): ... this.
2254 (TEST_FUNCTION): New macro.
2255 Include test-skeleton.c.
2256 * posix/tst-regexloc.c (main): Converted to ...
2257 (do_test): ... this.
2258 (TEST_FUNCTION): New macro.
2259 Include test-skeleton.c.
2260 * resolv/tst-aton.c (main): Converted to ...
2261 (do_test): ... this.
2262 (TEST_FUNCTION): New macro.
2263 Include test-skeleton.c.
2264 * stdio-common/test-fwrite.c (main): Converted to ...
2265 (do_test): ... this.
2266 (TEST_FUNCTION): New macro.
2267 Include test-skeleton.c.
2268 * stdio-common/tst-ferror.c (main): Converted to ...
2269 (do_test): ... this.
2270 (TEST_FUNCTION): New macro.
2271 Include test-skeleton.c.
2272 * stdio-common/tst-printf.c (main): Converted to ...
2273 (do_test): ... this.
2274 (TEST_FUNCTION): New macro.
2275 Include test-skeleton.c.
2276 * stdio-common/tst-printfsz.c (main): Converted to ...
2277 (do_test): ... this.
2278 (TEST_FUNCTION): New macro.
2279 Include test-skeleton.c.
2280 * stdlib/tst-strtod.c (main): Converted to ...
2281 (do_test): ... this.
2282 (TEST_FUNCTION): New macro.
2283 Include test-skeleton.c.
2284 * string/tst-strlen.c (main): Converted to ...
2285 (do_test): ... this.
2286 (TEST_FUNCTION): New macro.
2287 Include test-skeleton.c.
2288 * string/tst-svc.c (main): Converted to ...
2289 (do_test): ... this.
2290 (TEST_FUNCTION): New macro.
2291 Include test-skeleton.c.
2292 * time/tst-strptime.c (main): Converted to ...
2293 (do_test): ... this.
2294 (TEST_FUNCTION): New macro.
2295 Include test-skeleton.c.
2296 * timezone/tst-timezone.c (main): Converted to ...
2297 (do_test): ... this.
2298 (TEST_FUNCTION): New macro.
2299 Include test-skeleton.c.
2300
2301 2015-08-05 Zack Weinberg <zackw@panix.com>
2302
2303 * misc/regexp.h: Update comments.
2304
2305 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2306
2307 [BZ #18635]
2308 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2309 before return label.
2310
2311 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2312
2313 [BZ #18661]
2314 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2315 when calling __errno_location.
2316 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2317 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2318
2319 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2320
2321 [BZ #18661]
2322 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2323 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2324 __gettimeofday.
2325
2326 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2327
2328 [BZ #18661]
2329 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2330 (__start_context): Don't use pop to restore %rdi so that stack
2331 is aligned to 16 bytes when calling __setcontext.
2332
2333 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2334
2335 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2336 only for libc.
2337 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2338
2339 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2340
2341 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2342 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2343 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2344
2345 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2346
2347 * string/memccpy.c (memccpy):
2348 Improve performance by using memchr/memcpy/__mempcpy.
2349
2350 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2351
2352 * string/strncpy.c (strncpy):
2353 Improve performance by using __strnlen/memcpy.
2354
2355 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2356
2357 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2358 Optimize to avoid an unnecessary FPCR read.
2359
2360 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2361
2362 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2363 Optimize to reduce FPCR/FPSR accesses.
2364
2365 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2366
2367 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2368 dead->data[category] != NULL.
2369
2370 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2371
2372 [BZ #18647]
2373 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2374 and |x| close to 1, use absolute value of x when computing log.
2375 * math/auto-libm-test-in: Add more tests of pow.
2376 * math/auto-libm-test-out: Regenerated.
2377
2378 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2379
2380 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2381 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2382 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2383
2384 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2385
2386 [BZ #18525]
2387 * locales/km_KH: Remove timezone definition.
2388 * locales/lo_LA: Likewise.
2389 * locales/my_MM: Likewise.
2390 * locales/nan_TW@latin: Likewise.
2391 * locales/th_TH: Likewise.
2392 * locales/uk_UA: Likewise.
2393
2394 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2395
2396 [BZ #18265]
2397 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2398 (wcsncat): Likewise.
2399 (wcscmp): Likewise.
2400 (wcsncmp): Likewise.
2401
2402 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2403
2404 * test-skeleton.c (usage): New function.
2405 (main): Call usage when opt is '?'.
2406
2407 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2408
2409 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2410 before first use.
2411
2412 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2413
2414 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2415 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2416 in there too.
2417
2418 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2419
2420 * version.h (RELEASE): Set to "development".
2421 (VERSION): Set to "2.22.90"
2422
2423 * version.h (RELEASE): Set to "stable".
2424 (VERSION): Set to "2.22"
2425 * include/features.h (__GLIBC_MINOR__): Set to 22.
2426
2427 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2428
2429 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2430 Restructure macro to avoid "value computed is not used" warning.
2431 (atomic_compare_and_exchange_val_acq): Likewise.
2432
2433 2015-08-04 Andreas Schwab <schwab@suse.de>
2434
2435 [BZ #18635]
2436 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2437 ret.
2438 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2439
2440 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2441
2442 * po/pl.po: Updated translation.
2443 * po/uk.po: Likewise.
2444 * po/fi.po: Likewise.
2445 * po/ko.po: Likewise.
2446 * po/ru.po: Likewise.
2447 * po/vi.po: Likewise.
2448
2449 2015-07-31 Zack Weinberg <zackw@panix.com>
2450
2451 [BZ #18681]
2452 * regexp.h: Add unconditional #warning stating that this header
2453 will be removed soon. Revise banner comment to match.
2454 (compile): Consistently use ERROR instead of RETURN to report
2455 errors (partial fix for bz#18681).
2456 * regexp.c: Don't include regexp.h. Remove some unnecessary
2457 declarations.
2458
2459 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2460
2461 * po/libc.pot: Regenerated.
2462
2463 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2464
2465 [BZ #18740]
2466 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2467 float-vlen4-arch-ext-cflags): Removed.
2468 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2469 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2470
2471 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2472
2473 [BZ #14113]
2474 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2475 aligned to __aligned__.
2476 (pthread_cond_t, pthread_rwlock_t): Likewise.
2477
2478 2015-07-30 Torvald Riegel <triegel@redhat.com>
2479
2480 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2481
2482 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2483
2484 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2485 (struct sigaction): Change sa_flags from a long to an int, and add
2486 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2487
2488 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2489
2490 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2491 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2492 sysdeps/generic/sysdep.h include.
2493 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2494 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2495 sysdeps/hppa/sysdep.h.
2496 (ENTRY, PSEUDO): Undefine before defining.
2497
2498 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2499
2500 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2501 from scratch to use INTERNAL_SYSCALL.
2502
2503 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2504
2505 [BZ #18078]
2506 * scripts/check-localplt.awk: Support alternate relocations.
2507 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2508 sections.
2509 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2510 malloc entries with + REL R_386_GLOB_DAT.
2511 * sysdeps/x86_64/localplt.data: New file.
2512
2513 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2514
2515 [BZ #18731]
2516 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2517 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2518 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2519
2520 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2521
2522 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2523
2524 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2525
2526 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2527 directly in terms of __sync_fetch_and_add and delete (int) cast.
2528
2529 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2530
2531 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2532 the -D_ASM_IA64_CURRENT_H flag.
2533
2534 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2535
2536 [BZ #18641]
2537 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2538
2539 2015-07-27 Andreas Schwab <schwab@suse.de>
2540
2541 * conform/conformtest.pl (checknamespace): Filter out string
2542 literals while tokenizing.
2543
2544 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2545
2546 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2547 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2548 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2549
2550 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2551
2552 * nptl/tst-join7mod.c: Add #include <string.h>.
2553
2554 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2555
2556 * sysdeps/nios2/libm-test-ulps: Update.
2557
2558 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2559
2560 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2561 Fix order of arguments to the rt_sigprocmask syscall.
2562 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2563 Likewise.
2564
2565 2015-07-24 Roland McGrath <roland@hack.frob.com>
2566
2567 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2568
2569 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2570
2571 [BZ #18457]
2572 * nptl/Makefile (tests): New test case tst-join7.
2573 (modules-names): New test case module tst-join7mod.
2574 * nptl/tst-join7.c: New file.
2575 * nptl/tst-join7mod.c: New file.
2576 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2577 all translation units in libc.so, libpthread.so and rtld.
2578
2579 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2580
2581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2582
2583 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2584
2585 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2586 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2587 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2588 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2589 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2590 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2591 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2592 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2593 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2594 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2595 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2596 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2597 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2598 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2599 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2600 implementation.
2601
2602 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2603
2604 [BZ #17711]
2605 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2606 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2607 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2608 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2609 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2610 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2611
2612 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2613
2614 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2615 instead of just saying load lock in the comments.
2616
2617 2015-07-23 Roland McGrath <roland@hack.frob.com>
2618
2619 * sysdeps/unix/Subdirs: Moved ...
2620 * sysdeps/posix/Subdirs: ... here.
2621 * login/pty.h (struct termios, struct winsize): Add forward decls.
2622 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2623 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2624 * sysdeps/arm/nacl/libc.abilist: Updated.
2625 * sysdeps/nacl/libutil.abilist: New file.
2626
2627 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2628 (SIGWINCH): New macro.
2629
2630 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2631 * sysdeps/arm/nacl/libc.abilist: Add it.
2632
2633 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2634
2635 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2636
2637 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2638
2639 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2640 Swap __glibc_reserved0 and sa_flags order.
2641
2642 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2643
2644 [BZ #18657]
2645 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2646 are pending TLS destructor calls.
2647 * include/link.h (struct link_map): Add concurrency note for
2648 L_TLS_DTOR_COUNT.
2649 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2650 Don't touch the link map flag. Atomically increment
2651 l_tls_dtor_count.
2652 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2653 Avoid taking the load lock and don't touch the link map flag.
2654 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2655 * stdlib/Makefile (tests): Use it.
2656 * stdlib/tst-tls-atexit.c (do_test): dlopen
2657 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2658 to allow tst-tls-atexit-nodelete test case to use it.
2659
2660 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2661
2662 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2663 to bits/types.h.
2664 (msgqnum_t): New typedef.
2665 (msglen_t): Likewise.
2666 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2667 and msg_qbytes type to msglen_t.
2668
2669 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2670
2671 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2672 pad0 to __glibc_reserved0.
2673 (struct stat64): Likewise.
2674
2675 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2676
2677 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2678 Change sa_flags from a long to an int and add __glibc_reserved0 before
2679 it for padding.
2680
2681 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2682
2683 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2684 anonymous by deleting "siginfo" name.
2685
2686 2015-07-21 Roland McGrath <roland@hack.frob.com>
2687
2688 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2689 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2690 rather than __nacl_irt_filename.
2691 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2692
2693 * NEWS: New item for arm-nacl port.
2694 * sysdeps/arm/nacl/libc.abilist: New file.
2695 * sysdeps/nacl/ld.abilist: New file.
2696 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2697 * sysdeps/nacl/libanl.abilist: New file.
2698 * sysdeps/nacl/libcrypt.abilist: New file.
2699 * sysdeps/nacl/libdl.abilist: New file.
2700 * sysdeps/nacl/libm.abilist: New file.
2701 * sysdeps/nacl/libpthread.abilist: New file.
2702 * sysdeps/nacl/libresolv.abilist: New file.
2703 * sysdeps/nacl/librt.abilist: New file.
2704
2705 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
2706
2707 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2708 __startcontext to initialize the new context.
2709 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2710 up CFI directive to forbid further backtracing.
2711
2712 2015-07-21 Marko Myllynen <myllynen@redhat.com>
2713
2714 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2715 reference.
2716 * charmaps/ANSI_X3.4-1968: Likewise.
2717 * charmaps/BS_4730: Likewise.
2718 * charmaps/BS_VIEWDATA: Likewise.
2719 * charmaps/CP1250: Likewise.
2720 * charmaps/CP1251: Likewise.
2721 * charmaps/CP1252: Likewise.
2722 * charmaps/CP1253: Likewise.
2723 * charmaps/CP1254: Likewise.
2724 * charmaps/CP1255: Likewise.
2725 * charmaps/CP1256: Likewise.
2726 * charmaps/CSN_369103: Likewise.
2727 * charmaps/EBCDIC-DK-NO: Likewise.
2728 * charmaps/GB_1988-80: Likewise.
2729 * charmaps/GREEK-CCITT: Likewise.
2730 * charmaps/GREEK7: Likewise.
2731 * charmaps/INIS-8: Likewise.
2732 * charmaps/ISIRI-3342: Likewise.
2733 * charmaps/ISO_2033-1983: Likewise.
2734 * charmaps/ISO_5427-EXT: Likewise.
2735 * locales/POSIX: Likewise.
2736 * locales/ar_SA: Likewise.
2737 * locales/be_BY: Likewise.
2738 * locales/be_BY@latin: Likewise.
2739 * locales/ca_ES: Likewise.
2740 * locales/cs_CZ: Likewise.
2741 * locales/da_DK: Likewise.
2742 * locales/de_BE: Likewise.
2743 * locales/de_CH: Likewise.
2744 * locales/de_LU: Likewise.
2745 * locales/en_AU: Likewise.
2746 * locales/en_BW: Likewise.
2747 * locales/en_CA: Likewise.
2748 * locales/en_DK: Likewise.
2749 * locales/en_GB: Likewise.
2750 * locales/en_IE: Likewise.
2751 * locales/en_NZ: Likewise.
2752 * locales/en_ZA: Likewise.
2753 * locales/en_ZW: Likewise.
2754 * locales/es_AR: Likewise.
2755 * locales/es_BO: Likewise.
2756 * locales/es_CL: Likewise.
2757 * locales/es_CO: Likewise.
2758 * locales/es_DO: Likewise.
2759 * locales/es_EC: Likewise.
2760 * locales/es_ES: Likewise.
2761 * locales/es_HN: Likewise.
2762 * locales/es_MX: Likewise.
2763 * locales/es_PA: Likewise.
2764 * locales/es_PE: Likewise.
2765 * locales/es_PY: Likewise.
2766 * locales/es_SV: Likewise.
2767 * locales/es_US: Likewise.
2768 * locales/es_UY: Likewise.
2769 * locales/es_VE: Likewise.
2770 * locales/et_EE: Likewise.
2771 * locales/fa_IR: Likewise.
2772 * locales/fo_FO: Likewise.
2773 * locales/fr_CA: Likewise.
2774 * locales/fr_CH: Likewise.
2775 * locales/gv_GB: Likewise.
2776 * locales/he_IL: Likewise.
2777 * locales/hr_HR: Likewise.
2778 * locales/id_ID: Likewise.
2779 * locales/is_IS: Likewise.
2780 * locales/it_CH: Likewise.
2781 * locales/iw_IL: Likewise.
2782 * locales/kl_GL: Likewise.
2783 * locales/ko_KR: Likewise.
2784 * locales/kw_GB: Likewise.
2785 * locales/lg_UG: Likewise.
2786 * locales/lt_LT: Likewise.
2787 * locales/lv_LV: Likewise.
2788 * locales/mi_NZ: Likewise.
2789 * locales/nhn_MX: Likewise.
2790 * locales/nl_BE: Likewise.
2791 * locales/pl_PL: Likewise.
2792 * locales/sk_SK: Likewise.
2793 * locales/sl_SI: Likewise.
2794 * locales/sv_FI: Likewise.
2795 * locales/tl_PH: Likewise.
2796 * locales/tr_TR: Likewise.
2797 * locales/vi_VN: Likewise.
2798
2799 2015-07-21 Khem Raj <raj.khem@gmail.com>
2800
2801 [BZ #17475]
2802 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2803 of tu_IN and bh_IN.
2804
2805 2015-07-21 Mike Frysinger <vapier@gentoo.org>
2806
2807 [BZ #18694]
2808 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2809 bits/wordsize.h.
2810 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2811
2812 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2813
2814 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2815 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2816 (spawn_thread): New function.
2817 (load): Rename to reg_dtor_and_close. Move dlopen to...
2818 (do_test): ... here. Use IS_LOADED to test for its
2819 availability.
2820
2821 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
2822
2823 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2824
2825 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
2826
2827 [BZ #18696]
2828 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2829 si_addr_bnd.
2830 (si_lower): New.
2831 (si_upper): Likewise.
2832
2833 2015-07-16 David S. Miller <davem@davemloft.net>
2834
2835 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2836
2837 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2838
2839 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2840 buffer.
2841 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2842 fail output information.
2843
2844 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2845
2846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2847 and strstr-ppc64..
2848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2849 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2850 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2851 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2852 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2853
2854 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2855
2856 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2857 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2858 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2859 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2860
2861 2015-07-16 Mike Frysinger <vapier@gentoo.org>
2862
2863 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2864 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2865 rtld_hidden_proto.
2866 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2867
2868 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2869
2870 * tst-nodelete-opened.c (do_test): Add comment to clarify how
2871 the test can fail.
2872
2873 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2874
2875 [BZ #18676]
2876 * elf/tst-nodelete-opened.c: New test case.
2877 * elf/tst-nodelete-opened-lib.c: New test case module.
2878 * elf/Makefile (tests, modules-names): Use them.
2879 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2880 early.
2881
2882 2015-07-15 David S. Miller <davem@davemloft.net>
2883
2884 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2885 futex-intenal.h
2886 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2887 * sysdeps/sparc/sparc64/Makefile: Likewise.
2888 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2889 Remove space from macro define.
2890 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2891
2892 2015-07-15 Pravin Satpute <psatpute@redhat.com>
2893
2894 [BZ #17475]
2895 * locale/iso-639.def: Update Bhili and Tulu language codes as
2896 per iso639-3.
2897
2898 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
2899
2900 * elf/tst-leaks1.c (main): Converted to ...
2901 (do_test): ... this.
2902 (TEST_FUNCTION): New macro.
2903 Include test-skeleton.c.
2904 * localedata/tst-langinfo.c (main): Converted to ...
2905 (do_test): ... this.
2906 (TEST_FUNCTION): New macro.
2907 Include test-skeleton.c.
2908 * math/test-fpucw.c (main): Converted to ...
2909 (do_test): ... this.
2910 (TEST_FUNCTION): New macro.
2911 Include test-skeleton.c.
2912 * math/test-tgmath.c (main): Converted to ...
2913 (do_test): ... this.
2914 (TEST_FUNCTION): New macro.
2915 Include test-skeleton.c.
2916 * math/test-tgmath2.c (main): Converted to ...
2917 (do_test): ... this.
2918 (TEST_FUNCTION): New macro.
2919 Include test-skeleton.c.
2920 * setjmp/tst-setjmp.c (main): Converted to ...
2921 (do_test): ... this.
2922 (TEST_FUNCTION): New macro.
2923 Include test-skeleton.c.
2924 * stdio-common/tst-sscanf.c (main): Converted to ...
2925 (do_test): ... this.
2926 (TEST_FUNCTION): New macro.
2927 Include test-skeleton.c.
2928 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
2929 (do_test): ... this.
2930 (TEST_FUNCTION): New macro.
2931 Include test-skeleton.c.
2932
2933 * elf/tst-audit9.c (main): Converted to ...
2934 (do_test): ... this.
2935 (TEST_FUNCTION): New macro.
2936 Include test-skeleton.c.
2937
2938 2015-07-15 Mike Frysinger <vapier@gentoo.org>
2939
2940 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
2941
2942 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2943
2944 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
2945 New variable.
2946
2947 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
2948
2949 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2950
2951 2015-07-14 Roland McGrath <roland@hack.frob.com>
2952
2953 * sysdeps/generic/dl-fileid.h: New file.
2954 * sysdeps/posix/dl-fileid.h: New file.
2955 * sysdeps/nacl/dl-fileid.h: New file.
2956 * include/link.h: Include <dl-fileid.h>.
2957 (struct link_map): Replace l_dev and l_ino with l_file_id.
2958 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
2959 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
2960 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
2961
2962 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2963
2964 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
2965
2966 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2967
2968 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
2969 Add iff $CXX is set.
2970 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
2971 Likewise.
2972 (tst-nodelete-zmodiff): Likewise.
2973 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
2974
2975 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2976
2977 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
2978
2979 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2980
2981 * sysdeps/aarch64/fpu/math_private.h
2982 (define math_opt_barrier): Add AArch64 version.
2983 (math_force_eval): Likewise.
2984
2985 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
2986
2987 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
2988
2989 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
2990
2991 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
2992 %ld with %jd and cast to intmax_t.
2993 (do_test_length_zero): Likewise.
2994
2995 2015-07-10 Roland McGrath <roland@hack.frob.com>
2996
2997 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
2998
2999 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3000
3001 * sysdeps/tile/libm-test-ulps: Regenerated.
3002
3003 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3004 Comment out the whole function, not just its body.
3005
3006 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3007
3008 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3009 locks.
3010
3011 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3012
3013 2015-07-10 Torvald Riegel <triegel@redhat.com>
3014
3015 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3016 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3017
3018 2015-07-10 Torvald Riegel <triegel@redhat.com>
3019
3020 * sysdeps/nptl/futex-internal.h: New file.
3021 * sysdeps/nacl/futex-internal.h: New file.
3022 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3023 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3024 error checking.
3025 (setxid_unmark_thread): Likewise.
3026 (__nptl_setxid): Likewise.
3027 (__wait_lookup_done): Likewise.
3028 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3029 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3030 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3031 * nptl/pthread_once.c (clear_once_control): Likewise.
3032 (__pthread_once_slow): Likewise.
3033 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3034 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3035 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3036 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3037 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3038 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3039 Likewise.
3040 (__pthread_rwlock_rdlock): Likewise.
3041 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3042 Likewise.
3043 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3044 Likewise.
3045 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3046 Likewise.
3047 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3048 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3049 Likewise.
3050 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3051 __ASSUME_PRIVATE_FUTEX check.
3052 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3053 Check that shared futexes are supported.
3054 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3055 wrappers with error checking.
3056 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3057 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3058 * nptl/pthread_barrierattr_setpshared.c
3059 (pthread_barrierattr_setpshared): Check that shared futexes are
3060 supported.
3061 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3062 Likewise.
3063 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3064 Likewise.
3065 * nptl/sem_init.c (futex_private_if_supported): Remove.
3066 (__new_sem_init): Adapt and check that shared futexes are supported.
3067 * nptl/sem_open.c (sem_open): Likewise.
3068 * nptl/sem_post.c (futex_wake): Remove.
3069 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3070 (do_futex_wait): Use futex wrappers with error checking.
3071 * nptl/sem_wait.c: Include lowlevellock.h.
3072 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3073 Use futex_supports_pshared.
3074 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3075 Use futex wrappers with error checking.
3076 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3077 Likewise.
3078 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3079 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3080 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3081 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3082 (futex_wake): Likewise.
3083 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3084 (do_futex_wait): Use futex wrappers with error checking.
3085 (__new_sem_wait_slow): Update EINTR handling.
3086 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3087
3088 2015-07-09 Martin Sebor <msebor@redhat.com>
3089
3090 [BZ #18435]
3091 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3092 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3093 * nptl/Makefile (test-xfail-tst-once5): Define.
3094
3095 2015-07-09 Roland McGrath <roland@hack.frob.com>
3096
3097 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3098 * elf/dl-minimal.c: For readability, reorder some definitions and
3099 introduce more page breaks. Include <stdio.h>.
3100 (__libc_fatal): New function.
3101
3102 * include/unistd.h: Add rtld_hidden_proto for _exit.
3103 * posix/_exit.c: Add rtld_hidden_def.
3104 * sysdeps/mach/hurd/_exit.c: Likewise.
3105 * sysdeps/nacl/_exit.c: Likewise.
3106 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3107 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3108
3109 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3110
3111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3112 bndmov encoding with zero displacement.
3113
3114 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3115 H.J. Lu <hongjiu.lu@intel.com>
3116
3117 [BZ #18134]
3118 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3119 * sysdeps/i386/configure: Regenerated.
3120 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3121 (_dl_runtime_profile): Save and restore Intel MPX return bound
3122 registers when calling _dl_call_pltexit. Add
3123 PRESERVE_BND_REGS_PREFIX before return.
3124 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3125 (LRV_BND1_OFFSET): Likewise.
3126 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3127 lrv_bnd1.
3128 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3129 typo in bndmov encoding.
3130 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3131 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3132 branch instructions to preserve bounds.
3133
3134 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3135
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3137 [GLIBC_2.22]: Add fmemopen.
3138
3139 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3140
3141 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3142 returns an error, also try to use host port from __mach_host_self for
3143 the __vm_wire call.
3144 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3145
3146 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3147
3148 [BZ #18400]
3149 [BZ #18648]
3150 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3151 Fix pr_uid and pr_gid members.
3152 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3153 definition to elf_greg_t.
3154
3155 2015-07-08 Roland McGrath <roland@hack.frob.com>
3156
3157 [BZ #18383]
3158 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3159 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3160 * sysdeps/arm/configure: Regenerated.
3161 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3162 (test-xfail-tst-tlsalign-static): Variable removed.
3163
3164 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3165 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3166 rather than explicit 'ln -s'.
3167
3168 * resolv/rpc/netdb.h: New file.
3169 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3170
3171 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3172
3173 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3174 length buffers.
3175 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3176 test-skeleton.c.
3177
3178 [BZ #6544]
3179 [BZ #11216]
3180 [BZ #12836]
3181 [BZ #13151]
3182 [BZ #13152]
3183 [BZ #14292]
3184 * include/stdio.h (fmemopen): Remove hidden prototype.
3185 (__fmemopen): Add new hidden prototype.
3186 * libio/Makefile: Add oldfmemopen object.
3187 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3188 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3189 compliance.
3190 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3191 symbol compatibility.
3192 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3193 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3194 fmemopen.
3195 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3196 on append and read mode.
3197 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3198 fmemopen.
3199 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3200 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3201 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3202 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3203 Likewise.
3204 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3205 [GLIBC_2.22]: Likewise.
3206 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3207 Likewise.
3208 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3209 Likewise.
3210 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3211 [GLIBC_2.22]: Likewise.
3212 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3213 [GLIBC_2.22]: Likewise.
3214 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3215 [GLIBC_2.22]: Likewise.
3216 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3217 [GLIBC_2.22]: Likewise.
3218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3219 [GLIBC_2.22]: Likewise.
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3221 [GLIBC_2.22]: Likewise.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3223 [GLIBC_2.22]: Likewise.
3224 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3225 Likewise.
3226 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3227 Likewise.
3228 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3229 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3230 [GLIBC_2.22]: Likewise.
3231 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3232 [GLIBC_2.22]: Likewise.
3233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3234 [GLIBC_2.22]: Likewise.
3235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3236 [GLIBC_2.22]: Likewise.
3237 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3238 Likewise.
3239 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3240 Likewise.
3241 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3242 Likewise.
3243 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3244 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3245
3246 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3247
3248 [BZ #18643]
3249 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3250 IPV6_PATHMTU, and IPV6_DONTFRAG.
3251
3252 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3253
3254 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3255 and _IO_UNBUFFERED.
3256 * libio/oldfileops.c: Likewise.
3257 * libio/wfileops.c: Likewise.
3258
3259 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3260
3261 * nscd/selinux.c: Delete selinux/flask.h include.
3262
3263 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3264
3265 [BZ #18641]
3266 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3267 (putpwent): Likewise.
3268 (getpwnam): Likewise.
3269 (getpwent_r): Likewise.
3270 (getpwuid_r): Likewise.
3271 (getpwnam_r): Likewise.
3272 (fgetpwent_r): Likewise.
3273
3274 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3275
3276 [BZ #18557]
3277 * inet/rcmd.c (__validuser2_sa): Check user first to
3278 short-circuit host check.
3279
3280 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3281 Mikhail Ilin <m.ilin@samsung.com>
3282
3283 [BZ #17833]
3284 * elf/Makefile (tests): Add tst-nodelete.
3285 (modules-names): Add tst-nodelete-uniquemod.
3286 (tst-nodelete-uniquemod.so-no-z-defs): New.
3287 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3288 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3289 ($(objpfx)tst-nodelete): Likewise.
3290 ($(objpfx)tst-nodelete.out): Likewise.
3291 (LDFLAGS-tst-nodelete): Likewise.
3292 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3293 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3294 implement forced object deletion.
3295 (_dl_close): Pass false to _dl_close_worker.
3296 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3297 * elf/tst-nodelete.cc: New file.
3298 * elf/tst-nodeletelib.cc: Likewise.
3299 * elf/tst-znodeletelib.cc: Likewise.
3300 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3301
3302 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3303
3304 [BZ #18508]
3305 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3306 Depend on $(libdl).
3307 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3308 is not called infinitely times.
3309 (backtrace_helper): New function.
3310 (trace_arg): New struct.
3311 (st1): Enlarge stack size.
3312 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3313 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3314 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3315 Likewise.
3316
3317 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3318
3319 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3320
3321 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3322
3323 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3324 Include sys/types.h instead of bits/types.h.
3325 Remove inclusion of bits/wordsize.h.
3326
3327 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3328
3329 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3330 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3331 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3332 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3333 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3334 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3335
3336 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3339 link-defines.sym.
3340 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3341 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3342 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3343 and LR_SIZE.
3344 * sysdeps/i386/link-defines.sym: New file.
3345
3346 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3347
3348 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3349 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3350 ($(objpfx)tst-audit3): New rule.
3351 ($(objpfx)tst-audit3.out): Likewise.
3352 * sysdeps/i386/tst-audit3.c: New file.
3353 * sysdeps/i386/tst-audit3.h: Likewise.
3354 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3355 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3356
3357 2015-07-07 Torvald Riegel <triegel@redhat.com>
3358
3359 [BZ #18633]
3360 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3361 pointer in C code.
3362 (__strcat_c): Likewise.
3363 (__strcat_g): Likewise.
3364
3365 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3366
3367 [BZ #18592]
3368 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3369
3370 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3371
3372 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3373 New function. (__ieee754_sqrtf): New function.
3374 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3375 New function.
3376 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3377 New function.
3378
3379 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3380
3381 * sysdeps/ieee754/support.c: Remove unused file.
3382
3383 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3384
3385 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3386 registers instead of d ones so the layout is kernel abi compatible.
3387 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3388 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3389 Likewise.
3390
3391 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3392
3393 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3394
3395 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3396
3397 [BZ #18619]
3398 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3399 and return argument in case of subnormal argument.
3400
3401 2015-07-01 Martin Sebor <msebor@redhat.com>
3402
3403 [BZ #18435]
3404 * nptl/Makefile: Add tst-once5.cc.
3405 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3406 Remove macro redefinitions.
3407 * nptl/tst-once5.cc: New test.
3408
3409 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3410
3411 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3412
3413 * sysdeps/arm/libm-test-ulps: Regenerated.
3414
3415 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3416 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3417
3418 2015-06-30 Torvald Riegel <triegel@redhat.com>
3419
3420 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3421 lll_lock_wait_private and lll_futex_wake probes.
3422
3423 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3424 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3425 Likewise.
3426 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3427 atomic_spin_nop.
3428 * sysdeps/x86_64/bits/atomic.h: Likewise.
3429 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3430 to atomic_spin_nop and move ...
3431 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3432 ... here and ...
3433 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3434 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3435 atomic_spin_nop instead of BUSY_WAIT_NOP.
3436 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3437 Likewise.
3438 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3439 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3440 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3441 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3442 instead of atomic_delay.
3443
3444 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3445
3446 [BZ #18613]
3447 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3448 X_ADJ not X when adjusting exponent.
3449 (__ieee754_gamma_r): Do intermediate computations in
3450 round-to-nearest then adjust overflowing and underflowing results
3451 as needed.
3452 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3453 of X_ADJ not X when adjusting exponent.
3454 (__ieee754_gammaf_r): Do intermediate computations in
3455 round-to-nearest then adjust overflowing and underflowing results
3456 as needed.
3457 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3458 log of X_ADJ not X when adjusting exponent.
3459 (__ieee754_gammal_r): Do intermediate computations in
3460 round-to-nearest then adjust overflowing and underflowing results
3461 as needed. Use 1.0L not 1.0f as numerator of division.
3462 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3463 log of X_ADJ not X when adjusting exponent.
3464 (__ieee754_gammal_r): Do intermediate computations in
3465 round-to-nearest then adjust overflowing and underflowing results
3466 as needed. Use 1.0L not 1.0f as numerator of division.
3467 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3468 of X_ADJ not X when adjusting exponent.
3469 (__ieee754_gammal_r): Do intermediate computations in
3470 round-to-nearest then adjust overflowing and underflowing results
3471 as needed. Use 1.0L not 1.0f as numerator of division.
3472 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3473 to auto-libm-test-in.
3474 (tgamma_test): Use ALL_RM_TEST.
3475 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3476 tests of tgamma with spurious-overflow.
3477 * math/auto-libm-test-out: Regenerated.
3478 * math/gen-libm-have-vector-test.sh: Do not check for START.
3479 * sysdeps/i386/fpu/libm-test-ulps: Update.
3480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3481
3482 [BZ #18612]
3483 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3484 arguments, just return 0.5 times the argument, with underflow
3485 forced as needed.
3486 * math/auto-libm-test-in: Add more tests of j1.
3487 * math/auto-libm-test-out: Regenerated.
3488
3489 [BZ #16559]
3490 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3491 (__ieee754_j1): Force underflow exception for small results.
3492 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3493 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3494 (__ieee754_j1f): Force underflow exception for small results.
3495 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3496 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3498 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3499 (__ieee754_j1l): Force underflow exception for small results.
3500 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3501 * math/auto-libm-test-in: Add more tests of j1 and jn.
3502 * math/auto-libm-test-out: Regenerated.
3503
3504 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3505 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3506 (PF_MPLS): Likewise.
3507 (AF_IB): Likewise.
3508 (AF_MPLS): Likewise.
3509 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3510 value and macro.
3511 (MS_RMT_MASK): Include MS_LAZYTIME.
3512
3513 2015-06-26 Mel Gorman <mgorman@suse.de>
3514
3515 [BZ #18502]
3516 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3517 already minimal.
3518
3519 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3520
3521 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3522 (DT_MIPS_NUM): Update.
3523 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3524 DT_MIPS_RLD_MAP_REL.
3525
3526 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3527
3528 [BZ #16559]
3529 [BZ #18602]
3530 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3531 round-to-nearest internally then recompute results that
3532 underflowed to zero in the original rounding mode.
3533 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3534 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3536 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3537 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3538 * sysdeps/i386/fpu/libm-test-ulps: Update.
3539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3540
3541 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3542
3543 * NEWS: Fixed description of link with vector math library.
3544
3545 2015-06-25 Andreas Schwab <schwab@suse.de>
3546
3547 [BZ #18549]
3548 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3549 * libio/test-fmemopen.c (do_test): Add test for it.
3550
3551 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3552
3553 [BZ #17841]
3554 * Makeconfig (no-pie-ldflag): New.
3555 (+link): Set to $(+link-pie) if default to PIE.
3556 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3557 * config.make.in (build-pie-default): New.
3558 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3559 is default. AC_SUBST.
3560 * configure: Regenerated.
3561 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3562
3563 2015-06-24 Roland McGrath <roland@hack.frob.com>
3564
3565 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3566 to 'unsigned int'.
3567
3568 * resolv/gai_misc.h (struct waitlist): Change type of field
3569 counterp to 'volatile unsigned int *'.
3570 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3571 FUTEXADDR and OLDVAL.
3572 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3573 Give local variable TOTAL type 'volatile unsigned int'.
3574 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3575 * resolv/gai_suspend.c (gai_suspend):
3576 Give local variable CNTR type 'unsigned int'.
3577
3578 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3579 counterp to 'volatile unsigned int *'.
3580 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3581 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3582 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3583 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3584 Give local variable TOTAL type 'volatile unsigned int'.
3585 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3586
3587 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3588
3589 [BZ #18383]
3590 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3591 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3592 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3593 comment for i386/x86-64.
3594 (test-xfail-tst-tlsalign-extern-static): Removed.
3595
3596 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3597
3598 * math/test-double.h: New file.
3599 * math/test-float.h: Likewise.
3600 * math/test-ldouble.h: Likewise.
3601 * math/test-math-inline.h: Likewise.
3602 * math/test-math-no-inline.h: Likewise.
3603 * math/test-math-scalar.h: Likewise.
3604 * math/test-math-vector.h: Likewise.
3605 * math/test-vec-loop.h: Remove file. Contents moved into
3606 test-math-vector.h.
3607 * math/libm-test.inc (MATHCONST): Do not document macro.
3608 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3609 and test-math-scalar.h.
3610 (FUNC): Remove macro.
3611 (FUNC_TEST): Likewise.
3612 (FLOAT): Likewise.
3613 (MATHCONST): Likewise.
3614 (PRINTF_EXPR): Likewise.
3615 (PRINTF_XEXPR): Likewise.
3616 (PRINTF_NEXPR): Likewise.
3617 (TEST_DOUBLE): Likewise.
3618 (TEST_MATHVEC): Likewise.
3619 (__NO_MATH_INLINES): Likewise.
3620 * math/test-float.c: Include test-float.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_FLOAT): Likewise.
3630 (TEST_MATHVEC): Likewise.
3631 (__NO_MATH_INLINES): Likewise.
3632 * math/test-idouble.c: Include test-double.h, test-math-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_DOUBLE): Likewise.
3642 (TEST_MATHVEC): Likewise.
3643 (TEST_INLINE): Likewise.
3644 (__NO_MATH_INLINES): Likewise.
3645 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3646 test-math-scalar.h.
3647 (FUNC): Remove macro.
3648 (FUNC_TEST): Likewise.
3649 (FLOAT): Likewise.
3650 (MATHCONST): Likewise.
3651 (PRINTF_EXPR): Likewise.
3652 (PRINTF_XEXPR): Likewise.
3653 (PRINTF_NEXPR): Likewise.
3654 (TEST_FLOAT): Likewise.
3655 (TEST_MATHVEC): Likewise.
3656 (TEST_INLINE): Likewise.
3657 (__NO_MATH_INLINES): Likewise.
3658 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3659 and test-math-scalar.h.
3660 (FUNC): Remove macro.
3661 (FUNC_TEST): Likewise.
3662 (FLOAT): Likewise.
3663 (MATHCONST): Likewise.
3664 (PRINTF_EXPR): Likewise.
3665 (PRINTF_XEXPR): Likewise.
3666 (PRINTF_NEXPR): Likewise.
3667 (TEST_LDOUBLE): Likewise.
3668 (TEST_MATHVEC): Likewise.
3669 (TEST_INLINE): Likewise.
3670 (__NO_MATH_INLINES): Likewise.
3671 * math/test-ldouble.c: Include test-ldouble.h,
3672 test-math-no-inline.h and test-math-scalar.h.
3673 (FUNC): Remove macro.
3674 (FUNC_TEST): Likewise.
3675 (FLOAT): Likewise.
3676 (MATHCONST): Likewise.
3677 (PRINTF_EXPR): Likewise.
3678 (PRINTF_XEXPR): Likewise.
3679 (PRINTF_NEXPR): Likewise.
3680 (TEST_LDOUBLE): Likewise.
3681 (TEST_MATHVEC): Likewise.
3682 (__NO_MATH_INLINES): Likewise.
3683 * math/test-double-vlen2.h: Include test-double.h,
3684 test-math-no-inline.h and test-math-vector.h.
3685 (FLOAT): Remove macro.
3686 (FUNC): Likewise.
3687 (MATHCONST): Likewise.
3688 (PRINTF_EXPR): Likewise.
3689 (PRINTF_XEXPR): Likewise.
3690 (PRINTF_NEXPR): Likewise.
3691 (TEST_DOUBLE): Likewise.
3692 (TEST_MATHVEC): Likewise.
3693 (__NO_MATH_INLINES): Likewise.
3694 (CNCT): Likewise.
3695 (CONCAT): Likewise.
3696 (WRAPPER_NAME): Likewise.
3697 (WRAPPER_DECL): Likewise.
3698 (WRAPPER_DECL_ff): Likewise.
3699 (WRAPPER_DECL_fFF): Likewise.
3700 (VECTOR_WRAPPER): Likewise.
3701 (VECTOR_WRAPPER_ff): Likewise.
3702 (VECTOR_WRAPPER_fFF): Likewise.
3703 (VEC_LEN): New macro.
3704 * math/test-double-vlen4.h: Include test-double.h,
3705 test-math-no-inline.h and test-math-vector.h.
3706 (FLOAT): Remove macro.
3707 (FUNC): Likewise.
3708 (MATHCONST): Likewise.
3709 (PRINTF_EXPR): Likewise.
3710 (PRINTF_XEXPR): Likewise.
3711 (PRINTF_NEXPR): Likewise.
3712 (TEST_DOUBLE): Likewise.
3713 (TEST_MATHVEC): Likewise.
3714 (__NO_MATH_INLINES): Likewise.
3715 (CNCT): Likewise.
3716 (CONCAT): Likewise.
3717 (WRAPPER_NAME): Likewise.
3718 (WRAPPER_DECL): Likewise.
3719 (WRAPPER_DECL_ff): Likewise.
3720 (WRAPPER_DECL_fFF): Likewise.
3721 (VECTOR_WRAPPER): Likewise.
3722 (VECTOR_WRAPPER_ff): Likewise.
3723 (VECTOR_WRAPPER_fFF): Likewise.
3724 (VEC_LEN): New macro.
3725 * math/test-double-vlen8.h: Include test-double.h,
3726 test-math-no-inline.h and test-math-vector.h.
3727 (FLOAT): Remove macro.
3728 (FUNC): Likewise.
3729 (MATHCONST): Likewise.
3730 (PRINTF_EXPR): Likewise.
3731 (PRINTF_XEXPR): Likewise.
3732 (PRINTF_NEXPR): Likewise.
3733 (TEST_DOUBLE): Likewise.
3734 (TEST_MATHVEC): Likewise.
3735 (__NO_MATH_INLINES): Likewise.
3736 (CNCT): Likewise.
3737 (CONCAT): Likewise.
3738 (WRAPPER_NAME): Likewise.
3739 (WRAPPER_DECL): Likewise.
3740 (WRAPPER_DECL_ff): Likewise.
3741 (WRAPPER_DECL_fFF): Likewise.
3742 (VECTOR_WRAPPER): Likewise.
3743 (VECTOR_WRAPPER_ff): Likewise.
3744 (VECTOR_WRAPPER_fFF): Likewise.
3745 (VEC_LEN): New macro.
3746 * math/test-float-vlen4.h: Include test-float.h,
3747 test-math-no-inline.h and test-math-vector.h.
3748 (FLOAT): Remove macro.
3749 (FUNC): Likewise.
3750 (MATHCONST): Likewise.
3751 (PRINTF_EXPR): Likewise.
3752 (PRINTF_XEXPR): Likewise.
3753 (PRINTF_NEXPR): Likewise.
3754 (TEST_FLOAT): Likewise.
3755 (TEST_MATHVEC): Likewise.
3756 (__NO_MATH_INLINES): Likewise.
3757 (CNCT): Likewise.
3758 (CONCAT): Likewise.
3759 (WRAPPER_NAME): Likewise.
3760 (WRAPPER_DECL): Likewise.
3761 (WRAPPER_DECL_ff): Likewise.
3762 (WRAPPER_DECL_fFF): Likewise.
3763 (VECTOR_WRAPPER): Likewise.
3764 (VECTOR_WRAPPER_ff): Likewise.
3765 (VECTOR_WRAPPER_fFF): Likewise.
3766 (VEC_LEN): New macro.
3767 * math/test-float-vlen8.h: Include test-float.h,
3768 test-math-no-inline.h and test-math-vector.h.
3769 (FLOAT): Remove macro.
3770 (FUNC): Likewise.
3771 (MATHCONST): Likewise.
3772 (PRINTF_EXPR): Likewise.
3773 (PRINTF_XEXPR): Likewise.
3774 (PRINTF_NEXPR): Likewise.
3775 (TEST_FLOAT): Likewise.
3776 (TEST_MATHVEC): Likewise.
3777 (__NO_MATH_INLINES): Likewise.
3778 (CNCT): Likewise.
3779 (CONCAT): Likewise.
3780 (WRAPPER_NAME): Likewise.
3781 (WRAPPER_DECL): Likewise.
3782 (WRAPPER_DECL_ff): Likewise.
3783 (WRAPPER_DECL_fFF): Likewise.
3784 (VECTOR_WRAPPER): Likewise.
3785 (VECTOR_WRAPPER_ff): Likewise.
3786 (VECTOR_WRAPPER_fFF): Likewise.
3787 (VEC_LEN): New macro.
3788 * math/test-float-vlen16.h: Include test-float.h,
3789 test-math-no-inline.h and test-math-vector.h.
3790 (FLOAT): Remove macro.
3791 (FUNC): Likewise.
3792 (MATHCONST): Likewise.
3793 (PRINTF_EXPR): Likewise.
3794 (PRINTF_XEXPR): Likewise.
3795 (PRINTF_NEXPR): Likewise.
3796 (TEST_FLOAT): Likewise.
3797 (TEST_MATHVEC): Likewise.
3798 (__NO_MATH_INLINES): Likewise.
3799 (CNCT): Likewise.
3800 (CONCAT): Likewise.
3801 (WRAPPER_NAME): Likewise.
3802 (WRAPPER_DECL): Likewise.
3803 (WRAPPER_DECL_ff): Likewise.
3804 (WRAPPER_DECL_fFF): Likewise.
3805 (VECTOR_WRAPPER): Likewise.
3806 (VECTOR_WRAPPER_ff): Likewise.
3807 (VECTOR_WRAPPER_fFF): Likewise.
3808 (VEC_LEN): New macro.
3809 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3810 test-vec-loop.h.
3811 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3812 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3813 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3814 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3815 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3816 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3817 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3818
3819 2015-06-24 Roland McGrath <roland@hack.frob.com>
3820
3821 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3822 (__getlogin_r): ... this.
3823
3824 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3825
3826 [BZ #18594]
3827 * math/s_ccosh.c (__ccosh): Compare with least normal value
3828 instead of comparing class with FP_SUBNORMAL.
3829 * math/s_ccoshf.c (__ccoshf): Likewise.
3830 * math/s_ccoshl.c (__ccoshl): Likewise.
3831 * math/s_cexp.c (__cexp): Likewise.
3832 * math/s_cexpf.c (__cexpf): Likewise.
3833 * math/s_cexpl.c (__cexpl): Likewise.
3834 * math/s_csin.c (__csin): Likewise.
3835 * math/s_csinf.c (__csinf): Likewise.
3836 * math/s_csinh.c (__csinh): Likewise.
3837 * math/s_csinhf.c (__csinhf): Likewise.
3838 * math/s_csinhl.c (__csinhl): Likewise.
3839 * math/s_csinl.c (__csinl): Likewise.
3840 * math/s_ctan.c (__ctan): Likewise.
3841 * math/s_ctanf.c (__ctanf): Likewise.
3842 * math/s_ctanh.c (__ctanh): Likewise.
3843 * math/s_ctanhf.c (__ctanhf): Likewise.
3844 * math/s_ctanhl.c (__ctanhl): Likewise.
3845 * math/s_ctanl.c (__ctanl): Likewise.
3846 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3847 csin, csinh, ctan and ctanh.
3848 * math/auto-libm-test-out: Regenerated.
3849 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3850 * sysdeps/i386/fpu/libm-test-ulps: Update.
3851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3852
3853 2015-06-24 Roland McGrath <roland@hack.frob.com>
3854
3855 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3856 return value is wrong, print the expected value too.
3857
3858 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3859
3860 [BZ #18585]
3861 * elf/readlib.c (is_gdb_python_file): New.
3862 (process_file): Don't issue errors on filenames with -gdb.py
3863 suffix.
3864
3865 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3866
3867 * math/auto-libm-test-in: Add more tests of csin and csinh.
3868 * math/auto-libm-test-out: Regenerated.
3869 * math/libm-test.inc (csin_test_data): Remove tests moved to
3870 auto-libm-test-in.
3871 (csinh_test_data): Likewise.
3872
3873 [BZ #18593]
3874 * math/s_csin.c (__csin): Negate before rather than after possibly
3875 overflowing multiplication.
3876 * math/s_csinf.c (__csinf): Likewise.
3877 * math/s_csinh.c (__csinh): Likewise.
3878 * math/s_csinhf.c (__csinhf): Likewise.
3879 * math/s_csinhl.c (__csinhl): Likewise.
3880 * math/s_csinl.c (__csinl): Likewise.
3881 * math/auto-libm-test-in: Add some tests of csin and csinh.
3882 * math/auto-libm-test-out: Regenerated.
3883 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3884 (csinh_test_data): Likewise.
3885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3886
3887 [BZ #18586]
3888 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3889 underflow exception for small results.
3890
3891 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
3892
3893 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3894 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3895 variable and included header.
3896 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3897 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3898 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3899 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3900 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3901 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3902 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3903 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3904 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3905 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3906 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3907 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3908 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
3909 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
3910 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
3911 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
3912
3913 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3914
3915 [BZ #16526]
3916 [BZ #16538]
3917 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
3918 (__sin): Force underflow exception for arguments with small
3919 absolute value.
3920 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
3921 (__kernel_sinf): Force underflow exception for arguments with
3922 small absolute value.
3923 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
3924 (__kernel_sincosl): Force underflow exception for arguments with
3925 small absolute value.
3926 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
3927 (__kernel_sinl): Force underflow exception for arguments with
3928 small absolute value.
3929 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
3930 (__kernel_sincosl): Force underflow exception for arguments with
3931 small absolute value.
3932 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
3933 (__kernel_sinl): Force underflow exception for arguments with
3934 small absolute value.
3935 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
3936 (__kernel_sinl): Force underflow exception for arguments with
3937 small absolute value.
3938 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
3939 (__kernel_sinf): Force underflow exception for arguments with
3940 small absolute value.
3941 * math/auto-libm-test-in: Add more tests of sin and sincos.
3942 * math/auto-libm-test-out: Regenerated.
3943
3944 [BZ #18245]
3945 [BZ #18583]
3946 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
3947 (__kernel_standard_l): Use feholdexcept and fesetenv around
3948 conversion to double instead of special-casing overflow and
3949 underflow.
3950 * math/libm-test.inc (fmod_test_data): Add more tests.
3951 (remainder_test_data): Likewise.
3952 (sqrt_test_data): Likewise.
3953
3954 2015-06-23 Torvald Riegel <triegel@redhat.com>
3955
3956 [BZ #17403]
3957 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
3958 atomic_read_barrier, atomic_write_barrier): Define.
3959 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
3960 atomic_read_barrier, atomic_write_barrier): Define.
3961
3962 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3963
3964 * math/Makefile [$(PERL) != no]
3965 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
3966 dependency on libm-test.stmp below the inclusion of Rules.
3967
3968 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
3969
3970 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3971 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
3972 and included header.
3973 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
3974 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
3975 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
3976 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
3977 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
3978 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
3979 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3980 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3981 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
3982 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
3983 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
3984 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
3985 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
3986 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
3987 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
3988 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
3989 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
3990 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
3991 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
3992
3993 2015-06-23 Joseph Myers <joseph@codesourcery.com>
3994
3995 [BZ #18371]
3996 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
3997 intermediate but not final result might underflow.
3998 * math/s_csqrtf.c (__csqrtf): Likewise.
3999 * math/s_csqrtl.c (__csqrtl): Likewise.
4000 * math/auto-libm-test-in: Add more tests of csqrt.
4001 * math/auto-libm-test-out: Regenerated.
4002 * sysdeps/i386/fpu/libm-test-ulps: Update.
4003
4004 [BZ #18219]
4005 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4006 threshold on absolute value of exponent for which scaling is used.
4007 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4008 * math/auto-libm-test-in: Add more tests of exp2.
4009 * math/auto-libm-test-out: Regenerated.
4010
4011 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4012
4013 [BZ #17977]
4014 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4015 when initializing interface list, based on the bug analysis
4016 and the patch proposed by Eric Newton.
4017 * resolv/tst-res_hconf_reorder.c: New test.
4018 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4019 tst-res_hconf_reorder.
4020 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4021 and $(shared-thread-library).
4022 (tst-res_hconf_reorder-ENV): New variable.
4023
4024 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4025 in comment.
4026
4027 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4028
4029 [BZ #16353]
4030 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4031 (__expm1): Force underflow exception for arguments with small
4032 absolute value.
4033 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4034 (__expm1f): Force underflow exception for arguments with small
4035 absolute value.
4036 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4037 (__expm1): Force underflow exception for arguments with small
4038 absolute value.
4039 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4040 (__expm1f): Force underflow exception for arguments with small
4041 absolute value.
4042 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4043 Check for small arguments before calling __expm1.
4044 * math/auto-libm-test-in: Do not mark underflow exceptions as
4045 possibly missing for bug 16353.
4046 * math/auto-libm-test-out: Regenerated.
4047
4048 2015-06-22 Andreas Schwab <schwab@suse.de>
4049
4050 [BZ #18513]
4051 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4052 PTR queries.
4053
4054 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4055
4056 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4057
4058 * string/strcoll_l.c: Remove unused struct element idxnow.
4059
4060 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4061
4062 [BZ #18569]
4063 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4064 underflow and return argument in case of subnormal argument.
4065 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4066 Likewise.
4067 * math/auto-libm-test-in: Add more tests of expm1.
4068 * math/auto-libm-test-out: Regenerated.
4069
4070 [BZ #16361]
4071 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4072 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4073 tiny results.
4074 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4075 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4076 tiny results.
4077 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4078 mark underflow exceptions as possibly missing for bug 16361.
4079 * math/auto-libm-test-out: Regenerated.
4080
4081 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4082
4083 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4084 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4085 Remove variable.
4086 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4087 (test-xfail-XOPEN2K8/utmpx.h/conform).
4088
4089 * conform/conformtest.pl ($xerrors): New variable.
4090 (note_error): New function.
4091 (compiletest): New argument $xfail. Use not_error.
4092 (runtest): Likewise.
4093 (top level): Handle xfail- lines. Update calls to compiletest and
4094 runtest. Handle xfail- and optional- in headers listed with
4095 allow-header.
4096 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4097 (O_EXEC): Likewise.
4098 (O_SEARCH): Likewise.
4099 * conform/data/stropts.h-data (ioctl): Likewise.
4100 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4101 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4102 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4103 (msghdr.msg_controllen): Likewise.
4104 (cmsghdr.cmsg_len): Likewise.
4105 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4106 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4107 variable.
4108 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4109 (test-xfail-XPG4/stropts.h/conform): Likewise.
4110 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4111 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4112 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4113 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4114 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4115 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4116 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4117 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4118 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4119 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4120 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4121 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4122 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4123 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4124 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4125 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4126 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4127 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4128 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4129
4130 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4131
4132 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4133 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4134 definitions for proper unfolding of __MATHDECL_VEC.
4135
4136 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4137
4138 * benchtests/bench-strcoll.c:
4139 Include string.h.
4140 (main): Remove unused variable res.
4141
4142 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4143
4144 * timezone/Makefile (%/UTC %/Universal):
4145 Generate test-result files for UTC and Universal.
4146
4147 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4148
4149 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4150
4151 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4152
4153 [BZ #16350]
4154 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4155 for arguments with small absolute value.
4156 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4157 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4158 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4159 (__asinh): Force underflow exception for arguments with small
4160 absolute value.
4161 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4162 (__asinhf): Force underflow exception for arguments with small
4163 absolute value.
4164 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4165 (__asinhl): Force underflow exception for arguments with small
4166 absolute value.
4167 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4168 (__asinhl): Force underflow exception for arguments with small
4169 absolute value.
4170 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4171 (__asinhl): Force underflow exception for arguments with small
4172 absolute value.
4173 * math/auto-libm-test-in: Do not mark underflow exceptions as
4174 possibly missing for bug 16350.
4175 * math/auto-libm-test-out: Regenerated.
4176
4177 * include/bits/ipc.h: Remove file.
4178 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4179 variable.
4180 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4181 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4182 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4183 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4184 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4185 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4186 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4187 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4188 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4189
4190 * math/auto-libm-test-in: Remove spurious underflow allowance for
4191 tests of cexp.
4192 * math/auto-libm-test-out: Regenerated.
4193
4194 [BZ #18558]
4195 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4196 unconditional definition.
4197 (MCAST_BLOCK_SOURCE): Likewise.
4198 (MCAST_UNBLOCK_SOURCE): Likewise.
4199 (MCAST_LEAVE_GROUP): Likewise.
4200 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4201 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4202 (MCAST_MSFILTER): Likewise.
4203 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4204 Remove variable.
4205 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4206 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4207 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4208 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4209 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4210
4211 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4212
4213 * NEWS: Mention addition of x86_64 vector sincosf.
4214 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4215 * math/test-float-vlen4.h: Likewise.
4216 * math/test-float-vlen8.h: Likewise.
4217 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4218 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4219 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4220 * sysdeps/x86_64/fpu/Versions: New versions added.
4221 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4222 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4223 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4224 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4225 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4226 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4227 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4228 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4229 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4230 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4231 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4232 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4233 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4234 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4235 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4236 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4237 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4238 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4239 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4240 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4241 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4242 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4243 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4244 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4245
4246 * NEWS: Mention addition of x86_64 vector sincos.
4247 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4248 * math/math.h (__MATHDECL_VEC): New macro.
4249 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4250 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4251 declaration under condition.
4252 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4253 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4254 TEST_VEC_LOOP change.
4255 * math/test-double-vlen4.h: Likewise.
4256 * math/test-double-vlen8.h: Likewise.
4257 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4258 * math/test-float-vlen4.h: Likewise.
4259 * math/test-float-vlen8.h: Likewise.
4260 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4261 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4262 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4263 * sysdeps/x86_64/fpu/Versions: New versions added.
4264 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4265 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4266 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4267 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4268 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4269 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4270 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4271 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4272 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4273 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4274 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4275 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4276 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4277 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4278 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4279 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4280 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4281 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4282 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4283 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4284 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4285 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4286 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4287 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4288
4289 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4290 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4291 redirections for powf.
4292 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4293 * sysdeps/x86_64/fpu/Versions: New versions added.
4294 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4295 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4296 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4297 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4298 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4299 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4300 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4301 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4302 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4303 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4304 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4305 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4306 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4307 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4308 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4309 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4310 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4311 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4312 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4313 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4314 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4315 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4316 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4317 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4318 * math/test-float-vlen16.h: Fixed 2 argument macro.
4319 * math/test-float-vlen4.h: Likewise.
4320 * math/test-float-vlen8.h: Likewise.
4321 * NEWS: Mention addition of x86_64 vector powf.
4322
4323 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4324
4325 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4326 and redefine.
4327 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4328 and redefine.
4329 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4330 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4332
4333 [BZ #18553]
4334 * resource/getpriority.c (getpriority): Rename to __getpriority
4335 and define as weak alias of __getpriority.
4336 * resource/setpriority.c (setpriority): Rename to __setpriority
4337 and define as weak alias of __setpriority.
4338 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4339 __getpriority and define as weak alias of __getpriority.
4340 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4341 __setpriority and define as weak alias of __setpriority.
4342 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4343 strong name.
4344 (setpriority): Use __setpriority as strong name.
4345 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4346 __getpriority and define as weak alias of __getpriority.
4347 * include/sys/resource.h (__getpriority): Declare. Use
4348 libc_hidden_proto.
4349 (__setpriority): Likewise.
4350 (getpriority): Don't use libc_hidden_proto.
4351 (setpriority): Likewise.
4352 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4353 getpriority. Call __setpriority instead of setpriority.
4354 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4355 Remove variable.
4356
4357 [BZ #18547]
4358 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4359 as weak alias of __getttynam. Use prototype function definition.
4360 Call __setttyent, __getttyent and __endttyent instead of
4361 setttyent, getttyent and endttyent.
4362 (getttyent): Rename to __getttyent and define as weak alias of
4363 __getttyent. Call __setttyent instead of setttyent. Call
4364 __fgets_unlocked instead of fgets_unlocked.
4365 (setttyent): Rename to __setttyent and define as weak alias of
4366 __setttyent.
4367 (endttyent): Rename to __endttyent and define as weak alias of
4368 __endttyent.
4369 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4370 (__setttyent): Likewise.
4371 (__endttyent): Likewise.
4372 (getttyent): Don't use libc_hidden_proto.
4373 (setttyent): Likewise.
4374 (endttyent): Likewise.
4375 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4376 __endttyent instead of setttyent, getttyent and endttyent.
4377 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4378 Remove variable.
4379
4380 [BZ #18546]
4381 * socket/recv.c (__recv): Use libc_hidden_def.
4382 * socket/socket.c (__socket): Likewise.
4383 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4384 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4385 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4386 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4387 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4388 libc_hidden_def.
4389 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4390 libc_hidden_weak.
4391 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4392 Use libc_hidden_proto.
4393 (__recv): Likewise.
4394 * socket/Versions (libc): Export __recv and __socket at version
4395 GLIBC_PRIVATE.
4396 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4397 instead of recv.
4398 (init_mq_netlink): Call __socket instead of socket.
4399 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4400 Remove variable.
4401
4402 [BZ #18545]
4403 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4404 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4405 hidden_weak.
4406 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4407 define as alias of __mq_timedsend. Use hidden_weak.
4408 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4409 __mq_timedsend as strong name.
4410 (mq_timedreceive): Use __mq_timedreceive as strong name.
4411 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4412 (__mq_timedreceive): Likewise.
4413 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4414 __mq_timedreceive instead of mq_timedreceive.
4415 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4416 instead of mq_timedsend.
4417 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4418 Remove variable.
4419
4420 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4421 hidden_def and hidden_weak instead of libc_hidden_def and
4422 libc_hidden_weak.
4423 (top level): Refer to hidden_def in comment.
4424 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4425 macro. Use it instead of libc_hidden_def.
4426 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4427 specify __GI_* name explicitly.
4428 (mq_timedreceive): Likewise.
4429 (mq_setattr): Likewise.
4430
4431 [BZ #18544]
4432 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4433 __pthread_barrier_init and define as weak alias of
4434 __pthread_barrier_init.
4435 * sysdeps/sparc/nptl/pthread_barrier_init.c
4436 (pthread_barrier_init): Likewise.
4437 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4438 __pthread_barrier_wait and define as weak alias of
4439 __pthread_barrier_wait.
4440 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4441 (pthread_barrier_wait): Likewise.
4442 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4443 (pthread_barrier_wait): Likewise.
4444 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4445 (pthread_barrier_wait): Likewise.
4446 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4447 (pthread_barrier_wait): Likewise.
4448 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4449 __pthread_barrier_wait at version GLIBC_PRIVATE.
4450 * include/pthread.h (__pthread_barrier_init): Declare.
4451 (__pthread_barrier_wait): Likewise.
4452 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4453 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4454 (helper_thread): Likewise.
4455 (init_mq_netlink): Call __pthread_barrier_init instead of
4456 pthread_barrier_init.
4457
4458 [BZ #18542]
4459 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4460 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4461 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4462 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4463 vswscanf.
4464 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4465 Remove variable.
4466
4467 [BZ #18540]
4468 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4469 strong alias of _IO_fflush. Use libc_hidden_def.
4470 * libio/iofflush_u.c (fflush_unlocked): Rename to
4471 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4472 Use libc_hidden_weak.
4473 * include/stdio.h (__fflush_unlocked): Declare. Use
4474 libc_hidden_proto.
4475 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4476 fflush_unlocked.
4477 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4478 Remove variable.
4479
4480 [BZ #18539]
4481 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4482 define as weak alias of __addseverity.
4483 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4484 Remove variable.
4485 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4486 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4487 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4488
4489 [BZ #18536]
4490 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4491 (__tfind): Likewise.
4492 (__tdelete): Likewise.
4493 (__twalk): Likewise.
4494 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4495 __twalk to GLIBC_PRIVATE.
4496 * include/search.h (__tsearch): Use libc_hidden_proto.
4497 (__tfind): Likewise.
4498 (__tdelete): Likewise.
4499 (__twalk): Likewise.
4500 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4501 Call __tdelete instead of tdelete.
4502 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4503 tfind. Call __tsearch instead of tsearch.
4504 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4505 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4506 Remove variable.
4507 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4508
4509 [BZ #18534]
4510 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4511 (dprintf): Define as a weak alias of __dprintf, not a strong
4512 alias.
4513 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4514 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4515 dprintf.
4516 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4517 Remove variable.
4518 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4519 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4520
4521 [BZ #18533]
4522 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4523 not a strong alias.
4524 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4525 Remove variable.
4526
4527 [BZ #18532]
4528 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4529 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4530 (in6addr_loopback): Rename to __in6addr_loopback and define as
4531 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4532 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4533 libc_hidden_proto.
4534 (__in6addr_any): Likewise.
4535 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4536 in6addr_any.
4537 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4538 variable.
4539 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4540
4541 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4542
4543 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4544 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4545 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4546 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4547 redirections for pow.
4548 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4549 * sysdeps/x86_64/fpu/Versions: New versions added.
4550 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4551 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4552 build of SSE, AVX2 and AVX512 IFUNC versions.
4553 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4554 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4555 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4556 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4557 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4558 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4559 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4560 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4561 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4562 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4563 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4564 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4565 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4566 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4567 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4568 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4569 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4570 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4571 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4572 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4573 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4574 * NEWS: Mention addition of x86_64 vector pow.
4575
4576 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4577 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4578 redirections for expf.
4579 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4580 * sysdeps/x86_64/fpu/Versions: New versions added.
4581 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4582 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4583 build of SSE, AVX2 and AVX512 IFUNC versions.
4584 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4585 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4586 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4587 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4588 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4589 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4590 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4591 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4592 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4593 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4594 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4595 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4596 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4597 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4598 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4599 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4600 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4601 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4602 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4603 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4604 * NEWS: Mention addition of x86_64 vector expf.
4605
4606 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4607 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4608 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4609 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4610 redirections for exp.
4611 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4612 * sysdeps/x86_64/fpu/Versions: New versions added.
4613 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4614 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4615 build of SSE, AVX2 and AVX512 IFUNC versions.
4616 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4617 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4618 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4619 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4620 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4621 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4622 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4623 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4624 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4625 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4626 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4627 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4628 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4629 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4630 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4631 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4632 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4633 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4634 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4635 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4636 * NEWS: Mention addition of x86_64 vector exp.
4637
4638 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4639 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4640 redirections for logf.
4641 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4642 * sysdeps/x86_64/fpu/Versions: New versions added.
4643 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4644 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4645 build of SSE, AVX2 and AVX512 IFUNC versions.
4646 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4647 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4648 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4649 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4650 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4651 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4652 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4653 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4654 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4655 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4656 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4657 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4658 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4659 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4660 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4661 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4662 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4663 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4664 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4665 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4666 * NEWS: Mention addition of x86_64 vector logf.
4667
4668 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4669 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4670 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4671 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4672 redirections for log.
4673 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4674 * sysdeps/x86_64/fpu/Versions: New versions added.
4675 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4676 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4677 build of SSE, AVX2 and AVX512 IFUNC versions.
4678 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4679 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4680 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4681 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4682 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4683 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4684 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4685 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4686 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4687 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4688 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4689 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4690 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4691 test.
4692 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4693 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4694 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4695 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4696 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4697 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4698 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4699 * NEWS: Mention addition of x86_64 vector log.
4700
4701 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
4702
4703 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4704 cfi_adjust_cfa_offset argument.
4705 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4706 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4707
4708 [BZ #18034]
4709 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4710 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4711 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4712 ordering using ldar.
4713 (_dl_tlsdesc_dynamic): Likewise.
4714 (_dl_tlsdesc_return_lazy): Likewise.
4715 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4716 relaxed atomics instead of volatile and synchronize with release store.
4717 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4718 volatile.
4719 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4720
4721 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
4722
4723 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4724 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4725 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4726 * sysdeps/x86_64/fpu/Versions: New versions added.
4727 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4728 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4729 build of SSE, AVX2 and AVX512 IFUNC versions.
4730 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4731 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4732 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4733 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4734 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4735 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4736 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4737 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4738 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4739 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4740 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4741 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4742 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4743 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4744 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4745 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4746 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4747 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4748 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4749 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4750 * NEWS: Mention addition of x86_64 vector sinf.
4751
4752 2015-06-14 Joseph Myers <joseph@codesourcery.com>
4753
4754 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4755 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4756 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4757 Remove variable.
4758 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4759 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4760
4761 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4762
4763 [BZ #18530]
4764 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4765 strong alias of _IO_fputs. Use libc_hidden_def.
4766 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4767 and define as weak alias of __fputs_unlocked. Use
4768 libc_hidden_weak.
4769 * include/stdio.h (__fputs_unlocked): Declare. Use
4770 libc_hidden_proto.
4771 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4772 fputs_unlocked.
4773
4774 [BZ #18529]
4775 * resolv/netdb.h [__USE_POSIX]: Change condition to
4776 [__USE_XOPEN2K].
4777 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4778 not expect.
4779 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4780 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4781 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4782 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4783 [XPG4 || UNIX98] (AI_ALL): Likewise.
4784 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4785 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4786 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4787 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4788 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4789 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4790 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4791 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4792 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4793 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4794 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4795 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4796 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4797 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4798 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4799 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4800 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4801 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4802 [XPG4 || UNIX98] (gai_strerror): Likewise.
4803 [XPG4 || UNIX98] (getaddrinfo): Likewise.
4804 [XPG4 || UNIX98] (getnameinfo): Likewise.
4805
4806 [BZ #18528]
4807 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4808 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4809 __USE_XOPEN2K8].
4810 (getgrent): Likewise.
4811 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4812 expect.
4813 [XPG3 || POSIX2008] (endgrent): Likewise.
4814 [XPG3] (setgrent): Likewise.
4815 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4816 variable.
4817 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4818
4819 [BZ #18527]
4820 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4821 define as weak alias of __getlogin_r. Use libc_hidden_weak.
4822 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4823 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4824 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4825 * include/unistd.h (__getlogin_r): Declare. Use
4826 libc_hidden_proto.
4827 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4828 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4829 variable.
4830 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4831 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4832 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4833
4834 2015-06-12 Martin Sebor <msebor@redhat.com>
4835
4836 [BZ #18512]
4837 * Makerules (check-install-supported): New target.
4838 (install): Add check-install-supported as a dependency.
4839 * manual/install.texi (Installing the C Library): Document
4840 that overriding prefix and exec_prefix is not supported.
4841 Mention DESTDIR.
4842 * INSTALL: Regenerate from the above.
4843
4844 2015-06-12 Joseph Myers <joseph@codesourcery.com>
4845
4846 [BZ #18519]
4847 * posix/Versions (libc): Export __libc_pread at version
4848 GLIBC_PRIVATE.
4849 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4850 instead of pread.
4851 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4852 variable.
4853
4854 [BZ #18522]
4855 * misc/efgcvt_r.c
4856 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4857 (cvt_symbol): Use weak_alias instead of strong_alias.
4858 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4859 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4860 Remove variable.
4861 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4862 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4863
4864 [BZ #18520]
4865 * inet/herrno.c (h_errno): Rename to __h_errno.
4866 (__libc_h_errno): Define as alias of __h_errno not h_errno.
4867 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4868 to __h_errno instead of h_errno.
4869 * nptl/herrno.c (h_errno): Rename to __h_errno.
4870 (__h_errno_location): Refer to __h_errno not h_errno.
4871 * resolv/Versions (h_errno): Rename to __h_errno.
4872 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4873 Remove variable.
4874 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4875
4876 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
4877
4878 * configure.ac: More strict check for AVX512 assembler support.
4879 * configure: Regenerated.
4880
4881 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4882 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4883 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4884 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4885 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4886 * sysdeps/x86_64/fpu/Versions: New versions added.
4887 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4888 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4889 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4890 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4891 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4892 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4893 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4894 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4895 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4896 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4897 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4898 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4899 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4900 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4901 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4902 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4903 test.
4904 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4905 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4906 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4907 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4908 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4909 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4910 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4911 * NEWS: Mention addition of x86_64 vector sin.
4912
4913 2015-06-11 Florian Weimer <fweimer@redhat.com>
4914
4915 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
4916 comment.
4917
4918 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
4919
4920 [BZ #18479]
4921 * nptl/pt-interp.c: New file.
4922 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
4923 Add pt-interp.
4924 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
4925 $(common-objpfx)runtime-linker.h.
4926
4927 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
4928
4929 * Makeconfig (+interp): Remove unused variable.
4930 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
4931 only. Depend on $(common-objpfx)runtime-linker.h instead of
4932 $(elf-objpfx)runtime-linker.h.
4933 ($(elf-objpfx)runtime-linker.h): Rename to
4934 $(common-objpfx)runtime-linker.h and move ...
4935 * Makerules [$(build-shared) = yes]: ... here.
4936 * elf/interp.c: Include <runtime-linker.h> instead of
4937 <elf/runtime-linker.h>.
4938
4939 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4940
4941 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
4942 (__gettimeofday_syscall): Remove vsyscall fallback.
4943 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
4944 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
4945 Add syscall fallback function.
4946 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
4947 if vDSO is not present.
4948 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
4949 fallback function.
4950 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
4951 present.
4952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
4953 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4954
4955 2015-06-09 Joseph Myers <joseph@codesourcery.com>
4956
4957 [BZ #18497]
4958 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
4959 of wcscmp.
4960 (wcscmp): Define as weak alias of WCSCMP.
4961 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
4962 wcscoll.
4963 (USE_HIDDEN_DEF): Define.
4964 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
4965 __wcscoll. Don't use libc_hidden_weak.
4966 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
4967 wcscmp.
4968 * sysdeps/i386/i686/multiarch/wcscmp-c.c
4969 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
4970 __GI_wcscmp.
4971 (weak_alias): Undefine and redefine.
4972 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
4973 __wcscmp and define as weak alias of __wcscmp.
4974 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
4975 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
4976 (__wcscoll): Likewise.
4977 (wcscmp): Don't use libc_hidden_proto.
4978 (wcscoll): Likewise.
4979 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
4980 wcscoll.
4981 * posix/regexec.c (check_node_accept_bytes): Likewise.
4982 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
4983 variable.
4984 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4985 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4986
4987 [BZ #18507]
4988 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
4989 __fstatvfs and define as weak alias of __fstatvfs. Use
4990 libc_hidden_weak.
4991 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
4992 and define as weak alias of __statvfs. Use libc_hidden_weak.
4993 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
4994 Define as alias of __fstatvfs, not fstatvfs.
4995 (fstatvfs64): Likewise.
4996 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
4997 Define as alias of __statvfs, not statvfs.
4998 (statvfs64): Likewise.
4999 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5000 Remove variable.
5001
5002 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5003
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5005 (HAVE_GETCPU_VSYSCALL): Define.
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5007 (HAVE_GETCPU_VSYSCALL): Likewise.
5008 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5009 * sysdeps/unix/sysv/linux/sched_getcpu.c
5010 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5011 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5012 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5013 prototype.
5014 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5015 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5016 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5018 Define.
5019 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5020 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5021 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5022 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5023
5024 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5025
5026 * sysdeps/x86_64/fpu/Makefile: New file.
5027 * sysdeps/x86_64/fpu/Versions: New file.
5028 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5029 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5030 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5031 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5032 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5033 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5034 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5035 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5036 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5037 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5038 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5039 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5040 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5041 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5042 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5043 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5044 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5045 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5046 * sysdeps/x86_64/configure: Regenerated.
5047 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5048 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5049 * manual/install.texi (Configuring and compiling): Document
5050 --disable-mathvec.
5051 * INSTALL: Regenerated.
5052 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5053
5054 * math/Makefile: Added rules for vector tests.
5055 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5056 declaration under condition.
5057 * math/test-double-vlen2.h: New file.
5058 * math/test-double-vlen4.h: New file.
5059 * math/test-double-vlen8.h: New file.
5060 * math/test-vec-loop.h: Added initialization macro.
5061 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5062 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5063 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5064 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5065 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5066 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5067 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5068 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5069 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5070 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5071 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5072
5073 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5074 * sysdeps/x86_64/fpu/Versions: New versions added.
5075 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5076 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5077 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5078 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5079 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5080 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5081 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5082 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5083 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5084 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5085 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5086 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5087 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5088 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5089 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5090 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5091 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5092 * NEWS: Mention addition of x86_64 vector cosf.
5093
5094 * math/Makefile: Added CFLAGS for new tests.
5095 * math/test-float-vlen16.h: New file.
5096 * math/test-float-vlen4.h: New file.
5097 * math/test-float-vlen8.h: New file.
5098 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5099 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5100 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5101 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5102 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5103 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5104 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5105 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5106 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5107 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5108 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5109
5110 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5111
5112 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5113 * locale/programs/ld-ctype.c: Likewise.
5114
5115 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5116
5117 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5118 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5119 bit_ZMM16_31_state): New macro.
5120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5121 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5122
5123 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5124
5125 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5126
5127 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5128
5129 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5130
5131 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5132
5133 [BZ #18498]
5134 * libio/memstream.c (open_memstream): Rename to __open_memstream
5135 and define as weak alias of __open_memstream.
5136 * include/stdio.h (__open_memstream): Declare. Use
5137 libc_hidden_proto.
5138 (open_memstream): Don't use libc_hidden_proto.
5139 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5140 open_memstream.
5141 * posix/getopt.c (_getopt_internal_r): Likewise.
5142 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5143 variable.
5144 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5145 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5146 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5147
5148 [BZ #18496]
5149 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5150 instead of wcrtomb.
5151
5152 [BZ #18483]
5153 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5154 [__USE_XOPEN2K8]. Remove redundant #endif.
5155 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5156 Remove redundant #if.
5157 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5158 Remove variable.
5159 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5160 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5161
5162 [BZ #18495]
5163 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5164 (__iswlower): Likewise.
5165 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5166 (__iswlower): Likewise.
5167 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5168 instead of towlower.
5169 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5170 instead of iswlower. Call __towupper instead of towupper.
5171 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5172 instead of iswalnum.
5173
5174 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5175
5176 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5177 errors to stderr.
5178
5179 2015-06-05 Florian Weimer <fweimer@redhat.com>
5180
5181 [BZ #15661]
5182 [BZ #17322]
5183 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5184 Check for overflow properly. Check for O_APPEND. Ignore large
5185 file system block sizes. Add comments about problems.
5186 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5187 * manual/filesys.texi (Storage Allocation): New node.
5188
5189 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5190
5191 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5192 cancellable syscalls.
5193 (SYS_ify): Add guard to no redefine it.
5194 (INLINE_SYSCALL): Likewise.
5195 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5196 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5197 SYSCALL_CANCEL instead.
5198 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5199 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5200 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5201 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5202 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5203 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5204 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5205 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5206 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5207 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5208 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5209 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5210 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5211 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5212 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5213 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5214 Likewise.
5215 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5216 (__libc_pread64): Likewise.
5217 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5218 (__libc_preadv): Likewise.
5219 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5220 (__libc_readv64): Likewise.
5221 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5222 (__libc_pwrite): Likewise.
5223 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5224 (__libc_pwrite64): Likewise.
5225 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5226 (__libc_pwritev): Likewise.
5227 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5228 (__libc_pwritev64): Likewise.
5229 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5230 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5231 (sync_file_range): Likewise.
5232 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5233 Likewise.
5234 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5235 Likewise.
5236 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5237 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5238 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5239 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5240 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5241 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5242 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5243 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5245 Likewise.
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5247 (__libc_read64): Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5249 Likewise.
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5251 Likewise.
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5253 Likewise.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5255 Likewise.
5256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5257 (__libc_pread64): Likewise.
5258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5259 Likewise.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5261 (__libc_pwrite64): Likewise.
5262 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5263 (sync_file_range): Likewise.
5264 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5265 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5266 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5267 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5268 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5269 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5270 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5271 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5272 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5273 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5274 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5275 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5276 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5277 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5278 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5279 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5280 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5281 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5282 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5283 Likewise.
5284 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5285 Likewise.
5286 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5287 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5288 Likewise.
5289 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5290 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5291 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5292 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5293 Likewise.
5294 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5295 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5296 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5297 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5298 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5299
5300 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5301
5302 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5303 Include dl-vdso.
5304 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5305 Use VDSO routines for gettimeofday, clock_gettime if
5306 available.
5307 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5308 Declare VDSO symbols.
5309 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5310 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5311 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5312 * sysdeps/unix/sysv/linux/arm/Versions: Add
5313 __vdso_clock_gettime.
5314
5315 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5316
5317 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5318 be an inline implementation regardless of library is built within.
5319 (open_not_cancel_2): Likewise.
5320 (__read_nocancel): Likewise.
5321 (__write_nocancel): Likewise.
5322 (openat_not_cancel): Likewise.
5323 (openat_not_cancel_3): Likewise.
5324 (openat64_not_cancel): Likewise.
5325 (openat64_not_cancel_3): Likewise.
5326 (__close_nocancel): Likewise.
5327 (pause_not_cancel): Likewise.
5328 (nanosleep_not_cancel): Likewise.
5329 (sigsuspend_not_cancel): Likewise.
5330
5331 2015-06-04 Torvald Riegel <triegel@redhat.com>
5332
5333 [BZ #14958]
5334 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5335 wake-up.
5336 (__pthread_rwlock_rdlock_slow): Likewise.
5337 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5338 Likewise.
5339 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5340 Likewise.
5341 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5342 * nptl/tst-rwlock16.c: New file.
5343 * nptl/Makefile (tests): Add new test.
5344
5345 2015-06-04 Torvald Riegel <triegel@redhat.com>
5346
5347 [BZ #18324]
5348 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5349 missing wake-up of readers.
5350 * nptl/tst-rwlock15.c: New file.
5351 * nptl/Makefile (tests): Add new test.
5352
5353 2015-06-03 Roland McGrath <roland@hack.frob.com>
5354
5355 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5356 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5357 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5358 and __nacl_supply_interface_rtld.
5359 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5360 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5361 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5362 Add __nacl_supply_interface_rtld.
5363 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5364
5365 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5366
5367 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5368 isfinite.
5369 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5370 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5371
5372 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5373
5374 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5375 __signbit* with standard C99 macros.
5376 * math/e_exp10l.c: Likewise.
5377 * math/e_exp2l.c: Likewise.
5378 * math/e_scalb.c: Likewise.
5379 * math/e_scalbf.c: Likewise.
5380 * math/e_scalbl.c: Likewise.
5381 * math/s_ldexp.c: Likewise.
5382 * math/s_ldexpf.c: Likewise.
5383 * math/s_ldexpl.c: Likewise.
5384 * math/w_atan2.c: Likewise.
5385 * math/w_atan2f.c: Likewise.
5386 * math/w_atan2l.c: Likewise.
5387 * math/w_cosh.c: Likewise.
5388 * math/w_coshf.c: Likewise.
5389 * math/w_coshl.c: Likewise.
5390 * math/w_exp10.c: Likewise.
5391 * math/w_exp10f.c: Likewise.
5392 * math/w_exp10l.c: Likewise.
5393 * math/w_exp2.c: Likewise.
5394 * math/w_exp2f.c: Likewise.
5395 * math/w_exp2l.c: Likewise.
5396 * math/w_fmod.c: Likewise.
5397 * math/w_fmodf.c: Likewise.
5398 * math/w_fmodl.c: Likewise.
5399 * math/w_hypot.c: Likewise.
5400 * math/w_hypotf.c: Likewise.
5401 * math/w_hypotl.c: Likewise.
5402 * math/w_jnl.c: Likewise.
5403 * math/w_lgamma.c: Likewise.
5404 * math/w_lgamma_r.c: Likewise.
5405 * math/w_lgammaf.c: Likewise.
5406 * math/w_lgammaf_r.c: Likewise.
5407 * math/w_lgammal.c: Likewise.
5408 * math/w_lgammal_r.c: Likewise.
5409 * math/w_pow.c: Likewise.
5410 * math/w_powf.c: Likewise.
5411 * math/w_powl.c: Likewise.
5412 * math/w_remainder.c: Likewise.
5413 * math/w_remainderf.c: Likewise.
5414 * math/w_remainderl.c: Likewise.
5415 * math/w_scalb.c: Likewise.
5416 * math/w_scalbf.c: Likewise.
5417 * math/w_scalbl.c: Likewise.
5418 * math/w_scalbln.c: Likewise.
5419 * math/w_scalblnf.c: Likewise.
5420 * math/w_scalblnl.c: Likewise.
5421 * math/w_sinh.c: Likewise.
5422 * math/w_sinhf.c: Likewise.
5423 * math/w_sinhl.c: Likewise.
5424 * math/w_tgamma.c: Likewise.
5425 * math/w_tgammaf.c: Likewise.
5426 * math/w_tgammal.c: Likewise.
5427 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5428 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5429 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5430 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5433 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5434 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5435 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5436 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5437 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5438 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5439 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5440 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5441 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5442 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5443 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5444 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5445 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5446 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5447 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5455 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5458 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5459 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5460 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5461 * stdio-common/printf_fp.c: Likewise.
5462 * stdio-common/printf_fphex.c: Likewise.
5463 * stdio-common/printf_size.c: Likewise.
5464
5465 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5466
5467 [BZ #18470]
5468 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5469 strnlen.
5470 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5471 Remove variable.
5472 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5473 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5474 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5475 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5476 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5477 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5478 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5479 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5480 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5481 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5482
5483 [BZ #18468]
5484 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5485 weak alias of __wmemchr. Use libc_hidden_weak.
5486 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5487 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5488 instead of wmemchr.
5489
5490 2015-06-02 Roland McGrath <roland@hack.frob.com>
5491
5492 [BZ #18383]
5493 * elf/tst-tlsalign-extern.c: New file.
5494 * elf/tst-tlsalign-extern-static.c: New file.
5495 * elf/tst-tlsalign-vars.c: New file.
5496 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5497 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5498 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5499 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5500 (test-xfail-tst-tlsalign-extern-static): New variable.
5501
5502 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5503
5504 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5505 Use variable name _sc_err instead of err.
5506 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5507 instead of ret.
5508 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5509 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5510 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5511 (INLINE_SYSCALL): Likewise.
5512
5513 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5514 * include/string.h (__strnlen): Use libc_hidden_proto.
5515 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5516 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5517 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5518 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5519 (libc_hidden_def): Undefine and redefine.
5520 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5521 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5522 __GI_strnlen.
5523 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5524 libc_hidden_def.
5525 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5526
5527 [BZ #18469]
5528 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5529 weak alias of __towlower. Use libc_hidden_weak.
5530 (towupper): Rename to __towupper and define as weak alias of
5531 __towupper. Use libc_hidden_weak.
5532 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5533 (__towupper): Likewise.
5534 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5535 __towlower instead of towlower.
5536
5537 2015-06-02 Roland McGrath <roland@hack.frob.com>
5538
5539 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5540 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5541
5542 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5543
5544 * sysdeps/aarch64/libm-test-ulps: Update.
5545
5546 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5547
5548 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5549 Define.
5550 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5552 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5553 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5554 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5555 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5556 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5557
5558 2015-06-01 Martin Sebor <msebor@redhat.com>
5559
5560 [BZ #18116]
5561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5562 (__setcontext): Use extended four-operand version of mtsf whenever
5563 possible.
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5565 (__novec_swapcontext): Likewise.
5566
5567 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5568
5569 * benchtests/scripts/compare_bench.py: New file.
5570 * benchtests/scripts/import_bench.py (mean): New function.
5571 (split_list): Likewise.
5572 (do_for_all_timings): Likewise.
5573 (compress_timings): Likewise.
5574
5575 * benchtests/scripts/import_bench.py: New file.
5576 * benchtests/scripts/validate_benchout.py: Import import_bench
5577 instead of jsonschema.
5578 (validate_bench): Remove function.
5579 (main): Use import_bench.
5580
5581 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5582
5583 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5584 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5585
5586 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5587
5588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5589
5590 2015-05-28 Roland McGrath <roland@hack.frob.com>
5591
5592 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5593 set THREAD_SELF->tid to a magic value and futex-wake it.
5594 Pass its address to the thread_exit system call.
5595 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5596 bit is clear.
5597 * sysdeps/nacl/lowlevellock.h: New file.
5598 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5599
5600 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5601 Add TIMEOUT to current time, don't subtract it.
5602
5603 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5604
5605 [BZ #2981]
5606 [BZ #18422]
5607 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5608 ($(objpfx)tst-audit2.out): Also depend on
5609 $(objpfx)tst-auditmod9b.so.
5610 * elf/tst-audit2.c: Include <dlfcn.h>.
5611 (calloc_called): New.
5612 (calloc): Allow to be called more than once.
5613 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5614
5615 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5616
5617 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5618 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5619
5620 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5621
5622 * stdlib/monetary.h: Fix comment.
5623
5624 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5625
5626 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5627 Avoid using variables in #defines that might cause shadowing.
5628 (INTERNAL_VSYSCALL_CALL): Likewise.
5629
5630 2015-05-26 Roland McGrath <roland@hack.frob.com>
5631
5632 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5633
5634 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5635 * nptl/lll_timedlock_wait.c: ... to this new file.
5636 * nptl/Makefile (libpthread-routines): Add it.
5637 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5638 * nptl/lll_timedwait_tid.c: ... to this new file.
5639 * nptl/Makefile (libpthread-routines): Add it.
5640 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5641 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5642 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5643 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5644 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5645 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5646 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5647 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5648 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5649 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5650
5651 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5652
5653 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5654 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5655 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5656 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5657 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5658 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5659 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5661 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5662 * sysdeps/unix/sysv/linux/tile/sysdep.h
5663 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5664 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5665 using vDSO syscall macro.
5666
5667 2015-05-26 Andriy Rysin <arysin@gmail.com>
5668
5669 [BZ #17293]
5670 * uk_UA: Fix sorting order for Ukrainian locale
5671
5672 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5673
5674 * stdlib/monetary.h: Fix comment.
5675
5676 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5677
5678 [BZ #18234]
5679 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5680 st_mtim and st_ctim members.
5681 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5682 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5683 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5684 (struct stat64): Likewise.
5685 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5686 (struct stat64): Likewise.
5687 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5688 (struct stat64): Likewise.
5689
5690 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5691
5692 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5693 Define and include sysdep-vdso.h.
5694 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5695 Likewise.
5696 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5697 Likewise.
5698 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5699 Define with VDSO_SYMBOL and use PTR_MANGLE.
5700 (__vdso_clock_gettime): Likewise.
5701 (__vdso_clock_getres): Likewise.
5702 (_libc_vdso_platform_setup): Likewise.
5703 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5704 Likewise.
5705 (_libc_vdso_platform_setup): Likewise.
5706 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5707 Likewise.
5708 (__vdso_clock_gettime): Likewise.
5709 (__vdso_clock_getres): Likewise.
5710 (__vdso_get_tbfreq): Likewise.
5711 (__vdso_getcpu): Likewise.
5712 (__vdso_time): Likewise.
5713 (__vdso_sigtramp_rt64): Likewise.
5714 (__vdso_signtramp32): Likewise.
5715 (__vdso_sigtramp_rt32): Likewise.
5716 (_libc_vdso_platform_setup): Likewise.
5717 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5718 Likewise.
5719 (__vdso_clock_gettime): Likewise.
5720 (__vdso_clock_getres): Likewise.
5721 (_libc_vdso_platform_setup): Likewise.
5722 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5723 Likewise.
5724 (__vdso_clock_gettime): Likewise.
5725 (_libc_vdso_platform_setup): Likewise.
5726 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5727 Likewise.
5728 (__vdso_getcpu): Likewise.
5729 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5730 Use VDSO_SYMBOL macro to define.
5731 (__vdso_clock_gettime): Likewise.
5732 (__vdso_clock_getres): Likewise.
5733 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5734 Likewise.
5735 (__vdso_clock_gettime): Likewise.
5736 (__vdso_clock_getres): Likewise.
5737 (__vdso_get_tbfreq): Likewise.
5738 (__vdso_getcpu): Likewise.
5739 (__vdso_time): Likewise.
5740 (__vdso_sigtramp_rt64): Likewise.
5741 (__vdso_signtramp32): Likewise.
5742 (__vdso_sigtramp_rt32): Likewise.
5743 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5744 Likewise.
5745 (__vdso_clock_gettime): Likewise.
5746 (__vdso_clock_getres): Likewise.
5747 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5748 Likewise.
5749 (__vdso_clock_gettime): Likewise.
5750 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5751 Likewise.
5752 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
5753 macro.
5754 (INTERNAL_VSYSCALL): Likewise.
5755 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5756 Remove macro.
5757 (INTERNAL_VSYSCALL): Likewise.
5758 (INTERNAL_VSYSCALL_NCS): Likewise.
5759 (INTERNAL_VSYSCALL_CALL): New macro.
5760 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5762 Likewise.
5763 (INTERNAL_VSYSCALL): Likewise.
5764 (INTERNAL_VSYSCALL_NCS): Likewise.
5765 (INTERNAL_VSYSCALL_CALL): New macro.
5766 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5768 (INLINE_VSYSCALL): Remove macro.
5769 (INTERNAL_VSYSCALL): Remove macro.
5770 (INTERNAL_VSYSCALL_NCS): Remove macro.
5771 (INTERNAL_VSYSCALL_CALL): New macro.
5772 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5773 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5774 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5775 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5776 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5778 (INLINE_VSYSCALL): Remove macro.
5779 (INTERNAL_VSYSCALL): Likewise.
5780 (INTERNAL_VSYSCALL_NCS): Likewise.
5781 (INTERNAL_VSYSCALL_CALL): New macro.
5782 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5783 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5784 PTR_DEMANGLE on vDSO pointer.
5785 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5786 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5787 macro.
5788 (INTERNAL_SYSCALL): Likewise.
5789 (INTERNAL_VSYSCALL_NCS): Remove macro.
5790 (INTERNAL_VSYSCALL_CALL): New macro.
5791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5792 Remove macro.
5793 (INTERNAL_VSYSCALL): Likewise.
5794 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5795 sysdep-vdso.h instead of libc-vdso.h.
5796 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5797 definition.
5798 (INLINE_VSYSCALL): Likewise.
5799 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5800 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5801 definition.
5802 (INLINE_VSYSCALL): Likewise.
5803 (INTERNAL_VSYSCALL): Likewise.
5804 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5805 * sysdeps/unix/sysv/linux/timespec_get.c
5806 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5807 (timespec_get): Use ANSI prototype.
5808 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5809 and definition for Linux.
5810
5811 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
5812
5813 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5814 * include/libc-symbols.h: libmvec_hidden_* macro series added.
5815
5816 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
5817
5818 [BZ #2981]
5819 [BZ #18410]
5820 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5821 for missing DT_PLTRELSZ.
5822
5823 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
5824
5825 Remove obsolete aliases that broke 'locale -a'
5826 [BZ #18412]
5827 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5828 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5829 breaking some applications that use 'locale -a' output.
5830 Change the encoding of this file from Latin-1 to ASCII to avoid
5831 other potential problems with people grepping this file.
5832
5833 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5834
5835 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5836 -fasynchronous-unwind-tables.
5837 (CFLAGS-sendto.c): Likewise.
5838 (CFLAGS-sendmsg.c): Likewise.
5839 (CFLAGS-connect.c): Likewise.
5840 (CFLAGS-recvmsg.c): Likewise.
5841 (CFLAGS-recvfrom.c): Likewise.
5842 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5843 (SOCKETCALL): New macro: non-cancellable socketcall.
5844 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5845 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5846 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5847 * sysdeps/unix/sysv/linux/accept.c: New file.
5848 * sysdeps/unix/sysv/linux/bind.c: Likewise.
5849 * sysdeps/unix/sysv/linux/connect.c: Likewise.
5850 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5851 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5852 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5853 * sysdeps/unix/sysv/linux/listen.c: Likewise.
5854 * sysdeps/unix/sysv/linux/recv.c: Likewise.
5855 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5856 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5857 * sysdeps/unix/sysv/linux/send.c: Likewise.
5858 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5859 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5860 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5861 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5862 * sysdeps/unix/sysv/linux/socket.c: Likewise.
5863 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5864 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5865 prototype.
5866 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5867 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5868 instead of __internal_xxx function.
5869 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5870 prototype.
5871 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5872 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5873 instead of __internal_xxx function.
5874 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5875 prototype.
5876 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5877 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5878 instead of __internal_xxx function.
5879 * sysdeps/unix/sysv/linux/accept.S: Remove file.
5880 * sysdeps/unix/sysv/linux/bind.S: Likewise.
5881 * sysdeps/unix/sysv/linux/connect.S: Likewise.
5882 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5883 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5884 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5885 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5886 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5887 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5888 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5889 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5890 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5891 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5892 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5893 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5894 * sysdeps/unix/sysv/linux/listen.S: Likewise.
5895 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5896 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5897 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5898 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5901 * sysdeps/unix/sysv/linux/recv.S: Likewise.
5902 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5903 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5904 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5905 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5906 * sysdeps/unix/sysv/linux/send.S: Likewise.
5907 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5908 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
5909 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
5910 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
5911 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
5912 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
5913 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
5914 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
5915 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
5916 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
5917 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
5918 socketcall is implemented in GLIBC.
5919
5920 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5921
5922 * soft-fp/fmadf4.c: Include <libc-internal.h>.
5923 (__fma): Ignore uninitialized warnings around packing.
5924 * soft-fp/fmasf4.c: Include <libc-internal.h>.
5925 (__fmaf): Ignore uninitialized warnings around packing.
5926 * soft-fp/fmatf4.c: Include <libc-internal.h>.
5927 (__fmal): Ignore uninitialized warnings around packing.
5928
5929 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
5930 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5931 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
5932 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5933
5934 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
5935 switch statement into default case.
5936 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
5937
5938 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
5939 a conditional in forcing "inexact".
5940 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5941 Likewise.
5942
5943 2015-05-22 Roland McGrath <roland@hack.frob.com>
5944
5945 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5946 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
5947 for each INTERNAL_SYSCALL use.
5948
5949 2015-05-22 Joseph Myers <joseph@codesourcery.com>
5950
5951 [BZ #438]
5952 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
5953 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
5954 variable.
5955
5956 [BZ #18444]
5957 * string/basename.c (basename): Rename to __basename and define as
5958 weak alias of __basename. Use libc_hidden_weak.
5959 * include/string.h (__basename): Declare. Use libc_hidden_proto.
5960 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
5961 __basename instead of basename.
5962 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
5963 Remove variable.
5964 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5965
5966 2015-05-18 Florian Weimer <fweimer@redhat.com>
5967
5968 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
5969 (_IO_JUMPS_FILE_plus): New.
5970 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
5971 _IO_CAST_FIELD_ACCESS.
5972 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
5973 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
5974 * libio/freopen.c (freopen): Likewise.
5975 * libio/freopen64.c (freopen64): Likewise.
5976 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
5977 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
5978 * libio/iofwide.c (_IO_fwide): Likewise.
5979 * libio/memstream.c (open_memstream): Likewise.
5980 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5981 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5982 * libio/oldiopopen.c (_IO_old_popen): Likewise.
5983
5984 2015-05-21 Joseph Myers <joseph@codesourcery.com>
5985
5986 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
5987 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
5988 NADJ.
5989 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
5990 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
5991 NADJ.
5992 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
5993 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
5994 NADJ.
5995
5996 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
5997 (p == 4) case.
5998
5999 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6000 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6001 Remove variable.
6002 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6003 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6004 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6005
6006 2015-05-21 Florian Weimer <fweimer@redhat.com>
6007
6008 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6009 Adjust jump table label generation macros.
6010
6011 2015-05-21 Florian Weimer <fweimer@redhat.com>
6012
6013 * stdio-common/vfprintf.c (vfprintf): Move local variables
6014 args_malloced, specs, specs_malloced, and the code after
6015 do_positional to the printf_positional function.
6016 (printf_positional): New function.
6017
6018 2015-05-21 Florian Weimer <fweimer@redhat.com>
6019
6020 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6021 function.
6022 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6023 STEP4_TABLE, process_arg): Move macro definitions
6024 out of the vfprintf function. (Cosmetic change only.)
6025
6026 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6027
6028 * benchtests/Makefile (stdio-common-bench): Define.
6029 (benchset): Add stdio-common-bench.
6030 * sprintf-inputs: New file.
6031 * sprintf-source.c: New file.
6032
6033 2015-05-21 Andreas Schwab <schwab@suse.de>
6034
6035 [BZ #13028]
6036 [BZ #17053]
6037 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6038 of struct __res_state.
6039 * resolv/res_send.c (__libc_res_nsend): Likewise.
6040 (get_nsaddr): New function.
6041 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6042 statp directly.
6043
6044 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6045
6046 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6047 -D_POSIX_C_SOURCE=199506L.
6048
6049 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6050
6051 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6052 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6053 Do not mention otherwise.
6054 [POSIX] (_XOPEN_VERSION): Do not expect.
6055 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6056 [POSIX] (_POSIX2_C_BIND): Likewise.
6057 [POSIX] (_POSIX2_VERSION): Likewise.
6058 [POSIX] (_XOPEN_XPG2): Likewise.
6059 [POSIX] (_XOPEN_XPG3): Likewise.
6060 [POSIX] (_XOPEN_XPG4): Likewise.
6061 [POSIX] (_XOPEN_UNIX): Likewise.
6062 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6063 [POSIX] (_POSIX_BARRIERS): Likewise.
6064 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6065 [POSIX] (_POSIX_CPUTIME): Likewise.
6066 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6067 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6068 [POSIX] (_POSIX_SHELL): Likewise.
6069 [POSIX] (_POSIX_SPAWN): Likewise.
6070 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6071 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6072 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6073 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6074 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6075 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6076 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6077 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6078 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6079 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6080 [POSIX] (_POSIX2_PBS): Likewise.
6081 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6082 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6083 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6084 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6085 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6086 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6087 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6088 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6089 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6090 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6091 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6092 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6093 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6094 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6095 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6096 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6097 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6098 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6099 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6100 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6101 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6102 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6103 [POSIX] (_SC_2_C_BIND): Likewise.
6104 [POSIX] (_SC_2_C_VERSION): Likewise.
6105 [POSIX] (_SC_2_PBS): Likewise.
6106 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6107 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6108 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6109 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6110 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6111 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6112 [POSIX] (_SC_BARRIERS): Likewise.
6113 [POSIX] (_SC_BASE): Likewise.
6114 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6115 [POSIX] (_SC_DEVICE_IO): Likewise.
6116 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6117 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6118 [POSIX] (_SC_FD_MGMT): Likewise.
6119 [POSIX] (_SC_FIFO): Likewise.
6120 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6121 [POSIX] (_SC_FILE_LOCKING): Likewise.
6122 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6123 [POSIX] (_SC_IOV_MAX): Likewise.
6124 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6125 [POSIX] (_SC_NETWORKING): Likewise.
6126 [POSIX] (_SC_PAGE_SIZE): Likewise.
6127 [POSIX] (_SC_PASS_MAX): Likewise.
6128 [POSIX] (_SC_PIPE): Likewise.
6129 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6130 [POSIX] (_SC_REGEXP): Likewise.
6131 [POSIX] (_SC_SHELL): Likewise.
6132 [POSIX] (_SC_SIGNALS): Likewise.
6133 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6134 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6135 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6136 [POSIX] (_SC_USER_GROUPS): Likewise.
6137 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6138 [POSIX] (_SC_STREAMS): Likewise.
6139 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6140 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6141 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6142 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6143 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6144 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6145 [POSIX] (_PC_FILESIZEBITS): Likewise.
6146 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6147 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6148 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6149 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6150 [POSIX] (uid_t): Likewise.
6151 [POSIX] (gid_t): Likewise.
6152 [POSIX] (off_t): Likewise.
6153 [POSIX] (pid_t): Likewise.
6154 [POSIX] (cuserid): Allow.
6155 (_SC_2_CHAR_TERM): Require constant.
6156 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6157 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6158 variable.
6159
6160 2015-05-20 Roland McGrath <roland@hack.frob.com>
6161
6162 * sysdeps/nacl/pthread-pids.h: New file.
6163 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6164 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6165
6166 * nptl/pthread-pids.h: New file.
6167 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6168 * nptl/nptl-init.c: Include <pthread-pids.h>.
6169 (__pthread_initialize_minimal_internal):
6170 Call __pthread_initialize_pids instead of set_tid_address syscall.
6171
6172 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6173 * sysdeps/posix/usleep.c: ... here.
6174
6175 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6176
6177 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6178 call_pselect6 object.
6179 [$(subdir) = io]: Remove call_sync_file_range object.
6180 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6181 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6182 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6183 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6184
6185 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6186
6187 * math/s_cproj.c: Add include "math_private.h".
6188 * math/s_cprojf.c: Likewise.
6189 * math/s_cprojl.c: Likewise.
6190
6191 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6192
6193 [BZ #18244]
6194 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6195 high mantissa bit when testing whether P is a NaN.
6196 * math/libm-test.inc (remainder_test_data): Add more tests.
6197 (remquo_test_data): Likewise.
6198
6199 [BZ #18049]
6200 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6201 below -32, return the argument, with underflow if subnormal.
6202 * math/auto-libm-test-in: Add more tests of atanh.
6203 * math/auto-libm-test-out: Regenerated.
6204
6205 2015-05-19 Roland McGrath <roland@hack.frob.com>
6206
6207 [BZ #18434]
6208 * nptl/tst-sem15.c: New file.
6209 * nptl/Makefile (tests): Add it.
6210 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6211 s/<</>>/ to fix typo in EOVERFLOW check.
6212 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6213
6214 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6215
6216 * manual/strings.texi (envz_remove): Fix typo in safety
6217 annotations.
6218
6219 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6220 Steve Ellcey <sellcey@imgtec.com>
6221
6222 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6223 in order to avoid strict alias warnings.
6224 (iruserok_af): Ditto for ra.
6225
6226 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6227
6228 [BZ #17581]
6229 * malloc/hooks.c
6230 (magicbyte): Convert to a function and avoid returning 0x01.
6231 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6232 (mem2chunk_check): Fix unsigned comparisons to zero.
6233 Hoist defs of sz and magic.
6234
6235 2015-05-19 Richard Henderson <rth@redhat.com>
6236
6237 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6238
6239 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6240
6241 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6242
6243 [BZ #16159]
6244 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6245 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6246 (reused_arena): Find a non-corrupt arena.
6247 (heap_trim): Pass arena to unlink.
6248 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6249 malloc_printerr.
6250 (top_check): Likewise.
6251 (free_check): Likewise.
6252 (realloc_check): Likewise.
6253 * malloc/malloc.c (malloc_printerr): Add arena argument.
6254 (unlink): Likewise.
6255 (munmap_chunk): Adjust.
6256 (ARENA_CORRUPTION_BIT): New macro.
6257 (arena_is_corrupt): Likewise.
6258 (set_arena_corrupt): Likewise.
6259 (sysmalloc): Use mmap if there are no usable arenas.
6260 (_int_malloc): Likewise.
6261 (__libc_malloc): Don't fail if arena_get returns NULL.
6262 (_mid_memalign): Likewise.
6263 (__libc_calloc): Likewise.
6264 (__libc_realloc): Adjust for additional argument to
6265 malloc_printerr.
6266 (_int_free): Likewise.
6267 (malloc_consolidate): Likewise.
6268 (_int_realloc): Likewise.
6269 (_int_memalign): Don't touch corrupt arenas.
6270 * malloc/tst-malloc-backtrace.c: New test case.
6271
6272 * Makefile (summarize-tests): Fix return value on success.
6273
6274 * manual/string.texi (Envz Functions): Add envz_remove.
6275
6276 2015-05-18 Roland McGrath <roland@hack.frob.com>
6277
6278 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6279 (invalid_name): New function, broken out of ...
6280 (__opendirat): ... here. Call it.
6281 (need_isdir_precheck): New function, broken out of ...
6282 (__opendirat): ... here. Call it.
6283 Use __fxstatat64, not __xstatat64.
6284 (opendir_oflags): New function, broken out of ...
6285 (__opendirat): ... here. Call it.
6286 (opendir_tail): New function, broken out of ...
6287 (__opendirat): ... here. Call it.
6288 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6289 opendir_tail, rather than punting to __opendirat.
6290 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6291
6292 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6293
6294 * .gitignore: Ignore generated *.pyc.
6295
6296 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6297
6298 * include/stdio.h: Define __need_wint_t.
6299 * test-skeleton.c: Avoid `for' loop initial declaration.
6300 * nptl/tst-initializers1.c: Use test-skeleton.c.
6301
6302 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6303
6304 [BZ #18418]
6305 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6306
6307 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6308
6309 [BZ #16352]
6310 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6311 (__ieee754_atanh): Force underflow exception for results with
6312 small absolute value.
6313 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6314 (__ieee754_atanhf): Force underflow exception for results with
6315 small absolute value.
6316 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6317 (__ieee754_atanh): Force underflow exception for results with
6318 small absolute value.
6319 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6320 (__ieee754_atanhf): Force underflow exception for results with
6321 small absolute value.
6322 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6323 (__ieee754_atanhl): Force underflow exception for results with
6324 small absolute value.
6325 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6326 (__ieee754_atanhl): Force underflow exception for results with
6327 small absolute value.
6328 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6329 (__ieee754_atanhl): Force underflow exception for results with
6330 small absolute value.
6331 * math/auto-libm-test-in: Do not allow missing underflow
6332 exceptions from atanh.
6333 * math/auto-libm-test-out: Regenerated.
6334
6335 [BZ #18221]
6336 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6337 2**-28 as threshold for returning x or +/- 1/x.
6338 * math/auto-libm-test-in: Add more tests of tan.
6339 * math/auto-libm-test-out: Regenerated.
6340
6341 [BZ #18220]
6342 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6343 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6344 * math/auto-libm-test-in: Add another test of lgamma.
6345 * math/auto-libm-test-out: Regenerated.
6346
6347 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6348
6349 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6350 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6351 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6352 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6353 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6354 (ADD2A): Use fabs. (SUB2A): Use fabs.
6355 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6356 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6357 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6358 (log1): Use fabs. (my_log2): Use fabs.
6359 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6360 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6361 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6362 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6363 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6364 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6365 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6366 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6367 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6368 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6369 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6370
6371 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6372
6373 [BZ #18217]
6374 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6375 as threshold for returning 1 - x.
6376 * math/auto-libm-test-in: Add more tests of erfc.
6377 * math/auto-libm-test-out: Regenerated.
6378
6379 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6380
6381 [BZ #18196]
6382 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6383 threshold for large arguments.
6384 * math/auto-libm-test-in: Add another test of atan.
6385 * math/auto-libm-test-out: Regenerated.
6386
6387 [BZ #16339]
6388 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6389 (__log1p): Force underflow exception for results with small
6390 absolute value.
6391 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6392 (__log1pf): Force underflow exception for results with small
6393 absolute value.
6394 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6395 (__log1p): Force underflow exception for results with small
6396 absolute value.
6397 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6398 (__log1pf): Force underflow exception for results with small
6399 absolute value.
6400 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6401 (__log1pl): Force underflow exception for results with small
6402 absolute value.
6403 * math/auto-libm-test-in: Do not allow missing underflow
6404 exceptions from log1p.
6405 * math/auto-libm-test-out: Regenerated.
6406
6407 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6408 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6409
6410 [BZ #16704]
6411 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6412
6413 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6414
6415 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6416 (libmvec): New variable.
6417 * configure.ac: Added option for mathvec build.
6418 * configure: Regenerated.
6419 * mathvec/Depend: New file.
6420 * mathvec/Makefile: New file.
6421 * shlib-versions: Added libmvec.
6422 * math/Makefile: Added rule for libm.so installation.
6423
6424 * bits/math-vector.h: New file.
6425 * bits/libm-simd-decl-stubs.h: New header.
6426 * math/Makefile (headers): Added new header
6427 libm-simd-decl-stubs.h.
6428 * math/math.h (__MATHCALL_VEC): New macro.
6429
6430 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6431 for conditions in testing functions.
6432 * math/Makefile: Added call of libm-have-vector-test.sh.
6433 * math/libm-test.inc (HAVE_VECTOR): New macros.
6434
6435 * math/libm-test.inc: START refactored.
6436 * math/test-double.c (TEST_MATHVEC): Add define.
6437 * math/test-float.c: Likewise.
6438 * math/test-idouble.c: Likewise.
6439 * math/test-ifloat.c: Likewise.
6440 * math/test-ildoubl.c: Likewise.
6441 * math/test-ldouble.c: Likewise.
6442 * sysdeps/generic/math-tests-arch.h
6443 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6444 architecture check.
6445
6446 * math/test-double.c (FUNC_TEST): New macro.
6447 * math/test-float.c: Likewise.
6448 * math/test-idouble.c: Likewise.
6449 * math/test-ifloat.c: Likewise.
6450 * math/test-ildoubl.c: Likewise.
6451 * math/test-ldouble.c: Likewise.
6452 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6453
6454 2015-05-13 Roland McGrath <roland@hack.frob.com>
6455
6456 * sysdeps/nacl/fdopendir.c: New file.
6457
6458 * dirent/scandir-tail.c: New file.
6459 * dirent/scandir64-tail.c: New file.
6460 * dirent/Makefile (routines): Add them.
6461 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6462 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6463 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6464 [!SCANDIR] (SCANDIR_TAIL): New macro.
6465 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6466 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6467 (SCANDIRAT): Macro removed.
6468 (SCANDIR_TAIL): New macro.
6469 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6470 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6471 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6472 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6473 (READDIR): Macro removed.
6474 (SCANDIR_TAIL): New macro.
6475 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6476 (SCANDIR_TAIL): New macro.
6477
6478 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6479 * dirent/scandir-cancel.c: ... to this new file.
6480 * dirent/Makefile (routines): Add it.
6481 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6482 * sysdeps/unix/sysv/linux/i386/scandir64.c
6483 (SKIP_SCANDIR_CANCEL): Macro removed.
6484 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6485
6486 * dirent/tst-scandir.c: New file.
6487 * dirent/tst-scandir64.c: New file.
6488 * dirent/Makefile (tests): Add them.
6489
6490 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6491
6492 [BZ #18409]
6493 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6494
6495 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6496
6497 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6498 list.
6499
6500 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6501
6502 * benchtests/bench-strcoll.c: New benchmark.
6503 * benchtests/Makefile: Generate locales and run benchmark.
6504 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6505 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6506 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6507 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6508 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6509 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6510 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6511 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6512 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6513 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6514 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6515 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6516 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6517 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6518 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6519 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6520 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6521 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6522 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6523 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6524 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6525 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6526 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6527 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6528
6529 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6530
6531 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6532 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6533
6534 2015-05-12 Roland McGrath <roland@hack.frob.com>
6535
6536 * posix/uname-values.h: New file.
6537 * posix/uname.c: Include that instead of <config-name.h>.
6538 * sysdeps/nacl/uname-values.h: New file.
6539 * sysdeps/arm/nacl/uname-values.h: New file.
6540
6541 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6542
6543 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6544 splitting into fields.
6545
6546 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6547
6548 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6549 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6550 * locale/localeinfo.h: Add enum collation_encoding_type.
6551 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6552 * programs/ld-collate.c (collate_output): Add encoding type info.
6553 * string/strcoll_l.c (STRDIFF): New function.
6554 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6555 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6556
6557 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6558
6559 [BZ #18397]
6560 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6561 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6562 <fpu_control.h> instead of <math/fpu_control.c>.
6563 * sysdeps/mips/mips32/fpu/Makefile: New file.
6564
6565 2015-05-11 Andreas Schwab <schwab@suse.de>
6566
6567 [BZ #18007]
6568 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6569 nss_endgrent.
6570 (_nss_compat_endgrent): Call nss_endgrent.
6571 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6572 nss_endpwent.
6573 (_nss_compat_endpwent): Call nss_endpwent.
6574 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6575 needent, call nss_setspent only if non-zero.
6576 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6577 (internal_endspent): Don't call nss_endspent.
6578 (_nss_compat_endspent): Call nss_endspent.
6579 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6580 Remove. All uses removed.
6581 (internal_setent): Remove parameter stayopen, add parameter
6582 stream. Use it instead of global variable.
6583 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6584 (internal_endent, internal_getent): Add parameter stream. Use it
6585 instead of global variable.
6586 (CONCAT(_nss_files_end,ENTNAME))
6587 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6588 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6589 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6590 uses removed.
6591 (internal_setent, internal_endent): Add parameter stream. Use it
6592 instead of global variable.
6593 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6594 stream.
6595 (get_next_alias): Add parameter stream.
6596 (_nss_files_getaliasent_r): Pass global stream.
6597 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6598 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6599 (_nss_files_gethostbyname4_r): Pass local stream to
6600 internal_setent, internal_getent and internal_endent. Remove
6601 locking.
6602
6603 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6604
6605 * tst-strfmon1.c (tests): Update expected currency symbol.
6606
6607 2015-05-08 Roland McGrath <roland@hack.frob.com>
6608
6609 * sysdeps/nacl/gethostname.c: New file.
6610
6611 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6612
6613 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6614 and sinh.
6615 * math/auto-libm-test-out: Regenerated.
6616 * sysdeps/i386/fpu/libm-test-ulps: Update.
6617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6618
6619 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6620
6621 [BZ #18125]
6622 * stdlib/tst-setcontext3.c: New file.
6623 * stdlib/tst-setcontext3.sh: New file.
6624 * stdlib/Makefile (tests): Add tst-setcontext3.
6625 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6626 to verify test program created output file.
6627 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6628 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6629 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6630 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6631
6632 2015-05-06 Roland McGrath <roland@hack.frob.com>
6633
6634 [BZ #18383]
6635 * elf/tst-tlsalign.c: New file.
6636 * elf/tst-tlsalign-static.c: New file.
6637 * elf/tst-tlsalign-lib.c: New file.
6638 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6639 (tests-static): Add tst-tlsalign-static.
6640 (modules-names): Add tst-tlsalign-lib.
6641 (test-xfail-tst-tlsalign): New variable.
6642 (test-xfail-tst-tlsalign-static): New variable.
6643
6644 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6645 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6646
6647 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6648
6649 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6650 csqrt, erfc, sin and sincos.
6651 * math/auto-libm-test-out: Regenerated.
6652 * sysdeps/i386/fpu/libm-test-ulps: Update.
6653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6654
6655 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6656
6657 * sysdeps/aarch64/libm-test-ulps: Update.
6658
6659 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6660
6661 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6662 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
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-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6668
6669 [BZ #18265]
6670 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6671 (wcsncpy): Likewise.
6672
6673 2015-05-05 Florian Weimer <fweimer@redhat.com>
6674
6675 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6676 Assume __ASSUME_FALLOCATE is always true.
6677 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6678 (__posix_fallocate64_l64): Likweise.
6679 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6680 (posix_fallocate): Likewise.
6681 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6682 (__posix_fallocate64_l64): Likewise.
6683 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6684 [!__ASSUME_FALLOCATE]: Add comment.
6685
6686 2015-05-05 Florian Weimer <fweimer@redhat.com>
6687
6688 * sysdeps/unix/sysv/linux/i386/Makefile
6689 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6690 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6691 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6692 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6693 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6694 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6695 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6696
6697 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6698
6699 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6700 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6701 tgamma.
6702 * math/auto-libm-test-out: Regenerated.
6703 * sysdeps/i386/fpu/libm-test-ulps: Update.
6704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6705
6706 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6707
6708 * math/auto-libm-test-in: Add more tests of tgamma.
6709 * math/auto-libm-test-out: Regenerated.
6710 * sysdeps/i386/fpu/libm-test-ulps: Update.
6711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6712
6713 * math/auto-libm-test-in: Add more tests of tanh.
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 * math/auto-libm-test-in: Add more tests of tan.
6719 * math/auto-libm-test-out: Regenerated.
6720 * sysdeps/i386/fpu/libm-test-ulps: Update.
6721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6722
6723 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6724 * math/auto-libm-test-out: Regenerated.
6725 * sysdeps/i386/fpu/libm-test-ulps: Update.
6726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6727
6728 * math/auto-libm-test-in: Add another test of pow.
6729 * math/auto-libm-test-out: Regenerated.
6730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6731
6732 * math/auto-libm-test-in: Add more tests of lgamma.
6733 * math/auto-libm-test-out: Regenerated.
6734 * sysdeps/i386/fpu/libm-test-ulps: Update.
6735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6736
6737 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6738 log1p.
6739 * math/auto-libm-test-out: Regenerated.
6740 * sysdeps/i386/fpu/libm-test-ulps: Update.
6741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6742
6743 2015-05-01 Mark Wielaard <mjw@redhat.com>
6744
6745 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6746 Elf64_Chdr structs and ELFCOMPRESS constants.
6747
6748 2015-05-01 Joseph Myers <joseph@codesourcery.com>
6749
6750 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6751 expm1.
6752 * math/auto-libm-test-out: Regenerated.
6753 * sysdeps/i386/fpu/libm-test-ulps: Update.
6754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6755
6756 * math/auto-libm-test-in: Add more tests of erf and erfc.
6757 * math/auto-libm-test-out: Regenerated.
6758 * sysdeps/i386/fpu/libm-test-ulps: Update.
6759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6760
6761 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
6762
6763 * config.h.in (HAVE_AARCH64_BE): Add.
6764
6765 2015-04-30 Joseph Myers <joseph@codesourcery.com>
6766
6767 * math/auto-libm-test-in: Add more tests of csqrt.
6768 * math/auto-libm-test-out: Regenerated.
6769 * sysdeps/i386/fpu/libm-test-ulps: Update.
6770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6771
6772 * math/auto-libm-test-in: Add more tests of cosh and sinh.
6773 * math/auto-libm-test-out: Regenerated.
6774 * sysdeps/i386/fpu/libm-test-ulps: Update.
6775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6776
6777 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6778
6779 2015-04-29 Roland McGrath <roland@hack.frob.com>
6780
6781 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6782 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6783
6784 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6785 (euidaccess, eaccess): Define as weak aliases.
6786
6787 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6788 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
6789 but __suseconds_t is often 'long int' so some sources assume that
6790 type is being used (e.g. they use %ld to print tv_usec).
6791
6792 2015-04-29 Florian Weimer <fweimer@redhat.com>
6793
6794 [BZ #18007]
6795 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6796 (CVE-2014-8121)
6797 * nss/tst-nss-getpwent.c: New file.
6798 * nss/Makefile (tests): Add new test.
6799
6800 2015-04-28 Joseph Myers <joseph@codesourcery.com>
6801
6802 [BZ #18346]
6803 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6804 exponents less than 48 as cases where high part of mantissa needs
6805 examining to determine whether argument is integral.
6806 * math/libm-test.inc (round_test_data): Add more tests.
6807
6808 2015-04-28 Mark Wielaard <mjw@redhat.com>
6809
6810 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6811
6812 2015-04-27 David S. Miller <davem@davemloft.net>
6813
6814 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6815 __tls_get_addr.
6816 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6817
6818 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
6819
6820 [BZ#18333]
6821 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6822
6823 2015-04-27 Florian Weimer <fweimer@redhat.com>
6824
6825 [BZ#18333]
6826 * time/tzset.c (parse_tzname): Return error on memory allocation
6827 failure.
6828 * test-skeleton.c (struct temp_name_list): Change type of name
6829 member to non-const.
6830 (add_temp_file): Create a copy of the file name.
6831 (delete_temp_files): Deallocate memory.
6832 (create_temp_file): Add comment.
6833
6834 2015-04-24 Florian Weimer <fweimer@redhat.com>
6835
6836 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6837 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6838
6839 2015-04-24 Roland McGrath <roland@hack.frob.com>
6840
6841 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6842 * sysdeps/arm/configure: Regenerated.
6843
6844 2015-04-24 Florian Weimer <fweimer@redhat.com>
6845
6846 [BZ #17715]
6847 * time/tzfile.c (__tzfile_read): Check for large values of
6848 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
6849 * time/tzset.c (__tzstring_len): New function, based on the old
6850 __tzstring function.
6851 (__tzstring): Call __tzstring_len.
6852 (parse_tzname): New helper function extracted from
6853 __tzset_parse_tz. Call __tzstring_len, without making a copy of
6854 the input string.
6855 (parse_offset): New helper function extracted from
6856 __tzset_parse_tz. Replace switch with fallthrough with
6857 initialization before sscanf.
6858 (parse_rule): Likewise.
6859 (__tzset_parse_tz): Rewrite using the new helper functions. Use
6860 new-style function definition.
6861 * timezone/Makefile (tests): Add tst-tzset.
6862 (tst-tzset.out): Dependencies on time zone files.
6863 (tst-tzset-ENV): Set TZDIR.
6864 (testdata/XT%): Copy crafted time zone files.
6865 * timezone/README: Mention crafted time zone files.
6866 * timezone/testdata/XT1, timezone/testdata/XT2,
6867 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6868 files.
6869 * timezone/tst-tzset.c: New test.
6870
6871 2015-04-24 Florian Weimer <fweimer@redhat.com>
6872
6873 * Makeconfig (+gccwarn): Remove -Winline.
6874
6875 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6876
6877 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6878
6879 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6880
6881 * NEWS: Mention sysconf() cache information support for s390.
6882 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6883
6884 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
6885
6886 * math/k_casinh.c (__kernel_casinh): Use __copysign.
6887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6888 (__nearbyint): Likewise.
6889 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6890 (copysignl): Likewise.
6891
6892 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
6893
6894 [BZ #18287]
6895 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6896 based on padding. (CVE-2015-1781)
6897
6898 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6899
6900 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6901 libc-vdso.h.
6902 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6903 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6904 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6905 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6906 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6907 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6908 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
6909 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
6910 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
6911 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
6912 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
6913 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
6914 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
6915 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
6916 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6917 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
6918 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
6919 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
6920 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
6921 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
6922 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
6923 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
6924 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
6925
6926 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
6927
6928 * stdlib/setenv.c (__add_to_environ):
6929 Dump core quickly if setenv (..., NULL, ...) is called.
6930 This time, do it the right way, and pacify GCC with a pragma.
6931
6932 2015-04-17 Roland McGrath <roland@hack.frob.com>
6933
6934 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
6935 IMAP->l_prev cannot be null, and #if out the code for the contrary
6936 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
6937 believe that NS (&_dl_ns[NSID]) could point outside the array.
6938
6939 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
6940 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
6941 before using NSID as an index.
6942
6943 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
6944
6945 [BZ #17825]
6946 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
6947 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6948 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6949
6950 2015-04-17 Roland McGrath <roland@hack.frob.com>
6951
6952 Add preliminary port to Google Native Client on ARM.
6953 * abi-tags (.*-.*-nacl.*): New entry.
6954 * sysdeps/arm/nacl: New directory.
6955 * sysdeps/nacl: New directory.
6956
6957 2015-04-16 David S. Miller <davem@davemloft.net>
6958
6959 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
6960 lowlevellock-futex.h
6961
6962 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
6963
6964 * sysdeps/tile/configure.ac: New file.
6965 * sysdeps/tile/configure: Regenerated.
6966
6967 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6968
6969 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
6970 conditionals for weak_alias and libc_hidden_weak.
6971 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
6972 libc_hidden_weak and weak_alias.
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
6974 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
6975 and weak_alias for static one.
6976
6977 2015-04-15 David S. Miller <davem@davemloft.net>
6978
6979 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6980
6981 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6982
6983 [BZ #18206]
6984 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
6985 Use signed comparision instead of substraction to avoid
6986 overflow bug.
6987 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
6988 Take the sign of ret.
6989 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
6990 Do not expect precise return values. Only the sign matters.
6991 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
6992 * wcsmbs/test-wcsncmp.c: New File.
6993 * string/test-strncmp.c: Add wcsncmp support.
6994
6995 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6996
6997 [BZ #6792]
6998 * math/w_log1p.c: New file.
6999 * math/w_log1pf.c: Likewise.
7000 * math/w_log1pl.c: Likewise.
7001 * math/Makefile (libm-calls): Add w_log1p.
7002 * math/s_log1pl.c (log1pl): Remove weak_alias.
7003 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7004 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7005 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7006 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7007 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7008 [NO_LONG_DOUBLE] (log1pl): Likewise.
7009 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7010 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7011 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7012 (log1p): Remove long_double_symbol.
7013 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7014 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7015 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7016 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7017 remove weak_alias for corresponding log1p function.
7018 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7019 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7020 * sysdeps/ia64/fpu/w_log1p.c: New file.
7021 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7022 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7023 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7024
7025 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7026
7027 [BZ #18247]
7028 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7029 decimal exponent by 1.
7030 * stdlib/tst-strtod-round-data: Add more tests.
7031 * stdlib/tst-strtod-round.c (tests): Regenerated.
7032
7033 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7034
7035 * math/auto-libm-test-in: Add more tests of clog and clog10.
7036 * math/auto-libm-test-out: Regenerated.
7037 * sysdeps/i386/fpu/libm-test-ulps: Update.
7038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7039
7040 2015-04-09 Roland McGrath <roland@hack.frob.com>
7041
7042 * Makeconfig (module-cppflags): Exclude all .v.i files.
7043 (skip-module-cppflags): Variable removed.
7044
7045 * configure.ac (libc_config_ok): Initialize before reading
7046 preconfigure scripts, not after.
7047 * configure: Regenerated.
7048
7049 * test-skeleton.c (TIMEOUT): Move #define to top level.
7050 (main): Grok environment variable TEST_DIRECT. If set, print
7051 test expectation details into that file and then behave as if
7052 given --direct.
7053
7054 2015-04-09 Florian Weimer <fweimer@redhat.com>
7055
7056 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7057 warning on 32-bit.
7058
7059 2015-04-08 David S. Miller <davem@davemloft.net>
7060
7061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7062
7063 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7064
7065 * math/auto-libm-test-in: Add more tests of atanh.
7066 * math/auto-libm-test-out: Regenerated.
7067 * sysdeps/i386/fpu/libm-test-ulps: Update.
7068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7069
7070 * math/auto-libm-test-in: Add more tests of atan.
7071 * math/auto-libm-test-out: Regenerated.
7072 * sysdeps/i386/fpu/libm-test-ulps: Update.
7073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7074
7075 2015-04-08 Florian Weimer <fweimer@redhat.com>
7076
7077 * elf/pldd.c (main): Rewrite to use struct
7078 scratch_buffer instead of extend_alloca.
7079 * elf/pldd-xx.c (find_maps): Likewise.
7080 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7081 <alloca.h>.
7082 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7083 scratch_buffer instead of extend_alloca.
7084 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7085 grp/compat-initgroups.c.
7086 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7087 Rewrite to use struct scratch_buffer instead of extend_alloca.
7088 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7089 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7090
7091 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7092
7093 * math/auto-libm-test-in: Add more tests of cbrt.
7094 * math/auto-libm-test-out: Regenerated.
7095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7096
7097 * math/auto-libm-test-in: Add more tests of cabs.
7098 * math/auto-libm-test-out: Regenerated.
7099 * sysdeps/i386/fpu/libm-test-ulps: Update.
7100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7101
7102 [BZ #18210]
7103 [BZ #18211]
7104 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7105 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7106 computations.
7107 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7108 clog10.
7109 * math/auto-libm-test-out: Regenerated.
7110 * sysdeps/i386/fpu/libm-test-ulps: Update.
7111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7112
7113 [BZ #18197]
7114 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7115 (atan): Set FE_TONEAREST mode for internal computations.
7116 * math/auto-libm-test-in: Add more tests of atan.
7117 * math/auto-libm-test-out: Regenerated.
7118
7119 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7120
7121 [BZ #17930]
7122 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7123
7124 2015-04-07 Florian Weimer <fweimer@redhat.com>
7125
7126 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7127
7128 2015-04-07 Florian Weimer <fweimer@redhat.com>
7129
7130 * include/scratch_buffer.h: New file.
7131 * malloc/scratch_buffer_grow.c: Likewise.
7132 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7133 * malloc/scratch_buffer_set_array_size.c: Likewise.
7134 * malloc/tst-scratch_buffer.c: Likewise.
7135 * malloc/Makefile (routines): Add scratch_buffer_grow.
7136 (tests): Add test case.
7137 * malloc/Versions (GLIBC_PRIVATE): Export
7138 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7139 __libc_scratch_buffer_set_array_size.
7140
7141 2015-04-06 Richard Henderson <rth@redhat.com>
7142
7143 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7144 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7145
7146 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7147 unsigned int before printing.
7148
7149 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7150
7151 [BZ #17596]
7152 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7153 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7154
7155 2015-04-02 Florian Weimer <fweimer@redhat.com>
7156
7157 * include/libc-internal.h (libc_max_align_t): Define.
7158
7159 2015-04-02 Andreas Schwab <schwab@suse.de>
7160
7161 [BZ #16850]
7162 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7163
7164 2015-04-02 Mel Gorman <mgorman@suse.de>
7165
7166 [BZ #17195]
7167 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7168 as well as the main arena.
7169
7170 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7171
7172 [BZ #18185]
7173 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7174 sharing L2 cache to 2 for Silvermont/Knights Landing.
7175
7176 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7177
7178 [BZ #17711]
7179 * config.make.in (have-protected-data): New.
7180 * configure.ac: Check linker support for protected data symbol.
7181 * configure: Regenerated.
7182 * elf/Makefile (modules-names): Add tst-protected1moda and
7183 tst-protected1modb if $(have-protected-data) is yes.
7184 (tests): Add tst-protected1a and tst-protected1b if
7185 $(have-protected-data) is yes.
7186 ($(objpfx)tst-protected1a): New.
7187 ($(objpfx)tst-protected1b): Likewise.
7188 (tst-protected1modb.so-no-z-defs): Likewise.
7189 * elf/tst-protected1a.c: New file.
7190 * elf/tst-protected1b.c: Likewise.
7191 * elf/tst-protected1mod.h: Likewise.
7192 * elf/tst-protected1moda.c: Likewise.
7193 * elf/tst-protected1modb.c: Likewise.
7194
7195 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7196
7197 [BZ #17711]
7198 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7199 indicates it is called from do_lookup_x on relocation against
7200 protected data, skip the data definion in the executable from
7201 copy reloc.
7202 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7203 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7204 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7205 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7206 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7207 otherwise to 0.
7208 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7209 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7210 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7211 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7212 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7213 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7214
7215 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7216
7217 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7218 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7219
7220 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7221
7222 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7223 THREAD_SETMEM_NC.
7224 * sysdeps/x86_64/nptl/tls.h: Ditto.
7225
7226 2015-03-27 Roland McGrath <roland@hack.frob.com>
7227
7228 * dlfcn/tststatic.c (main): Converted to ...
7229 (do_test): ... this.
7230 (TEST_FUNCTION): New macro.
7231 Include test-skeleton.c.
7232
7233 2015-03-26 Alan Modra <amodra@gmail.com>
7234
7235 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7236 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7237 zero for undefined weak.
7238 (elf_machine_plt_conflict): Similarly.
7239
7240 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7241
7242 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7243 atanh.
7244 * math/auto-libm-test-out: Regenerated.
7245 * sysdeps/i386/fpu/libm-test-ulps: Update.
7246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7247
7248 * math/auto-libm-test-in: Add another test of asin.
7249 * math/auto-libm-test-out: Regenerated.
7250 * sysdeps/i386/fpu/libm-test-ulps: Update.
7251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7252
7253 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7254 Remove macro.
7255 (LLL_EBX_REG): Likewise.
7256 (LLL_ENTER_KERNEL): Likewise.
7257
7258 * math/auto-libm-test-in: Add more tests of asin.
7259 * math/auto-libm-test-out: Regenerated.
7260 * sysdeps/i386/fpu/libm-test-ulps: Update.
7261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7262
7263 [BZ #18138]
7264 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7265 libc_do_syscall_args): New structure.
7266 (INTERNAL_SYSCALL_MAIN_0): New macro.
7267 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7268 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7269 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7270 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7271 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7272 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7273 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7274 Replace conditional definitions by conditional definitions of ....
7275 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7276 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7277 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7278 (libpthread-sysdep_routines): Add libc-do-syscall.
7279 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7280 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7281 to __NR_futex not 240.
7282
7283 2015-03-25 Alan Modra <amodra@gmail.com>
7284
7285 * NEWS: Advertise TLS optimization.
7286 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7287 (DT_PPC_NUM): Increment.
7288 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7289 (CHECK_STATIC_TLS): Use here.
7290 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7291 TLS descriptors.
7292 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7293 * sysdeps/powerpc/dl-tls.c: New file.
7294 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7295 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7296 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7297 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7301
7302 2015-03-25 Alan Modra <amodra@gmail.com>
7303
7304 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7305 for overlapping .opd entries" to "support...".
7306 * sysdeps/powerpc/powerpc64/configure: Regenerate
7307
7308 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7309
7310 * math/auto-libm-test-in: Add more tests of acos.
7311 * math/auto-libm-test-out: Regenerated.
7312 * sysdeps/i386/fpu/libm-test-ulps: Update.
7313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7314
7315 * math/auto-libm-test-in: Add more tests of expm1.
7316 * math/auto-libm-test-out: Regenerated.
7317 * sysdeps/i386/fpu/libm-test-ulps: Update.
7318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7319
7320 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7321
7322 * math/auto-libm-test-in: Add more tests of cosh and sinh.
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 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7329
7330 * math/auto-libm-test-in: Add more tests of log2.
7331 * math/auto-libm-test-out: Regenerated.
7332 * sysdeps/i386/fpu/libm-test-ulps: Update.
7333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7334
7335 2015-03-23 Roland McGrath <roland@hack.frob.com>
7336
7337 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7338 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7339 _IO_IS_APPENDING bit in READ_WRITE instead.
7340
7341 2015-03-23 Florian Weimer <fweimer@redhat.com>
7342
7343 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7344 (__determine_cpumask_size): Replace extend_alloca with a
7345 variable-length array. Do not treat res == 0 as an error.
7346
7347 2015-03-23 Florian Weimer <fweimer@redhat.com>
7348
7349 [BZ #18100]
7350 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7351 and integer overflow.
7352 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7353 (main): Add integer overflow tests.
7354 * manual/pattern.texi (Calling Wordexp): Document additional use
7355 for WRDE_SYNTAX.
7356
7357 2015-03-23 Alan Modra <amodra@gmail.com>
7358
7359 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7360 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7361 and false branch of conditional.
7362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7363 Likewise.
7364
7365 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7366
7367 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7368 libc-modules.h
7369 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7370 unused declaration of _hurd_intr_rpc_msg_in_trap.
7371 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7372 defined instead of whether it is non-zero.
7373 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7374 input constraint instead of both input and output constraint. Use ecx
7375 clobber instead of %ecx.
7376 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7377 mutex_unlock): Use a statement expression instead of an expression list.
7378 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7379 type to vm_size_t instead of vm_address_t.
7380 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7381 defined instead of whether it is non-zero.
7382 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7383 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7384 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7385 comparisons with mapaddr.
7386 * nscd/nscd-client.h: Include <time.h>.
7387 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7388 9th parameter to __vm_region instead of int.
7389 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7390 * scripts/check-local-headers.sh (exclude): Add device/,
7391 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7392 cthreads.h.
7393
7394 2015-03-19 Roland McGrath <roland@hack.frob.com>
7395
7396 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7397 to account for alignment padding.
7398 * sysdeps/arm/memmove.S: Likewise.
7399
7400 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7401
7402 * sysdeps/unix/sysv/linux/generic/README: New file.
7403
7404 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7405
7406 [BZ #18138]
7407 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7408 (futex_abstimed_wait)
7409 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7410 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7411 of lll_futex_timed_wait.
7412
7413 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7414
7415 [BZ #17542]
7416 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7417
7418 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7419
7420 [BZ #17090]
7421 [BZ #17620]
7422 [BZ #17621]
7423 [BZ #17628]
7424 * NEWS: Update.
7425 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7426 entries with Static TLS too. Skip entries past the end of the
7427 allocated DTV, from Alan Modra.
7428 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7429 Static TLS DTV entry set up from...
7430 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7431 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7432 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7433 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7434 for Static TLS.
7435 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7436 that the slot we find is associated with the given map before
7437 using its generation count.
7438 * nptl_db/db_info.c: Include ldsodefs.h.
7439 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7440 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7441 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7442 (link_map::l_tls_offset): New struct field.
7443 (dtv_t::counter): Likewise.
7444 (rtld_global): New struct.
7445 (_rtld_global): New rtld variable.
7446 (dl_tls_dtv_slotinfo_list): New rtld global field.
7447 (dtv_slotinfo_list): New struct.
7448 (dtv_slotinfo): Likewise.
7449 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7450 (td_lookup): Rename to...
7451 (td_mod_lookup): ... this. Use new mod parameter instead of
7452 LIBPTHREAD_SO.
7453 * nptl_db/td_thr_tlsbase.c: Include link.h.
7454 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7455 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7456 addresses even if the DTV is out of date or missing them.
7457 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7458 index zero-length arrays.
7459 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7460 (td_lookup): Make it a macro implemented in terms of...
7461 (td_mod_lookup): ... this declaration.
7462 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7463 (DB_MAIN_VARIABLE): Likewise.
7464
7465 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7466
7467 [BZ #18134]
7468 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7469
7470 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7471
7472 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7473
7474 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7475
7476 [BZ #18128]
7477 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7478 (atomic_add, atomic_increment_and_test)
7479 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7480
7481 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7482
7483 * stdlib/setenv.c (__add_to_environ):
7484 Dump core quickly if setenv (..., NULL, ...) is called.
7485
7486 2015-03-13 Roland McGrath <roland@hack.frob.com>
7487
7488 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7489 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7490 all the necessary asm magic in one place.
7491 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7492 using those.
7493
7494 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7495
7496 [BZ #14906]
7497 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7498 traced file mtime. Use consistent log message.
7499 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7500 (register_traced_file): Call install_watches. Always set mtime.
7501 (invalidate_cache): Iterate over all trace files. Call install_watches.
7502 (inotify_check_files): Don't inline. Handle watching parent
7503 directories and configuration file movement in and out.
7504 (handle_inotify_events): New function.
7505 (main_loop_poll): Call handle_inotify_events.
7506 (main_loop_epoll): Likewise.
7507 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7508 (struct traced_file): Use array of inotify fds. Add parent directory,
7509 and basename.
7510 (struct database_dyn): Remove unused file_mtime.
7511 (init_traced_file): New inline function.
7512 (define_traced_file): New macro.
7513 * nss/nss_db/db-init.c: Use define_traced_file.
7514 (_nss_db_init): Use init_traced_file.
7515 * nss/nss_files/files-init.c: Use define_traced_file.
7516 (_nss_files_init): Use init_traced_file.
7517
7518 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7519
7520 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7521 [_LIBC]: Do not include <stdlib.h>.
7522 [!_LIBC] (abort): Remove declaration.
7523 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7524 _FP_STATIC_ASSERT instead of conditionally calling abort.
7525 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7526 (_FP_EXTEND_CNAN): Likewise.
7527 (FP_TRUNC): Likewise.
7528 (__FP_CLZ): Likewise.
7529 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7530
7531 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7532
7533 * manual/string.texi (XPG basename): Fix prototype.
7534
7535 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7536
7537 [BZ #18080]
7538 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7539 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7540 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7541 (__setcontext): Likewise.
7542 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7543 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7544 Call rt_sigprocmask syscall one time to set new signal mask
7545 and retrieve the current signal mask instead of two calls.
7546 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7547 (__swapcontext): Likewise.
7548 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7549 * stdlib/tst-setcontext2.c: New file.
7550
7551 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7552
7553 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7554
7555 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7556
7557 [BZ #18093]
7558 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7559 the wrong size.
7560
7561 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7562
7563 [BZ #18043]
7564 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7565
7566 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7567
7568 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7569 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7570 Remove define.
7571 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7572 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7573 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7574 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7575 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7576 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7577 define.
7578 * nptl_db/td_symbol_list.c (td_lookup): Remove
7579 HAVE_ASM_GLOBAL_DOT_NAME code.
7580 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7581 HAVE_ASM_GLOBAL_DOT_NAME check.
7582 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7583 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7584 (DOT_LABEL): Remove define.
7585 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7586 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7587 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7588 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7589 (__TLS_GET_ADDR): Likewise.
7590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7591 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7592
7593 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7594
7595 [BZ #18111]
7596 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7597 (_FPU_SETCW): Initialize cw from fpsr before storing.
7598 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7599 (fesetexceptflag): Rewrite using fpu_control.h.
7600 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7601
7602 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7603
7604 [BZ #18110]
7605 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7606 asms.
7607 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7608
7609 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7610
7611 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7612 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7613 abort.
7614 (_FP_FMA): Likewise.
7615 (_FP_DIV): Likewise.
7616
7617 2015-03-10 Roland McGrath <roland@hack.frob.com>
7618
7619 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7620 with 0 in that case.
7621 * Makefile (summarize-tests): New canned sequence, factored out of
7622 commands for targets tests and xtests. Display summary lines that
7623 don't start with PASS: or XFAIL: rather than ones that do start with
7624 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7625 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7626 do start with ERROR: or FAIL:.
7627 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7628 (except for [$(build-shared) = yes]).
7629 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7630 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7631 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7632 * nptl/Makefile: Revert 2015-03-04 changes.
7633 [$(CXX) empty] (tests-unsupported): New variable.
7634 * debug/Makefile: Likewise.
7635
7636 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7637 gnulib file. Replace __attribute with __attribute__ throughout.
7638
7639 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7640
7641 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7642
7643 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7644
7645 [BZ #18104]
7646 * math/auto-libm-test-in: Add another test of pow.
7647 * math/auto-libm-test-out: Regenerated.
7648
7649 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7650
7651 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7652 $(config-cflags-nofma).
7653
7654 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7655
7656 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7657 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7658 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7659 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7660 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7661 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7662 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7663 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7664 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7665 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7666 Add comment on closing #endif.
7667
7668 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7669
7670 * posix/wordexp.c (CHAR_IN_SET): New macro.
7671 (parse_param): Use it.
7672
7673 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7674
7675 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7676
7677 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7678
7679 [BZ #18043]
7680 * posix/wordexp.c (parse_param): Fix buffer overflow.
7681 * posix/wordexp-test.c (test_case): Add test case.
7682
7683 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7684
7685 [BZ #18042]
7686 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7687 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7688
7689 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7690
7691 [BZ #18043]
7692 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7693 (do_bz18043): Delete.
7694 (at_page_end): New.
7695 (testit): Refactor to have words at the edge of unreadable page.
7696
7697 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7698
7699 [BZ #16734]
7700 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7701 Cleanup read-only streams as well.
7702 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7703
7704 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7705
7706 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7707 <bits/libc-lockP.h>
7708
7709 2015-03-07 Joseph Myers <joseph@codesourcery.com>
7710
7711 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
7712 on [__KERNEL__].
7713 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7714 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7715 * soft-fp/op-common.h (_FP_DECL): Likewise.
7716
7717 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
7718
7719 * elf/ifuncdep2.c (global): Replace
7720 __attribute__((visibility("protected"))) with
7721 asm (".protected global").
7722 * elf/ifuncmod1.c (global): Likewise.
7723 * elf/ifuncmod5.c (global): Likewise.
7724
7725 2015-03-06 Joseph Myers <joseph@codesourcery.com>
7726
7727 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7728 <asm/sfp-machine.h> instead of <sfp-machine.h>.
7729
7730 2015-03-06 Roland McGrath <roland@hack.frob.com>
7731
7732 * manual/install.texi (Configuring and compiling):
7733 Document test-wrapper-env-only.
7734 * INSTALL: Regenerated.
7735
7736 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7737
7738 [BZ #18043]
7739 * posix/wordexp.c (parse_param): Fix buffer overflow.
7740 * posix/wordexp-test.c (do_bz18043): Add test case.
7741
7742 2015-03-06 Vincent Bernat <vincent@bernat.im>
7743
7744 * time/tst-strptime2.c (do_test): Ensure failing tests are
7745 reported correctly.
7746 * time/tst-strptime3.c (do_test): Likewise.
7747
7748 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
7749
7750 Fix aio_error thread-safety.
7751 * sysdeps/pthread/aio_error.c: New file
7752 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7753 synchronization.
7754
7755 2015-03-06 Florian Weimer <fweimer@redhat.com>
7756
7757 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7758 (group_number, vfprintf): Use it.
7759 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7760 (JUMP, REF): Use it.
7761 (WORK_BUFFER_SIZE): New enum constant.
7762 (process_arg, vfprintf): Use it.
7763
7764 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
7765
7766 * manual/errno.texi (Error Messages): Complete example function
7767 by adding missing #define.
7768 (program_invocation_name): Add statement indicating GNU
7769 extension and reference which header file declares the variable.
7770 (program_invocation_short_name): Likewise.
7771
7772 2015-03-06 Mike Frysinger <vapier@gentoo.org>
7773
7774 * manual/errno.texi (Error Messages): Delete strerror ISO C89
7775 compatibility note.
7776
7777 2015-03-05 Roland McGrath <roland@hack.frob.com>
7778
7779 * Makeconfig (test-wrapper-env-only): New variable.
7780 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7781 then use that with $(test-wrapper-env-only) rather than using
7782 $(test-wrapper-env) $(run-program-env) $($*-ENV).
7783
7784 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
7785
7786 [BZ #18082]
7787 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7788 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7789 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7790 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7791 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7792 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7793 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7794 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7795 Likewise.
7796 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7797 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7798 Likewise.
7799 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7800 Likewise.
7801 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7802 Likewise.
7803 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7804 Likewise.
7805 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7806 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7807 Likewise.
7808 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7809 Likewise.
7810 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7811 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7812
7813 2015-03-04 Roland McGrath <roland@hack.frob.com>
7814
7815 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7816 (ETH_ALEN): New macro.
7817 (struct ether_addr): Use it for length of ether_addr_octet.
7818
7819 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7820 (setdb): Don't call __nss_configure_lookup for "rpc".
7821 (do_test): Don't call test_rpc.
7822 (output_rpcent, test_rpc): Functions moved ...
7823 * sunrpc/test-rpcent.c: ... to this new file.
7824 * sunrpc/Makefile (tests): Add it.
7825
7826 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7827 __xpg_sigpause.
7828 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7829 * nptl/tst-signal6.c: Likewise.
7830 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7831 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7832
7833 * configure.ac (libc_cv_cxx_link_ok): New check.
7834 Reset CXX to empty if it fails to link.
7835 * configure: Regenerated.
7836 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7837 bug-atexit3-lib only if $(CXX) is nonempty.
7838 * nptl/Makefile (tests): Likewise for tst-cancel24.
7839 (tests, tests-static): Likewise for tst-cancel24-static.
7840 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7841 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7842 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7843 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7844
7845 2015-03-04 Andreas Schwab <schwab@suse.de>
7846
7847 [BZ #17631]
7848 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7849 for non-GCC compilers.
7850 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7851 Likewise.
7852
7853 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7854
7855 [BZ #17776]
7856 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7857 integer before bitwise and assembly operations.
7858 (feclearexcept): Likewise.
7859 * math/test-fenvinline.c: New file.
7860 * math/Makefile: Add test-fenvinline test.
7861
7862 2015-03-03 Alan Modra <amodra@gmail.com>
7863
7864 [BZ #16512]
7865 * scripts/localplt.awk: Strip off symbol version.
7866 * NEWS: Mention bug fix.
7867
7868 2015-03-02 Roland McGrath <roland@hack.frob.com>
7869
7870 * sysdeps/pthread/timer_routines.c
7871 (timer_free_list, thread_free_list, thread_active_list): Make static.
7872
7873 2015-03-02 Joseph Myers <joseph@codesourcery.com>
7874
7875 [BZ #17779]
7876 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7877 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7878 Undefine.
7879 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7880 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7881 Likewise.
7882 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7883 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7884 Likewise.
7885
7886 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7887
7888 [BZ #18036]
7889 * posix/fnmatch_loop.c (END): Detect invalid pattern.
7890 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7891
7892 2015-03-02 Andreas Schwab <schwab@suse.de>
7893
7894 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7895 variable name.
7896
7897 2015-03-02 Florian Weimer <fweimer@redhat.com>
7898
7899 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7900 Return error status.
7901
7902 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
7903
7904 [BZ #15969]
7905 * locale/findlocale.c (_nl_find_locale): Introduce const
7906 version of loc_name and drop unsafe type casts.
7907
7908 2015-02-27 Roland McGrath <roland@hack.frob.com>
7909
7910 * dlfcn/tststatic2.c (main): Converted to ...
7911 (do_test): ... this.
7912 (TEST_FUNCTION): New macro.
7913 Include test-skeleton.c.
7914
7915 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 [BZ #17711]
7918 * elf/Makefile (tests): Add vismain only if PIE is enabled.
7919 (tests-pie): Add vismain.
7920 (CFLAGS-vismain.c): New.
7921 * elf/vismain.c: Add comments for PIE requirement.
7922
7923 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7924
7925 [BZ #18046]
7926 [BZ #18047]
7927 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
7928 0x1p-56L as threshold for just returning the argument.
7929 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
7930 0x1p-32L as threshold for just returning the argument.
7931 * math/auto-libm-test-in: Add more tests of atanh.
7932 * math/auto-libm-test-out: Regenerated.
7933 * sysdeps/i386/fpu/libm-test-ulps: Update.
7934 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
7935
7936 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7937
7938 * string/bcopy.c (bcopy): Call memmove for performance.
7939
7940 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
7941
7942 * string/bzero.c (__bzero): Call memset for performance.
7943
7944 2015-02-27 John David Anglin <dave.anglin@bell.net>
7945
7946 [BZ #18068]
7947 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
7948 to 00100000.
7949
7950 2015-02-27 Joseph Myers <joseph@codesourcery.com>
7951
7952 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
7953
7954 2015-02-26 Joseph Myers <joseph@codesourcery.com>
7955
7956 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
7957 (__kernel_standard): Use CSTR macro when setting exc.name.
7958 * sysdeps/ieee754/Makefile [$(subdir) = math]
7959 (CFLAGS-k_standard.c): Remove variable.
7960
7961 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
7962 setting p and q from "else if" to "else".
7963 (qzero): Likewise.
7964 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
7965 (qone): Likewise.
7966 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
7967 (qzerof): Likewise.
7968 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
7969 (qonef): Likewise.
7970 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
7971 (qzero): Likewise.
7972 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
7973 (qone): Likewise.
7974
7975 [BZ #18038]
7976 [BZ #18039]
7977 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
7978 return pi/2 for arguments below 0x1p-113L.
7979 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
7980 return pi/2 for arguments below 0x1p-106L.
7981 * math/auto-libm-test-in: Add more tests of acos.
7982 * math/auto-libm-test-out: Regenerated.
7983
7984 [BZ #16351]
7985 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
7986 (MO): New macro.
7987 (__ieee754_asin): Force underflow exception for results with small
7988 absolute value.
7989 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
7990 (MO): New macro.
7991 (__ieee754_asinf): Force underflow exception for results with
7992 small absolute value.
7993 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
7994 (__ieee754_asin): Force underflow exception for results with small
7995 absolute value.
7996 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
7997 (__ieee754_asinf): Force underflow exception for results with
7998 small absolute value.
7999 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8000 (__ieee754_asinl): Force underflow exception for results with
8001 small absolute value.
8002 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8003 (__ieee754_asinl): Force underflow exception for results with
8004 small absolute value.
8005 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8006 (__ieee754_asinl): Force underflow exception for results with
8007 small absolute value.
8008 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8009 Include <math.h>.
8010 * math/auto-libm-test-in: Do not mark underflow exceptions as
8011 possibly missing for bug 16351.
8012 * math/auto-libm-test-out: Regenerated.
8013
8014 [BZ #18030]
8015 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8016 of power of 2 down when low part has opposite sign.
8017 * math/libm-test.inc (logb_test_data): Add more tests.
8018
8019 2015-02-26 Andreas Schwab <schwab@suse.de>
8020
8021 [BZ #18032]
8022 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8023 over collating symbol inside a bracket expression. Minor cleanup.
8024 * posix/tst-fnmatch3.c (do_test): Add test case.
8025
8026 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8027
8028 [BZ #18029]
8029 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8030 Adjust exponent of power of 2 down when low part has opposite
8031 sign.
8032 * math/libm-test.inc (ilogb_test_data): Add more tests.
8033
8034 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8035
8036 [BZ #15969]
8037 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8038 the previous change.
8039
8040 [BZ #15969]
8041 * locale/findlocale.c (_nl_find_locale): Retry archive search
8042 after alias expansion.
8043
8044 2015-02-25 Roland McGrath <roland@hack.frob.com>
8045
8046 * iconv/tst-iconv3.c (main): Converted to ...
8047 (do_test): ... this.
8048 (TEST_FUNCTION): New macro.
8049 Include test-skeleton.c.
8050
8051 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8052 (convert): Make function static.
8053 (test_unalign): Likewise. Add const to argument pointee types.
8054 (main): Replace with static function do_test.
8055 Print "Succeeded." only if RET is zero.
8056 (TEST_FUNCTION): New macro.
8057 Include test-skeleton.c.
8058
8059 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8060 returns a null pointer.
8061
8062 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8063
8064 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8065 to __memcpy_ppc only for static builds.
8066
8067 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8068
8069 [BZ #18020]
8070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8071 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8072 * math/auto-libm-test-in: Add more tests of asinh.
8073 * math/auto-libm-test-out: Regenerated.
8074 * sysdeps/i386/fpu/libm-test-ulps: Update.
8075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8076
8077 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8078
8079 [BZ #15850]
8080 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8081 and ip6_mtuinfo definitions here.
8082 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8083 in this define too. Update comment.
8084
8085 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8086
8087 * elf/sprof.c (load_shobj): Tweak error message to match others.
8088
8089 2015-02-24 Kevin Easton <kevin@guarana.org>
8090
8091 [BZ #16145] (partial fix)
8092 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8093 to reduce lock contention.
8094
8095 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8096
8097 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8098 (struct timex): Update time comment.
8099 (ADJ_SETOFFSET): Define.
8100
8101 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8102
8103 [BZ #18019]
8104 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8105 2**56 not 2**28 as threshold for log (2x) formula.
8106 * math/auto-libm-test-in: Add more tests of acosh.
8107 * math/auto-libm-test-out: Regenerated.
8108 * sysdeps/i386/fpu/libm-test-ulps: Update.
8109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8110
8111 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8112
8113 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8114 parenthesis around the buf assignment.
8115 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8116
8117 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8118
8119 [BZ #16783]
8120 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8121 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8122 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8123 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8124 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8125 * math/libm-test.inc (scalb_test_data): Add more tests.
8126
8127 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8128
8129 [BZ #17916]
8130 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8131 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8132
8133 2015-02-24 Eric Rannaud <e@nanocritical.com>
8134
8135 [BZ #17523]
8136 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8137 * io/bits/fcntl2.h (open): Use it.
8138 (openat): Likewise.
8139 * io/open.c (__libc_open): Likewise.
8140 * io/open64.c (__libc_open64): Likewise.
8141 * io/open64_2.c (__open64_2): Likewise.
8142 * io/open_2.c (__open_2): Likewise.
8143 * io/openat.c (__openat): Likewise.
8144 * io/openat64.c (__openat64): Likewise.
8145 * io/openat64_2.c (__openat64_2): Likewise.
8146 * io/openat_2.c (__openat_2): Likewise.
8147 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8148 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8149 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8150 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8151 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8152 (__open_nocancel): Likewise.
8153 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8154 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8155 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8156
8157 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8158
8159 [BZ #14841]
8160 * resolv/gethnamaddr.c (getanswer): Skip logging if
8161 RES_USE_DNSSEC is set.
8162 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8163
8164 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8165
8166 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8167
8168 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8169
8170 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8171 201304L, for Unicode 7.
8172
8173 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8174
8175 [BZ #17836]
8176 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8177 shared library. Add gmon-start.os otherwise.
8178 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8179 $(objpfx)gmon-start.os if builing shared library.
8180 ($(objpfx)g$(static-start-installed-name)): Likewise.
8181
8182 2015-02-23 Andreas Schwab <schwab@suse.de>
8183
8184 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8185
8186 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8187
8188 [BZ #17269]
8189 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8190 (enlarge_userbuf): Likewise.
8191
8192 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8193
8194 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8195 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8196 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8197 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8198
8199 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8200
8201 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8202 expression inside statement expression.
8203
8204 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8205
8206 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8207 <sysdeps/nptl/lowlevellock.h> and remove macros and
8208 functions that are now defined there.
8209 (SYS_futex): Remove.
8210 (lll_compare_and_swap): Remove.
8211 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8212
8213 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8214
8215 [BZ #17999]
8216 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8217 instead of scandirat.
8218 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8219 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8220 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8221 __scandirat.
8222 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8223 (__scandirat): Declare. Use libc_hidden_proto.
8224 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8225 Remove variable.
8226 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8227
8228 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8229
8230 [BZ #15319]
8231 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8232 (MO): New macro.
8233 (__ieee754_atan2): For results with small absolute value, force
8234 underflow exception and remove excess range and precision from
8235 return value.
8236 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8237 (MO): New macro.
8238 (__ieee754_atan2f): For results with small absolute value, force
8239 underflow exception and remove excess range and precision from
8240 return value.
8241 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8242 (MO): New macro.
8243 (__atan): For results with small absolute value, force underflow
8244 exception and remove excess range and precision from return value.
8245 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8246 (MO): New macro.
8247 (__atanf): For results with small absolute value, force underflow
8248 exception and remove excess range and precision from return value.
8249 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8250 <math.h>.
8251 (__ieee754_atan2): Force underflow exception for results with
8252 small absolute value.
8253 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8254 <math_private.h>.
8255 (atan): Force underflow exception for results with small absolute
8256 value.
8257 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8258 (__atanf): Force underflow exception for results with small
8259 absolute value.
8260 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8261 <math.h>.
8262 (__atanl): Force underflow exception for results with small
8263 absolute value.
8264 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8265 (__atanl): Force underflow exception for results with small
8266 absolute value.
8267 * sysdeps/x86/fpu/bits/mathinline.h
8268 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8269 (__ieee754_atan2): Only define inline for long double.
8270 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8271 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8272 * math/auto-libm-test-in: Do not mark underflow exceptions as
8273 possibly missing for bug 15319. Add more tests of atan2.
8274 * math/auto-libm-test-out: Regenerated.
8275 * math/libm-test.inc (casin_test_data): Do not mark underflow
8276 exceptions as possibly missing for bug 15319.
8277 (casinh_test_data): Likewise.
8278 * sysdeps/i386/fpu/libm-test-ulps: Update.
8279
8280 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8281
8282 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8283 * sysdeps/mips/bits/endian.h: Fix comments.
8284
8285 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8286
8287 [BZ #17996]
8288 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8289 (hdestroy_r): Likewise.
8290 (hsearch_r): Likewise.
8291 (__hcreate_r): Declare and use libc_hidden_proto.
8292 (__hdestroy_r): Likewise.
8293 (__hsearch_r): Likewise.
8294 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8295 (hcreate): Call __hcreate_r instead of hcreate_r.
8296 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8297 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8298 as weak alias of __hcreate_r.
8299 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8300 __hdestroy_r.
8301 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8302 __hsearch_r.
8303 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8304 Remove variable.
8305 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8306 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8307 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8308 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8309
8310 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8311
8312 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8313 arena_lock into a single arena_get.
8314
8315 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8316
8317 * dl-reloc.c: Inlucde libc-internal.h.
8318 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8319 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8320 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8321 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8322 (grow_heap): Likewise.
8323 * malloc/malloc.c: Include libc-internal.h.
8324 (do_check_malloc): Call powerof2.
8325 (sysmalloc): Use pagesize. Call ALIGN_UP.
8326 (systrim): Use pagesize.
8327 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8328 (__libc_valloc): Use pagesize.
8329 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8330
8331 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8332
8333 [BZ #17991]
8334 * include/sys/resource.h (__getrlimit64): Declare. Use
8335 libc_hidden_proto.
8336 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8337 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8338 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8339 getrlimit64.
8340 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8341 __getrlimit64.
8342 [!getrlimit64] (getrlimit64): Define as weak alias of
8343 __getrlimit64. Use libc_hidden_weak.
8344 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8345 using __getrlimit64 not __new_getrlimit64.
8346 (__GI_getrlimit64): Likewise.
8347 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8348 Likewise.
8349 (__GI_getrlimit64): Likewise.
8350 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8352 (getrlimit): Add __getrlimit64 alias.
8353 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8354 Likewise.
8355 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8356 Remove variable.
8357 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8358 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8359
8360 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8361
8362 * libio/fileops.c: Add missing sys/mman.h
8363 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8364
8365 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8366
8367 * manual/math.texi (Errors in Math Functions): Clarify goals
8368 regarding inexact and underflow exceptions.
8369
8370 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8371
8372 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8373 * sysdeps/mips/memset.S: Ditto.
8374
8375 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8376
8377 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8378
8379 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8380
8381 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8382 (__v1longjmp): Remove versioned symbol.
8383 (__v1siglongjmp): Remove alias and versioned symbol.
8384 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8385 (__v2siglongjmp): Likewise.
8386
8387 2015-02-16 Torvald Riegel <triegel@redhat.com>
8388
8389 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8390
8391 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8392
8393 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8394
8395 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8396
8397 [BZ #17987]
8398 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8399 zero result does not depend on the sign resulting from
8400 subtraction.
8401 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8402 Likewise.
8403 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8404 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8405 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8406 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8407 * math/libm-test.inc (remquo_test_data): Add more tests.
8408
8409 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8410
8411 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8412 Problem reported by J William Piggott.
8413
8414 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8415
8416 [BZ #17978]
8417 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8418 products 4 * y and 2 * y where those would overflow.
8419 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8420 Likewise.
8421 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8422 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8423 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8424 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8425 * math/libm-test.inc (remquo_test_data): Add more tests.
8426
8427 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8428
8429 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8430 [defined _COMPILING_NEWLIB].
8431 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8432 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8433
8434 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8435 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8436
8437 2015-02-16 Torvald Riegel <triegel@redhat.com>
8438
8439 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8440 acquired.
8441
8442 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8443
8444 [BZ #17792]
8445 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8446 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8447 HOST_STACK_END_ADDR): Likewise.
8448
8449 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8450
8451 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8452 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8453 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8454
8455 2015-02-13 Roland McGrath <roland@hack.frob.com>
8456
8457 * sysdeps/generic/c++-types.data: New file.
8458 * sysdeps/generic/ld.abilist: New file.
8459 * sysdeps/generic/libBrokenLocale.abilist: New file.
8460 * sysdeps/generic/libanl.abilist: New file.
8461 * sysdeps/generic/libc.abilist: New file.
8462 * sysdeps/generic/libcrypt.abilist: New file.
8463 * sysdeps/generic/libdl.abilist: New file.
8464 * sysdeps/generic/libm.abilist: New file.
8465 * sysdeps/generic/libpthread.abilist: New file.
8466 * sysdeps/generic/libresolv.abilist: New file.
8467 * sysdeps/generic/librt.abilist: New file.
8468
8469 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8470
8471 [BZ #17569]
8472 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8473 Compute absolute value of x as modified by fmod, not original
8474 value of x.
8475 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8476 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8477 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8478 RUN_TEST_ffI_f1_mod8.
8479 (remquo_test_data): Add more tests.
8480
8481 2015-02-13 Roland McGrath <roland@hack.frob.com>
8482
8483 * sysdeps/init_array/pt-crti.S: New file.
8484
8485 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8486
8487 [BZ #17967]
8488 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8489 __builtin_fmaf instead of relying on contraction of a * b + c.
8490
8491 2015-02-12 J William Piggott <elseifthen@gmx.com>
8492
8493 [BZ #17969]
8494 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8495 node.
8496
8497 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8498
8499 [BZ #17964]
8500 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8501 __builtin_fma instead of relying on contraction of a * b + c.
8502
8503 2015-02-12 Roland McGrath <roland@hack.frob.com>
8504
8505 * Makeconfig (ASFLAGS): Add -Werror=undef.
8506 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8507 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8508 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8509
8510 * Makeconfig (after-link): New variable.
8511 (+link-pie, +link-pie-tests): Use it.
8512 (+link-static, +link-static-tests): Likewise.
8513 (+link, +link-tests): Likewise.
8514 * Makerules (build-module, build-module-asneeded): Likewise.
8515 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8516 Likewise.
8517 * elf/Makefile ($(objpfx)ld.so): Likewise.
8518
8519 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8520
8521 [BZ #17965]
8522 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8523 both struct timeval and struct timespec.
8524
8525 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8526
8527 [BZ #16560]
8528 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8529 and redefine.
8530 (__ieee754_exp2l): Do not multiply small fractional parts by
8531 M_LN2l.
8532 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8533 small argument.
8534 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8535 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8536 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8537 * math/auto-libm-test-in: Add more tests of exp2.
8538 * math/auto-libm-test-out: Regenerated.
8539
8540 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8541
8542 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8543 unaligned path.
8544
8545 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8546
8547 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8548 little endian.
8549
8550 2015-02-12 Andreas Schwab <schwab@suse.de>
8551
8552 [BZ #15790]
8553 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8554 Filter out elision flags from value returned in kind.
8555 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8556 * nptl/tst-pthread-mutexattr.c: New file.
8557
8558 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8559
8560 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8561 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8562 into gnu-gnu, and update comment to refer to abi-tags.
8563
8564 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8565
8566 [BZ #15467]
8567 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8568 (__sincos): Set errno to EDOM for infinite argument.
8569 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8570 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8571 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8572 (__sincosl): Set errno to EDOM for infinite argument.
8573 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8574 (__sincosl): Set errno to EDOM for infinite argument.
8575 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8576 (__sincosl): Set errno to EDOM for infinite argument.
8577 * math/libm-test.inc (sincos_test_data): Test errno setting.
8578
8579 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8580
8581 * string/strxfrm_l.c: Remove #define STRCMP.
8582 * string/strcoll_l.c: Remove #define STRLEN.
8583 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8584 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8585
8586 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8587
8588 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8589 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8590 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8591 * sysdeps/mips/mips64/Makefile: ... here.
8592 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8593 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8594 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8595 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8596 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8597 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8598 * sysdeps/mips/mips64/n64/Implies: Likewise.
8599
8600 2015-02-10 Roland McGrath <roland@hack.frob.com>
8601
8602 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8603 <sys/time.h>, <string.h>, and <errno.h>.
8604 (dest_offset, dest_address, value, zero): Remove unused variables.
8605 (ldouble): Remove typedef.
8606 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8607 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8608 1). Fix code style.
8609 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8610 (check): Function removed.
8611 (CHECK): New macro.
8612 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8613 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8614 Don't call set_sigaction_FP and remove_sigaction_FP here.
8615 (ldouble_test): Just use 'long double' as macro argument, no need for
8616 the 'ldouble' typedef.
8617 (do_test): Set up SIGFPE handler at start, using plain signal rather
8618 than sigaction. Fix code style.
8619
8620 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8621
8622 [BZ #17949]
8623 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8624 jump label.
8625
8626 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8627
8628 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8629 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8630
8631 * sysdeps/powerpc/configure.ac: Remove file.
8632 * sysdeps/powerpc/configure: Likewise.
8633
8634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8635 [sysdep_routines]: Remove wordcopy-power6 object.
8636 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8637 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8638 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8639 (__memmove_ppc32): Likewise.
8640 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8641 file.
8642 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8643 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8644 Remove preprocessor.
8645
8646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8647 [sysdep_routines]: Remove wide chars objects.
8648 [wcsmbs]: New rule for wide char objects.
8649
8650 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8651 Remove wordcopy-power6 obejct.
8652 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8653 Use local call for wordcopy and memcpy symbols.
8654 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8655 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8656 implementation for loader.
8657 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8658
8659 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8660 Remove wordcopy-power7 object.
8661 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8662 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8663 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8664 (_wordcopy_fwd_dest_aligned): Likewise.
8665 (_wordcopy_bwd_aligned): Likewise.
8666 (_wordcopy_bwd_dest_aligned): Likewise.
8667
8668 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8669 Rewrite to call __memmove_ppc instead of include default
8670 implementation.
8671
8672 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8673 Remove wide chars objects.
8674 [wcsmbs]: New rule for wide char objects.
8675
8676 2015-02-09 Andreas Schwab <schwab@suse.de>
8677
8678 [BZ #17912]
8679 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8680 in terms of __O_DIRECTORY.
8681
8682 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8683
8684 * time/getdate.c: Include <stdbool.h>.
8685 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8686 call PTR_MANGLE.
8687 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8688 PTR_DEMANGLE.
8689
8690 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8691
8692 Add ersatz _Static_assert on older C hosts
8693 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8694 pre-C11 C platform that is not known to support _Static_assert.
8695
8696 2015-02-07 Richard Braun <rbraun@sceen.net>
8697
8698 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8699 sigstate.
8700 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8701
8702 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8703
8704 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8705 priority against unexistent AIO_PRIO_DELTA_MAX.
8706 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8707 instead of int.
8708 * misc/fchflags.c (fchflags): Likewise.
8709 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8710 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8711 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8712 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8713 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8714 Declare macros.
8715 [__USE_MISC] (chflags, fchflags): Declare functions.
8716 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8717 EINVAL when nfds is greater than FD_SETSIZE.
8718 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8719 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8720 45.
8721 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8722 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8723 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8724 MACH_RCV_TIMED_OUT.
8725 * hurd/hurd/signal.h (_hurd_self_sigstate,
8726 _hurd_critical_section_lock, _hurd_critical_section_unlock):
8727 Explicit casts from void *.
8728 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8729 * abi-tags: Rename gnu-gnu os into gnu.
8730
8731 [BZ #4719]
8732 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8733 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8734 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8735 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8736 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8737 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8738
8739 [BZ #17944]
8740 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8741 duplicates ADDR->sun_path with sockaddr LEN limitation.
8742 * sysdeps/mach/hurd/connect.c: Include <string.h>
8743 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8744 * sysdeps/mach/hurd/sendmsg.c: Likewise.
8745 * sysdeps/mach/hurd/sendto.c: Likewise.
8746 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8747 implementing it by hand.
8748
8749 2015-02-06 Roland McGrath <roland@hack.frob.com>
8750
8751 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8752 Use sfi_breg on ldr.
8753 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8754 Likewise.
8755
8756 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8757 it's defined.
8758 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8759 Test SIGSETXID only if it's defined.
8760
8761 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8762
8763 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8764 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
8765
8766 * nptl/tst-align2.c: Moved ...
8767 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8768 * nptl/Makefile (tests): Remove tst-align2.
8769 * sysdeps/unix/sysv/linux/Makefile
8770 [$(subdir) = nptl] (tests): Add tst-align-clone.
8771 * nptl/tst-getpid1.c: Moved ...
8772 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8773 * nptl/tst-getpid2.c: Moved ...
8774 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8775 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8776 * sysdeps/unix/sysv/linux/Makefile
8777 [$(subdir) = nptl] (tests): ... here.
8778 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8779 * sysdeps/unix/sysv/linux/Makefile
8780 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8781
8782 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8783 Drop trailing \n from perror argument. Use return rather than exit.
8784
8785 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8786 on [SA_SIGINFO].
8787 * nptl/tst-cancel21.c (do_test): Likewise.
8788 * debug/tst-backtrace6.c: Include <signal.h> first thing.
8789 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8790 [!SA_SIGINFO]: Make it a stub test.
8791
8792 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8793 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8794
8795 * posix/tst-getlogin.c: Move to ...
8796 * login/tst-getlogin.c: ... here.
8797 * posix/Makefile (tests): Move tst-getlogin to ...
8798 * login/Makefile (tests): ... here.
8799
8800 * libio/tst-atime.c (do_test): Move local variables SV and E
8801 inside [ST_NOATIME] conditional.
8802
8803 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8804
8805 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8806
8807 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8808 (wait_code): New function replaces macro.
8809 Call nanosleep rather than syscall.
8810
8811 * nptl/pt-system.c: Rewritten. Put everything under
8812 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8813 Use IFUNC to redirect when possible.
8814
8815 * nptl/pt-longjmp.c: Rewritten. Put everything under
8816 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8817 Use IFUNC to redirect when possible.
8818
8819 * nptl/pt-fork.c: Rewritten. Put everything under
8820 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8821 Use IFUNC to redirect when possible.
8822 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8823
8824 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8825 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8826 unconditionally nowadays. This included the only reference to
8827 __vdso_clock_gettime that appears outside libc proper.
8828 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8829 Remove version set (containing only __vdso_clock_gettime).
8830 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8831 Add attribute_hidden.
8832 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8833 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8834 libc_hidden_data_def.
8835 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8836 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8837
8838 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8839 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8840 setrpcent, and getrpcport to ...
8841 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8842 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8843 getrpcbynumber_r, and getrpcent_r to ...
8844 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8845 * inet/getrpcbyname.c: Moved ...
8846 * sunrpc/getrpcbyname.c: ... here.
8847 * inet/getrpcbyname_r.c: Moved ...
8848 * sunrpc/getrpcbyname_r.c: ... here.
8849 * inet/getrpcbynumber.c: Moved ...
8850 * sunrpc/getrpcbynumber.c: ... here.
8851 * inet/getrpcbynumber_r.c: Moved ...
8852 * sunrpc/getrpcbynumber_r.c: ... here.
8853 * inet/getrpcent.c: Moved ...
8854 * sunrpc/getrpcent.c: ... here.
8855 * inet/getrpcent_r.c: Moved ...
8856 * sunrpc/getrpcent_r.c: ... here.
8857 * inet/Makefile (routines): Move those to ...
8858 * sunrpc/Makefile (routines): ... here.
8859 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8860 the $(subdirs) list.
8861 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
8862 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8863 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8864 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8865
8866 * elf/Makefile (routines): Include $(all-dl-routines), not just
8867 $(dl-routines).
8868 (rtld-routines): Likewise. Use = rather than :=.
8869 * sysdeps/aarch64/Makefile [$(subdir) = elf]
8870 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8871 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8872 * sysdeps/arm/Makefile: Likewise.
8873 * sysdeps/i386/Makefile: Likewise.
8874 * sysdeps/x86_64/Makefile: Likewise.
8875 * sysdeps/hppa/Makefile [$(subdir) = elf]
8876 (sysdep_routines, sysdep-rtld-routines): Don't add
8877 $(sysdep-dl-routines) to these.
8878 * sysdeps/ia64/Makefile: Likewise.
8879 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8880 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8881 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8882 Don't add dl-static to these; sysdep-dl-routines alone is enough.
8883 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8884 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8885 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8886 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8887 * sysdeps/powerpc/Makefile [$(subdir) = elf]
8888 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8889 these; sysdep-dl-routines alone is enough.
8890
8891 2015-02-06 Joseph Myers <joseph@codesourcery.com>
8892
8893 [BZ #17932]
8894 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8895 where multiplication results in zero and third argument is finite
8896 and nonzero.
8897 * math/auto-libm-test-in: Add more tests of fma.
8898 * math/auto-libm-test-out: Regenerated.
8899
8900 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8901 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8902 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8903 (_FP_CMP_EQ): Likewise.
8904 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8905
8906 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8907 extra argument CHECK_NAN. Redefine as wrapper around
8908 _FP_EXTEND_CNAN.
8909
8910 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
8911
8912 * version.h (RELEASE): Set to "stable".
8913 (VERSION): Set to "2.21"
8914 * include/features.h (__GLIBC_MINOR__): Set to 21.
8915
8916 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
8917
8918 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8919 Paul Eggert <eggert@cs.ucla.edu>
8920
8921 [BZ #16618]
8922 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
8923 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
8924 size in bytes. Store needed elements in wpmax. Use needed size
8925 in bytes for extend_alloca.
8926
8927 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
8928
8929 * manual/install.texi: Latest tested versions are GCC 4.9.2,
8930 binutls 2.25, and texinfo 5.2.
8931 * INSTALL: Regenerate.
8932 * sysdeps/nios2/configure: Regenerate.
8933 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
8934 * manual/contrib.texi: Update.
8935 * po/be.po: Update.
8936 * po/bg.po: Update.
8937 * po/ca.po: Update.
8938 * po/cs.po: Update.
8939 * po/da.po: Update.
8940 * po/de.po: Update.
8941 * po/el.po: Update.
8942 * po/eo.po: Update.
8943 * po/es.po: Update.
8944 * po/fi.po: Update.
8945 * po/fr.po: Update.
8946 * po/gl.po: Update.
8947 * po/hr.po: Update.
8948 * po/hu.po: Update.
8949 * po/ia.po: Update.
8950 * po/id.po: Update.
8951 * po/it.po: Update.
8952 * po/ja.po: Update.
8953 * po/ko.po: Update.
8954 * po/lt.po: Update.
8955 * po/nb.po: Update.
8956 * po/nl.po: Update.
8957 * po/pl.po: Update.
8958 * po/pt_BR.po: Update.
8959 * po/ru.po: Update.
8960 * po/rw.po: Update.
8961 * po/sk.po: Update.
8962 * po/sl.po: Update.
8963 * po/sv.po: Update.
8964 * po/tr.po: Update.
8965 * po/uk.po: Update.
8966 * po/vi.po: Update.
8967 * po/zh_CN.po: Update.
8968 * po/zh_TW.po: Update.
8969
8970 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
8971 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
8972 * sysdeps/hppa/dl-irel.h: Remove #warning.
8973 * sysdeps/hppa/entry.h: Provide prototype for
8974 __canonicalize_funcptr_for_compare and cast argument.
8975 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
8976 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
8977 * sysdeps/hppa/sotruss-lib.c: New file.
8978 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
8979 (atomic_compare_and_exchange_val_acq): Use __typeof__.
8980 (atomic_compare_and_exchange_bool_acq): Likewise.
8981 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
8982 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
8983
8984 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
8985 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
8986 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
8987
8988 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8989
8990 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
8991 called function in non-PIC case.
8992
8993 2015-01-31 David S. Miller <davem@davemloft.net>
8994
8995 * sysdeps/sparc/sparc32/bits/atomic.h
8996 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
8997 unlock not after it.
8998 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
8999 volatile register usage warnings from the compiler.
9000
9001 * sysdeps/sparc/nptl/sem_init.c: Delete.
9002 * sysdeps/sparc/nptl/sem_post.c: Delete.
9003 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9004 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9005 * sysdeps/sparc/sparc32/sem_init.c: New file.
9006 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9007 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9008 padding explicitly initialized.
9009 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9010 padding for in-semaphore spinlock.
9011 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9012 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9013 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9014 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9015 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9016 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9017 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9018 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9019 version.
9020 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9021 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9022
9023 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9024
9025 [BZ #17801]
9026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9027 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9028 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9029 New.
9030 (index_AVX_Fast_Unaligned_Load): Likewise.
9031 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9032 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9033 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9034 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9035 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9036 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9037 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9038 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9039 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9040
9041 2015-01-29 Andreas Schwab <schwab@suse.de>
9042
9043 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9044
9045 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9046
9047 [BZ #17892]
9048 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9049
9050 2015-01-28 Martin Sebor <msebor@redhat.com>
9051
9052 * math/README.libm-test: Clarify. Add "How to read the test output."
9053
9054 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9055
9056 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9057 Define to 0.
9058
9059 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9060
9061 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9062 (__HAVE_64B_ATOMICS): Define to 0.
9063
9064 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9065
9066 [BZ #17885]
9067 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9068 value to set as new flag.
9069
9070 [BZ #16576]
9071 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9072 and use _ARCH_PPCSQ instead.
9073 (__ieee754_sqrt): Likewise.
9074 (__ieee754_sqrtf): Likewise.
9075 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9076 _ARCH_PPCSQ is defined.
9077 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9078 fsqrt instruction.
9079 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9080 _ARCH_PPCSQ is defined.
9081 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9082 fsqrts instruction.
9083 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9084
9085 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9086
9087 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9088 bug (GCC BZ #64739).
9089
9090 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9091
9092 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9093 Mark _retval as used.
9094 (lll_futex_wake_unlock): Likewise.
9095 (lll_futex_timed_wait_requeue_pi): Likewise.
9096
9097 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9098 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9099 register variables.
9100
9101 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9102 libm_hidden_def.
9103
9104 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9105 (__bswap_64): Mark as __always_inline.
9106
9107 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9108
9109 [BZ #15378]
9110 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9111 when none of the search directories exist.
9112
9113 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9114
9115 [BZ #17869]
9116 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9117 power8 in .machine directive.
9118
9119 [BZ #17868]
9120 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9121 set dependency from opd value.
9122
9123 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9124
9125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9126 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9127 architecture.
9128
9129 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9130
9131 [BZ #17870]
9132 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9133 with uint64_t.
9134 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9135 (uint64_t) 1.
9136 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9137 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9138 Replace 1UL with (uint64_t) 1.
9139 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9140 int with uint64_t.
9141
9142 2015-01-23 Roland McGrath <roland@hack.frob.com>
9143
9144 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9145 (if_freenameindex): Likewise.
9146
9147 * resource/getrlimit64.c: Add missing libc_hidden_def.
9148
9149 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9150
9151 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9152 __label__.
9153 (_FP_FMA): Likewise.
9154 (_FP_TO_INT_ROUND): Likewise.
9155 (_FP_FROM_INT): Likewise.
9156
9157 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9158
9159 [BZ #16418]
9160 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9161 Make code racy and cancel safe.
9162
9163 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9164
9165 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9166 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9167 attribution.
9168
9169 * pwd/tst-getpw.c: Rewrite.
9170
9171 [BZ #17702]
9172 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9173 (modules-names): Add moddummy1 and moddummy2.
9174 ($(objpfx)tst-rec-dlopen): Define.
9175 * dlfcn/moddummy1.c: New file.
9176 * dlfcn/moddummy2.c: New file.
9177 * dlfcn/tst-rec-dlopen.c: New file.
9178 * elf/dl-cache.c (_dl_load_cache_lookup):
9179 Return char*. Copy result with alloca/strcpy/strdup.
9180 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9181 returns char*. Free cached. If not saving realname
9182 free cached.
9183 * elf/dl-open.c (dl_open_worker): Do not assert that
9184 _r_debug->r_state is RT_CONSISTENT.
9185 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9186 returns char*.
9187
9188 2015-01-21 Torvald Riegel <triegel@redhat.com>
9189 Carlos O'Donell <carlos@redhat.com>
9190
9191 [BZ #12674]
9192 * nptl/sem_waitcommon.c: New file.
9193 * nptl/sem_wait.c: Include sem_waitcommon.c.
9194 (__sem_wait_cleanup, do_futex_wait): Remove.
9195 (__new_sem_wait): Adapt.
9196 (__new_sem_trywait): New function.
9197 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9198 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9199 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9200 (sem_timedwait): Adapt.
9201 * nptl/sem_post.c (__new_sem_post): Adapt.
9202 (futex_wake): New function.
9203 (__old_sem_post): Add release MO fence.
9204 * nptl/sem_open.c (sem_open): Adapt.
9205 * nptl/sem_init.c (__new_sem_init): Adapt.
9206 (futex_private_if_supported): New function.
9207 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9208 (__old_sem_getvalue): Add using previous code.
9209 * sysdeps/nptl/internaltypes.h: Adapt.
9210 * nptl/tst-sem13.c (do_test): Adapt.
9211 * nptl/tst-sem11.c (main): Adapt.
9212 * nptl/sem_trywait.c: Remove.
9213 * nptl/DESIGN-sem.txt: Remove.
9214 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9215 (gen-as-const-headers): Remove structsem.sym.
9216 * nptl/structsem.sym: Remove.
9217 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9218 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9219 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9220 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9221 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9222 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9223 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9224 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9225 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9226 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9227 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9228 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9229 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9230 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9231 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9232 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9233 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9234 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9235 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9236 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9237 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9238 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9239
9240 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9241
9242 * INSTALL: Regenerated.
9243
9244 * po/libc.pot: Regenerated.
9245
9246 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9247 Sandra Loosemore <sandra@codesourcery.com>
9248 Andrew Jenner <andrew@codesourcery.com>
9249 Joseph Myers <joseph@codesourcery.com>
9250 Nathan Sidwell <nathan@codesourcery.com>
9251
9252 * NEWS: Mention new Nios II port.
9253 * sysdeps/nios2/Implies: New file.
9254 * sysdeps/nios2/Makefile: New file.
9255 * sysdeps/nios2/Subdirs: New file.
9256 * sysdeps/nios2/Versions: New file.
9257 * sysdeps/nios2/__longjmp.S: New file.
9258 * sysdeps/nios2/abort-instr.h: New file.
9259 * sysdeps/nios2/backtrace.c: New file.
9260 * sysdeps/nios2/bits/endian.h: New file.
9261 * sysdeps/nios2/bits/fenv.h: New file.
9262 * sysdeps/nios2/bits/link.h: New file.
9263 * sysdeps/nios2/bits/setjmp.h: New file.
9264 * sysdeps/nios2/bsd-_setjmp.S: New file.
9265 * sysdeps/nios2/bsd-setjmp.S: New file.
9266 * sysdeps/nios2/configure: New generated file.
9267 * sysdeps/nios2/configure.ac: New file.
9268 * sysdeps/nios2/crti.S: New file.
9269 * sysdeps/nios2/crtn.S: New file.
9270 * sysdeps/nios2/dl-init.c: New file.
9271 * sysdeps/nios2/dl-machine.h: New file.
9272 * sysdeps/nios2/dl-sysdep.h: New file.
9273 * sysdeps/nios2/dl-tls.h: New file.
9274 * sysdeps/nios2/dl-trampoline.S: New file.
9275 * sysdeps/nios2/gccframe.h: New file.
9276 * sysdeps/nios2/gmp-mparam.h: New file.
9277 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9278 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9279 * sysdeps/nios2/ldsodefs.h: New file.
9280 * sysdeps/nios2/libc-tls.c: New file.
9281 * sysdeps/nios2/libm-test-ulps: New file.
9282 * sysdeps/nios2/machine-gmon.h: New file.
9283 * sysdeps/nios2/math-tests.h: New file.
9284 * sysdeps/nios2/math_private.h: New file.
9285 * sysdeps/nios2/memusage.h: New file.
9286 * sysdeps/nios2/nptl/Makefile: New file.
9287 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9288 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9289 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9290 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9291 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9292 * sysdeps/nios2/nptl/tls.h: New file.
9293 * sysdeps/nios2/preconfigure: New file.
9294 * sysdeps/nios2/s_fma.c: New file.
9295 * sysdeps/nios2/s_fmaf.c: New file.
9296 * sysdeps/nios2/setjmp.S: New file.
9297 * sysdeps/nios2/sfp-machine.h: New file.
9298 * sysdeps/nios2/sotruss-lib.c: New file.
9299 * sysdeps/nios2/stackguard-macros.h: New file.
9300 * sysdeps/nios2/stackinfo.h: New file.
9301 * sysdeps/nios2/start.S: New file.
9302 * sysdeps/nios2/sysdep.h: New file.
9303 * sysdeps/nios2/tls-macros.h: New file.
9304 * sysdeps/nios2/tst-audit.h: New file.
9305 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9306 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9307 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9308 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9309 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9310 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9311 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9312 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9313 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9314 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9315 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9316 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9317 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9318 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9319 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9320 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9321 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9322 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9323 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9324 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9325 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9326 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9327 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9328 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9329 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9330 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9331 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9332 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9333 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9334 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9335 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9336 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9337 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9338 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9339 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9340 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9341 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9342 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9343 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9344 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9345 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9346 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9347 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9348 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9349
9350 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9351
9352 [BZ #17844]
9353 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9354 (getutent): Use weak_alias in non SHARED case
9355 and default_symbol_version in SHARED case.
9356 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9357 (getutent_r, pututline): Likewise.
9358 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9359 (getutid): Likewise.
9360 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9361 (getutid_r): Likewise.
9362 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9363 (getutline): Likewise.
9364 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9365 (getutline_r): Likewise.
9366 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9367 (updwtmp): Likewise.
9368
9369 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9370
9371 [BZ #17848]
9372 * sysdeps/s390/s390-32/memcmp.S
9373 (memcmp_g5): Rename to __memcmp_g5.
9374 * sysdeps/s390/s390-32/memcpy.S
9375 (memcpy_g5): Rename to __memcpy_g5.
9376 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9377 (memcpy_mvcle) Rename to __memcpy_mvcle.
9378 * sysdeps/s390/s390-32/memset.S
9379 (memset_g5): Rename to __memset_g5.
9380 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9381 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9382 and use prefixed functions.
9383 * sysdeps/s390/s390-32/multiarch/memcmp.S
9384 (memcmp_z196): Rename to __memcmp_z196.
9385 (memcmp_z10): Rename to __memcmp_z10.
9386 (memcmp): Set alias to __memcmp_g5.
9387 (bcmp): Set alias to __memcmp_g5.
9388 * sysdeps/s390/s390-32/multiarch/memcpy.S
9389 (memcpy_z196): Rename to __memcpy_z196.
9390 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9391 (memcpy_z10): Rename to __memcpy_z10.
9392 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9393 (memcpy): Set alias to __memcpy_g5.
9394 * sysdeps/s390/s390-32/multiarch/memset.S
9395 (memset_z196): Rename to __memset_z196.
9396 Jump to __memset_mvcle instead of memset_mvcle.
9397 (memset_z10): Rename to __memset_z10.
9398 Jump to __memset_mvcle instead of memset_mvcle.
9399 (memset_mvcle) Rename to __memset_mvcle.
9400 (memset): Set alias to __memset_g5.
9401 * sysdeps/s390/s390-64/memcmp.S
9402 (memcmp_z900): Rename to __memcmp_z900.
9403 * sysdeps/s390/s390-64/memcpy.S
9404 (memcpy_z900): Rename to __memcpy_z900.
9405 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9406 (memcpy_mvcle) Rename to __memcpy_mvcle.
9407 * sysdeps/s390/s390-64/memset.S
9408 (memset_z900): Rename to __memset_z900.
9409 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9410 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9411 and use prefixed functions.
9412 * sysdeps/s390/s390-64/multiarch/memcmp.S
9413 (memcmp_z196): Rename to __memcmp_z196.
9414 (memcmp_z10): Rename to __memcmp_z10.
9415 (memcmp): Set alias to __memcmp_z900.
9416 (bcmp): Set alias to __memcmp_z900.
9417 * sysdeps/s390/s390-64/multiarch/memcpy.S
9418 (memcpy_z196): Rename to __memcpy_z196.
9419 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9420 (memcpy_z10): Rename to __memcpy_z10.
9421 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9422 (memcpy): Set alias to __memcpy_z900.
9423 * sysdeps/s390/s390-64/multiarch/memset.S
9424 (memset_z196): Rename to __memset_z196.
9425 Jump to __memset_mvcle instead of memset_mvcle.
9426 (memset_z10): Rename to __memset_z10.
9427 Jump to __memset_mvcle instead of memset_mvcle.
9428 (memset_mvcle) Rename to __memset_mvcle.
9429 (memset): Set alias to __memset_z900.
9430
9431 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9432
9433 [BZ #17748]
9434 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9435 __fesetenv instead of fesetenv.
9436
9437 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9438
9439 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9440 macro.
9441
9442 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9443
9444 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9445 regression on LE.
9446
9447 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9448 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9449 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9450 strncmp-power8 object.
9451 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9452 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9453 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9454 * NEWS: Update.
9455
9456 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9457 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9458
9459 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9460 trailing byte check.
9461
9462 2015-01-13 David S. Miller <davem@davemloft.net>
9463
9464 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9465
9466 2015-01-13 Roland McGrath <roland@hack.frob.com>
9467
9468 * login/logout.c (logout): Use memset rather than bzero.
9469 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9470 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9471 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9472 (_gethtbyaddr): Likewise.
9473 * locale/programs/simple-hash.c (bcopy): Macro removed.
9474
9475 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9476
9477 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9478 Add strcmp-power8 object.
9479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9480 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9481 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9482 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9483 __strcmp_power8 implementation.
9484 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9485 * NEWS: Update.
9486
9487 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9488 Add strncpy-power8 and stpncpy-power8 objects.
9489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9490 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9491 implementations.
9492 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9493 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9494 __stpncpy_power8 implementation.
9495 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9496 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9497 __strncpy_power8 implementation.
9498 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9499 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9500 * NEWS: Update.
9501
9502 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9503 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9504 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9505
9506 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9507 strncat-power8 object.
9508 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9509 __strcat_power8 implementation.
9510 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9511 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9512 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9513 optimized strcat for power8.
9514
9515 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9516 strcpy-power8 and stpcpy-power8 objects.
9517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9518 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9519 implementations.
9520 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9521 multiarch stpcpy implementation for POWER8.
9522 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9523 multiarch strcpy implementation for POWER8.
9524 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9525 __strcpy_power8 function.
9526 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9527 stpcpy for POWER8.
9528 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9529 strcpy for POWER8.
9530 * NEWS: Update.
9531
9532 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9533
9534 [BZ #16009]
9535 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9536 weights and rules. Use do_xfrm_cached if data fits in cache,
9537 do_xfrm otherwise. Moved former main loop to...
9538 * (do_xfrm_cached): New function.
9539 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9540 find_idx, find_position and stack_push.
9541 * (find_idx): New function.
9542 * (find_position): Likewise.
9543 * localedata/sort-test.sh: Added test run for do_xfrm.
9544 * localedata/xfrm-test.c (main): Added command line option
9545 -nocache to run the test with strings that are too large for
9546 the STRXFRM cache.
9547
9548 2015-01-13 Torvald Riegel <triegel@redhat.com>
9549
9550 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9551 variable to lll_futex_wake call, not the value itself.
9552
9553 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9554
9555 [BZ #17803]
9556 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9557 twom64. Adjust value to 0x1p-64L.
9558 (__scalblnl): Only return standard underflowing result for K <=
9559 -64 not K <= -63; adjust exponent for underflowing result by 64
9560 not 63.
9561 * math/libm-test.inc (scalbn_test_data): Add more tests.
9562 (scalbln_test_data): Likewise.
9563
9564 [BZ #17834]
9565 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9566 0x1p63L.
9567 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9568 not HX.
9569 * math/libm-test.inc (scalbn_test_data): Add more tests.
9570 (scalbln_test_data): Likewise.
9571
9572 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9573 Stefani Seibold <stefani@seibold.net>
9574
9575 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9576 (sysdep_routines): Add dl-vdso here, ...
9577 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9578 (sysdep_routines): ... not here.
9579 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9580 fallback when vDSO is not presented.
9581 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9582 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9583 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9584 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9585 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9586 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9587 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9588 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9589 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9591 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9592 fallback configurable symbol when vDSO is not available.
9593 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9594 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9595 be able to redefine fallback symbol when vDSO is not available.
9596 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9597 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9598
9599 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9600
9601 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9602 (TLS_INIT_TP): Add tm_capable initialization.
9603 (TLS_DEFINE_INIT_TP): Likewise.
9604 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9605 TCB.
9606 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9607 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9608 calculation.
9609 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9610 transactoion is lock elision is built and TCB tm_capable is set.
9611 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9613 (INTERNAL_SYSCALL_NCS): Likewise.
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9615 (INTERNAL_SYSCALL_NCS): Likewise.
9616 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9617
9618 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9619 for powerpc.
9620 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9621 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9622 and remove it for 32 bits case.
9623 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9624 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9625 initialization.
9626 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9627 Disable lock elision with rdlocks if elision is not available.
9628
9629 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9630 (sysdep_routines): Add lock elision objects.
9631 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9632 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9633 [pthread_mutex_t] (__elision): Add field.
9634 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9635 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9636 elision definitions for powerpc.
9637 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9638 implementation of lock elision for powerpc.
9639 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9640 implementation of timed lock elision for powerpc.
9641 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9642 implementation of trylock with lock elision for powerpc.
9643 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9644 implementaion of unlock for lock elision for powerpc.
9645 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9646 automatic enable lock elision for mutexes.
9647 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9648 transaction execution definitions for powerpc.
9649 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9650 definitions.
9651 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9652 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9653 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9654 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9655 * NEWS: Update.
9656
9657 2015-01-09 Roland McGrath <roland@hack.frob.com>
9658
9659 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9660 for #include of <shm-directory.h>.
9661
9662 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9663
9664 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9665 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9666
9667 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9668
9669 [BZ #17791]
9670 * NEWS: Mention bug fix.
9671 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9672 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9673 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9674
9675 2015-01-09 Torvald Riegel <triegel@redhat.com>
9676
9677 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9678
9679 2015-01-09 Torvald Riegel <triegel@redhat.com>
9680
9681 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9682
9683 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9684
9685 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9686 pointer and cast to uintptr_t.
9687
9688 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9689
9690 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9691 removed.
9692 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9693
9694 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9695
9696 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9697 of 0.
9698
9699 2015-01-08 Roland McGrath <roland@hack.frob.com>
9700
9701 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9702 <nptl/pthreadP.h> instead.
9703 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9704
9705 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9706 already defined.
9707 [__SIGRTMIN] (init): Function removed.
9708 [__SIGRTMIN] (initialized): Variable removed.
9709 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9710 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9711 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9712 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9713 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9714 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9715 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9716 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9717 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9718 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9719 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9720 * sysdeps/nptl/allocrtsig.c: New file.
9721 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9722 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9723 * sysdeps/generic/testrtsig.h: File removed.
9724
9725 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9726 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9727
9728 * nptl/nptl-init.c (pthread_functions): Conditionalize
9729 .ptr__nptl_setxid initialization on [SIGSETXID].
9730
9731 * sysdeps/nptl/sys/procfs.h: New file.
9732 * nptl_db/Makefile (headers): Add it.
9733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9734
9735 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9736 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9737 * nptl/pthread_attr_setaffinity.c: Include it.
9738 * nptl/pthread_setattr_default_np.c: Likewise.
9739 * nptl/check-cpuset.h: New file.
9740
9741 2015-01-08 Richard Henderson <rth@redhat.com>
9742
9743 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9744 (CFLAGS-tst-execstack-prog.c): Likewise.
9745 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9746
9747 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
9748 Sandra Loosemore <sandra@codesourcery.com>
9749 Andrew Jenner <andrew@codesourcery.com>
9750 Joseph Myers <joseph@codesourcery.com>
9751 Nathan Sidwell <nathan@codesourcery.com>
9752
9753 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9754 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9755 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9756 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9757 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9758 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9759 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9760 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9761 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9762 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9763 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9764 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9765 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9766 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9767 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9768 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9769 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9770
9771 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9772
9773 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9774 timespec struct member in syscall macro.
9775 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9776 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9777 first timeval struct member in syscall macro.
9778 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9779
9780 2015-01-07 Joseph Myers <joseph@codesourcery.com>
9781
9782 [BZ #17748]
9783 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9784 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9785 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9786 __feupdateenv and define as weak alias of __feupdateenv. Use
9787 libm_hidden_weak.
9788 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9789 libm_hidden_def.
9790 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9791 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
9792 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9793 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9794 libm_hidden_def.
9795 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9796 __feupdateenv and define as weak alias of __feupdateenv. Use
9797 libm_hidden_weak.
9798 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9799 libm_hidden_def.
9800 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9801 __feupdateenv and define as weak alias of __feupdateenv. Use
9802 libm_hidden_weak.
9803 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9804 libm_hidden_def.
9805 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9806 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9807 (__feupdateenv): Likewise.
9808 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9809 __feupdateenv and define as weak alias of __feupdateenv. Use
9810 libm_hidden_weak.
9811 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9812 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9813 libm_hidden_def.
9814 * sysdeps/tile/math_private.h (__feupdateenv): New inline
9815 function.
9816 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9817 libm_hidden_def.
9818 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9819 __feupdateenv instead of feupdateenv.
9820 (default_libc_feupdateenv_test): Likewise.
9821 (libc_feresetround_ctx): Likewise.
9822
9823 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9824
9825 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9826 prototype.
9827
9828 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
9829
9830 * posix/regcomp.c (parse_bracket_exp): Initialize type to
9831 COLL_SYM in a couple of places to avoid uninitialized variable
9832 wanings on tilegx gcc 4.8.2.
9833
9834 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9835
9836 * sysdeps/aarch64/strcpy.S: New file.
9837 * sysdeps/aarch64/stpcpy.S: New file.
9838 * NEWS: Updated.
9839
9840 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
9841
9842 * sysdeps/aarch64/strrchr.S: New file.
9843 * NEWS: Updated.
9844
9845 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
9846
9847 [BZ #17658]
9848 * stdlib/setenv.c: Fix memory leak when setting large,
9849 duplicate string.
9850
9851 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
9852
9853 [BZ #17273]
9854 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9855 and tabs from buffer before parsing fstab entry.
9856 * misc/tst-mntent.c (main): Add test for mount entry with
9857 trailing spaces and tabs.
9858
9859 2015-01-06 Joseph Myers <joseph@codesourcery.com>
9860
9861 [BZ #17748]
9862 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
9863 * math/fesetround.c (fesetround): Rename to __fesetround and
9864 define as weak alias of __fesetround. Use libm_hidden_weak.
9865 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9866 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9867 * sysdeps/arm/fesetround.c (fesetround): Likewise.
9868 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9869 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9870 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9871 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9872 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9873 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9874 __fesetround_inline.
9875 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9876 __fesetround_inline instead of __fesetround.
9877 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9878 __fesetround and define as weak alias of __fesetround. Use
9879 libm_hidden_weak. Call __fesetround_inline instead of
9880 __fesetround.
9881 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9882 __fesetround and define as weak alias of __fesetround. Use
9883 libm_hidden_weak.
9884 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9885 Likewise.
9886 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9887 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9888 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9889 * sysdeps/tile/math_private.h (__fesetround): New inline function.
9890 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9891 __fesetround and define as weak alias of __fesetround. Use
9892 libm_hidden_weak.
9893 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9894 __fesetround instead of fesetround.
9895 (default_libc_feholdexcept_setround): Likewise.
9896 (libc_feholdsetround_ctx): Likewise.
9897 (libc_feholdsetround_noex_ctx): Likewise.
9898
9899 [BZ #17748]
9900 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9901 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9902 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9903 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9904 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9905 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9906 define as weak alias of __fesetenv. Use libm_hidden_weak.
9907 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9908 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9909 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9910 define as weak alias of __fesetenv. Use libm_hidden_weak.
9911 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9912 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9913 define as weak alias of __fesetenv. Use libm_hidden_weak.
9914 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
9915 libm_hidden_def.
9916 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
9917 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
9918 Likewise.
9919 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
9920 define as weak alias of __fesetenv. Use libm_hidden_weak.
9921 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
9922 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9923 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
9924 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9925 and define as weak alias of __fesetenv. Use libm_hidden_weak.
9926 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
9927 __fesetenv instead of fesetenv.
9928 (libc_feresetround_noex_ctx): Likewise.
9929 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9930 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9931 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
9932 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9933 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9934 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9935 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9936 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9937 (__feupdateenv): Likewise.
9938 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9939 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9940 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9941 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
9942
9943 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9944
9945 [BZ #17806]
9946 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
9947 addresses have been freed.
9948
9949 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
9950
9951 * resolv/res_init.c (__res_vinit): Improve comments about nserv
9952 and nservall.
9953
9954 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
9955
9956 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
9957 Clean up check_pf allocation pattern. addresses
9958
9959 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9960
9961 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
9962 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
9963 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
9964 * nptl/pthread_exit.c (__pthread_exit): Likewise.
9965 * nptl/pthread_join.c (pthread_join): Likewise.
9966 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
9967 * sysdeps/posix/waitid.c (__waitid): Likewise.
9968 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
9969 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
9970 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
9971 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
9972 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
9973 Likewise.
9974 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
9975 (__libc_pread64): Likewise.
9976 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
9977 (__libc_pwrite): Likewise.
9978 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
9979 (__libc_pwrite64): Likewsie.
9980 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
9981 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
9982 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
9983 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
9984 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
9985 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
9986 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
9988 Likewise.
9989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9990 (__libc_pread64): Likewise.
9991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
9992 Likewise.
9993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9994 (__libc_pwrite64): Likewise.
9995 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
9996 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
9997 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
9998 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
9999 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10000 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10001 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10002 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10003 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10004 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10005 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10006 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10007 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10008 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10009 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10010 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10011 Likewise.
10012
10013 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10014
10015 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10016 (CFLAGS-test-double.c): Likewise.
10017 (CFLAGS-test-ldouble.c): Likewise.
10018 (CPPFLAGS-test-ifloat.c): Likewise.
10019 (CPPFLAGS-test-idouble.c): Likewise.
10020 (CPPFLAGS-test-ildoubl.c): Likewise.
10021 (CFLAGS-test-test-fenv.c): Remove variable.
10022 (CFLAGS-test-misc.c): Likewise.
10023
10024 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10025
10026 [BZ #17797]
10027 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10028 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10029 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10030 CLOCKS_PER_SEC == 1000000.
10031 * time/clocktest.c (main): Replace %ld with %jd and cast to
10032 intmax_t.
10033
10034 2015-01-05 Roland McGrath <roland@hack.frob.com>
10035
10036 * sysdeps/generic/unwind-resume.h: New file.
10037 * sysdeps/gnu/unwind-resume.c: Include it.
10038 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10039 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10040 argument list.
10041 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10042 global rather than static.
10043 (_Unwind_Resume): Update user.
10044 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10045 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10046 rather than static. Add __attribute__ ((cold)).
10047 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10048 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10049 * sysdeps/arm/arm-unwind-resume.S: New file.
10050 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10051 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10052 * sysdeps/arm/Makefile [$(subdir) = csu]
10053 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10054 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10055 Add rt-arm-unwind-resume.
10056 [$(subdir) = nptl]
10057 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10058 Add pt-arm-unwind-resume.
10059 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10060 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10061
10062 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10063
10064 [BZ #17748]
10065 * include/fenv.h (__feholdexcept): Declare. Use
10066 libm_hidden_proto.
10067 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10068 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10069 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10070 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10071 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10072 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10073 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10074 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10075 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10076 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10077 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10078 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10079 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10080 (feholdexcept): Likewise.
10081 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10082 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10083 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10084 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10085 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10086 __feholdexcept instead of feholdexcept.
10087 (default_libc_feholdexcept_setround): Likewise.
10088
10089 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10090
10091 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10092 to avoid using stl/str to align destination.
10093
10094 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10095
10096 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10097
10098 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10099
10100 [BZ #17796]
10101 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10102 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10103 Define as weak alias not strong alias.
10104
10105 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10106
10107 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10108 bltzal with addiupc.
10109 (RTLD_START): Ditto.
10110
10111 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10112
10113 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10114 for __vdso_* functions in declarations.
10115 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10116 definitions.
10117 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10118 INTERNAL_VSYSCALL): Use struct return types to check for error.
10119
10120 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10121 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10122 function with cast from llround().
10123 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10124 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10125 Define.
10126
10127 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10128
10129 [BZ #17793]
10130 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10131 Define as weak alias not strong alias.
10132
10133 [BZ #17635]
10134 * ctype/ctype-c99.c: New file. isblank implementation moved from
10135 ...
10136 * ctype/ctype-extn.c: ... here.
10137 (__isblank_l): Move to ...
10138 * ctype/ctype-c99_l.c: ... here. New file.
10139 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10140 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10141 Remove variable.
10142 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10143 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10144 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10145 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10146 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10147
10148 [BZ #17777]
10149 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10150 (posix_fadvise64): Define as weak alias not strong alias.
10151 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10152 (posix_fallocate64): Likewise.
10153 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10154 Remove variable.
10155 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10156 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10157 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10158 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10159 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10160
10161 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10162
10163 [BZ #16191]
10164 * NEWS: Mention bug fix.
10165 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10166 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10167 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10168 (HOST_STACK_END_ADDR): Likewise.
10169
10170 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10171
10172 [BZ #17748]
10173 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10174 * math/fegetround.c (fegetround): Rename to __fegetround and
10175 define as weak alias of __fegetround. Use libm_hidden_weak.
10176 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10177 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10178 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10179 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10180 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10181 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10182 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10183 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10184 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10185 Undefine after rather than before function definition; use
10186 parentheses around function name in definition.
10187 (__fegetround): Also undefine macro after function definition.
10188 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10189 __fegetround and define as weak alias of __fegetround. Use
10190 libm_hidden_weak. Do not undefine as macro.
10191 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10192 Likewise.
10193 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10194 __fegetround and define as weak alias of __fegetround. Use
10195 libm_hidden_weak.
10196 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10197 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10198 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10199 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10200 __fegetround and define as weak alias of __fegetround. Use
10201 libm_hidden_weak.
10202 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10203 __fegetround instead of fegetround.
10204
10205 [BZ #17782]
10206 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10207 Condition macro definition on [__USE_MISC].
10208
10209 [BZ #17781]
10210 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10211 (struct sigaction): Change type of sa_flags field to int.
10212
10213 [BZ #17780]
10214 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10215 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10216 __glibc_reserved0.
10217
10218 * nptl/version.c (banner): Use single year in copyright notice.
10219
10220 * NEWS: Update copyright dates.
10221 * catgets/gencat.c (print_version): Likewise.
10222 * csu/version.c (banner): Likewise.
10223 * debug/catchsegv.sh: Likewise.
10224 * debug/pcprofiledump.c (print_version): Likewise.
10225 * debug/xtrace.sh (do_version): Likewise.
10226 * elf/ldconfig.c (print_version): Likewise.
10227 * elf/ldd.bash.in: Likewise.
10228 * elf/pldd.c (print_version): Likewise.
10229 * elf/sotruss.sh: Likewise.
10230 * elf/sprof.c (print_version): Likewise.
10231 * iconv/iconv_prog.c (print_version): Likewise.
10232 * iconv/iconvconfig.c (print_version): Likewise.
10233 * locale/programs/locale.c (print_version): Likewise.
10234 * locale/programs/localedef.c (print_version): Likewise.
10235 * login/programs/pt_chown.c (print_version): Likewise.
10236 * malloc/memusage.sh (do_version): Likewise.
10237 * malloc/memusagestat.c (print_version): Likewise.
10238 * malloc/mtrace.pl: Likewise.
10239 * manual/libc.texinfo: Likewise.
10240 * nptl/version.c (banner): Likewise.
10241 * nscd/nscd.c (print_version): Likewise.
10242 * nss/getent.c (print_version): Likewise.
10243 * nss/makedb.c (print_version): Likewise.
10244 * posix/getconf.c (main): Likewise.
10245 * scripts/test-installation.pl: Likewise.
10246 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10247
10248 2015-01-02 Will Newton <will.newton@linaro.org>
10249
10250 * sysdeps/arm/armv7/configure: Removed.
10251 * sysdeps/arm/armv7/configure.ac: Likewise.
10252
10253 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10254
10255 * All files with FSF copyright notices: Update copyright dates
10256 using scripts/update-copyrights.
10257 * intl/plural.c: Regenerated.
10258 * locale/programs/charmap-kw.h: Likewise.
10259 * locale/programs/locfile-kw.h: Likewise.
10260
10261 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10262
10263 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10264
10265 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10266
10267 [BZ #17748]
10268 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10269 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10270 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10271 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10272 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10273 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10274 define as weak alias of __fegetenv. Use libm_hidden_weak.
10275 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10276 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10277 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10278 define as weak alias of __fegetenv. Use libm_hidden_weak.
10279 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10280 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10281 define as weak alias of __fegetenv. Use libm_hidden_weak.
10282 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10283 libm_hidden_def.
10284 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10285 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10286 Likewise.
10287 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10288 define as weak alias of __fegetenv. Use libm_hidden_weak.
10289 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10290 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10291 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10292 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10293 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10294 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10295 __fegetenv instead of fegetenv.
10296 (libc_feholdsetround_noex_ctx): Likewise.
10297
10298 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10299
10300 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10301 (Elf_MIPS_ABIFlags_v0): New structure.
10302 (EF_MIPS_FP64): Define.
10303 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10304 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10305 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10306 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10307 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10308 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10309 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10310 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10311 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10312 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10313 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10314 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10315 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10316 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10317 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10318 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10319 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10320 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10321 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10322 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10323 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10324 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10325 field.
10326 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10327 EF_MIPS_FP64.
10328 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10329 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10330 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10331 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10332 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10333 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10334 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10335 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10336 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10337 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10338 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10339 record the current FP ABI extension.
10340 (mips-mode-switch): Define to show if kernel headers support mode
10341 switching.
10342 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10343 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10344 supported SYSV ABI version to 3.
10345 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10346 feature.
10347
10348 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10349 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10350
10351 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10352 path.
10353 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10354
10355 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10356
10357 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10358 __fegetround and redefine to call __fegetround. Remove condition
10359 on [!__NO_MATH_INLINES].
10360 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10361 function.
10362 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10363 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10364 Remove macro.
10365 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10366 instead of <fenv_libc.h>.
10367 (__llrintl): Call fegetround instead of __fegetround.
10368 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10369 instead of <fenv_libc.h>.
10370 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10371 (__lrintl): Call fegetround instead of __fegetround.
10372 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10373 instead of <fenv_libc.h>.
10374 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10375 (__rintl): Call fegetround instead of __fegetround.
10376
10377 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10378
10379 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10380 arrays.
10381
10382 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10383
10384 [BZ #17775]
10385 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10386 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10387 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10388
10389 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10390
10391 * sysdeps/i386/tls-macros.h: Include <features.h>.
10392 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10393 (TLS_IE): Likewise.
10394 (TLS_LD): Likewise.
10395 (TLS_GD): Likewise.
10396 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10397 define for GCC >= 5.0.
10398
10399 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10400
10401 * math/test-fenv.c (test_single_exception, set_single_exc,
10402 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10403 feexcp_mask_test, feenable_test, fe_single_test): Add
10404 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10405 case where they are not used.
10406 * math/libm-test.inc: Likewise.
10407 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10408 unused in the absence of FP rounding/exception support.
10409 * stdio-common/tst-printf-round.c: Likewise.
10410 * stdlib/tst-strtod-round.c: Likewise.
10411 * stdlib/tst-strtod-underflow.c: Likewise.
10412
10413 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10414
10415 [BZ #17723]
10416 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10417 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10418 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10419 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10420 libm_hidden_weak.
10421 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10422 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10423 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10424 libm_hidden_def.
10425 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10426 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10427 libm_hidden_weak.
10428 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10429 Likewise.
10430 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10431 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10432 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10433 libm_hidden_weak.
10434 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10435 libm_hidden_def.
10436 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10437 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10438 (__feraiseexcept): Likewise.
10439 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10440 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10441 libm_hidden_weak.
10442 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10443 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10444 libm_hidden_def.
10445 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10446 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10447 Use libm_hidden_def.
10448 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10449 libm_hidden_def.
10450 (feraiseexcept): Define as weak not strong alias. Use
10451 libm_hidden_weak.
10452 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10453 New inline function. Factored out of ...
10454 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10455 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10456 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10457 feraiseexcept.
10458 * math/w_acos.c (__acos): Likewise.
10459 * math/w_asin.c (__asin): Likewise.
10460 * math/w_ilogb.c (__ilogb): Likewise.
10461 * math/w_j0.c (y0): Likewise.
10462 * math/w_j1.c (y1): Likewise.
10463 * math/w_jn.c (yn): Likewise.
10464 * math/w_log.c (__log): Likewise.
10465 * math/w_log10.c (__log10): Likewise.
10466 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10467 * sysdeps/aarch64/fpu/math_private.h
10468 (libc_feupdateenv_test_aarch64): Likewise.
10469 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10470 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10471 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10472 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10473 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10474 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10475 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10476 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10477 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10478 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10479
10480 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10481
10482 [BZ #17732]
10483 * io/test-utime.c (main): Replace %ld with %jd and cast to
10484 intmax_t.
10485 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10486 * nptl/tst-mutex5.c: Include <stdint.h>.
10487 (do_test): Replace %ld with %jd and cast to intmax_t.
10488 * posix/tst-regex.c (run_test): Likewise.
10489 (run_test_backwards): Likewise.
10490 * rt/tst-clock.c: Include <stdint.h>.
10491 (clock_test): Replace %ld with %jd and cast to intmax_t.
10492 * rt/tst-cpuclock1.c: Include <stdint.h>.
10493 (do_test): Replace %lu with %ju and cast to uintmax_t.
10494 * rt/tst-cpuclock2.c: Include <stdint.h>.
10495 (do_test): Replace %lu with %ju and cast to uintmax_t.
10496 * rt/tst-mqueue1.c: Include <stdint.h>.
10497 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10498 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10499 intmax_t.
10500 * rt/tst-mqueue4.c (do_test): Likewise.
10501 * rt/tst-timer4.c: Include <stdint.h>.
10502 (check_ts): Replace %ld with %jd and cast to intmax_t.
10503 (do_test): Likewise.
10504 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10505 and cast to intmax_t.
10506 * sysdeps/pthread/tst-timer.c (main): Likewise.
10507 * time/clocktest.c (main): Likewise.
10508 * time/tst-posixtz.c (do_test): Likewise.
10509 * timezone/tst-timezone.c (main): Likewise.
10510
10511 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10512 H.J. Lu <hongjiu.lu@intel.com>
10513
10514 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10515 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10516 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10517 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10518 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10519 version if bit_Fast_Unaligned_Load is set.
10520 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10521 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10522 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10523 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10524 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10525 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10527 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10528 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10529 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10530 to 4.
10531 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10532 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10533 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10534 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10535
10536 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10537
10538 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10539 instead of #if to avoid a Wundef warning.
10540 * stdlib/tst-limits.c (do_test): Likewise.
10541
10542 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10543 parallel other exception macros.
10544 (fegetenv): Convert from macro to extern inline so that it applies
10545 retroactively to inline functions already seen by the compiler.
10546 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10547
10548 * posix/Makefile (before-compile): Use $(objpfx) for
10549 posix-conf-vars-def.h.
10550
10551 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10552
10553 * posix/getconf.c (main): Use size_t for type of I.
10554 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10555 NSPEC.
10556
10557 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10558 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10559 * posix/posix-envs.def: Likewise.
10560 * sysdeps/posix/sysconf.c: Likewise.
10561 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10562 (specs): Remove array.
10563 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10564 array.
10565
10566 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10567 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10568 (__sysconf): Use CONF_IS_* macros.
10569
10570 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10571 ($(objpfx)posix-conf-vars-def.h): New target.
10572 * posix/posix-conf-vars.list: New file.
10573 * posix/posix-conf-vars.h: New file.
10574 * posix/confstr.c: Include posix-conf-vars.h.
10575 (confstr): Use CONF_IS_* macros.
10576 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10577 CONF_IS_* macros.
10578 * scripts/gen-posix-conf-vars.awk: New file.
10579
10580 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10581
10582 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10583 fegetround): Add no-op macros to avoid linknamespace issues.
10584
10585 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10586 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10587
10588 * sysdeps/unix/sysv/linux/tile/sysdep.h
10589 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10590 assembly-specific section to avoid a redefinition warning.
10591
10592 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10593 long before casting to pointer to avoid a cast warning.
10594
10595 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10596
10597 * sysdeps/tile/tilegx/Implies: New file.
10598
10599 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10600
10601 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10602
10603 2014-12-23 Florian Weimer <fweimer@redhat.com>
10604
10605 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10606
10607 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10608
10609 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10610 not define.
10611 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10612 <kernel-features.h>.
10613 (__utimes) [__NR_utimes]: Make code unconditional.
10614 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10615 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10616 (__ASSUME_UTIMES): Do not undefine.
10617 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10618 (__ASSUME_UTIMES): Likewise.
10619 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10620 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10621 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10622 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10623
10624 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10625
10626 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10627
10628 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10629
10630 [BZ #17747]
10631 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10632 alias to weak alias for j0l, y0l.
10633 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10634 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10635
10636 [BZ #17746]
10637 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10638 conversion.
10639
10640 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10641
10642 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10643 to zero if not already defined.
10644
10645 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10646
10647 [BZ #17724]
10648 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10649 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10650 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10651 (char *) casts added.
10652 * sysdeps/ieee754/k_standardf.c: New file.
10653 * sysdeps/ieee754/k_standardl.c: Likewise.
10654 * math/Makefile (libm-support): Remove k_standard.
10655 (libm-calls): Add k_standard.
10656
10657 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10658
10659 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10660 Optimize to avoid an unnecessary FPCR read.
10661
10662 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10663
10664 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10665 Optimize to reduce FPCR/FPSR accesses.
10666
10667 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10668
10669 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10670 Call libc_fetestexcept_aarch64.
10671
10672 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10673
10674 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10675 Call libc_fesetround_aarch64.
10676
10677 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10678
10679 [BZ #17733]
10680 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10681 (__bind): Do not define as weak alias.
10682 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10683 define.
10684 (__getsockname): Do not define as weak alias.
10685
10686 2014-12-22 Will Newton <will.newton@linaro.org>
10687
10688 * manual/install.texi: Document that we require bison 2.7
10689 or above.
10690 * INSTALL: Regenerate.
10691 * configure.ac: Use AC_CHECK_PROG_VER instead of
10692 AC_PATH_PROG when checking for bison and check for
10693 version 2.7 or above.
10694 * configure: Regenerate.
10695
10696 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10697
10698 [BZ #17745]
10699 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10700 * sysdeps/tile/ffsll.c (ffsll): To here.
10701
10702 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10703
10704 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10705
10706 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10707 if not defined.
10708 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10709 definition.
10710 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10711 hidden ___tls_get_addr.
10712 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10713 hidden __tls_get_addr.
10714 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10715 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10716 Likewise.
10717
10718 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
10719
10720 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10721 _dl_init call.
10722
10723 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
10724
10725 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10726 from "call _dl_init@PLT".
10727 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10728
10729 2014-12-21 Anders Kaseorg <andersk@mit.edu>
10730
10731 * manual/search.texi: (Array Sort Function): Clarify stable sorting
10732 guarantees.
10733
10734 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
10735
10736 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10737
10738 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10739
10740 [BZ #17744]
10741 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10742 strnlen.
10743
10744 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10745
10746 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10747 of multu on MIPSr6.
10748 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10749 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10750 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10751 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10752 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10753
10754 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
10755
10756 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10757 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10758 (PTR_SUBU): Use subu for mips32r6/mips64r6.
10759 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10760 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10761 mips32r6/mips64r6.
10762 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10763
10764 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
10765
10766 * string/strncat.c (STRNCAT): Simplify implementation.
10767
10768 2014-12-19 David S. Miller <davem@davemloft.net>
10769
10770 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10771 access the quad as both a long double and as a series of 4 words.
10772
10773 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10774 link_map->l_info array access.
10775
10776 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
10777
10778 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10779
10780 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10781 * math/atest-exp2.c (TIMEOUT): Likewise.
10782 * math/atest-sincos.c (TIMEOUT): Likewise.
10783
10784 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10785
10786 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10787 -Wno-error with -fno-builtin-lround.
10788
10789 2014-12-19 Torvald Riegel <triegel@redhat.com>
10790
10791 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10792 Contains futex constants and functions moved over from ...
10793 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
10794 <lowlevellock-futex.h>.
10795 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10796 (lll_timedwait_tid): Add comments and parentheses around macro
10797 arguments.
10798
10799 2014-12-19 Torvald Riegel <triegel@redhat.com>
10800
10801 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10802 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
10803 (__lll_private_flag): Remove.
10804 (lll_futex_wait): Likewise.
10805 (lll_futex_timed_wait): Likewise.
10806 (lll_futex_wake): Likewise.
10807 (lll_futex_requeue): Likewise.
10808 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10809 (__lll_timedwait_tid): Spell out argument names.
10810 (lll_timedwait_tid): Add comments and parentheses around macro
10811 arguments.
10812 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10813 LLL_SHARED and LLL_PRIVATE usable from assembly code.
10814
10815 2014-12-19 Torvald Riegel <triegel@redhat.com>
10816
10817 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10818 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10819 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10820 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10821 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10822 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10823 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10824 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10825 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10826 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10827 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10828 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10829 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10830 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10831 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10832 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10833 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10834 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10835 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10836
10837 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10838
10839 * sysdeps/x86_64/x32/Makefile: New file.
10840
10841 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
10842
10843 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10844 1L with (mp_limb_t) 1.
10845
10846 2014-12-17 Roland McGrath <roland@hack.frob.com>
10847
10848 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10849 * nptl/libc_pthread_init.c: ... here.
10850 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10851 * nptl/register-atfork.c: ... here.
10852
10853 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10854 Use pthread_sigmask rather than INTERNAL_SYSCALL.
10855 Use assert_perror to check its return value.
10856 (__gai_create_helper_thread): Likewise.
10857
10858 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10859
10860 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10861
10862 2014-12-17 Joseph Myers <joseph@codesourcery.com>
10863
10864 [BZ #17725]
10865 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10866 __profil_counter.
10867 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10868 Likewise.
10869 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10870 Likewise.
10871 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10872 Likewise.
10873 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10874 (profil_counter): Likewise.
10875 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10876 (profil_counter): Likewise.
10877 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10878 Likewise.
10879 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10880 Likewise.
10881 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10882 (profil_counter): Likewise.
10883 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10884 Likewise.
10885 [!__profil_counter] (profil_counter): Define as weak alias of
10886 __profil_counter.
10887 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10888 (profil_counter): Rename to __profil_counter.
10889 [!__profil_counter] (profil_counter): Define as weak alias of
10890 __profil_counter.
10891 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10892 (profil_counter): Rename to __profil_counter.
10893 [!__profil_counter] (profil_counter): Define as weak alias of
10894 __profil_counter.
10895 * sysdeps/posix/profil.c: Update comment referring to
10896 profil_counter.
10897 (__profil): Use __profil_counter instead of profil_counter.
10898 * sysdeps/posix/sprofil.c (profil_counter): Rename to
10899 __profil_counter. Use __profil_counter_ushort and
10900 __profil_counter_uint in definitions.
10901 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10902 instead of profil_counter_uint and profil_counter_ushort.
10903
10904 [BZ #17722]
10905 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10906 define as weak alias of __inet_makeaddr.
10907 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10908 as weak alias of __inet_addr.
10909 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
10910 as weak alias of __inet_pton. Use libc_hidden_weak.
10911 * include/arpa/inet.h (__inet_pton): Declare. Use
10912 libc_hidden_proto.
10913 (inet_makeaddr): Don't use libc_hidden_proto.
10914 (__inet_makeaddr): Declare. Use libc_hidden_proto.
10915 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
10916 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
10917 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
10918 Remove variable.
10919 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10920 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10921
10922 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
10923
10924 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
10925
10926 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10927
10928 * stdio-common/bug-vfprintf-nargs.c (do_test):
10929 Cast value to intptr_t to avoid format warning
10930 for usage with PRIdPTR printing macro.
10931
10932 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10933
10934 * libio/tst-widetext.c (do_test):
10935 Use format type %td instead of %Zd for ptrdiff_t
10936 in order to avoid format warning.
10937
10938 2014-12-17 Andreas Schwab <schwab@suse.de>
10939
10940 * nscd/mem.c (gc): Add size_t cast to match printf format.
10941
10942 2014-12-16 Roland McGrath <roland@hack.frob.com>
10943
10944 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
10945 (init): Apply PTR_MANGLE to pointers before storing them.
10946 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
10947 before using them.
10948
10949 2014-12-16 Joseph Myers <joseph@codesourcery.com>
10950
10951 [BZ #17719]
10952 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
10953 define as weak alias of __memrchr.
10954 (__memrchr): Do not define as strong alias of memrchr.
10955 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
10956 Remove variable.
10957 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10958 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10959 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10960
10961 [BZ #17717]
10962 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
10963 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
10964 (if_indextoname): Rename to __if_indextoname and define as weak
10965 alias of __if_indextoname. Use libc_hidden_weak.
10966 (if_freenameindex): Rename to __if_freenameindex and define as
10967 weak alias of __if_freenameindex.
10968 (if_nameindex): Rename to __if_nameindex and define as weak alias
10969 of __if_nameindex.
10970 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
10971 __if_nametoindex and define as weak alias of __if_nametoindex.
10972 Use libc_hidden_weak.
10973 (if_freenameindex): Rename to __if_freenameindex and define as
10974 weak alias of __if_freenameindex.
10975 (if_nameindex): Rename to __if_nameindex and define as weak alias
10976 of __if_nameindex.
10977 (if_indextoname): Rename to __if_indextoname and define as weak
10978 alias of __if_indextoname. Use libc_hidden_weak.
10979 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
10980 __if_nametoindex and define as weak alias of __if_nametoindex.
10981 Use libc_hidden_weak.
10982 (if_freenameindex): Rename to __if_freenameindex and define as
10983 weak alias of __if_freenameindex. Use libc_hidden_weak.
10984 (if_nameindex_netlink): Use __if_freenameindex instead of
10985 if_freenameindex.
10986 (if_nameindex): Rename to __if_nameindex and define as weak alias
10987 of __if_nameindex. Use libc_hidden_weak.
10988 (if_indextoname): Rename to __if_indextoname and define as weak
10989 alias of __if_indextoname. Use libc_hidden_weak.
10990 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
10991 libc_hidden_proto.
10992 [!_ISOMAC] (__if_freenameindex): Likewise.
10993 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
10994 if_nametoindex.
10995 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
10996 variable.
10997 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10998 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10999 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11000 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11001 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11002 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11003 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11004
11005 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11006 Remove variable.
11007 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11008 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11009
11010 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11011
11012 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11013 subscript above bounds'
11014
11015 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11016 bounds.
11017
11018 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11019
11020 * libio/tst-fopenloc.c: Use test-skeleton.c.
11021
11022 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11023 (entry): Rename to ITEM.
11024 (do_test, comp): Adjust.
11025
11026 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11027
11028 2014-12-16 Torvald Riegel <triegel@redhat.com>
11029
11030 * string/tester.c: Include <libc-internal.h>.
11031 (test_memset): Ignore -Wmemset-transposed-args.
11032
11033 2014-12-16 Torvald Riegel <triegel@redhat.com>
11034
11035 * misc/tst-mntent2.c (do_test): Fix warning.
11036
11037 2014-12-16 Torvald Riegel <triegel@redhat.com>
11038
11039 * elf/tst-unique4lib.cc(a): Mark as used.
11040
11041 2014-12-16 Florian Weimer <fweimer@redhat.com>
11042
11043 [BZ #17630]
11044 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11045 names.
11046
11047 2014-12-16 Allan McRae <allan@archlinux.org>
11048
11049 * stdio-common/Makefile (tests): Re-add bug26.
11050
11051 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11052
11053 [BZ #17657]
11054 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11055 static array.
11056
11057 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11058
11059 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11060 (__lll_lock_wait): Likewise.
11061 (__lll_timedlock_wait): Likewise.
11062 (__lll_timedwait_tid): Likewise.
11063 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11064 (__lll_robust_timedlock_wait): Likewise.
11065 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11066 (lll_cond_trylock): Likewise.
11067 (__lll_lock): Likewise.
11068 (__lll_robust_lock): Likewise.
11069 (__lll_cond_lock): Likewise.
11070 (lll_robust_cond_lock): Likewise.
11071 (__lll_timedlock): Likewise.
11072 (__lll_robust_timedlock): Likewise.
11073 (__lll_unlock): Likewise.
11074 (__lll_robust_unlock): Likewise.
11075 (lll_wait_tid): Likewise.
11076 (lll_timedwait_tid): Likewise.
11077
11078 2014-12-15 Torvald Riegel <triegel@redhat.com>
11079
11080 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11081
11082 2014-12-15 Torvald Riegel <triegel@redhat.com>
11083
11084 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11085
11086 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11087
11088 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11089 * stdio-common/tst-sprintf.c: Likewise.
11090
11091 2014-12-15 Torvald Riegel <triegel@redhat.com>
11092
11093 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11094
11095 2014-12-15 Jeff Law <law@redhat.com>
11096
11097 [BZ #16617]
11098 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11099 on the heap. (CVE-2012-3406)
11100 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11101 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11102 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11103
11104 2014-12-15 Will Newton <will.newton@linaro.org>
11105
11106 * manual/install.texi: Bump required version of texinfo
11107 to 4.7 from 4.5.
11108 * INSTALL: Regenerated.
11109 * configure.ac: Check for makeinfo version 4.7 and above.
11110 * configure: Regenerated.
11111
11112 2014-12-12 Roland McGrath <roland@hack.frob.com>
11113
11114 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11115 PREFIX, string constant to insert between directory and name.
11116 * sysdeps/posix/shm_open.c: Update caller.
11117 * sysdeps/posix/shm_unlink.c: Likewise.
11118 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11119 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11120 (SEM_SHM_PREFIX): New macro.
11121 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11122 [$(have-thread-library) = no].
11123 * nptl/Makefile (libpthread-routines): Add shm-directory.
11124 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11125 * sysdeps/nptl/shm-directory.h: New file.
11126 * sysdeps/posix/shm-directory.c
11127 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11128 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11129 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11130 INTERNAL_SYSCALL.
11131 (__where_is_shmfs): Function removed.
11132 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11133 Variables removed.
11134 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11135 Use SHM_GET_NAME.
11136 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11137
11138 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11139 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11140 unconditional for use inside libpthread.
11141 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11142
11143 2014-12-12 Roland McGrath <roland@hack.frob.com>
11144
11145 * nptl/pthread_getaffinity.c: New file.
11146 * nptl/pthread_setaffinity.c: New file.
11147 * nptl/pthread_getname.c: New file.
11148 * nptl/pthread_setname.c: New file.
11149
11150 * nptl/pthread_create.c (START_THREAD_DEFN)
11151 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11152
11153 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11154 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11155
11156 * resolv/res_send.c (send_vc): Disable warning resplen may
11157 be used uninitialized.
11158
11159 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11160
11161 * nptl/tst-mutex6.c
11162 (ATTR_NULL): New define checks ATTR against NULL.
11163 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11164 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11165
11166 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11167
11168 [BZ #17581]
11169 * malloc/hooks.c
11170 (mem2mem_check): Revert my previous change.
11171 (malloc_check_get_size): Revert my previous change.
11172 (mem2chunk_check): Revert my previous change.
11173
11174 2014-12-11 Roland McGrath <roland@hack.frob.com>
11175
11176 * sysdeps/posix/shm-directory.c: New file.
11177 * sysdeps/posix/shm-directory.h: New file.
11178 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11179 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11180 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11181 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11182 Transmute EPERM to EACCES.
11183 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11184 from ...
11185 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11186 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11187
11188 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11189
11190 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11191 pointer and cast to uintptr_t.
11192 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11193 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11194 Add cast to avoid warning.
11195 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11196
11197 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11198
11199 * nptl/semaphore.h: Move to ...
11200 * sysdeps/pthread/semaphore.h: ... here.
11201 * Makefile (installed-headers): Change nptl/semaphore.h to
11202 sysdeps/pthread/semaphore.h.
11203
11204 2014-12-11 Roland McGrath <roland@hack.frob.com>
11205
11206 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11207 generated error format strings.
11208
11209 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11210 -Wformat-extra-args warnings for scanf formats.
11211 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11212 test of zero-length format (duh).
11213 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11214 corner-case scanf format test.
11215 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11216 generated fprintf format string.
11217 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11218 corner-case sprintf format tests.
11219 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11220 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11221 -Wformat-extra-args warnings throughout.
11222 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11223 (CFLAGS-scanf4.c): Likewise.
11224 (CFLAGS-scanf7.c): Likewise.
11225 (CFLAGS-tst-sprintf.c): Likewise.
11226 (CFLAGS-tst-printf.c): Likewise.
11227 (CFLAGS-tst-printfsz.c): Likewise.
11228
11229 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11230
11231 * include/cpio.h: New file.
11232 * include/fmtmsg.h: Likewise.
11233
11234 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11235 corresponding format argument to size_t.
11236 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11237 arguments.
11238 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11239 corresponding format argument to size_t.
11240 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11241 arguments.
11242 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11243 corresponding format argument to size_t.
11244 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11245 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11246 (CFLAGS-tst-mbswcs2.c): Likewise.
11247 (CFLAGS-tst-mbswcs3.c): Likewise.
11248 (CFLAGS-tst-mbswcs4.c): Likewise.
11249 (CFLAGS-tst-mbswcs5.c): Likewise.
11250 (CFLAGS-tst-trans.c): Likewise
11251
11252 2014-12-11 Roland McGrath <roland@hack.frob.com>
11253
11254 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11255 rather than assuming they won't contain any '%'s.
11256
11257 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11258
11259 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11260 inhibit_loop_to_libcall to avoid recursive calls.
11261 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11262 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11263
11264 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11265
11266 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11267 prototype.
11268
11269 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11270
11271 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11272 integer value instead of boolean.
11273
11274 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11275
11276 * malloc/malloc.c: Fix powerof2 check.
11277
11278 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11279
11280 * locale/programs/locfile.h (maybe_swap_uint32):
11281 Remove inline and add unused attribute.
11282
11283 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11284
11285 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11286 Truncating assembler expression to a .long expression.
11287
11288 2014-12-11 Andreas Schwab <schwab@suse.de>
11289
11290 * elf/rtld.c (struct map_args): Constify str member.
11291 (do_preload): Constify fname argument.
11292
11293 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11294
11295 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11296 constants definition.
11297
11298 2014-12-11 Andreas Schwab <schwab@suse.de>
11299
11300 [BZ #16657]
11301 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11302 FORCE_ELISION instead of DO_ELISION.
11303 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11304 Remove.
11305 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11306 Likewise.
11307
11308 * iconvdata/gconv-modules: Remove duplicate entry.
11309
11310 2014-12-11 Will Newton <will.newton@linaro.org>
11311
11312 Merge gettext 0.19.3 into intl/.
11313
11314 This involves a number of cosmetic changes to comments
11315 and ANSI function definitions and prototypes throughout
11316 all the files. The gettext copyright header is used but
11317 with the date ranges taken from the glibc copy.
11318
11319 * NEWS: Add gettext merge to 2.21.
11320 * intl/bindtextdom.c: Switch to gettext copyright.
11321 Use ANSI definitions and prototypes.
11322 Use gl_* locking primitives rather than __libc_* ones.
11323 Use __builtin_expect rather than __glibc_likely/unlikely.
11324 * intl/dcgettext.c: Switch to gettext copyright.
11325 Use ANSI definitions and prototypes.
11326 * intl/dcigettext.c: Switch to gettext copyright.
11327 Use ANSI definitions and prototypes.
11328 (INTDIV0_RAISES_SIGFPE): New define.
11329 Use gl_* locking primitives rather than __libc_* ones.
11330 Include eval-plural.h instead of plural-eval.c.
11331 Use __builtin_expect rather than __glibc_likely/unlikely.
11332 * intl/dcngettext.c: Switch to gettext copyright.
11333 Use ANSI definitions and prototypes.
11334 * intl/dgettext.c: Likewise.
11335 * intl/dngettext.c: Likewise.
11336 * intl/plural-eval.c: Renamed to...
11337 * intl/eval-plural.h: ...this.
11338 * intl/explodename.c: Switch to gettext copyright.
11339 Use ANSI definitions and prototypes.
11340 (_nl_explode_name): Use strchr instead of __rawmemchr.
11341 * intl/finddomain.c: Switch to gettext copyright.
11342 Use ANSI definitions and prototypes.
11343 Use gl_* locking primitives rather than __libc_* ones.
11344 (_nl_find_domain): Use malloc rather than alloca for
11345 allocation of temporary locale name.
11346 * intl/gettext.c: Switch to gettext copyright.
11347 Use ANSI definitions and prototypes.
11348 * intl/gettextP.h: Switch to gettext copyright.
11349 Use ANSI definitions and prototypes.
11350 Use gl_* locking primitives rather than __libc_* ones.
11351 * intl/gmo.h: Switch to gettext copyright.
11352 (struct sysdep_string): Move struct segment_pair outside of
11353 struct definition.
11354 * intl/hash-string.c: Use ANSI definitions and prototypes.
11355 * intl/hash-string.h: Switch to gettext copyright.
11356 Use ANSI definitions and prototypes.
11357 * intl/l10nflist.c: Switch to gettext copyright.
11358 Use ANSI definitions and prototypes.
11359 (_nl_normalize_codeset): Avoid integer overflow.
11360 * intl/loadinfo.h: Switch to gettext copyright.
11361 Use ANSI definitions and prototypes.
11362 (LIBINTL_DLL_EXPORTED): New define.
11363 (PATH_SEPARATOR): New define.
11364 * intl/loadmsgcat.c: Switch to gettext copyright.
11365 * intl/localealias.c: Switch to gettext copyright.
11366 Use ANSI definitions and prototypes.
11367 (_nl_expand_alias): Use PATH_SEPARATOR.
11368 * intl/ngettext.c: Switch to gettext copyright.
11369 Use ANSI definitions and prototypes.
11370 * intl/plural-exp.c: Likewise.
11371 * intl/plural-exp.h: Switch to gettext copyright.
11372 Use ANSI definitions and prototypes.
11373 (struct expression): Move definition of enum operator outside
11374 of struct definition.
11375 * intl/plural.c: Regenerate.
11376 * intl/plural.y: Switch to gettext copyright.
11377 Use ANSI definitions and prototypes.
11378 Port to bison 3.0.
11379 * intl/textdomain.c: Switch to gettext copyright.
11380 Use ANSI definitions and prototypes.
11381 Use gl_* locking primitives rather than __libc_* ones.
11382
11383 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11384
11385 * debug/warning-nop.c: Add used atrribute.
11386
11387 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11388
11389 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11390
11391 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11392 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11393 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11394
11395 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11396 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11397
11398 [BZ #17634]
11399 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11400 Undefine after defining function. Define as weak alias of
11401 __wcschr. Use libc_hidden_weak.
11402 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11403 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11404 (libc_hidden_def): Also define __GI___wcschr alias.
11405 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11406 __wcschr and define as weak alias of __wcschr.
11407 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11408 __wcschr.
11409 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11410 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11411 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11412 libc_hidden_weak. Do not use libc_hidden_def.
11413 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11414 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11415 __GI___wcschr alias.
11416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11417 [IS_IN (libc)] (wcschr): Define as macro expanding to
11418 __redirect_wcschr.
11419 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11420 [IS_IN (libc)] (__wcschr_power6): Likewise.
11421 [IS_IN (libc)] (__wcschr_power7): Likewise.
11422 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11423 instead of wcschr.
11424 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11425 __libc_wcschr.
11426 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11427 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11428 __wcschr and define as weak alias of __wcschr. Use
11429 libc_hidden_builtin_def.
11430 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11431 as weak alias of __wcschr. Use libc_hidden_weak.
11432 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11433 wcschr.
11434 * time/era.c (_nl_init_era_entries): Likewise.
11435 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11436 variable.
11437 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11438 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11439
11440 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11441
11442 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11443 format for long int variable.
11444
11445 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11446
11447 [BZ #10672]
11448 * manual/search.texi: (Array Sort Function): Remove claim how to make
11449 qsort stable.
11450
11451 2014-12-10 Andreas Schwab <schwab@suse.de>
11452
11453 [BZ #12847]
11454 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11455 user-controlled locks.
11456
11457 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11458
11459 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11460 register.
11461
11462 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11463
11464 * configure.ac (--disable-werror): New configure option.
11465 (enable_werror): New AC_SUBST.
11466 * configure: Regenerated.
11467 * config.make.in (enable-werror): New variable.
11468 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11469 -Wno-error=undef.
11470 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11471 * manual/install.texi (Configuring and compiling): Document
11472 --disable-werror.
11473 * INSTALL: Regenerated.
11474 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11475 (CFLAGS-tst-chk2.c): Likewise.
11476 (CFLAGS-tst-chk3.c): Likewise.
11477 (CFLAGS-tst-chk4.cc): Likewise.
11478 (CFLAGS-tst-chk5.cc): Likewise.
11479 (CFLAGS-tst-chk6.cc): Likewise.
11480 (CFLAGS-tst-lfschk1.c): Likewise.
11481 (CFLAGS-tst-lfschk2.c): Likewise.
11482 (CFLAGS-tst-lfschk3.c): Likewise.
11483 (CFLAGS-tst-lfschk4.cc): Likewise.
11484 (CFLAGS-tst-lfschk5.cc): Likewise.
11485 (CFLAGS-tst-lfschk6.cc): Likewise.
11486
11487 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11488 (main): Disable -Wdeprecated-declarations around calls to
11489 register_printf_function.
11490
11491 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11492 (do_test): Disable -Wdiv-by-zero around some calls to
11493 fwrite_unlocked and fread_unlocked.
11494
11495 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11496 (DIAG_POP_NEEDS_COMMENT): Likewise.
11497 (_DIAG_STR1): Likewise.
11498 (_DIAG_STR): Likewise.
11499 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11500 * stdio-common/bug21.c: Include <libc-internal.h>.
11501 (do_test): Disable -Wformat around call to sscanf.
11502 * stdio-common/scanf14.c: Include <libc-internal.h>.
11503 (main): Disable -Wformat around some calls to scanf functions.
11504
11505 2014-12-09 Torvald Riegel <triegel@redhat.com>
11506
11507 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11508
11509 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11510
11511 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11512 stack variable alignment.
11513
11514 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11515
11516 [BZ #17682]
11517 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11518 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11519 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11520 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11521 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11522 __getrlimit instead of getrlimit.
11523 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11524 __gettimeofday instead of gettimeofday.
11525 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11526 Likewise.
11527 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11528 Likewise.
11529 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11530 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11531 Remove variable.
11532 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11533 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11534
11535 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11536
11537 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11538 for wide-character tests.
11539
11540 2014-12-04 Roland McGrath <roland@hack.frob.com>
11541
11542 * io/openat64.c: #include <libc-internal.h>
11543 (__openat64): Prototypify. Use ignore_value on MODE.
11544 * io/openat.c: Likewise.
11545 * misc/reboot.c: #include <libc-internal.h>
11546 (reboot): Prototypify. Use ignore_value on HOWTO.
11547 * misc/ptrace.c: #include <libc-internal.h>
11548 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11549
11550 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11551
11552 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11553 XPG4, UNIX98 and XOPEN2K.
11554 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11555 Remove variable.
11556 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11557
11558 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11559
11560 * libio/fileops.c: Use ISO C style for function definitions.
11561 * libio/iofopen.c: Likewise.
11562 * libio/wfileops.c: Likewise.
11563
11564 [BZ #17653]
11565 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11566 offset on EOF.
11567 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11568 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11569 (fgets_func): Function pointer to fgets and fgetws.
11570 (do_ftell_test): Add test to verify ftell value after read
11571 EOF.
11572 (do_test): Set fgets_func.
11573
11574 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11575 O_TRUNC flag for w and w+ modes.
11576 (do_rewind_test): Likewise.
11577 (do_ftell_test): Likewise.
11578 (do_write_test): Likewise.
11579
11580 [BZ #17647]
11581 * libio/fileops.c (do_ftell): Seek only when there are
11582 unflushed writes.
11583 * libio/wfileops.c (do_ftell_wide): Likewise.
11584 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11585 test case.
11586 (do_one_test): Call it.
11587
11588 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11589
11590 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11591 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11592 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11593 Remove variable.
11594 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11595 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11596 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11597
11598 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11599
11600 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11601 Remove variable.
11602 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11603
11604 [BZ #17668]
11605 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11606 as weak alias of __getifaddrs. Use libc_hidden_weak.
11607 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11608 __freeifaddrs. Use libc_hidden_weak.
11609 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11610 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11611 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11612 __freeifaddrs. Use libc_hidden_weak.
11613 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11614 __getifaddrs and define as weak alias of __getifaddrs. Use
11615 libc_hidden_weak.
11616 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11617 __freeifaddrs. Use libc_hidden_weak.
11618 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11619 Remove variable.
11620 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11621 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11622
11623 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11624
11625 [BZ #17601]
11626 * sysdeps/mips/start.S (__start): Use indirect jump to call
11627 __libc_start_main.
11628
11629 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11630
11631 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11632
11633 * nptl/tst-mutex1.c: Include <stdbool.h>.
11634 [!ATTR] (ATTR_NULL): New macro.
11635 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11636 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11637 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11638
11639 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11640 to char *.
11641
11642 [BZ #17665]
11643 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11644 Change conditional to [__USE_MISC].
11645
11646 [BZ #17664]
11647 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11648 fgets_unlocked.
11649 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11650 __fgets_unlocked.
11651 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11652 fgets_unlocked.
11653 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11654 Remove variable.
11655 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11656 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11657 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11658 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11659 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11660 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11661 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11662 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11663 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11664
11665 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11666
11667 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11668
11669 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11670 Remove strpbrk objects.
11671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11672 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11673 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11674 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11675 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11676 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11677
11678 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11679 Remove strcspn objects.
11680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11681 (__libc_ifunc_impl_list): Remove strcspn implementation.
11682 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11683 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11684 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11685 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11686
11687 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11688 Remove strspn objetcs.
11689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11690 (__libc_ifunc_impl_list): Remove strspn implementation.
11691 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11692 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11693 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11694 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11695
11696 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11697
11698 [BZ #17581]
11699 * malloc/hooks.c
11700 (mem2mem_check): Add a terminator to the chain of checking blocks.
11701 (malloc_check_get_size): Use it here.
11702 (mem2chunk_check): Ditto.
11703
11704 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11705
11706 * sysdeps/powerpc/powerpc64/strtok.S: New file.
11707 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11708
11709 2014-11-29 Carlos O'Donell <carlos@redhat.com>
11710
11711 * bits/ioctl-types.h: Indent preprocessor directives correctly.
11712
11713 * nptl/nptl-init.c: Include libc-internal.h.
11714 (__pthread_initialize_minimal_internal): Use ROUND_UP.
11715
11716 * elf/ldconfig.c (search_dir): Expand comment.
11717
11718 2014-11-29 Joseph Myers <joseph@codesourcery.com>
11719
11720 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11721 variable.
11722 (linknamespace-symlist-stdlibs-tests): Likewise.
11723 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11724 instead of $(objpfx)symlist-stdlibs.
11725 (linknamespace-libs-isoc): New variable.
11726 (linknamespace-libs): Use $(linknamespace-libs-isoc).
11727 (linknamespace-libs-ISO): New variable.
11728 (linknamespace-libs-ISO99): Likewise.
11729 (linknamespace-libs-ISO11): Likewise.
11730 (linknamespace-libs-XPG3): Likewise.
11731 (linknamespace-libs-XPG4): Likewise.
11732 (linknamespace-libs-POSIX): Likewise.
11733 (linknamespace-libs-UNIX98): Likewise.
11734 (linknamespace-libs-XOPEN2K): Likewise.
11735 (linknamespace-libs-POSIX2008): Likewise.
11736 (linknamespace-libs-XOPEN2K8): Likewise.
11737 ($(objpfx)symlist-stdlibs): Replace by
11738 $(linknamespace-symlist-stdlibs-tests). Use
11739 $(linknamespace-libs-$*) as set of libraries.
11740 ($(linknamespace-header-tests)): Update dependencies. Use
11741 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11742 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11743 * conform/linknamespace.pl: Remove comment about considering
11744 definitions of symbols from irrelevant libraries.
11745
11746 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
11747
11748 [BZ #13862]
11749 * elf/dl-tls.c: Include <atomic.h>.
11750 (oom): Remove #ifdef SHARED/#endif.
11751 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11752 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
11753 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11754 big enough.
11755 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11756 * nptl/Makefile (tests): Add tst-stack4.
11757 (modules-names): Add tst-stack4mod.
11758 ($(objpfx)tst-stack4): New.
11759 (tst-stack4mod.sos): Likewise.
11760 ($(objpfx)tst-stack4.out): Likewise.
11761 ($(tst-stack4mod.sos)): Likewise.
11762 (clean): Likewise.
11763 * nptl/tst-stack4.c: New file.
11764 * nptl/tst-stack4mod.c: Likewise.
11765
11766 2014-11-27 J. Brown <jb999@gmx.de>
11767
11768 * sysdeps/x86/bits/string.h: Add recent CPUs.
11769
11770 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11771
11772 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11773 sigblock.
11774
11775 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11776 feof.
11777
11778 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11779 variable.
11780
11781 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11782
11783 * nscd/connections.c: Include libc-internal.h because of macro
11784 usage ignore_value.
11785
11786 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11787
11788 * string/bits/string3.h (__warn_memset_zero_len): Don't
11789 declare for gcc newer than 5.0.
11790 (memset): Don't test for zero-length __LEN for gcc newer than
11791 5.0.
11792
11793 2014-11-27 Joseph Myers <joseph@codesourcery.com>
11794
11795 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11796 size_t for %zu format.
11797
11798 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11799 difference, not %ju.
11800
11801 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11802
11803 * include/libc-internal.h (ignore_value): New macro.
11804 * nscd/connections.c (restart): Wrap calls to setuid and setgid
11805 with ignore_value.
11806
11807 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11808 definition.
11809
11810 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11811 pthread_cleanup_push to void *.
11812
11813 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11814 Undefine.
11815
11816 [BZ #16619]
11817 [BZ #16740]
11818 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11819 instead of 1L << 52.
11820
11821 * libio/bug-rewind.c (do_test): Check fwscanf return values.
11822 * libio/bug-rewind2.c (do_test): Likewise.
11823
11824 * debug/test-stpcpy_chk-ifunc.c: Remove file.
11825 * debug/test-strcpy_chk-ifunc.c: Likewise.
11826 * wcsmbs/test-wcschr-ifunc.c: Likewise.
11827 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11828 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11829 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11830 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11831 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11832 * Rules [$(multi-arch) = no] (tests): Do not filter out
11833 $(tests-ifunc).
11834 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11835 * debug/Makefile (tests-ifunc): Remove variable.
11836 (tests): Do not add $(tests-ifunc).
11837 * wcsmbs/Makefile (tests-ifunc): Remove variable.
11838 (tests): Do not add $(tests-ifunc).
11839 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11840 [TEST_IFUNC]: Remove conditionals.
11841 * string/test-string.h (TEST_IFUNC): Remove macro.
11842 [TEST_IFUNC]: Remove conditionals.
11843
11844 * string/test-strchr.c [!WIDE] (L): New macro.
11845 [WIDE] (L): Likewise.
11846 (check1): Use CHAR instead of char. Use L on string and character
11847 constants.
11848
11849 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
11850
11851 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11852 tests.
11853 * sysdeps/powerpc/bits/atomic.h
11854 (__arch_atomic_exchange_and_add_32_acq): Add definition.
11855 (__arch_atomic_exchange_and_add_32_rel): Likewise.
11856 (atomic_exchange_and_add_acq): Likewise.
11857 (atomic_exchange_and_add_rel): Likewise.
11858 * sysdeps/powerpc/powerpc32/bits/atomic.h
11859 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11860 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11861 * sysdeps/powerpc/powerpc64/bits/atomic.h
11862 (__arch_atomic_exchange_and_add_64_acq): Add definition.
11863 (__arch_atomic_exchange_and_add_64_rel): Likewise.
11864
11865 2014-11-26 Torvald Riegel <triegel@redhat.com>
11866
11867 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11868 Change synchronization of __sched_fifo_min_prio and
11869 __sched_fifo_max_prio.
11870 * nptl/pthread_mutexattr_getprioceiling.c
11871 (pthread_mutexattr_getprioceiling): Likewise.
11872 * nptl/pthread_mutexattr_setprioceiling.c
11873 (pthread_mutexattr_setprioceiling): Likewise.
11874 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11875 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11876 Likewise.
11877
11878 2014-11-26 Joseph Myers <joseph@codesourcery.com>
11879
11880 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11881 void.
11882
11883 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11884
11885 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11886 third argument const.
11887
11888 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
11889
11890 fnmatch: work around GCC compiler warning bug with uninit var
11891 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11892 This works around a bug with x86-64 GCC 4.9.2 and earlier
11893 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11894 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11895 used uninitialized in this function [-Wmaybe-uninitialized]".
11896
11897 2014-11-25 Joseph Myers <joseph@codesourcery.com>
11898
11899 * posix/bug-regex31.c (main): Return RES not 0.
11900
11901 2014-11-25 Anton Blanchard <anton@samba.org>
11902
11903 * sysdeps/powerpc/bits/atomic.h
11904 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11905
11906 2014-11-24 Sterling Augustine <saugustine@google.com>
11907
11908 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
11909
11910 2014-11-24 Ryan Cumming <etaoins@gmail.com>
11911
11912 [BZ #17608]
11913 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
11914
11915 2014-11-24 Joseph Myers <joseph@codesourcery.com>
11916
11917 [BZ #17633]
11918 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
11919 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
11920 variable.
11921 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11922 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11923
11924 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11925
11926 * string/strncpy.c (strncpy): Improve performance by using memset.
11927
11928 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
11929
11930 * string/strcpy.c (strcpy):
11931 Improve performance by using strlen and memcpy.
11932
11933 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
11934
11935 * string/strcoll_l.c (get_next_seq): __always_inline.
11936 * string/strcoll_l.c (do_compare): __always_inline.
11937
11938 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11939
11940 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
11941 defined.
11942 * include/mqueue.h: Likewise.
11943 * include/stdlib.h: Likewise.
11944
11945 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
11946 (get_null_defines): Adjust.
11947 * sunrpc/Makefile: Adjust comment.
11948 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
11949 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
11950 (CFLAGS-interp.c): Likewise.
11951 (CFLAGS-ldconfig.c): Likewise.
11952 (CPPFLAGS-.os): Likewise.
11953 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11954 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11955 * extra-modules.mk (extra-modules.mk): Likewise.
11956 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
11957 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
11958 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
11959 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
11960 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
11961 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
11962 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
11963 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
11964 * iconvdata/Makefile (CPPFLAGS): Likewise.
11965 (cpp-srcs-left): Add libof for all iconvdata routines.
11966 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
11967 * include/assert.h: Likewise.
11968 * include/ctype.h: Likewise.
11969 * include/errno.h: Likewise.
11970 * include/libc-symbols.h: Likewise.
11971 * include/math.h: Likewise.
11972 * include/netdb.h: Likewise.
11973 * include/resolv.h: Likewise.
11974 * include/stdio.h: Likewise.
11975 * include/stdlib.h: Likewise.
11976 * include/string.h: Likewise.
11977 * include/sys/stat.h: Likewise.
11978 * include/wctype.h: Likewise.
11979 * intl/l10nflist.c: Likewise.
11980 * libidn/idn-stub.c: Likewise.
11981 * libio/libioP.h: Likewise.
11982 * nptl/libc_multiple_threads.c: Likewise.
11983 * nptl/pthreadP.h: Likewise.
11984 * posix/regex_internal.h: Likewise.
11985 * resolv/res_hconf.c: Likewise.
11986 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
11987 * sysdeps/arm/memmove.S: Likewise.
11988 * sysdeps/arm/sysdep.h: Likewise.
11989 * sysdeps/generic/_itoa.h: Likewise.
11990 * sysdeps/generic/symbol-hacks.h: Likewise.
11991 * sysdeps/gnu/errlist.awk: Likewise.
11992 * sysdeps/gnu/errlist.c: Likewise.
11993 * sysdeps/i386/i586/memcpy.S: Likewise.
11994 * sysdeps/i386/i586/memset.S: Likewise.
11995 * sysdeps/i386/i686/memcpy.S: Likewise.
11996 * sysdeps/i386/i686/memmove.S: Likewise.
11997 * sysdeps/i386/i686/mempcpy.S: Likewise.
11998 * sysdeps/i386/i686/memset.S: Likewise.
11999 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12000 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12001 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12002 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12003 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12004 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12005 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12006 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12007 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12009 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12010 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12011 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12012 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12013 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12014 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12015 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12016 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12017 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12018 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12019 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12020 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12021 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12022 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12023 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12025 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12026 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12028 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12029 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12031 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12032 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12033 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12034 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12035 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12036 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12037 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12038 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12039 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12040 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12041 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12042 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12043 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12044 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12045 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12046 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12047 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12048 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12049 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12050 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12051 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12052 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12053 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12054 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12055 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12056 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12057 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12058 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12059 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12060 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12061 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12062 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12063 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12064 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12065 * sysdeps/posix/closedir.c: Likewise.
12066 * sysdeps/posix/opendir.c: Likewise.
12067 * sysdeps/posix/readdir.c: Likewise.
12068 * sysdeps/posix/rewinddir.c: Likewise.
12069 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12070 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12071 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12072 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12073 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12074 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12075 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12076 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12077 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12078 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12079 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12080 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12081 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12082 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12083 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12084 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12085 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12086 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12088 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12089 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12090 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12091 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12092 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12095 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12096 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12097 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12099 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12105 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12106 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12107 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12108 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12109 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12110 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12111 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12112 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12113 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12114 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12115 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12116 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12117 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12118 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12119 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12120 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12121 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12122 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12123 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12124 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12125 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12126 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12127 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12128 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12129 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12130 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12131 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12132 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12133 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12134 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12135 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12136 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12137 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12138 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12139 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12140 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12141 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12142 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12143 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12144 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12145 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12146 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12147 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12148 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12149 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12150 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12151 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12152 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12153 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12154 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12155 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12156 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12157 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12158 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12159 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12160 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12161 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12162 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12163 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12164 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12165 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12167 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12168 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12169 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12170 * sysdeps/unix/alpha/sysdep.S: Likewise.
12171 * sysdeps/unix/alpha/sysdep.h: Likewise.
12172 * sysdeps/unix/make-syscalls.sh: Likewise.
12173 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12174 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12175 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12176 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12177 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12178 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12179 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12180 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12181 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12182 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12183 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12184 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12185 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12186 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12187 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12188 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12189 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12190 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12191 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12192 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12193 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12194 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12195 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12196 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12197 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12198 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12199 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12202 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12203 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12204 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12205 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12206 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12207 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12208 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12210 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12211 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12212 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12213 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12214 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12215 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12216 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12217 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12218 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12219 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12220 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12223 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12224 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12225 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12226 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12227 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12228 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12229 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12231 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12232 * sysdeps/x86_64/memcpy.S: Likewise.
12233 * sysdeps/x86_64/memmove.c: Likewise.
12234 * sysdeps/x86_64/memset.S: Likewise.
12235 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12236 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12237 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12238 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12239 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12240 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12241 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12242 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12243 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12244 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12245 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12246 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12247 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12248 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12249 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12250 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12251 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12252 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12253 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12254 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12255 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12256 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12257 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12258 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12259 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12260 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12261 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12262 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12263 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12264 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12265 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12266 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12267 * sysdeps/x86_64/strcmp.S: Likewise.
12268
12269 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12270
12271 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12272 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12273 * elf/rtld-Rules: Likewise.
12274 * elf/setup-vdso.h: Likewise.
12275 * include/assert.h: Likewise.
12276 * include/bits/stdlib-float.h: Likewise.
12277 * include/errno.h: Likewise.
12278 * include/sys/stat.h: Likewise.
12279 * include/unistd.h: Likewise.
12280 * sysdeps/aarch64/setjmp.S: Likewise.
12281 * sysdeps/alpha/setjmp.S: Likewise.
12282 * sysdeps/arm/__longjmp.S: Likewise.
12283 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12284 * sysdeps/arm/setjmp.S: Likewise.
12285 * sysdeps/arm/sysdep.h: Likewise.
12286 * sysdeps/generic/_itoa.h: Likewise.
12287 * sysdeps/generic/dl-sysdep.h: Likewise.
12288 * sysdeps/generic/ldsodefs.h: Likewise.
12289 * sysdeps/i386/dl-tls.h: Likewise.
12290 * sysdeps/i386/setjmp.S: Likewise.
12291 * sysdeps/m68k/setjmp.c: Likewise.
12292 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12293 * sysdeps/mach/hurd/opendir.c: Likewise.
12294 * sysdeps/posix/getcwd.c: Likewise.
12295 * sysdeps/posix/opendir.c: Likewise.
12296 * sysdeps/posix/profil.c: Likewise.
12297 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12298 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12299 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12300 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12301 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12302 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12303 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12304 * sysdeps/s390/dl-tls.h: Likewise.
12305 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12306 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12307 * sysdeps/sh/sh3/setjmp.S: Likewise.
12308 * sysdeps/sh/sh4/setjmp.S: Likewise.
12309 * sysdeps/unix/alpha/sysdep.h: Likewise.
12310 * sysdeps/unix/arm/sysdep.S: Likewise.
12311 * sysdeps/unix/i386/sysdep.S: Likewise.
12312 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12313 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12314 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12315 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12316 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12317 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12318 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12319 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12320 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12321 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12322 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12323 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12324 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12327 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12330 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12331 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12332 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12335 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12336 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12337 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12338 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12339 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12340 * sysdeps/x86_64/setjmp.S: Likewise.
12341
12342 * include/math.h: Use IS_IN instead of IS_IN_libm.
12343 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12344 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12345 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12346 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12347 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12348 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12349 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12350 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12351 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12352 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12353 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12354 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12355 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12356 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12357 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12358 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12359 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12361 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12362 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12363 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12364 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12365 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12366 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12367 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12368 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12370 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12371 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12372 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12373 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12374 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12375 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12377 Likewise.
12378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12379 Likewise.
12380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12381 Likewise.
12382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12383 Likewise.
12384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12385 Likewise.
12386 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12387 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12388 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12389 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12390 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12391 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12397 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12398 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12399 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12400 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12401 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12402 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12403 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12404 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12405 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12406 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12407 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12408 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12409 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12410 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12412 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12413
12414 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12415 * nptl/pthreadP.h: Likewise.
12416 * nptl_db/structs.def: Likewise.
12417 * sysdeps/arm/sysdep.h: Likewise.
12418 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12419 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12420 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12421 * sysdeps/unix/alpha/sysdep.h: Likewise.
12422 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12424 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12425 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12426 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12427 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12428 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12429 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12430 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12431 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12432 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12433 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12434 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12435 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12438 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12440 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12443 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12444 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12445 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12446 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12447 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12448
12449 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12450 * nptl/pthreadP.h: Likewise.
12451 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12452 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12453 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12454 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12455 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12456 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12457 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12458 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12459 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12460 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12461 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12462 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12464 Likewise.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12466 Likewise.
12467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12468 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12469 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12470 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12471 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12472 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12473 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12474 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12475
12476 * dlfcn/dladdr.c: Use IS_IN.
12477 * dlfcn/dladdr1.c: Likewise.
12478 * dlfcn/dlclose.c: Likewise.
12479 * dlfcn/dlerror.c: Likewise.
12480 * dlfcn/dlinfo.c: Likewise.
12481 * dlfcn/dlmopen.c: Likewise.
12482 * dlfcn/dlopen.c: Likewise.
12483 * dlfcn/dlsym.c: Likewise.
12484 * dlfcn/dlvsym.c: Likewise.
12485
12486 * include/ifaddrs.h: Use IS_IN.
12487 * inet/check_pf.c: Likewise.
12488 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12489 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12490
12491 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12492 IS_IN_ldconfig.
12493 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12494 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12495
12496 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12497 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12498 IS_IN (libc).
12499
12500 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12501
12502 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12503 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12504 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12505 * include/libc-symbols.h (IS_IN_LIB): New macro.
12506 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12507 * include/netdb.h: Likewise.
12508 * include/stap-probe.h: Remove all uses of IN_LIB.
12509
12510 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12511 instead of IN_MODULE.
12512 * include/libc-symbols.h (IN_MODULE): Define using
12513 MODULE_NAME.
12514 (PASTE_NAME, PASTE_NAME1): New macros.
12515 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12516 of IN_LIB.
12517 (STAP_PROBE_ASM): Likewise.
12518
12519 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12520
12521 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12522 __mach_init in dlopened libc.
12523
12524 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12525
12526 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12527 * sysdeps/arm/preconfigure: Regenerate.
12528
12529 2014-11-21 Roland McGrath <roland@hack.frob.com>
12530
12531 * nptl/pthread_create.c (__pthread_create_2_1): Set
12532 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12533 when copying values from IATTR into PD.
12534
12535 2014-11-21 Will Newton <will.newton@linaro.org>
12536 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12537
12538 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12539 Refactor inline-asm. Also add comment.
12540
12541 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12542 ElfW macro instead of hardcoded Elf64 types.
12543 (la_aarch64_gnu_pltenter): Likewise.
12544 * sysdeps/aarch64/dl-machine.h
12545 (elf_machine_runtime_setup): Use ElfW(Addr).
12546
12547 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12548 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12549 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12550 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12551 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12552 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12553 (R_AARCH64_TLS_DTPMOD): This.
12554 (R_AARCH64_TLS_DTPREL64): Rename to ...
12555 (R_AARCH64_TLS_DTPREL): This.
12556 (R_AARCH64_TLS_TPREL64): Rename to ...
12557 (R_AARCH64_TLS_TPREL): This.
12558 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12559 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12560 R_AARCH64_TLS_TPREL64.
12561 (elf_machine_rela): Likewise.
12562
12563 2014-11-21 Torvald Riegel <triegel@redhat.com>
12564
12565 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12566 by setting it to 0. 64b atomics are not supported currently.
12567
12568 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12569
12570 [BZ #16469]
12571 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12572 search domain names.
12573
12574 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12575
12576 [BZ #16469]
12577 * NEWS: Update.
12578 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12579 trailing dot.
12580 * posix/tst-getaddrinfo5.c: New.
12581 * posix/Makefile (tests): Add it.
12582
12583 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12584
12585 [BZ #14498]
12586 * NEWS: Fixed.
12587 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12588 after parsing line but before break_if_match.
12589 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12590 if there is a protocol mismatch.
12591
12592 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12593
12594 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12595 because the potential race is on the user-supplied stream.
12596
12597 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12598
12599 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12600 string literal if not passed a buffer.
12601 * manual/job.texi (ctermid): Update reasoning, note deviation
12602 from posix, suggest mtasurace when not passed a buffer, for
12603 future non-preliminary safety notes.
12604
12605 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12606
12607 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12608 of not passing it a buffer.
12609 Reported by Peng Haitao.
12610
12611 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12612
12613 * manual/Makefile ($(objpfx)stamp-summary): Require
12614 check-safety.sh to pass.
12615 * manual/check-safety.sh: Wish for verification that every
12616 @deftypefn and @deftypefun is followed by a @safety remark.
12617
12618 2014-11-20 Roland McGrath <roland@hack.frob.com>
12619
12620 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12621
12622 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12623 PTHREAD_CANCEL_ASYNCHRONOUS.
12624 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12625 send SIGCANCEL.
12626
12627 * nptl/default-sched.h: New file.
12628 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12629 * nptl/pthread_create.c: Include it.
12630 (__pthread_create_2_1): Use collect_default_sched instead of making
12631 Linux syscalls here directly.
12632
12633 2014-11-20 Torvald Riegel <triegel@redhat.com>
12634
12635 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12636 __pthread_once): Use C11 atomics.
12637
12638 2014-11-20 Torvald Riegel <triegel@redhat.com>
12639
12640 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12641
12642 2014-11-20 Torvald Riegel <triegel@redhat.com>
12643
12644 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12645 atomic_thread_fence_acquire, atomic_thread_fence_release,
12646 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12647 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12648 atomic_compare_exchange_weak_relaxed,
12649 atomic_compare_exchange_weak_acquire,
12650 atomic_compare_exchange_weak_release,
12651 atomic_exchange_acquire, atomic_exchange_release,
12652 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12653 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12654 atomic_fetch_and_acquire,
12655 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12656
12657 2014-11-20 Torvald Riegel <triegel@redhat.com>
12658
12659 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12660 USE_ATOMIC_COMPILER_BUILTINS): Define.
12661 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12662 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12663 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12664 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12665 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12666 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12667 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12668 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12669 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12670 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12671 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12672 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12673 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12674 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12675 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12676 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12677 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12678 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12679 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12680 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12681 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12682 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12683 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12684 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12685 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12686 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12687 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12688 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12689 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12690 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12691 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12692 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12693 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12694 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12695 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12696 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12697 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12698 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12699 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12700 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12701
12702 2014-11-19 Roland McGrath <roland@hack.frob.com>
12703
12704 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12705 the sched_priority value here. It was already checked when the user
12706 called pthread_attr_setschedparam.
12707
12708 * nptl/tst-bad-schedattr.c: New file.
12709 * nptl/Makefile (tests): Add it.
12710
12711 2014-11-19 Carlos O'Donell <carlos@redhat.com>
12712 Florian Weimer <fweimer@redhat.com>
12713 Joseph Myers <joseph@codesourcery.com>
12714 Adam Conrad <adconrad@0c3.net>
12715 Andreas Schwab <schwab@suse.de>
12716 Brooks <bmoses@google.com>
12717
12718 [BZ #17625]
12719 * wordexp-test.c (__dso_handle): Add prototype.
12720 (__register_atfork): Likewise.
12721 (__app_register_atfork): New function.
12722 (registered_forks): New global.
12723 (register_fork): New function.
12724 (test_case): Add 3 new tests for WRDE_CMDSUB.
12725 (main): Call __app_register_atfork.
12726 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12727 fork count is non-zero fail the test.
12728 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12729 is set.
12730 (parse_dollars): Remove check for WRDE_NOCMD.
12731 (parse_dquote): Likewise.
12732
12733 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12734
12735 * Makeconfig (built-modules): List non-library modules to be
12736 built.
12737 (module-cppflags): Include libc-modules.h for
12738 everything except shlib-versions.v.i.
12739 (CPPFLAGS): Use it.
12740 (before-compile): Add libc-modules.h.
12741 ($(common-objpfx)libc-modules.h,
12742 $(common-objpfx)libc-modules.stmp): New targets.
12743 (common-generated): Add libc-modules.h and libc-modules.stmp.
12744 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12745 * include/libc-symbols.h: Don't include libc-modules.h.
12746 * include/libc-modules.h: Remove file.
12747 * scripts/gen-libc-modules.awk: New script to generate
12748 libc-modules.h.
12749 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12750 Depend on libc-modules.stmp.
12751
12752 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12753
12754 * Makeconfig (in-module): Get value of libof set for the
12755 translation unit.
12756 (CPPFLAGS): Use $(in-module).
12757 * Makerules: Don't suffix routine names for nonlib.
12758 * include/libc-modules.h: New file.
12759 * include/libc-symbols.h: Include libc-modules.h
12760 (IS_IN): New macro to replace IS_IN_* macros.
12761 * elf/Makefile: Set libof-* for each routine.
12762 * elf/rtld-Rules: Likewise.
12763 * extra-modules.mk: Likewise.
12764 * iconv/Makefile: Likewise.
12765 * iconvdata/Makefile: Likewise.
12766 * locale/Makefile: Likewise.
12767 * malloc/Makefile: Likewise.
12768 * nss/Makefile: Likewise.
12769 * sysdeps/gnu/Makefile: Likewise.
12770 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12771 * sysdeps/unix/sysv/linux/Makefile: Likewise.
12772 * sysdeps/s390/s390-64/Makefile: Likewise.
12773 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
12774 CPPFLAGS for nscd instead of nonlib.
12775
12776 2014-11-18 Roland McGrath <roland@hack.frob.com>
12777
12778 * nptl/createthread.c: New file.
12779
12780 * nptl/createthread.c: Moved ...
12781 * sysdeps/unix/sysv/linux/createthread.c: ... here.
12782
12783 * nptl/createthread.c: Add proper top-line comment.
12784 (do_clone): Folded into ...
12785 (create_thread): ... here. Take new arguments STOPPED_START and
12786 THREAD_RAN. Always set PD->stopped_start to something here. Don't
12787 increment __nptl_threads, do event-reporting logic, do
12788 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12789 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
12790 resource cleanup if sched_setaffinity or sched_setscheduler fails,
12791 just send SIGCANCEL.
12792 * nptl/pthread_create.c: Forward-declare create_thread before
12793 including createthread.c.
12794 (start_thread): Use new macro START_THREAD_DEFN to replace defining
12795 declaration, and new macro START_THREAD_SELF to replace argument.
12796 Remove return statement.
12797 (report_thread_creation): New function.
12798 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
12799 synchronization logic, and __nptl_nthreads increment here, around
12800 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
12801 PD->parent_cancelhandling here, before create_thread. When
12802 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12803 __deallocate_stack, and ENOMEM translation here.
12804
12805 2014-11-18 Joseph Myers <joseph@codesourcery.com>
12806
12807 [BZ #17616]
12808 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12809 (mptwo): Rename to __mptwo.
12810 (__inv): Use __mptwo instead of mptwo.
12811 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12812 (mptwo): Rename to __mptwo.
12813 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12814 of mpone and __mptwo instead of mptwo.
12815 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12816 instead of mpone.
12817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12818 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12819 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12820 of mpone and __mptwo instead of mptwo.
12821 (__mpranred): Use __mpone instead of mpone.
12822 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12823 variable.
12824 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12825 (test-xfail-ISO99/math.h/linknamespace): Likewise.
12826 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12827 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12828 (test-xfail-ISO11/math.h/linknamespace): Likewise.
12829 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12830 (test-xfail-XPG3/math.h/linknamespace): Likewise.
12831 (test-xfail-XPG4/math.h/linknamespace): Likewise.
12832 (test-xfail-POSIX/math.h/linknamespace): Likewise.
12833 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12834 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12835 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12836 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12837 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12838 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12839 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12840 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12841 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12842 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12843
12844 2014-11-18 Tom de Vries <tom@codesoucery.com>
12845
12846 * manual/signal.texi (Primitives Interrupted by Signals): In section,
12847 replace BSD Handler xref with BSD Signal Handling.
12848
12849 2014-11-17 Richard Henderson <rth@redhat.com>
12850
12851 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12852 (_FP_PACK_RAW_2): Remove.
12853 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12854 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12855 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12856 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12857 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12858 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12859 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12860 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12861 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12862 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12863 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12864 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12865 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12866 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12867 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12868 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12869
12870 2014-11-14 Roland McGrath <roland@hack.frob.com>
12871
12872 * signal/signal.h [__USE_MISC]
12873 (struct sigvec): Remove type.
12874 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12875 (sigvec): Remove declaration.
12876 * sysdeps/posix/sigvec.c: Moved ...
12877 * signal/sigvec.c: ... here, replacing old file.
12878 (struct sigvec): New type, copied from old signal.h definition.
12879 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12880 (__sigvec): Convert definition to prototype.
12881 (sigvec): Replace weak_alias with compat_symbol.
12882 * signal/Versions (libc: GLIBC_2.21): New version set.
12883 * include/signal.h: Remove __sigvec declaration.
12884 * sysdeps/unix/bsd/sigvec.c: Remove file.
12885 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12886 * manual/signal.texi (BSD Handler): Remove subsection.
12887 Move siginterrupt up to ...
12888 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
12889 (Blocking in BSD): Fold subsection into its parent.
12890 * NEWS: Mention sigvec removal.
12891
12892 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12893
12894 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12895 (DLA_FMS): Make definition conditional only on [__FMA4__].
12896 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12897 definition.
12898
12899 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12900 Make definition conditional only on [PROF].
12901 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12902 definition.
12903 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12904 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12905
12906 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12907 !__GNUC__].
12908 * include/signal.h (__sigpause): Move declaration above call to
12909 libc_hidden_proto.
12910 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
12911 variable.
12912 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
12913 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
12914
12915 2014-11-14 David S. Miller <davem@davemloft.net>
12916
12917 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
12918 Define before including <string/memcpy.c> and <string/mempcpy.c>.
12919
12920 2014-11-14 Joseph Myers <joseph@codesourcery.com>
12921
12922 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
12923 * configure: Regenerated.
12924 * manual/install.texi (Tools for Compilation): Document a
12925 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
12926 compiler verified to work.
12927 * INSTALL: Regenerated.
12928
12929 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
12930 redeclare with asm name.
12931 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
12932 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
12933 including <string.h>.
12934 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12935 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
12936 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12937 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
12938 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12939 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12940 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
12941
12942 2014-11-13 Joseph Myers <joseph@codesourcery.com>
12943
12944 * stdlib/strtol.c (__strtol): Use prototype definition.
12945
12946 [BZ #17594]
12947 * stdlib/strtol.c (SYM__): New macro.
12948 (SYM__1): Likewise.
12949 (__strtol): Likewise.
12950 (strtol): Rename to __strtol and define as weak alias of
12951 __strtol. Use libc_hidden_weak.
12952
12953 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12954
12955 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
12956 Use numbered labels in inline assembly.
12957
12958 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12959
12960 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
12961 Add setjmp LIBC_PROBE.
12962 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
12963 Likewise.
12964 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
12965 Add longjmp, longjmp_target LIBC_PROBE.
12966 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
12967 Likewise.
12968
12969 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12970
12971 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12972 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
12973 to get rid of unused variable warning.
12974
12975 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12976
12977 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
12978 Check for unwind_backtrace == NULL only in SHARED case.
12979 (__backchain_backtrace): Compile only in SHARED case.
12980 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
12981 Likewise.
12982 (__backchain_backtrace): Declare as static.
12983
12984 2014-11-12 Roland McGrath <roland@hack.frob.com>
12985
12986 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
12987 (__libc_multiple_threads_ptr): Variable moved ...
12988 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
12989
12990 2014-11-12 Joseph Myers <joseph@codesourcery.com>
12991
12992 * conform/GlibcConform.pm: New file.
12993 * conform/conformtest.pl: Use GlibcConform module.
12994 * conform/linknamespace.pl: New file.
12995 * conform/list-header-symbols.pl: Likewise.
12996 * conform/Makefile (linknamespace-symlists-base): New variable.
12997 (linknamespace-symlists-tests): Likewise.
12998 (linknamespace-header-base): Likewise.
12999 (linknamespace-header-tests): Likewise.
13000 (tests-special): Add new tests.
13001 ($(linknamespace-symlists-tests)): New rule.
13002 (linknamespace-libs): New variable.
13003 ($(objpfx)symlist-stdlibs): New rule.
13004 ($(linknamespace-header-tests)): Likewise.
13005 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13006 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13007 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13008 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13009 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13010 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13011 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13012 (test-xfail-ISO/math.h/linknamespace): Likewise.
13013 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13014 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13015 (test-xfail-ISO/time.h/linknamespace): Likewise.
13016 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13017 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13018 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13019 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13020 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13021 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13022 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13023 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13024 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13025 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13026 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13027 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13028 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13029 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13030 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13031 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13032 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13033 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13034 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13035 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13036 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13037 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13038 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13039 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13040 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13041 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13042 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13043 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13044 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13045 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13046 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13047 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13048 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13049 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13050 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13051 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13052 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13053 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13054 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13055 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13056 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13057 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13058 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13059 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13060 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13061 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13062 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13063 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13064 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13065 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13066 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13067 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13068 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13069 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13070 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13071 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13072 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13073 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13074 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13075 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13076 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13077 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13078 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13079 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13080 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13081 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13082 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13083 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13084 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13085 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13086 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13087 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13088 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13089 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13090 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13091 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13092 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13093 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13094 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13095 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13096 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13097 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13098 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13099 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13100 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13101 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13102 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13103 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13104 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13105 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13106 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13107 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13108 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13109 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13110 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13111 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13112 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13113 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13114 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13115 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13116 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13117 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13118 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13119 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13120 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13121 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13122 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13123 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13124 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13125 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13126 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13127 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13128 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13129 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13130 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13131 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13132 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13133 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13134 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13135 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13136 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13137 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13138 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13139 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13140 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13141 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13142 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13143 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13144 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13145 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13146 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13147 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13148 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13149 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13150 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13151 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13152 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13153 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13154 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13155 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13156 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13157 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13158 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13159 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13160 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13161 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13162 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13163 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13164 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13165 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13166
13167 [BZ #17589]
13168 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13169 of fgets_unlocked.
13170
13171 [BZ #17585]
13172 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13173 (memmem): Rename to __memmem and define as weak alias of
13174 __memmem. Use libc_hidden_weak.
13175 (__memmem): Use libc_hidden_def.
13176 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13177 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13178 memmem.
13179
13180 [BZ #17582]
13181 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13182 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13183 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13184 and define as weak alias of __fgets_unlocked. Use
13185 libc_hidden_weak.
13186 (__fgets_unlocked): Use libc_hidden_def.
13187 * include/stdio.h (__fgets_unlocked): Declare. Use
13188 libc_hidden_proto.
13189 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13190 __fgets_unlocked instead of fgets_unlocked.
13191 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13192 (GET_NPROCS_CONF_PARSER): Likewise.
13193 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13194 (GET_NPROCS_CONF_PARSER): Likewise.
13195
13196 [BZ #17574]
13197 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13198 weak alias of __wmemset. Use libc_hidden_weak.
13199 (__wmemset): Use libc_hidden_def.
13200 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13201 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13202 of wmemset.
13203
13204 [BZ #17573]
13205 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13206 with asm name __mempcpy.
13207 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13208
13209 [BZ #17572]
13210 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13211 and define as weak alias of __rawmemchr.
13212 (__rawmemchr): Do not define as strong alias of rawmemchr.
13213
13214 [BZ #17571]
13215 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13216 alias of __qsort_r.
13217 (qsort): Call __qsort_r instead of qsort_r.
13218 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13219 (__qsort_r): Declare. Call libc_hidden_proto.
13220 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13221 instead of qsort_r.
13222 * nscd/gai.c (__qsort_r): Define to qsort_r.
13223 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13224 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13225 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13226
13227 [BZ #17570]
13228 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13229 define as weak alias of __malloc_info.
13230
13231 [BZ #17584]
13232 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13233 as weak alias of __rewinddir. Don't use libc_hidden_def.
13234 (__rewinddir): Use libc_hidden_def.
13235 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13236 as weak alias of __rewinddir. Don't use libc_hidden_def.
13237 (__rewinddir): Use libc_hidden_def.
13238 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13239 weak alias of __rewinddir. Don't use libc_hidden_def.
13240 (__rewinddir): Use libc_hidden_def.
13241 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13242 (__rewinddir): Use libc_hidden_proto.
13243 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13244 rewinddir.
13245 (__getcwd): Use __rewinddir instead of rewinddir.
13246
13247 [BZ #17583]
13248 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13249 alias of __fileno. Use libc_hidden_weak.
13250 (__fileno): Use libc_hidden_def.
13251 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13252 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13253 alias of __ftello.
13254 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13255 __ftello.
13256 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13257 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13258 libc_hidden_def.
13259 (fread_unlocked): Don't use libc_hidden_ver.
13260 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13261 and define as weak alias of __fread_unlocked. Don't use
13262 libc_hidden_def.
13263 (__fread_unlocked): Use libc_hidden_def.
13264 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13265 (ftello): Don't use libc_hidden_proto.
13266 (__ftello): Declare. Use libc_hidden_proto.
13267 (fread_unlocked): Don't use libc_hidden_proto.
13268 (__fread_unlocked): Declare. Use libc_hidden_proto.
13269 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13270 and __ftello instead of fileno, fread_unlocked and ftello.
13271
13272 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13273
13274 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13275 GOT12.
13276 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13277 Likewise.
13278 (_dl_start_user): Likewise.
13279 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13280
13281 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13282 Siddhesh Poyarekar <siddhesh@redhat.com>
13283
13284 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13285 Move argv and envp down instead of moving argc up.
13286 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13287
13288 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13289
13290 [BZ #17506]
13291 * test-skeleton.c (main): Return successful if one of
13292 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13293 * string/tst-strcoll-overflow.c: Define expected status.
13294
13295 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13296
13297 [BZ #17475]
13298 * locale/iso-639.def: Define Bhili and Tulu language codes.
13299
13300 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13301
13302 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13303
13304 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13305
13306 [BZ #17555]
13307 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13308
13309 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13310
13311 * configure.ac: Updated check of minimal required version to
13312 2.22.
13313 * manual/install.texi (Tools for Compilation): Updated version
13314 number.
13315 * configure: Regenerated.
13316 * INSTALL: Likewise.
13317
13318 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13319
13320 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13321 __tls_get_addr.
13322
13323 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13324
13325 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13326 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13327 (__waitpid): Don't define as alias. Use libc_hidden_def not
13328 libc_hidden_weak.
13329 (waitpid): Define as alias of __waitpid.
13330 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13331 __waitpid.
13332 (__waitpid): Don't define as alias. Use libc_hidden_def not
13333 libc_hidden_weak.
13334 (waitpid): Define as alias of __waitpid.
13335 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13336 __libc_waitpid alias.
13337 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13338 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13339 Likewise.
13340 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13341 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13342 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13343 alias.
13344 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13345 __waitpid.
13346 (__waitpid): Don't define as alias. Use libc_hidden_def not
13347 libc_hidden_weak.
13348 (waitpid): Define as alias of __waitpid.
13349
13350 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13351
13352 * manual/llio.texi: Add comment that write safety has been
13353 fixed in Linux.
13354
13355 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13356 (localplt-build-dso): Add elf/ld.so.
13357 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13358 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13359 and free for ld.so.
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13361 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13363 Likewise.
13364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13365 Likewise.
13366 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13367 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13368 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13369 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13370 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13371 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13372 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13373 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13374 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13375 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13376 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13377
13378 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13379
13380 [BZ #14132]
13381 * include/libc-symbols.h (INTUSE): Remove macro.
13382 (INTDEF): Likewise.
13383 (INTVARDEF): Likewise.
13384 (_INTVARDEF): Likewise.
13385 (INTDEF2): Likewise.
13386 (INTVARDEF2): Likewise.
13387 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13388 rtld_hidden_def instead of INTVARDEF.
13389 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13390 (_dl_starting_up_internal): Remove declaration.
13391 (_dl_starting_up): Use rtld_hidden_proto.
13392 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13393 declaration.
13394 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13395 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13396 _dl_starting_up.
13397 * elf/dl-writev.h (_dl_writev): Likewise.
13398 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13399 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13400 _dl_starting_up_internal.
13401
13402 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13403
13404 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13405 test-skeleton.c.
13406
13407 2014-11-05 Will Newton <will.newton@linaro.org>
13408
13409 * benchtests/Makefile: (bench-malloc): Add malloc thread
13410 scalability benchmark.
13411 * benchtests/bench-malloc-threads.c: New file.
13412
13413 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13414
13415 * sysdeps/aarch64/strchrnul.S: New file.
13416
13417 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13418
13419 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13420 definition.
13421 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13422 Likwise.
13423 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13424 Likewise.
13425 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13426 Likewise.
13427 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13428 Likewise.
13429 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13430 Likewise.
13431
13432 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13433
13434 * catgets/test-gencat.c: Use test-skeleton.c.
13435 * catgets/tst-catgets.c: Likewise.
13436 * csu/tst-empty.c: Likewise.
13437 * elf/tst-audit2.c: Likewise.
13438 * elf/tst-global1.c: Likewise.
13439 * elf/tst-pathopt.c: Likewise.
13440 * elf/tst-piemod1.c: Likewise.
13441 * elf/tst-tls10.c: Likewise.
13442 * elf/tst-tls11.c: Likewise.
13443 * elf/tst-tls12.c: Likewise.
13444 * gnulib/tst-gcc.c: Likewise.
13445 * iconvdata/tst-e2big.c: Likewise.
13446 * iconvdata/tst-loading.c: Likewise.
13447 * iconv/tst-iconv1.c: Likewise.
13448 * iconv/tst-iconv2.c: Likewise.
13449 * inet/test-inet6_opt.c: Likewise.
13450 * inet/tst-gethnm.c: Likewise.
13451 * inet/tst-network.c: Likewise.
13452 * inet/tst-ntoa.c: Likewise.
13453 * intl/tst-codeset.c: Likewise.
13454 * intl/tst-gettext2.c: Likewise.
13455 * intl/tst-gettext3.c: Likewise.
13456 * intl/tst-ngettext.c: Likewise.
13457 * intl/tst-translit.c: Likewise.
13458 * io/test-stat.c: Likewise.
13459 * libio/test-fmemopen.c: Likewise.
13460 * libio/tst-freopen.c: Likewise.
13461 * libio/tst-sscanf.c: Likewise.
13462 * libio/tst-ungetwc1.c: Likewise.
13463 * libio/tst-ungetwc2.c: Likewise.
13464 * libio/tst-widetext.c: Likewise.
13465 * localedata/tst-ctype.c: Likewise.
13466 * localedata/tst-digits.c: Likewise.
13467 * localedata/tst-leaks.c: Likewise.
13468 * localedata/tst-mbswcs1.c: Likewise.
13469 * localedata/tst-mbswcs2.c: Likewise.
13470 * localedata/tst-mbswcs3.c: Likewise.
13471 * localedata/tst-mbswcs4.c: Likewise.
13472 * localedata/tst-mbswcs5.c: Likewise.
13473 * localedata/tst-setlocale.c: Likewise.
13474 * localedata/tst-trans.c: Likewise.
13475 * localedata/tst-wctype.c: Likewise.
13476 * localedata/tst-xlocale1.c: Likewise.
13477 * login/tst-grantpt.c: Likewise.
13478 * malloc/tst-calloc.c: Likewise.
13479 * malloc/tst-malloc.c: Likewise.
13480 * malloc/tst-mallocstate.c: Likewise.
13481 * malloc/tst-mcheck.c: Likewise.
13482 * malloc/tst-mtrace.c: Likewise.
13483 * malloc/tst-obstack.c: Likewise.
13484 * math/atest-exp2.c: Likewise.
13485 * math/atest-exp.c: Likewise.
13486 * math/atest-sincos.c: Likewise.
13487 * math/test-matherr.c: Likewise.
13488 * math/test-misc.c: Likewise.
13489 * math/test-powl.c: Likewise.
13490 * math/tst-definitions.c: Likewise.
13491 * misc/tst-dirname.c: Likewise.
13492 * misc/tst-efgcvt.c: Likewise.
13493 * misc/tst-fdset.c: Likewise.
13494 * misc/tst-hsearch.c: Likewise.
13495 * misc/tst-mntent2.c: Likewise.
13496 * nptl/tst-sem7.c: Likewise.
13497 * nptl/tst-sem8.c: Likewise.
13498 * nptl/tst-sem9.c: Likewise.
13499 * nss/test-netdb.c: Likewise.
13500 * posix/tst-fnmatch.c: Likewise.
13501 * posix/tst-getlogin.c: Likewise.
13502 * posix/tst-gnuglob.c: Likewise.
13503 * posix/tst-mmap.c: Likewise.
13504 * pwd/tst-getpw.c: Likewise.
13505 * resolv/tst-inet_ntop.c: Likewise.
13506 * rt/tst-timer.c: Likewise.
13507 * stdio-common/test-fseek.c: Likewise.
13508 * stdio-common/test-popen.c: Likewise.
13509 * stdio-common/test-vfprintf.c: Likewise.
13510 * stdio-common/tst-cookie.c: Likewise.
13511 * stdio-common/tst-fileno.c: Likewise.
13512 * stdio-common/tst-gets.c: Likewise.
13513 * stdio-common/tst-obprintf.c: Likewise.
13514 * stdio-common/tst-perror.c: Likewise.
13515 * stdio-common/tst-sprintf2.c: Likewise.
13516 * stdio-common/tst-sprintf3.c: Likewise.
13517 * stdio-common/tst-sprintf.c: Likewise.
13518 * stdio-common/tst-swprintf.c: Likewise.
13519 * stdio-common/tst-tmpnam.c: Likewise.
13520 * stdio-common/tst-unbputc.c: Likewise.
13521 * stdio-common/tst-wc-printf.c: Likewise.
13522 * stdlib/tst-environ.c: Likewise.
13523 * stdlib/tst-fmtmsg.c: Likewise.
13524 * stdlib/tst-limits.c: Likewise.
13525 * stdlib/tst-rand48-2.c: Likewise.
13526 * stdlib/tst-rand48.c: Likewise.
13527 * stdlib/tst-random2.c: Likewise.
13528 * stdlib/tst-random.c: Likewise.
13529 * stdlib/tst-strtol.c: Likewise.
13530 * stdlib/tst-strtoll.c: Likewise.
13531 * stdlib/tst-tls-atexit.c: Likewise.
13532 * stdlib/tst-xpg-basename.c: Likewise.
13533 * string/test-ffs.c: Likewise.
13534 * string/tst-bswap.c: Likewise.
13535 * string/tst-inlcall.c: Likewise.
13536 * string/tst-strtok.c: Likewise.
13537 * string/tst-strxfrm.c: Likewise.
13538 * sysdeps/x86_64/tst-audit10.c: Likewise.
13539 * sysdeps/x86_64/tst-audit3.c: Likewise.
13540 * sysdeps/x86_64/tst-audit4.c: Likewise.
13541 * sysdeps/x86_64/tst-audit5.c: Likewise.
13542 * time/tst-ftime_l.c: Likewise.
13543 * time/tst-getdate.c: Likewise.
13544 * time/tst-mktime3.c: Likewise.
13545 * time/tst-mktime.c: Likewise.
13546 * time/tst-posixtz.c: Likewise.
13547 * time/tst-strptime2.c: Likewise.
13548 * time/tst-strptime3.c: Likewise.
13549 * wcsmbs/tst-btowc.c: Likewise.
13550 * wcsmbs/tst-mbrtowc.c: Likewise.
13551 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13552 * wcsmbs/tst-wchar-h.c: Likewise.
13553 * wcsmbs/tst-wcpncpy.c: Likewise.
13554 * wcsmbs/tst-wcrtomb.c: Likewise.
13555 * wcsmbs/tst-wcsnlen.c: Likewise.
13556 * wcsmbs/tst-wcstof.c: Likewise.
13557
13558 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13559
13560 [BZ #14132]
13561 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13562 INTDEF.
13563 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13564 declaration.
13565 (_dl_mcount): Use rtld_hidden_proto.
13566 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13567 _dl_mcount.
13568 * elf/rtld.c (_rtld_global_ro): Likewise.
13569
13570 [BZ #14132]
13571 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13572 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13573 of _dl_init_internal.
13574 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13575 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13576 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13577 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13578 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13579 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13580 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13581 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13582 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13583 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13584 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13585 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13586 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13587 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13588 * sysdeps/tile/dl-start.S (_start): Likewise.
13589 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13590 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13591
13592 [BZ #14132]
13593 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13594 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13595 (rtld_progname): Make macro definition unconditional.
13596 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13597 INTDEF.
13598 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13599 (dl_main): Likewise.
13600 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13601 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13602 instead of _dl_argv_internal.
13603 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13604 __GI__dl_argv instead of INTUSE(_dl_argv).
13605 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13606 __GI__dl_argv instead of _dl_argv_internal.
13607
13608 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13609 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13610 macro.
13611 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13612 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13613 New macro.
13614 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13615 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13616 macro.
13617 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13618 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13619
13620 2014-11-04 Andreas Schwab <schwab@suse.de>
13621
13622 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13623
13624 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13625
13626 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13627 mtvsrd instruction in binary form.
13628
13629 2014-11-03 Andreas Schwab <schwab@suse.de>
13630
13631 [BZ #17522]
13632 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13633 for less than MB_LEN_MAX use a local buffer of that size.
13634 * libio/tst-fputws.c: New file.
13635 * libio/Makefile (tests): Add tst-fputws.
13636
13637 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13638
13639 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13640 the size of the fpu_fr.fpu_dregs[] array.
13641
13642 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13643
13644 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13645 (__nanosleep): Do not define as alias.
13646 (nanosleep): Define as alias of __nanosleep.
13647 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13648 __libc_nanosleep name.
13649
13650 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13651
13652 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13653 install.texi in comment.
13654
13655 2014-10-31 Torvald Riegel <triegel@redhat.com>
13656
13657 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13658 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13659 ... add here and use lwsync or sync ...
13660 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13661 ... and add here using lwsync.
13662
13663 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13664
13665 * elf/dl-machine-reject-phdr.h: New file.
13666 * elf/dl-load.c: #include that.
13667 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13668 if that returned true.
13669
13670 2014-10-31 Roland McGrath <roland@hack.frob.com>
13671
13672 [BZ #17496]
13673 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13674 gen-as-const-headers chunk. Add a big scare comment after the last
13675 safe place to touch before-compile.
13676
13677 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13678
13679 * manual/install.texi (Tools for Compilation): Update autoconf
13680 version requirements.
13681 * INSTALL: Regenerated.
13682
13683 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13684 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13685 (__libc_pselect): Likewise.
13686
13687 [BZ #14138]
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13692
13693 2014-10-31 Torvald Riegel <triegel@redhat.com>
13694
13695 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13696 correct barrier instruction.
13697 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13698 Likewise.
13699 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13700 Likewise.
13701
13702 2014-10-30 Roland McGrath <roland@hack.frob.com>
13703
13704 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13705 after defining inlines. Instead, just use parens to defeat macro
13706 expansion of __isctype in its declaration.
13707
13708 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13709
13710 * include/sys/uio.h (__libc_readv): Remove declaration.
13711 (__libc_writev): Likewise.
13712 * misc/readv.c (__libc_readv): Rename to __readv.
13713 (__readv): Do not define as alias.
13714 (readv): Define as alias of __readv.
13715 * misc/writev.c (__libc_writev): Rename to __writev.
13716 (__writev): Do not define as alias.
13717 (writev): Define as alias of __writev.
13718 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13719 (__readv): Do not define as alias.
13720 (readv): Define unconditionally as alias of __readv.
13721 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13722 (__writev): Do not define as alias.
13723 (writev): Define unconditionally as alias of __writev.
13724 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13725 name.
13726 (writev): Do not define __libc_writev name.
13727
13728 2014-10-30 Roland McGrath <roland@hack.frob.com>
13729
13730 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13731 (convert_charseq): New function, broken out of ...
13732 (use_from_charmap): ... here. Call it.
13733 (use_to_charmap): Use convert_charseq and free instead of duplicating
13734 its code with a variable-length stack struct.
13735
13736 2014-10-30 Joseph Myers <joseph@codesourcery.com>
13737
13738 * include/fcntl.h (__libc_creat): Remove declaration.
13739 * io/creat.c (__libc_creat): Rename to creat.
13740 (creat): Do not define as alias.
13741 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13742 of creat instead of __libc_creat.
13743 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13744 to creat.
13745 (creat): Do not define as alias.
13746 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13747 __libc_creat.
13748 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13749 __libc_creat name.
13750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13751 Likewise.
13752
13753 2014-10-29 Carlos O'Donell <carlos@redhat.com>
13754
13755 * manual/llio.texi: Add comments discussing why write() may be
13756 considered MT-unsafe on Linux.
13757
13758 2014-10-28 Carlos O'Donell <carlos@redhat.com>
13759
13760 * dl-load.c (local_strdup): Remove.
13761 (expand_dynamic_string_token): Use __strdup.
13762 (decompose_rpath): Likewise.
13763 (_dl_map_object): Likewise.
13764
13765 2014-10-28 Joseph Myers <joseph@codesourcery.com>
13766
13767 [BZ #14132]
13768 * sysdeps/generic/unwind-dw2-fde.c
13769 (__register_frame_info_bases_internal): Do not declare.
13770 (__register_frame_info_table_bases_internal): Likewise.
13771 (__deregister_frame_info_bases_internal): Likewise.
13772 (__register_frame_info_bases): Declare and use hidden_proto before
13773 definition. Use hidden_def instead of INTDEF.
13774 (__register_frame_info_table_bases): Likewise.
13775 (__deregister_frame_info_bases): Likewise.
13776 (__register_frame_info): Do not use INTUSE.
13777 (__register_frame): Likewise.
13778 (__register_frame_info_table): Likewise.
13779 (__register_frame_table): Likewise.
13780 (__deregister_frame_info): Likewise.
13781 (__deregister_frame): Likewise.
13782
13783 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
13784
13785 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13786 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13787 not undefine.
13788 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13789 Likewise.
13790 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13791 Likewise.
13792
13793 2014-10-27 Joseph Myers <joseph@codesourcery.com>
13794
13795 [BZ #14138]
13796 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13797 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13798 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13799 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13800 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13801 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13802 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13803 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13804 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13805 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13806 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13807 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13808 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13809 syscall.
13810 (setfsuid): Likewise.
13811 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13812 (setfsuid): Likewise.
13813 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13814 (setfsuid): Likewise.
13815 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13816 Likewise.
13817 (setfsuid): Likewise.
13818 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13819 (setfsuid): Likewise.
13820 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13821 Likewise.
13822 (setfsuid): Likewise.
13823
13824 2014-10-27 Andreas Schwab <schwab@suse.de>
13825
13826 [BZ #17501]
13827 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13828 check for Slow_SSE4_2 feature bit.
13829 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13830 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13831 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13832 Likewise. Fix check for Fast_Unaligned_Load feature bit.
13833
13834 2014-10-24 Roland McGrath <roland@hack.frob.com>
13835
13836 * configure.ac: Validate compiler version with a empirical test of
13837 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13838 $CC -v output.
13839 * configure: Regenerated.
13840
13841 * inet/htons.c (htons): Prototypify.
13842 * inet/htonl.c (htonl): Likewise.
13843
13844 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13845
13846 * string/strncat.c (strncat): Improve performance by using strlen.
13847
13848 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13849
13850 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13851
13852 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13853
13854 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13855 Call libc_fetestexcept_aarch64.
13856
13857 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13858
13859 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13860 Call libc_feholdexcept_aarch64.
13861
13862 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13863
13864 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13865 Call get_rounding_mode.
13866
13867 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13868
13869 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13870 Simplify logic.
13871
13872 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
13873
13874 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13875 Simplify logic.
13876
13877 2014-10-24 Joseph Myers <joseph@codesourcery.com>
13878
13879 [BZ #14138]
13880 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13881 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13882 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13883 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13884 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13885 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13886 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13887 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13888 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13889 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13890 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13891 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13892 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13893 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13894 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13895 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13896 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13897 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13898 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13899 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13900 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13901 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13902 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13903 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13904 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13905 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13906 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13907 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13908 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
13909 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
13910 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
13911 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
13912 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
13913 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
13914 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
13915 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
13916 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
13917 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
13918 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
13919 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
13920 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
13921 syscall.
13922 (geteuid): Likewise.
13923 (getgid): Likewise.
13924 (getuid): Likewise.
13925 (getresgid): Likewise.
13926 (getresuid): Likewise.
13927 (getgroups): Likewise.
13928 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
13929 (geteuid): Likewise.
13930 (getgid): Likewise.
13931 (getuid): Likewise.
13932 (getresgid): Likewise.
13933 (getresuid): Likewise.
13934 (getgroups): Likewise.
13935 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
13936 (geteuid): Likewise.
13937 (getgid): Likewise.
13938 (getuid): Likewise.
13939 (getresgid): Likewise.
13940 (getresuid): Likewise.
13941 (getgroups): Likewise.
13942 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
13943 Likewise.
13944 (geteuid): Likewise.
13945 (getgid): Likewise.
13946 (getuid): Likewise.
13947 (getresgid): Likewise.
13948 (getresuid): Likewise.
13949 (getgroups): Likewise.
13950 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
13951 (geteuid): Likewise.
13952 (getgid): Likewise.
13953 (getuid): Likewise.
13954 (getresgid): Likewise.
13955 (getresuid): Likewise.
13956 (getgroups): Likewise.
13957 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
13958 Likewise.
13959 (geteuid): Likewise.
13960 (getgid): Likewise.
13961 (getuid): Likewise.
13962 (getgroups): Likewise.
13963
13964 [BZ #14138]
13965 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
13966 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
13967 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
13968 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13969 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
13970 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
13971 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
13972 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
13973 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
13974 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
13975 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
13976 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
13977 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
13978 __chown.
13979 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
13980 (lchown): Likewise.
13981 (fchown): Likewise.
13982 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
13983 Likewise.
13984 (lchown): Likewise.
13985 (fchown): Likewise.
13986 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
13987 (lchown): Likewise.
13988 (fchown): Likewise.
13989 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
13990 Likewise.
13991 (lchown): Likewise.
13992 (fchown): Likewise.
13993
13994 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
13995
13996 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
13997 Simplify logic.
13998
13999 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14000
14001 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14002 Cleanup logic.
14003
14004 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14005
14006 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14007 Remove unused include.
14008
14009 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14010
14011 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14012 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14013 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14014 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14015
14016 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14017 Helge Deller <deller@gmx.de>
14018
14019 [BZ #17508]
14020 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14021 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14022 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14023
14024 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14025
14026 [BZ #14132]
14027 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14028 Remove macro definition.
14029 (__ashrdi3_v_glibc20): Likewise.
14030 (__lshrdi3_v_glibc20): Likewise.
14031 (__cmpdi2_v_glibc20): Likewise.
14032 (__ucmpdi2_v_glibc20): Likewise.
14033 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14034 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14035 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14036 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14037 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14038 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14039
14040 2014-10-22 Roland McGrath <roland@hack.frob.com>
14041
14042 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14043 old GNU extension [0] syntax.
14044 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14045 alloca rather than an array member with variable length.
14046 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14047 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14048 (parse_opt): ... here. Likewise use alloca there.
14049 Validate the -i argument before checking for rootness.
14050 (send_shutdown): New function, broken out of ...
14051 (parse_opt): ... here.
14052
14053 2014-10-22 Roland McGrath <roland@hack.frob.com>
14054
14055 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14056 macro to get at the _rt_local_ro field.
14057 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14058 ([PIC] case) or _dl_hwcap ([!PIC] case).
14059 * sysdeps/arm/setjmp.S: Likewise.
14060
14061 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14062 * sysdeps/arm/configure.ac: New check to define it.
14063 * sysdeps/arm/configure: Regenerated.
14064 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14065 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14066 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14067 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14068 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14069 Use move/movt pair instead of a load.
14070 (LDST_GLOBAL): Macro removed.
14071 (LDR_GLOBAL): New macro replaces it.
14072 (LDR_HIDDEN): New macro.
14073 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14074 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14075
14076 * setjmp/tst-setjmp-static.c: New file.
14077 * setjmp/Makefile (tests): Add it.
14078 (tests-static): New variable.
14079
14080 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14081
14082 [BZ #17485]
14083 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14084
14085 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14086
14087 [BZ #14132]
14088 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14089
14090 2014-10-21 Roland McGrath <roland@hack.frob.com>
14091
14092 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14093
14094 2014-10-20 Roland McGrath <roland@hack.frob.com>
14095
14096 * io/fts.c (dirent_not_directory): New function.
14097 (fts_build): Call it.
14098
14099 2014-10-20 Roland McGrath <roland@hack.frob.com>
14100
14101 * nptl/version.c (__nptl_main): Use normal __write rather than
14102 INTERNAL_SYSCALL.
14103 (banner): Update copyright years.
14104
14105 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14106 gettimeofday.
14107 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14108 * nptl/pthread_cond_timedwait.c: Likewise.
14109 * nptl/pthread_mutex_timedlock.c: Likewise.
14110 * nptl/sem_timedwait.c: Likewise.
14111
14112 * sysdeps/nptl/bits/libc-lock.h
14113 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14114 (__libc_lock_init_recursive): Return void, not 0.
14115 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14116 (__libc_rwlock_init): Likewise.
14117 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14118
14119 2014-10-20 Torvald Riegel <triegel@redhat.com>
14120
14121 [BZ #15215]
14122 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14123 (__pthread_once_slow): ... here.
14124 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14125 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14126
14127 2014-10-20 Torvald Riegel <triegel@redhat.com>
14128
14129 [BZ #15215]
14130 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14131 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14132 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14133 * nptl/pthread_once.c (__pthread_once): Likewise.
14134 Update comments.
14135
14136 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14137
14138 [BZ #14138]
14139 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14140 name.
14141 (writev): Use __libc_writev as strong name.
14142 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14143 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14144
14145 2014-10-17 Roland McGrath <roland@hack.frob.com>
14146
14147 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14148
14149 * sysdeps/i386/nptl/tls.h
14150 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14151 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14152 New macros.
14153 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14154 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14155 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14156 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14157 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14158 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14159
14160 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14161 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14162 on [__NR_futex].
14163 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14164 broken out of ...
14165 (__pthread_mutex_init): ... here. Call it.
14166 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14167 Conditionalize PI cases on [__NR_futex].
14168 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14169 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14170 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14171
14172 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14173 conditional on [SIGSETXID].
14174 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14175 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14176 is defined. Likewise for SIGSETXID.
14177 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14178 Conditionalize definitions on [SIGSETXID].
14179 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14180 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14181 unblocking on [SIGCANCEL].
14182
14183 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14184 [__NR_set_robust_list].
14185
14186 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14187
14188 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14189 (do_compare): Likewise.
14190
14191 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14192
14193 [BZ #15884]
14194 * string/strcoll_l.c: Don't include stdio.h.
14195 (coll_seq): Remove members idxarr and rulearr.
14196 (get_next_seq_cached): Remove function.
14197 (get_next_seq): Likewise.
14198 (get_next_seq_nocache): Rename to get_next_seq.
14199 (do_compare): Remove function.
14200 (do_compare_nocache): Rename to do_compare.
14201 (STRCOLL): Remove weight and rules cache.
14202
14203 2014-10-16 Roland McGrath <roland@hack.frob.com>
14204
14205 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14206 * sysdeps/arm/sfp-machine.h: ... to here.
14207 * sysdeps/arm/Implies: Remove arm/soft-fp.
14208
14209 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14210
14211 * conform/data/sys/utsname.h-data (*_t): Allow.
14212 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14213 [POSIX] (WEXITED): Do not expect constant.
14214 [POSIX] (WSTOPPED): Likewise.
14215 [POSIX] (WNOHANG): Likewise.
14216 [POSIX] (WNOWAIT): Likewise.
14217 [POSIX] (siginfo_t): Do not expect type or elements.
14218 [POSIX] (pid_t): Do not expect type.
14219 [POSIX] (signal.h): Do not allow header.
14220 [POSIX] (sys/resource.h): Likewise.
14221 [POSIX] (si_*): Do not allow pattern.
14222 [POSIX] (W*): Likewise.
14223 [POSIX] (P_*): Likewise.
14224 [POSIX] (BUS_*): Likewise.
14225 [POSIX] (CLD_*): Likewise.
14226 [POSIX] (FPE_*): Likewise.
14227 [POSIX] (ILL_*): Likewise.
14228 [POSIX] (POLL_*): Likewise.
14229 [POSIX] (SEGV_*): Likewise.
14230 [POSIX] (SI_*): Likewise.
14231 [POSIX] (TRAP_*): Likewise.
14232 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14233 variable.
14234
14235 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14236
14237 [BZ #12926]
14238 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14239 infinite loop when __recvmsg returns 0.
14240
14241 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14242
14243 * CANCEL-FCT-WAIVE: Remove file.
14244 * CANCEL-FILE-WAIVE: Likewise.
14245
14246 [BZ #14132]
14247 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14248 instead of INTVARDEF.
14249 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14250 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14251 rtld_hidden_data_def instead of INTVARDEF.
14252 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14253 * elf/dl-deps.c (expand_dst): Likewise.
14254 * elf/dl-load.c (_dl_dst_count): Likewise.
14255 (_dl_dst_substitute): Likewise.
14256 (decompose_rpath): Likewise.
14257 (_dl_init_paths): Likewise.
14258 (open_path): Likewise.
14259 (_dl_map_object): Likewise.
14260 * elf/rtld.c (dl_main): Likewise.
14261 (process_dl_audit): Likewise.
14262 (process_envvars): Likewise.
14263 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14264 Remove declaration.
14265 (__libc_enable_secure): Use rtld_hidden_proto.
14266
14267 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14268
14269 * elf/dl-load.c
14270 (add_path): New function broken out of _dl_rtld_di_serinfo.
14271 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14272
14273 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14274
14275 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14276 parentheses around macro arguments.
14277 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14278 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14279 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14280 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14281 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14282 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14283 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14284 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14285 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14286 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14287 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14288 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14289 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14290 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14291 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14292 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14293 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14294 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14295 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14296 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14297 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14298 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14299 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14300 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14301 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14302 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14303 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14304 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14305 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14306 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14307 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14308 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14309 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14310 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14311 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14312 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14313 Likewise.
14314 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14315 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14316 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14317 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14318 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14319 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14320 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14321 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14322 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14323 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14324 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14325 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14326 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14327 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14328 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14329 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14330 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14331 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14332 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14333 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14334 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14335 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14336 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14337 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14338 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14339 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14340 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14341 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14342 (_FP_FRAC_SRS_1): Likewise.
14343 (_FP_FRAC_CLZ_1): Likewise.
14344 (_FP_MUL_MEAT_1_imm): Likewise.
14345 (_FP_MUL_MEAT_1_wide): Likewise.
14346 (_FP_MUL_MEAT_1_hard): Likewise.
14347 (_FP_SQRT_MEAT_1): Likewise.
14348 (_FP_FRAC_ASSEMBLE_1): Likewise.
14349 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14350 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14351 (__FP_CLZ_2): Likewise.
14352 (_FP_MUL_MEAT_2_wide): Likewise.
14353 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14354 (_FP_MUL_MEAT_2_gmp): Likewise.
14355 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14356 (_FP_SQRT_MEAT_2): Likewise.
14357 (_FP_FRAC_ASSEMBLE_2): Likewise.
14358 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14359 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14360 (_FP_FRAC_CLZ_4): Likewise.
14361 (_FP_MUL_MEAT_4_wide): Likewise.
14362 (_FP_MUL_MEAT_4_gmp): Likewise.
14363 (_FP_SQRT_MEAT_4): Likewise.
14364 (_FP_FRAC_ASSEMBLE_4): Likewise.
14365 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14366 * soft-fp/op-common.h (_FP_CMP): Likewise.
14367 (_FP_CMP_EQ): Likewise.
14368 (_FP_CMP_UNORD): Likewise.
14369 (_FP_TO_INT): Likewise.
14370 (_FP_FROM_INT): Likewise.
14371 [!__FP_CLZ] (__FP_CLZ): Likewise.
14372 (_FP_DIV_HELP_imm): Likewise.
14373 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14374 Likewise.
14375 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14376 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14377 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14378 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14379 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14380 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14381 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14382 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14383 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14384 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14385 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14386 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14387 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14388 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14389 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14390 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14391 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14392 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14393 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14394 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14395 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14396 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14397 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14398 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14399 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14400 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14401 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14402 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14403 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14404 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14405 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14406 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14407 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14408 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14409 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14410 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14411 (FP_UNPACK_RAW_SP): Likewise.
14412 (FP_PACK_RAW_S): Likewise.
14413 (FP_PACK_RAW_SP): Likewise.
14414 (FP_UNPACK_S): Likewise.
14415 (FP_UNPACK_SP): Likewise.
14416 (FP_UNPACK_SEMIRAW_S): Likewise.
14417 (FP_UNPACK_SEMIRAW_SP): Likewise.
14418 (FP_PACK_S): Likewise.
14419 (FP_PACK_SP): Likewise.
14420 (FP_PACK_SEMIRAW_S): Likewise.
14421 (FP_PACK_SEMIRAW_SP): Likewise.
14422 (_FP_SQRT_MEAT_S): Likewise.
14423 (FP_CMP_S): Likewise.
14424 (FP_CMP_EQ_S): Likewise.
14425 (FP_CMP_UNORD_S): Likewise.
14426 (FP_TO_INT_S): Likewise.
14427 (FP_FROM_INT_S): Likewise.
14428
14429 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14430
14431 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14432 (FP_EX_INVALID_IMZ): Likewise.
14433 (FP_EX_INVALID_IMZ_FMA): Likewise.
14434 (FP_EX_INVALID_ISI): Likewise.
14435 (FP_EX_INVALID_ZDZ): Likewise.
14436 (FP_EX_INVALID_IDI): Likewise.
14437 (FP_EX_INVALID_SQRT): Likewise.
14438 (FP_EX_INVALID_CVI): Likewise.
14439 (FP_EX_INVALID_VC): Likewise.
14440 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14441 "invalid" exceptions.
14442 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14443 (_FP_ADD_INTERNAL): Likewise.
14444 (_FP_MUL): Likewise.
14445 (_FP_FMA): Likewise.
14446 (_FP_DIV): Likewise.
14447 (_FP_CMP_CHECK_NAN): Likewise.
14448 (_FP_SQRT): Likewise.
14449 (_FP_TO_INT): Likewise.
14450 (FP_EXTEND): Likewise.
14451
14452 2014-10-09 Allan McRae <allan@archlinux.org>
14453
14454 * po/fr.po: Update French translation from translation project.
14455
14456 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14457
14458 [BZ #14132]
14459 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14460 of INTDEF.
14461 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14462 (__cxa_atexit): Use libc_hidden_proto.
14463 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14464
14465 [BZ #14132]
14466 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14467 declaration.
14468 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14469 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14470 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14471 [!_ISOMAC] (__iswctype_internal): Likewise.
14472 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14473 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14474 alias.
14475 (fcntl): Remove __fcntl_internal alias.
14476 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14477 __connect_internal alias.
14478 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14479 Likewise.
14480
14481 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14482 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14483 FP_DENORM_ZERO.
14484 (_FP_CHECK_FLUSH_ZERO): New macro.
14485 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14486 (_FP_CMP): Likewise.
14487 (_FP_CMP_EQ): Likewise.
14488 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14489 FP_DENORM_ZERO.
14490 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14491 (FP_TRUNC): Likewise.
14492
14493 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14494 treated as invalid conversion, not as normal exponent.
14495
14496 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14497 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14498 (_FP_CMP_EQ): Likewise.
14499 (_FP_CMP_UNORD): Likewise.
14500 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14501 (FP_CMP_EQ_D): Likewise.
14502 (FP_CMP_UNORD_D): Likewise.
14503 * soft-fp/extended.h (FP_CMP_E): Likewise.
14504 (FP_CMP_EQ_E): Likewise.
14505 (FP_CMP_UNORD_E): Likewise.
14506 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14507 (FP_CMP_EQ_Q): Likewise.
14508 (FP_CMP_UNORD_Q): Likewise.
14509 * soft-fp/single.h (FP_CMP_S): Likewise.
14510 (FP_CMP_EQ_S): Likewise.
14511 (FP_CMP_UNORD_S): Likewise.
14512 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14513 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14514 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14515 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14516 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14517 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14518 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14519 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14520 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14521 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14522 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14523 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14524 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14525 to FP_CMP_Q.
14526 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14527 FP_CMP_Q.
14528 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14529 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14530 FP_CMP_EQ_Q.
14531 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14532 FP_CMP_Q.
14533 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14534 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14535 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14536 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14537 FP_CMP_EQ_Q.
14538 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14539 FP_CMP_Q.
14540 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14541 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14542 FP_CMP_EQ_Q.
14543 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14544 FP_CMP_Q.
14545 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14546 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14547 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14548 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14549 FP_CMP_EQ_Q.
14550
14551 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14552 a subnormal result, set the underflow exception if trapping on
14553 underflow is enabled.
14554 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14555 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14556 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14557 redefine to 0.
14558 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14559 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14560 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14561 * soft-fp/extendxftf2.c (__extendxftf2): Use
14562 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14563
14564 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14565 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14566 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14567 FP_HANDLE_EXCEPTIONS.
14568 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14569 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14570 FP_HANDLE_EXCEPTIONS.
14571 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14572 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14573 FP_HANDLE_EXCEPTIONS.
14574 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14575 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14576 FP_HANDLE_EXCEPTIONS.
14577
14578 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14579
14580 [BZ #14132]
14581 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14582 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14583 use INTUSE.
14584 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14585 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14586 Remove alias.
14587 (__adjtimex): Define using libc_hidden_ver.
14588 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14589 Remove declaration.
14590 (ntp_gettime): Call __adjtimex directly.
14591 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14592 Remove declaration.
14593 (ntp_gettimex): Call __adjtimex directly.
14594 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14595 __adjtimex_internal alias.
14596
14597 2014-10-08 Roland McGrath <roland@hack.frob.com>
14598
14599 [BZ #17460]
14600 * nscd/nscd.c (more_help): Rewrite list of tables collection
14601 using xstrdup and asprintf.
14602
14603 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14604
14605 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14606 Roland McGrath <roland@hack.frob.com>
14607
14608 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14609 (do_lookup_unique): ... local function 'enter' here; update callers.
14610
14611 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14612
14613 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14614 compat_symbol calls on [SHARED].
14615 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14616 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14617 Remove.
14618 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14619 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14620 (oldsetrlimit): Remove.
14621 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14623 (lchown): New syscall entry.
14624 (oldsetrlimit): Remove.
14625 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14626 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14627 (oldsetrlimit): Remove.
14628 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14629
14630 [BZ #14138]
14631 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14632 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14633 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14634 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14635 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14636 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14637 (fchown): Likewise.
14638 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14639 (fchown): Likewise.
14640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14641 Likewise.
14642
14643 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14644
14645 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14646 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14647 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14648 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14649 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14650 Likewise.
14651 (__old_sem_post): Likewise.
14652
14653 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14654
14655 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14656 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14657 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14658 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14659 Use INLINE_VSYSCALL macro.
14660 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14661 __vdso_clock_gettime.
14662 * sysdeps/unix/sysv/linux/tile/init-first.c
14663 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14664 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14665 __vdso_clock_gettime.
14666
14667 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14668 to set up frame more cleanly.
14669
14670 * sysdeps/tile/memcmp.c: New file.
14671
14672 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14673
14674 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14675 * sysdeps/tile/tilegx/strcasestr.c: New file.
14676 * sysdeps/tile/tilegx/strnlen.c: New file.
14677 * sysdeps/tile/tilegx/strstr.c: New file.
14678
14679 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14680
14681 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14682
14683 * nptl/tst-setuid3.c: Write errors to stdout.
14684
14685 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14686
14687 * elf/dl-deps.c
14688 (preload): New functions broken out of _dl_map_object_deps.
14689 (_dl_map_object_deps): Remove a nested function. Update call sites.
14690
14691 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14692
14693 [BZ #14138]
14694 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14695 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14696
14697 2014-10-01 Steve Ellcey <sellcey@mips.com>
14698
14699 * sysdeps/mips/strcmp.S: New.
14700
14701 2014-09-30 Joseph Myers <joseph@codesourcery.com>
14702
14703 [BZ #14138]
14704 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14705 (linkat): Likewise.
14706 (mkdirat): Likewise.
14707 (readlinkat): Likewise.
14708 (renameat): Likewise.
14709 (symlinkat): Likewise.
14710 (unlinkat): Likewise.
14711 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14712 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14713 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14714 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14715 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14716 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14717 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14718
14719 2014-09-30 Will Newton <will.newton@linaro.org>
14720
14721 * math/math.h: Define long double math functions if
14722 _LIBC_TEST is defined.
14723 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14724
14725 * localedata/Makefile: Move assignment to tests-special
14726 into an ifdef testing run-built-tests.
14727 * timezone/Makefile: Likewise.
14728
14729 2014-09-29 Joseph Myers <joseph@codesourcery.com>
14730
14731 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14732 with $(BASH) not $(SHELL).
14733
14734 2014-09-29 Carlos O'Donell <carlos@redhat.com>
14735 Matthew LeGendre <legendre1@llnl.gov>
14736
14737 [BZ #17411]
14738 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14739 l_reloc_result.
14740
14741 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14742
14743 * stdio-common/printf_fp.c
14744 (hack_digit): New function, broken out of ...
14745 (__printf_fp): ... local function here. Update call sites.
14746 hack_digit now takes an additional parameter that is a pointer
14747 to a struct of the referenced locals. Those locals moved inside
14748 the struct and references updated.
14749
14750 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
14751
14752 * aclocal.m4: Require autoconf 2.69.
14753 * configure: Regenerated.
14754 * sysdeps/aarch64/configure: Likewise.
14755 * sysdeps/alpha/configure: Likewise.
14756 * sysdeps/arm/armv7/configure: Likewise.
14757 * sysdeps/arm/configure: Likewise.
14758 * sysdeps/ia64/configure: Likewise.
14759 * sysdeps/mach/configure: Likewise.
14760 * sysdeps/mips/configure: Likewise.
14761 * sysdeps/s390/configure: Likewise.
14762 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14764
14765 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14766 file.
14767 * sysdeps/ia64/configure.ac: Likewise.
14768
14769 2014-09-26 Joseph Myers <joseph@codesourcery.com>
14770
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14772 specify symbol version for ld.so. Do not include entry for
14773 libpthread.
14774 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14775 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14776 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14777
14778 [BZ #14171]
14779 * Makeconfig [$(build-shared) = yes]
14780 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14781 makefiles.
14782 [$(build-shared) = yes && $(soversions.mk-done) = t]
14783 ($(common-objpfx)gnu/lib-names.h): Remove rule.
14784 [$(build-shared) = yes && $(soversions.mk-done) = t]
14785 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
14786 to Makerules.
14787 [$(build-shared) = yes && $(soversions.mk-done) = t]
14788 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14789 here.
14790 [$(build-shared) = yes && $(soversions.mk-done) = t]
14791 (common-generated): Don't append gnu/lib-names.h and
14792 gnu/lib-names.stmp here.
14793 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14794 (lib-names-h-abi): New variable.
14795 [$(build-shared) = yes && $(soversions.mk-done) = t]
14796 (lib-names-stmp-abi): Likewise.
14797 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14798 abi-variants] (before-compile): Append
14799 $(common-objpfx)$(lib-names-h-abi).
14800 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14801 abi-variants] (common-generated): Append gnu/lib-names.h.
14802 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14803 abi-variants] (install-others-nosubdir): Depend on
14804 $(inst_includedir)/$(lib-names-h-abi).
14805 [$(build-shared) = yes && $(soversions.mk-done) = t &&
14806 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14807 [$(build-shared) = yes && $(soversions.mk-done) = t]
14808 ($(common-objpfx)$(lib-names-h-abi)): New rule.
14809 [$(build-shared) = yes && $(soversions.mk-done) = t]
14810 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14811 [$(build-shared) = yes && $(soversions.mk-done) = t]
14812 (common-generated): Append $(lib-names-h-abi) and
14813 $(lib-names-stmp-abi).
14814 * scripts/lib-names.awk: Do not handle multi being set.
14815 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14816 Remove variable.
14817 (abi-lp64_be-ld-soname): Likewise.
14818 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14819 Likewise.
14820 (abi-hard-ld-soname): Likewise.
14821 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14822 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14823 Remove variable.
14824 (abi-o32_hard-ld-soname): Likewise.
14825 (abi-o32_soft_2008-ld-soname): Likewise.
14826 (abi-o32_hard_2008-ld-soname): Likewise.
14827 (abi-n32_soft-ld-soname): Likewise.
14828 (abi-n32_hard-ld-soname): Likewise.
14829 (abi-n32_soft_2008-ld-soname): Likewise.
14830 (abi-n32_hard_2008-ld-soname): Likewise.
14831 (abi-n64_soft-ld-soname): Likewise.
14832 (abi-n64_hard-ld-soname): Likewise.
14833 (abi-n64_soft_2008-ld-soname): Likewise.
14834 (abi-n64_hard_2008-ld-soname): Likewise.
14835 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14836 Likewise.
14837 (abi-64-v2-ld-soname): Likewise.
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14839 ld.so entries.
14840 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14841 variable.
14842 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14843 entry.
14844 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14845 variable.
14846 (abi-64-ld-soname): Likewise.
14847 (abi-x32-ld-soname): Likewise.
14848 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14849 entry.
14850 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14851
14852 2014-09-23 Joseph Myers <joseph@codesourcery.com>
14853
14854 [BZ #14138]
14855 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14856 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14857 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14858 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14859 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14860 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14861 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14862 syscall entry for GLIBC_2.2 symbol version.
14863 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14864 Likewise.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14866 (setrlimit): Likewise.
14867 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14868 Likewise.
14869
14870 2014-09-23 Will Newton <will.newton@linaro.org>
14871
14872 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14873 _LINUX_ARM_SYSDEP_H include guard too.
14874 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14875 define.
14876
14877 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
14878
14879 * sysdeps/unix/sysv/linux/eventfd.c:
14880 Make first argument unsigned.
14881 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14882 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14883
14884 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
14885
14886 * socket/recvmmsg.c (recvmmsg): Drop const argument.
14887 * socket/sys/socket.h: Likewise
14888 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14889
14890 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14891
14892 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14893
14894 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
14895
14896 * time/tst-ftime.c: New test.
14897 * time/Makefile (tests): Add tst-ftime.
14898
14899 2014-09-17 Joseph Myers <joseph@codesourcery.com>
14900
14901 * soft-fp/extended.h: Fix comment formatting.
14902 * soft-fp/op-1.h: Likewise.
14903 * soft-fp/op-2.h: Likewise.
14904 * soft-fp/op-4.h: Likewise.
14905 * soft-fp/op-8.h: Likewise.
14906 * soft-fp/op-common.h: Likewise.
14907 * soft-fp/soft-fp.h: Likewise.
14908
14909 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
14910
14911 2014-09-16 Joseph Myers <joseph@codesourcery.com>
14912
14913 [BZ #6652]
14914 * Makeconfig (soversions-default-setname): Remove variable.
14915 ($(common-objpfx)soversions.i): Don't pass default_setname to
14916 soversions.awk.
14917 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
14918 oldest_abi to abi-versions.awk.
14919 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
14920 * config.make.in (oldest-abi): Remove variable.
14921 * configure.ac (--enable-oldest-abi): Remove configure option.
14922 * configure: Regenerated.
14923 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
14924 text.
14925 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
14926 * scripts/soversions.awk: Do not handle default_setname variable.
14927 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
14928 variable.
14929 * sysdeps/mach/hurd/configure: Regenerated.
14930 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
14931 variable.
14932 * sysdeps/unix/sysv/linux/configure: Regenerated.
14933
14934 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14935
14936 * elf/Makefile (CFLAGS-interp.c): Remove.
14937 ($(elf-objpfx)runtime-linker.h): Generate header with linker
14938 path string.
14939 * elf/interp.c: Include generated runtime-linker.h
14940
14941 * Makerules (lib%.so): Don't include $(+interp) in
14942 prerequisites.
14943 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
14944 * dlfcn/eval.c: Remove file.
14945
14946 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
14947 macros.
14948
14949 [BZ #17266]
14950 * misc/sys/cdefs.h: Define __extern_always_inline for clang
14951 4.2 and newer.
14952
14953 [BZ #17370]
14954 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
14955
14956 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14957 Jakub Jelinek <jakub@redhat.com>
14958
14959 [BZ #17266]
14960 * libio/stdio.h: Check definition of __fortify_function
14961 instead of __extern_always_inline to include bits/stdio2.h.
14962 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
14963 check if __extern_always_inline is defined.
14964 [__USE_MISC || __USE_XOPEN]: Likewise.
14965 [__USE_ISOC99] Likewise.
14966 * misc/sys/cdefs.h (__fortify_function): Define only if
14967 __extern_always_inline is defined.
14968 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
14969 __extern_always_inline and __extern_inline only for g++-4.3
14970 and newer or a compatible gcc.
14971
14972 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
14973
14974 [BZ #17371]
14975 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14976 last change to handle zero prefix length.
14977
14978 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14979
14980 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
14981 _SC_REGEX_VERSION.
14982
14983 * posix/getconf.c (vars): Add _POSIX_IPV6 and
14984 _POSIX_RAW_SOCKETS.
14985
14986 2014-09-13 Allan McRae <allan@archlinux.org>
14987
14988 * po/ru.po: Update Russian translation from translation project.
14989
14990 2014-09-12 Roland McGrath <roland@hack.frob.com>
14991
14992 * locale/programs/locale.c (show_locale_vars): Inline local function
14993 into its sole call site. Clean up some style nits.
14994 (print_item): New function, broken out of ...
14995 (show_info): ... local function here. Clean up style nits.
14996
14997 * locale/programs/ld-ctype.c (set_one_default): New function, broken
14998 out of ...
14999 (set_class_defaults): ... local function set_default here.
15000 Define set_default as a macro locally to pass constant parameters.
15001 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15002 rather than a shared local.
15003
15004 * stdlib/rpmatch.c (try): New function, broken out of ...
15005 (rpmatch): ... local function here. Also, prototypify definition.
15006
15007 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15008
15009 * scripts/soversions.awk: Do not handle configuration names.
15010 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15011 vendor and os variables to soversions.awk.
15012 * configure.ac: Do not modify gnu-* host_os.
15013 * configure: Regenerated
15014 * shlib-versions: Remove first column with configuration names.
15015 * nptl/shlib-versions: Likewise.
15016 * nptl_db/shlib-versions: Likewise.
15017 * sysdeps/hppa/shlib-versions: Likewise.
15018 * sysdeps/m68k/shlib-versions: Likewise.
15019 * sysdeps/mach/hurd/shlib-versions: Likewise.
15020 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15021 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15022 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15023 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15024 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15025 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15026 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15027 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15029 Likewise.
15030 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15031 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15032 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15033 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15034 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15035 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15036 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15037 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15038
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15040 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15042 Regenerated.
15043 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15045 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15046
15047 * shlib-versions: Remove OS-specific entries. Moved to files in
15048 sysdeps.
15049 * sysdeps/mach/hurd/shlib-versions: New file.
15050 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15051
15052 * nptl/shlib-versions: Remove architecture-specific entries.
15053 Moved to files in sysdeps.
15054 * shlib-versions: Likewise.
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15056 file.
15057 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15058 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15059 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15060 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15061
15062 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15063 (UDP_NO_CHECK6_RX): Likewise.
15064
15065 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15066
15067 * sysdeps/posix/sysconf.c (__sysconf): Spell
15068 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15069
15070 2014-08-12 Florian Weimer <fweimer@redhat.com>
15071
15072 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15073 loading.
15074 * iconv/Versions (__gconv_transliterate): Export for use from
15075 gconv modules.
15076 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15077 (struct __gconv_trans_data, __gconv_trans_fct,
15078 __gconv_trans_context_fct, __gconv_trans_query_fct,
15079 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15080 definitions.
15081 (struct __gconv_step_data): Remove __trans member.
15082 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15083 longer hidden. Remove unused trans_data argument.
15084 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15085 (__gconv_translit_find): Remove declaration.
15086 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15087 prototype.
15088 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15089 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15090 trans_data argument. Add hidden definition.
15091 (__gconv_translit_find): Remove.
15092 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15093 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15094 * iconv/skeleton.c: Remove transliteration initialization.
15095 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15096 __gconv_step_data initialization.
15097 * libio/iofwide.c (__libio_translit_): Remove.
15098 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15099 * wcsmbs/btowc.c (__btowc): Likewise.
15100 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15101 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15102 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15103 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15104 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15105 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15106 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15107 * wcsmbs/wctob.c (wctob): Likewise.
15108
15109 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15110
15111 [BZ #16194]
15112 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15113 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15114 register usage.
15115 * sysdeps/x86/Makefile: Adjust.
15116
15117 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15118 Roland McGrath <roland@hack.frob.com>
15119
15120 * locale/weight.h: Add include guard.
15121 (findidx): Make static rather than auto; take new parameters
15122 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15123 * locale/weightwc.h: Likewise.
15124 * posix/fnmatch_loop.c
15125 (FCT): Change type of EXTRA from int32_t to wint_t.
15126 Don't include either header inside the function.
15127 Call FINDIDX rather than findidx, and pass new arguments.
15128 #undef FINDIDX at the end of the file.
15129 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15130 FINDIDX before including fnmatch_loop.c for the non-wide version.
15131 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15132 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15133 for the wide version.
15134 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15135 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15136 Pass new arguments to findidx.
15137 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15138 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15139 Don't #include it inside the function. Pass new arguments to findidx.
15140 * posix/regex_internal.h
15141 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15142 (re_string_elem_size_at): Don't #include it inside the function.
15143 Pass new arguments to findidx.
15144 * string/strcoll_l.c: #include WEIGHT_H at top level.
15145 (get_next_seq): Don't #include it inside the function.
15146 Pass new arguments to findidx.
15147 (get_next_seq_nocache): Likewise.
15148 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15149 (STRXFRM): Don't #include it inside the function.
15150 Pass new arguments to findidx.
15151
15152 2014-09-11 Florian Weimer <fweimer@redhat.com>
15153
15154 [BZ #17344]
15155 * malloc/malloc.c (unlink): Turn asserts into a call to
15156 malloc_printerr.
15157
15158 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15159
15160 [BZ #17370]
15161 * libio/wfileops (do_ftell_wide): Free OUT.
15162
15163 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15164
15165 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15166
15167 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15168
15169 [BZ #17363]
15170 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15171 group if the current group is empty.
15172
15173 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15174
15175 * benchtests/bench-memset.c (test_main): Add more test from size
15176 from 32 to 512 bytes.
15177 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15178 Add POWER8 memset object.
15179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15180 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15181 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15182 implementation.
15183 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15184 Likewise.
15185 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15186 multiarch POWER8 memset optimization.
15187 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15188 POWER8 memset optimization.
15189
15190 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15191 Remove bzero multiarch objects.
15192 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15193 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15194 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15195 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15196 Remove define.
15197 [__bzero]: Redefine to specific name.
15198 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15199 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15200 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15201 define.
15202 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15203 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15204
15205 2014-09-10 Florian Weimer <fweimer@redhat.com>
15206
15207 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15208 warnings into errors.
15209
15210 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15211 __cxa_thread_atexit_impl prototype.
15212
15213 2014-09-09 Steve Ellcey <sellcey@mips.com>
15214
15215 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15216 Fix capitalization of error message.
15217
15218 2014-09-09 Steve Ellcey <sellcey@mips.com>
15219
15220 * sysdeps/mips/preconfigure: Modify ABI tests.
15221
15222 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15223
15224 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15225
15226 2014-09-07 Roland McGrath <roland@hack.frob.com>
15227 Carlos O'Donell <carlos@systemhalted.org>
15228
15229 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15230 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15231 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15232 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15233 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15234 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15235 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15236 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15237 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15238 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15239 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15240 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15241 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15242 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15243 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15244 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15245 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15246 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15247 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15248 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15249 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15250 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15251 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15252 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15253 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15254 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15255 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15256 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15257 Deconditionalize the code that was previously under [RESET_PID].
15258 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15259 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15260 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15261 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15262 include sysdep.h.
15263
15264 2014-09-08 Allan McRae <allan@archlinux.org>
15265
15266 * version.h (RELEASE): Set to "development".
15267 (VERSION): Set to "2.20.90"
15268
15269 2014-09-07 Allan McRae <allan@archlinux.org
15270
15271 * version.h (RELEASE): Set to "stable".
15272 (VERSION): Set to "2.20"
15273 * include/features.h (__GLIBC_MINOR__): Set to 20.
15274
15275 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15276 Liebler.
15277
15278 * po/ko.po: Update Korean translation from translation project.
15279
15280 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15281
15282 [BZ #17354]
15283 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15284 macro for handling signed relocations.
15285
15286 2014-09-03 Florian Weimer <fweimer@redhat.com>
15287
15288 [BZ #17325]
15289 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15290 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15291 assert.
15292 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15293 * iconvdata/ibm935.c (BODY): Likewise.
15294 * iconvdata/ibm937.c (BODY): Likewise.
15295 * iconvdata/ibm939.c (BODY): Likewise.
15296 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15297 assert.
15298 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15299 script.
15300 * iconvdata/run-iconv-test.sh: New test loop for checking for
15301 decoder crashers.
15302
15303 2014-09-02 Khem Raj <raj.khem@gmail.com>
15304
15305 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15306 libm_hidden_ver.
15307
15308 2014-09-01 Allan McRae <allan@archlinux.org>
15309
15310 * po/eo.po: Update Esperanto translation from translation project.
15311
15312 * po/ca.po: Update Catalan translation from translation project.
15313
15314 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15315
15316 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15317 __proc_dostop call.
15318
15319 2014-08-27 Mark Wielaard <mjw@redhat.com>
15320
15321 [BZ #17319]
15322 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15323 to call set_thread_area instead of hand written asm.
15324 (__NR_set_thread_area): Removed define.
15325 (TLS_FLAG_WRITABLE): Likewise.
15326 (__ASSUME_SET_THREAD_AREA): Remove check.
15327 (TLS_EBX_ARG): Remove define.
15328 (TLS_LOAD_EBX): Likewise.
15329
15330 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15331
15332 Simplify atomicity of socket creation in bind.
15333
15334 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15335 looking up the name after linking the file.
15336
15337 2014-08-27 Allan McRae <allan@archlinux.org>
15338
15339 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15340
15341 2014-08-26 Florian Weimer <fweimer@redhat.com>
15342
15343 [BZ #17187]
15344 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15345 trans_compare, open_translit, __gconv_translit_find):
15346 Remove module loading code.
15347
15348 2014-08-26 Allan McRae <allan@archlinux.org>
15349
15350 * po/vi.po: Update Vietnamese translation from translation project.
15351
15352 * po/uk.po: Update Ukrainian translation from translation project.
15353
15354 * po/fr.po: Update French translation from translation project.
15355
15356 * po/ru.po: Update Russian translation from translation project.
15357
15358 * po/pl.po: Update Polish translation from translation project.
15359
15360 * po/cs.po: Update Czech translation from translation project.
15361
15362 * po/de.po: Update German translation from translation project.
15363
15364 * po/bg.po: Update Bulgarian translation from translation project.
15365
15366 * po/sv.po: Update Sweedish translation from translation project.
15367
15368 * po/nl.po: Update Dutch translation from translation project.
15369
15370 * po/es.po: Update Spanish translation from translation project.
15371
15372 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15373
15374 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15375
15376 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15377 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15378 (CPPFLAGS-iconvconfig): Likewise.
15379 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15380
15381 * include/libc-symbols.h: Remove unnecessary check for
15382 NOT_IN_libc.
15383 * nptl/pthreadP.h: Likewise.
15384 * sysdeps/aarch64/setjmp.S: Likewise.
15385 * sysdeps/alpha/setjmp.S: Likewise.
15386 * sysdeps/arm/sysdep.h: Likewise.
15387 * sysdeps/i386/setjmp.S: Likewise.
15388 * sysdeps/m68k/setjmp.c: Likewise.
15389 * sysdeps/posix/getcwd.c: Likewise.
15390 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15391 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15392 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15393 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15394 * sysdeps/sh/sh3/setjmp.S: Likewise.
15395 * sysdeps/sh/sh4/setjmp.S: Likewise.
15396 * sysdeps/unix/alpha/sysdep.h: Likewise.
15397 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15399 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15400 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15403 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15404 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15405 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15406 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15407 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15408 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15410 * sysdeps/x86_64/setjmp.S: Likewise.
15411
15412 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15413
15414 [BZ #17263]
15415 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15416 <stdint.h>.
15417 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15418 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15419
15420 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15421
15422 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15423
15424 [BZ #17262]
15425 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15426 and __x86_64__ when disabling x87 inline functions.
15427
15428 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15429
15430 [BZ #17259]
15431 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15432 asm statement with __cpuid_count.
15433
15434 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15435
15436 * configure.ac: Change __ehdr_start code to dereference the struct.
15437 Run readelf on the output to look for relocations.
15438 * configure: Regenerated.
15439
15440 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15441
15442 [BZ #17261]
15443 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15444 value to 0.
15445 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15446
15447 2014-08-12 Roland McGrath <roland@hack.frob.com>
15448
15449 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15450
15451 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15452
15453 [BZ #16892]
15454 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15455 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15456
15457 2014-08-12 Sean Anderson <seanga2@gmail.com>
15458
15459 * malloc/malloc.c: Fix typo in comment.
15460
15461 2014-08-09 Allan McRae <allan@archlinux.org>
15462
15463 * Regenerate libc.po.
15464
15465 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15466
15467 * intl/tst-gettext2.sh: Check every lang file for creation.
15468
15469 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15470
15471 * sysdeps/aarch64/fpu/math_private.h
15472 (libc_feholdsetround_noex_aarch64_ctx): New function.
15473
15474 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15475
15476 * sysdeps/arm/armv6/strcpy.S (strcpy):
15477 Fix performance issue in misaligned cases.
15478
15479 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15480
15481 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15482 Move definition from termios.h.
15483 (struct termio): Likewise.
15484 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15485 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15486 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15487 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15488 Likewise.
15489 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15490 Move definition to ioctl-types.h
15491 (struct termio): Likewise.
15492 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15493 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15494 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15495 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15496 Likewise.
15497
15498 2014-08-05 Richard Henderson <rth@redhat.com>
15499
15500 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15501 exceptions.
15502 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15503 Add fraiseexcpt.
15504 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15505 Use __feraiseexcept.
15506 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15507 Protect libm symbols with IS_IN_libm.
15508
15509 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15510
15511 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15512
15513 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15514
15515 2014-08-04 Will Newton <will.newton@linaro.org>
15516
15517 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15518 file.
15519
15520 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15521
15522 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15523 variants for each function.
15524
15525 2014-08-04 Roland McGrath <roland@hack.frob.com>
15526
15527 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15528 appended ...
15529 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15530 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15531 appended ...
15532 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15533 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15534 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15535 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15536 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15537 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15538 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15539 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15540 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15541 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15542 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15543 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15544 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15545 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15546 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15547 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15548 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15549 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15550 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15551 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15552 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15553 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15554 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15555 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15556 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15557 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15558 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15559 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15560 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15561 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15562 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15563 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15564 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15565 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15566 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15567 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15568 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15569 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15570 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15571 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15572 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15573 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15574 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15575 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15576 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15577 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15578 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15579 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15580 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15581 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15582 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15583 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15584 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15585 Update #include.
15586 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15587 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15588
15589 2014-08-04 Roland McGrath <roland@hack.frob.com>
15590
15591 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15592 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15593 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15594 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15595 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15596 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15597
15598 2014-08-04 Roland McGrath <roland@hack.frob.com>
15599
15600 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15601 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15602 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15603 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15604
15605 2014-08-04 Roland McGrath <roland@hack.frob.com>
15606
15607 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15608 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15609 (__libc_vfork): Define function under this name.
15610 (__vfork): Define as an alias.
15611 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15612 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15613
15614 2014-08-04 Roland McGrath <roland@hack.frob.com>
15615
15616 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15617 that was previously under [RESET_PID].
15618 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15619
15620 2014-08-04 Andreas Schwab <schwab@suse.de>
15621
15622 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15623
15624 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15625
15626 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15627 (main): Likewise.
15628
15629 2014-08-01 Roland McGrath <roland@hack.frob.com>
15630
15631 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15632
15633 2014-08-01 Richard Henderon <rth@redhat.com>
15634
15635 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15636 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15637 typo in exact zero test.
15638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15639 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15640 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15641
15642 2014-08-01 Roland McGrath <roland@hack.frob.com>
15643
15644 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15645 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15646 * sysdeps/arm/sysdep.h: ... here.
15647 [!__ASSEMBLER__]: Include <stdint.h>.
15648
15649 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15650
15651 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15652 (HAVE_WCTYPE_H): Likewise.
15653 (HAVE_ISWCTYPE): Likewise.
15654 (ENABLE_NLS): Likewise.
15655 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15656 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15657
15658 * posix/regex_internal.c: Check if DEBUG is defined and is
15659 set.
15660
15661 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15662 (HAVE_MBSRTOWCS): Likewise.
15663 * posix/fnmatch.c: Include string.h unconditionally.
15664
15665 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15666
15667 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15668 reversal.
15669
15670 2014-07-31 Roland McGrath <roland@hack.frob.com>
15671
15672 * sysdeps/generic/safe-fatal.h: New file.
15673 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15674 * nptl/forward.c: Include it.
15675 (__pthread_unwind): Use __safe_fatal as default action, rather
15676 than a bogus use of INTERNAL_SYSCALL that could never work.
15677
15678 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15679 * configure.ac (libc_cv_builtin_trap): New test.
15680 * configure: Regenerated.
15681 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15682 (ABORT_INSTRUCTION): Define using __builtin_trap.
15683
15684 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15685 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15686 * sysdeps/nptl/nptl-signals.h: New file.
15687 * nptl/pthreadP.h: Include <nptl-signals.h>.
15688
15689 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15690
15691 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15692 (ONE_DIRECTION): Define.
15693 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15694 (ONE_DIRECTION): Define.
15695 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15696 (ONE_DIRECTION): Define.
15697
15698 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15699
15700 * sysdeps/s390/Makefile: Delete file.
15701 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15702 * sysdeps/s390/__longjmp.c: Delete file.
15703 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15704 Remove fields __flags and __reserved.
15705 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15706 and add versioning.
15707 * sysdeps/s390/rtld-__longjmp.c: Delete file.
15708 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15709 * sysdeps/s390/rtld-setjmp.S: Likewise.
15710 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15711 * sysdeps/s390/s390-32/__longjmp.c: ... here.
15712 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15713 * sysdeps/s390/s390-32/setjmp.S: ... here.
15714 Add versioning.
15715 (__sigsetjmp): Remove setting __flags field.
15716 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15717 * sysdeps/s390/s390-64/__longjmp.c: ... here.
15718 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15719 * sysdeps/s390/s390-64/setjmp.S: ... here.
15720 Add versioning.
15721 (__sigsetjmp): Remove setting __flags field.
15722 * sysdeps/s390/setjmp.S: Delete file.
15723 * sysdeps/s390/sigjmp.c: Likewise.
15724 * sysdeps/s390/v1-longjmp.c: Likewise.
15725 * sysdeps/s390/v1-setjmp.h: Likewise.
15726 * sysdeps/s390/v1-sigjmp.c: Likewise.
15727 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15728 Remove v1-longjmp_chk.
15729 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15730 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15731 Include debug/longjmp_chk.c and add versioning.
15732 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15733 Include nptl/pt-longjmp.c and add versioning.
15734 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15735 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15736 Include __longjmp.c.
15737 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15738 Move to ...
15739 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15740 (__getcontext): Remove setting __flags field.
15741 Add versioning.
15742 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15743 Don't restore upper high grps.
15744 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15745 Likewise.
15746 (__swapcontext): Remove setting uc_flags field.
15747 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15748 Delete file.
15749 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15750 Include __longjmp.c.
15751 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15752 Move to ...
15753 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15754 (__getcontext): Remove setting __flags field.
15755 Add versioning.
15756 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15757 (__swapcontext): Remove setting uc_flags field.
15758 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15759 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15760 Remove fields uc_high_gprs and __reserved.
15761 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15762 New file with reverted content.
15763 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15764 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15765 Regenerated.
15766 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15767 Regenerated.
15768
15769 2014-07-31 Andreas Schwab <schwab@suse.de>
15770
15771 * config.h.in (HAVE_IFUNC): Define to 0.
15772 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15773 definedness.
15774
15775 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
15776
15777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15778 memmove-avx-unaligned, memcpy-avx-unaligned and
15779 mempcpy-avx-unaligned.
15780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15781 Add tests for AVX memcpy functions.
15782 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15783 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15784 memcpy_chk.
15785 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15786 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15787 memmove_chk.
15788 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15789 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15790 mempcpy_chk.
15791 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15792 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15793 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15794
15795 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15796
15797 [BZ #17213]
15798 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15799 powerpc64le.
15800
15801 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
15802
15803 [BZ #16839]
15804 * manual/llio.texi: Add section about open file description locks.
15805 * manual/examples/ofdlocks.c: Example of open file description
15806 lock usage.
15807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15808 F_OFD_SETLK, and F_OFD_SETLKW.
15809
15810 2014-07-23 Allan McRae <allan@archlinux.org>
15811
15812 * po/es.po: Update Spanish translation from translation project.
15813
15814 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
15815
15816 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15817
15818 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
15819
15820 [BZ #17078]
15821 * sysdeps/arm/dl-machine.h (elf_machine_rela)
15822 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15823 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15824
15825 2014-07-17 Joseph Myers <joseph@codesourcery.com>
15826
15827 [BZ #17088]
15828 * math/fesetenv.c (__fesetenv)
15829 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15830 * math/feupdateenv.c (__feupdateenv)
15831 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15832
15833 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15834 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15835 (__ASSUME_SOCKETCALL): Do not define.
15836
15837 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15838 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15839 (__ASSUME_SOCKETCALL): Do not define.
15840 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15841 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15842 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15843 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15844 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15845 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15846 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15847 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15848
15849 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15850 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15851 (__ASSUME_SOCKETCALL): Do not define.
15852 (__ASSUME_IPC64): Define unconditionally.
15853 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15854 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15855 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15856 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15857 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15858 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15859 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15860 Likewise.
15861
15862 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15863 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15864 (__ASSUME_SOCKETCALL): Do not define.
15865 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15866 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15867 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15868 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15869 (__ASSUME_REQUEUE_PI): Define unconditionally.
15870 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15871 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15872 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15873 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15874 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15875 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15876
15877 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15878 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15879 (__ASSUME_SOCKETCALL): Do not define.
15880 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15881 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15882 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15883 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15884 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15885 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15886
15887 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15888 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15889 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15890 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15891 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15892 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15893 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15894 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15895 (__ASSUME_GETCPU_SYSCALL): Likewise.
15896
15897 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15898 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
15899 cases for individual architectures.
15900 * sysdeps/gnu/configure: Regenerated.
15901 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15902 LIBC_SLIBDIR_RTLDDIR.
15903 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15904 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15905 LIBC_SLIBDIR_RTLDDIR.
15906 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15908 LIBC_SLIBDIR_RTLDDIR.
15909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15910 Regenerated.
15911 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
15912 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
15913 file.
15914 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
15915 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
15916 file.
15917 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
15918 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
15919 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
15920 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
15921
15922 * sysdeps/aarch64/shlib-versions: Move to ...
15923 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
15924 * sysdeps/alpha/shlib-versions: Move to ...
15925 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
15926 * sysdeps/arm/shlib-versions: Move to ...
15927 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
15928 * sysdeps/hppa/shlib-versions: Move all contents except for
15929 libgcc_s entry to ...
15930 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
15931 entry from ...
15932 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
15933 * sysdeps/ia64/shlib-versions: Move to ...
15934 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
15935 entry from ...
15936 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
15937 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
15938 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
15939 * sysdeps/microblaze/shlib-versions: Move to ...
15940 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
15941 * sysdeps/mips/shlib-versions: Move to ...
15942 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
15943 entry from ...
15944 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
15945 * sysdeps/tile/shlib-versions: Move to ...
15946 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
15947 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
15948 from ...
15949 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
15950 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
15951 entry from ...
15952 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
15953
15954 2014-07-17 Will Newton <will.newton@linaro.org>
15955
15956 * sysdeps/arm/bits/atomic.h
15957 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
15958 (__arch_compare_and_exchange_bool_16_int): Likewise.
15959 (__arch_compare_and_exchange_bool_64_int): Likewise.
15960
15961 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
15962 into an #else block.
15963
15964 2014-07-16 Roland McGrath <roland@hack.frob.com>
15965
15966 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
15967 just Linux configurations. Test empirically that the compiler sets
15968 __ARM_EABI__, rather than using the tuple to decide.
15969 * sysdeps/arm/preconfigure: Regenerated.
15970 * sysdeps/unix/sysv/linux/arm/configure: File removed.
15971 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
15972 contents appended ...
15973 * sysdeps/arm/configure.ac: ... here.
15974 * sysdeps/arm/configure: Regenerated.
15975
15976 2014-07-15 Roland McGrath <roland@hack.frob.com>
15977
15978 * nptl/pthread_kill.c: New file.
15979 * nptl/pthread_sigmask.c: New file.
15980 * nptl/pthread_sigqueue.c: New file.
15981
15982 * sysdeps/nptl/lowlevellock.h: New file.
15983 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
15984 * sysdeps/nptl/lowlevellock-futex.h: New file.
15985
15986 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
15987 Remove dead declarations.
15988
15989 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
15990
15991 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
15992 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
15993 config-cflags-avx2.
15994 * sysdeps/x86_64/configure.ac: Likewise.
15995 * sysdeps/i386/configure: Regenerated.
15996 * sysdeps/x86_64/configure: Likewise.
15997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15998 memset-avx2 only if config-cflags-avx2 is yes.
15999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16000 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16001 defined.
16002 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16003 only if HAVE_AVX2_SUPPORT is defined.
16004 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16005
16006 2014-07-14 Alan Modra <amodra@gmail.com>
16007
16008 [BZ #17153]
16009 * elf/elf.h (DT_PPC64_NUM): Correct value.
16010 * NEWS: Add to fixed bug list.
16011
16012 2014-07-13 Jim Meyering <meyering@fb.com>
16013
16014 [BZ 17150]
16015 regex: don't deref NULL upon heap allocation failure
16016 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16017 failure in one more place.
16018 To trigger the segfault, configure grep -with-included-regex,
16019 build it, and run these commands:
16020 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16021
16022 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16023
16024 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16025
16026 2014-07-11 Richard Henderson <rth@redhat.com>
16027
16028 * sysdeps/aarch64/libm-test-ulps: Update.
16029
16030 2014-07-10 Florian Weimer <fweimer@redhat.com>
16031
16032 [BZ #17135]
16033 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16034 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16035 (__nptl_setxid): Initialize error member. Call
16036 __nptl_setxid_error.
16037 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16038 * nptl/descr.h (struct xid_command): Add error member.
16039 * nptl/tst-setuid3.c: New file.
16040 * nptl/Makefile (tests): Add it.
16041
16042 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16043
16044 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16045 New define.
16046 (__lll_trylock): Use __lll_base_trylock.
16047 (__lll_cond_trylock): Likewise.
16048
16049 2014-07-10 Roland McGrath <roland@hack.frob.com>
16050
16051 * nptl/pthread_create.c (start_thread): Use atomic_or and
16052 lll_futex_wake directly rather than lll_robust_dead.
16053 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16054 (lll_robust_dead): Macro removed.
16055 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16056 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16057 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16058 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16059 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16060 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16061 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16062 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16063 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16064 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16065 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16066 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16067 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16068 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16069 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16070
16071 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16072 Use atomic_compare_and_exchange_val_acq directly rather than
16073 lll_robust_trylock.
16074 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16075 (__lll_robust_trylock, lll_robust_trylock): Removed.
16076 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16077 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16078 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16079 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16080 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16081 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16082 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16083 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16084 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16085 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16086 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16087 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16088 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16089 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16090
16091 2014-07-02 Florian Weimer <fweimer@redhat.com>
16092
16093 * manual/locale.texi (Locale Names): New section documenting
16094 locale name syntax. Adjust menu and node chaining accordingly.
16095 (Choosing Locale): Reference Locale Names, Locale Categories.
16096 Mention setting LC_ALL=C. Reflect that name syntax is now
16097 documented.
16098 (Locale Categories): New section title. Reference Locale Names.
16099 LC_ALL is an environment variable, but not a category.
16100 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16101 description, now in Locale Name. Reference that section. Locale
16102 name syntax is now documented.
16103
16104 2014-07-02 Florian Weimer <fweimer@redhat.com>
16105
16106 [BZ #17137]
16107 * locale/findlocale.c (name_present, valid_locale_name): New
16108 functions.
16109 (_nl_find_locale): Use the loc_name variable to store name
16110 candidates. Call name_present and valid_locale_name to check and
16111 validate locale names. Return an error if the locale is invalid.
16112
16113 2014-07-02 Florian Weimer <fweimer@redhat.com>
16114
16115 * locale/setlocale.c (setlocale): Use strdup for allocating
16116 composite name copy.
16117
16118 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16119
16120 Sync up with gnulib.
16121 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16122 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16123 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16124 and _GL_ARG_NONNULL.
16125 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16126 [!_LIBC]: Include code for Windows and Cygwin.
16127 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16128 Include prototype for int strerror_r.
16129 [!_LIBC] (is_open): New function.
16130 (flush_stdout): New function.
16131 (print_errno_message): Use it.
16132 (error): Likewise.
16133 (error_at_line): Likewise.
16134 (error_tail) Add function attribute macros. Use
16135 __builtin_expect.
16136
16137 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16138
16139 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16140
16141 * io/ftw.c: Include sys/param.h unconditionally.
16142
16143 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16144
16145 [BZ #17125]
16146 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16147 libc_freeres_ptr.
16148 (freecache): New function to free CACHE on exit.
16149
16150 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16151 initialization.
16152
16153 2014-07-09 David S. Miller <davem@davemloft.net>
16154
16155 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16156
16157 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16158 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16159 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16160 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16161 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16162 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16163 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16164 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16165 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16166 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16167 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16168 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16169 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16170
16171 2014-07-09 Andreas Schwab <schwab@suse.de>
16172
16173 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16174 output.
16175 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16176 (do_test): Likewise.
16177
16178 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16179
16180 2014-07-09 Will Newton <will.newton@linaro.org>
16181
16182 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16183 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16184 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16185 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16186 * sysdeps/hppa/start.S (_start): Likewise.
16187
16188 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16189
16190 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16191
16192 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16193 defined.
16194
16195 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16196
16197 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16198 after checking that it is non-NULL.
16199
16200 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16201
16202 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16203
16204 * sysdeps/powerpc/memmove.c: Remove file.
16205 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16206 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16207 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16208 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16209 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16210 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16211 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16212 string memmove instead of removed powerpc one.
16213
16214 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16215 [weak_alias]: Fix compiler warning due trailing data.
16216 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16217 [weak_alias]: Likewise.
16218 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16219 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16220
16221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16222 (__libc_ifunc_impl_list): Add memmove functions.
16223
16224 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16225
16226 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16227 Remove code.
16228 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16229 Likewise
16230 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16231 Likewise
16232 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16233 Likewise
16234 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16235 Likewise
16236 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16237 Likewise
16238 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16239 Likewise
16240 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16241 Likewise
16242 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16243 Likewise
16244 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16245 Likewise
16246 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16247 Likewise
16248 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16249 Likewise
16250 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16251 Likewise
16252 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16253 Likewise
16254 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16255 Likewise
16256 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16257 Likewise
16258 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16259 Likewise
16260
16261 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16262
16263 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16264 to avoid alignment traps in non-cacheable memory.
16265 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16266
16267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16268 multiarch objects.
16269 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16270 file: multiarch power7 memmove.
16271 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16272 multiarch default memmove.
16273 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16274 multiarch memove for powerpc32/power4.
16275
16276 * string/bcopy.c: Use full path to include memmove.c.
16277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16278 multiarch objects.
16279 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16280 bcopy for powerpc64.
16281 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16282 bcopy for powerpc64.
16283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16284 and memmove implementations.
16285 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16286 optimized multiarch memmove for POWER7/powerpc64.
16287 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16288 default multiarch memmove for powerpc64.
16289 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16290 multiarch for powerpc64.
16291 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16292 for POWER7/powerpc64.
16293 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16294 memmove for POWER7/powerpc64.
16295
16296 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16297 glibc default one.
16298
16299 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16300 __ELF_NATIVE_CLASS equal to 64.
16301
16302 2014-07-07 Roland McGrath <roland@hack.frob.com>
16303
16304 * sysdeps/nptl/lowlevellock.h: File removed.
16305
16306 * NEWS: NPTL is no longer an add-on!
16307 * nptl/internaltypes.h: Moved ...
16308 * sysdeps/nptl/internaltypes.h: ... here.
16309 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16310 * sysdeps/nptl/fork.c: Likewise.
16311 * sysdeps/nptl/gai_misc.h: Likewise.
16312 * sysdeps/nptl/librt-cancellation.c: Likewise.
16313 * sysdeps/nptl/jmp-unwind.c: Likewise.
16314 * sysdeps/nptl/setxid.h: Likewise.
16315 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16316 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16317 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16318 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16319 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16320 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16321 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16322 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16323 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16324 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16325 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16326 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16327 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16328 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16329 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16330 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16331 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16332 * nptl/Makeconfig: Moved ...
16333 * sysdeps/nptl/Makeconfig: ... here.
16334 * nptl/configure: File removed.
16335 * nptl/ANNOUNCE: File removed.
16336 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16337 * sysdeps/unix/sysv/linux/configure: Regenerated.
16338
16339 * nptl/Makefile (routines): Add libc_pthread_init,
16340 libc_multiple_threads, register-atfork and unregister-atfork.
16341 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16342 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16343 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16344 pthread-pi-defines.sym, structsem.sym.
16345 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16346 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16347 [$(subdir) = nptl] (tests): Add tst-setgetname.
16348 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16349 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16350 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16351 [!LIBC_SIGACTION]: Remove aliases.
16352 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16353 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16354 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16355 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16356 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16357 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16358 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16359 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16360 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16361 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16362 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16363 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16364 __libc_allocate_rtsig_private.
16365 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16366 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16367 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16368 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16369 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16370 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16371 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16372 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16373 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16374 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16375 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16376 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16377 * nptl/internaltypes.h: ... here.
16378 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16379 * sysdeps/nptl/jmp-unwind.c: ... here.
16380 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16381 * nptl/libc-lowlevellock.c: ... here.
16382 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16383 * nptl/libc_multiple_threads.c: ... here.
16384 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16385 * nptl/libc_pthread_init.c: ... here.
16386 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16387 * nptl/lowlevelbarrier.sym: ... here.
16388 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16389 * nptl/lowlevelcond.sym: ... here.
16390 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16391 * nptl/lowlevellock.c: ... here.
16392 * nptl/lowlevellock.h: Moved ...
16393 * sysdeps/nptl/lowlevellock.h: ... here.
16394 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16395 * nptl/lowlevelrobustlock.c: ... here.
16396 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16397 * nptl/lowlevelrobustlock.sym: ... here.
16398 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16399 * nptl/lowlevelrwlock.sym: ... here.
16400 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16401 * nptl/pt-fork.c: ... here.
16402 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16403 * nptl/pthread-pi-defines.sym: ... here.
16404 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16405 * nptl/pthread_attr_getaffinity.c: ... here.
16406 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16407 * nptl/pthread_attr_setaffinity.c: ... here.
16408 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16409 * nptl/pthread_mutex_cond_lock.c: ... here.
16410 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16411 Update #include.
16412 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16413 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16414 * nptl/pthread_once.c: ... here, replacing old file.
16415 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16416 * nptl/pthread_yield.c: ... here.
16417 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16418 * nptl/register-atfork.c: ... here.
16419 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16420 * nptl/sem_post.c: ... here.
16421 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16422 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16423 * nptl/sem_timedwait.c: ... here.
16424 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16425 * nptl/sem_trywait.c: ... here.
16426 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16427 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16428 * nptl/sem_wait.c: ... here.
16429 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16430 * nptl/structsem.sym: ... here.
16431 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16432 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16433 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16434 * nptl/unregister-atfork.c: ... here.
16435 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16436 * nptl/unwindbuf.sym: ... here.
16437 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16438 * sysdeps/nptl/fork.c: ... here.
16439 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16440 * sysdeps/nptl/fork.h: ... here.
16441 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16442 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16443 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16444 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16445 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16446 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16447 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16448 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16449 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16450 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16451 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16452 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16453 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16454 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16455 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16456 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16457 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16458 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16459 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16460 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16461 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16462 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16463 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16464 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16465 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16466 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16467 * sysdeps/unix/sysv/linux/raise.c: ... here.
16468 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16469 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16470 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16471 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16472 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16473 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16474 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16475 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16476 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16477 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16478 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16479 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16480 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16481 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16482 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16483
16484 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16485
16486 * sysdeps/generic/memcopy.h: Add comment for
16487 MEMCPY_OK_FOR_FWD_MEMMOVE.
16488
16489 2014-07-04 Will Newton <will.newton@linaro.org>
16490
16491 * string/memchr.c: Merge from gnulib.
16492 [_LIBC]: Remove conditionals.
16493 (__ptr_t): Remove define.
16494 (LONG_MAX_32_BITS): Likewise.
16495 (LONG_MAX): Likewise.
16496 (MEMCHR): Use ANSI prototype and optimize algorithm.
16497
16498 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16499
16500 2014-07-03 Roland McGrath <roland@hack.frob.com>
16501
16502 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16503 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16504
16505 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16506 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16507 in a bare environment with no <stdlib.h> installed.
16508 * sysdeps/nptl/configure: Regenerated.
16509
16510 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16511
16512 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16513 AC_EGREP_CPP for kernel header checks, so they only succeed if
16514 including <linux/version.h> actually works right.
16515 * sysdeps/unix/sysv/linux/configure: Regenerated.
16516
16517 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16518 value so it's not diagnosed as unused.
16519
16520 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16521 thing) with "ifeq ($(subdir),rt)".
16522
16523 2014-07-03 Richard Henderson <rth@redhat.com>
16524
16525 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16526 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16527 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16528
16529 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16530 (math_force_eval): New.
16531
16532 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16533 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16534
16535 * sysdeps/alpha/fpu/s_round.c: Remove file.
16536 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16537
16538 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16539 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16540 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16541 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16542 (_dl_start, print_statistics): Likewise.
16543 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16544 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16545
16546 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16547 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16548 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16549 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16550 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16551 (HP_SMALL_TIMING_AVAIL): Define.
16552 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16553 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16554 (HP_SMALL_TIMING_AVAIL): Define.
16555 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16556 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16557
16558 * sysdeps/aarch64/hp-timing.h: New file.
16559
16560 * sysdeps/generic/hp-timing.h: Remove dead comment.
16561 * sysdeps/generic/hp-timing-common.h: New file.
16562 * sysdeps/alpha/hp-timing.h: Include it.
16563 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16564 * sysdeps/i386/i686/hp-timing.h: Likewise.
16565 * sysdeps/ia64/hp-timing.h: Likewise.
16566 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16567 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16568 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16569 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16570 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16571 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16572 (hp_timing_t): New.
16573
16574 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16575 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16576 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16577 * elf/rtld.c (_dl_start_final): Likewise.
16578 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16579 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16580 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16581 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16582 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16583 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16584 (HP_TIMING_DIFF_INIT): Remove.
16585 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16586 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16587 (HP_TIMING_DIFF_INIT): Remove.
16588 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16589 * sysdeps/i386/i686/hp-timing.c: Remove file.
16590 * sysdeps/x86_64/hp-timing.c: Remove file.
16591 * sysdeps/ia64/hp-timing.c: Remove file.
16592 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16593 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16594 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16595 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16596
16597 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16598 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16599 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16600 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16601 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16602 (HP_TIMING_ACCUM): Remove.
16603 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16604 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16605 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16606
16607 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16608 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16609 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16610 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16611 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16612 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16613 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16614 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16615
16616 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16617
16618 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16619
16620 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16621
16622 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16623
16624 Sync up with gettext.
16625 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16626 [_MSC_VER]: Include malloc.h
16627 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16628 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16629 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16630 TEMP_FAILURE_RETRY. Cast return of alloca.
16631 [!_LIBC] Call gl_rwlock_init.
16632 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16633
16634 2014-07-02 Roland McGrath <roland@hack.frob.com>
16635
16636 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16637 before checking its value.
16638
16639 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16640
16641 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16642
16643 * debug/memcpy_chk.c: Don't include pagecopy.h.
16644 * debug/mempcpy_chk.c: Likewise.
16645 * string/memcpy.c: Likewise.
16646 * string/memmove.c: Likewise.
16647 * sysdeps/powerpc/memmove.c: Likewise.
16648 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16649 definition of PAGE_COPY_FWD_MAYBE here...
16650 * sysdeps/generic/pagecopy.h: ... from here.
16651 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16652
16653 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16654 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16655
16656 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16658 optimizations.
16659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16660 (__libc_ifunc_impl_list): Likewise.
16661 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16662 multiarch strcat for PPC64.
16663 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16664 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16665
16666 2014-07-02 Roland McGrath <roland@hack.frob.com>
16667
16668 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16669
16670 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16671
16672 * intl/loadmsgcat.c: Remove declaration of
16673 get_sysdep_segment_value.
16674 (get_sysdep_segment_value): Use ISO C style.
16675 (_nl_load_domain): Use ISO C style. Get rid of redundant
16676 semicolon. Fix typo and formatting in comment.
16677 (_nl_unload_domain): Use ISO C style.
16678
16679 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16680
16681 2014-07-02 Will Newton <will.newton@linaro.org>
16682
16683 * malloc/obstack.c: Merge from gnulib master.
16684 [HAVE_CONFIG_H]: Remove conditional code.
16685 [!_LIBC]: Include config.h.
16686 [!ELIDE_CODE]: Don't include inttypes.h, include
16687 stdint.h unconditionally.
16688 (print_and_abort): Mark as _Noreturn.
16689 (_obstack_allocated_p): Mark as __attribute_pure__.
16690 (obstack_free): Rename to __obstack_free.
16691 [!__attribute__]: Remove conditional code.
16692 * malloc/obstack.h: Merge from gnulib master.
16693 [__cplusplus]: Move conditional down.
16694 [!__attribute_pure__]: Define __attribute_pure__ here
16695 if it is not already defined.
16696 (_obstack_memory_used): Mark as __attribute_pure__.
16697 [!__obstack_free]: Define as obstack_free.
16698 [__GNUC__]: Remove check for ancient NeXT gcc.
16699
16700 2014-07-02 Will Newton <will.newton@linaro.org>
16701 Paul Eggert <eggert@cs.ucla.edu>
16702
16703 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16704
16705 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16706
16707 * resolv/gethnamaddr.c: Add comment warning that the file is
16708 not maintained.
16709
16710 2014-07-01 Carlos O'Donell <carlos@redhat.com>
16711
16712 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16713 entries.
16714
16715 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16716 entry for aio_cancel and aio_cancel64.
16717 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16718 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16719 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16720 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16721 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16722 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16723 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16724 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16725 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16726 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16727 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16728 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16729 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16730
16731 2014-07-01 Roland McGrath <roland@hack.frob.com>
16732
16733 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16734 * nptl/pthread_mutex_lock.c: Likewise.
16735 * nptl/pthread_mutex_timedlock.c: Likewise.
16736 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16737
16738 2014-07-01 Richard henderson <rth@redhat.com>
16739
16740 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16741 (__isnan, __isnanl): Remove.
16742 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16743
16744 * sysdeps/alpha/fpu/libm-test-ulps: Update.
16745
16746 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
16747
16748 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16749
16750 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16751
16752 * resolv/nss_dns/dns-host.c (getanswer_r)
16753 [MULTI_PTRS_ARE_ALIASES]: Remove code.
16754
16755 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16756
16757 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16758 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16759 undefine.
16760 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16761 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16762
16763 2014-07-01 Roland McGrath <roland@hack.frob.com>
16764
16765 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16766 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16767
16768 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16769 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16770
16771 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16772 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16773 ... here.
16774 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16775 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16776
16777 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16778 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16779 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16780 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16781
16782 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16783 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16784 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16785 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16786 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16787 Moved ...
16788 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16789 ... here.
16790 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16791 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16792 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16793 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16794 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16795 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16796 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16797 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16798 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16799 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16800 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16801 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16802 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16803 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16804 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16805 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16806 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16807 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16808 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16809 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16810 ... here.
16811 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16812 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16813 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16814 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16815 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16816 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16817 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16818 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16819
16820 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
16821
16822 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16823 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16824 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16825 Add sysdep.
16826
16827 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16828
16829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16830
16831 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16832
16833 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16834 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16835
16836 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16837
16838 * sysdeps/arm/libm-test-ulps: Regenerated.
16839
16840 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16841 Roland McGrath <roland@hack.frob.com>
16842
16843 * test-skeleton.c (signal_handler): Kill the whole process group
16844 before killing the child individually.
16845 (main): Report any failure on `setpgid'.
16846
16847 2014-06-30 Roland McGrath <roland@hack.frob.com>
16848
16849 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16850 from _TLS_H to _ARM_NPTL_TLS_H.
16851 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16852 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16853
16854 2014-06-30 Joseph Myers <joseph@codesourcery.com>
16855
16856 [BZ #16539]
16857 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16858 (__expm1l): Return argument unchanged when small but not
16859 subnormal.
16860
16861 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16862 include macro name.
16863 (_FP_UNPACK_RAW_1_P): Likewise.
16864 (_FP_PACK_RAW_1): Likewise.
16865 (_FP_PACK_RAW_1_P): Likewise.
16866 (_FP_MUL_MEAT_1_wide): Likewise.
16867 (_FP_MUL_MEAT_DW_1_hard): Likewise.
16868 (_FP_MUL_MEAT_1_hard): Likewise.
16869 (_FP_DIV_MEAT_1_imm): Likewise.
16870 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16871 (_FP_DIV_MEAT_1_udiv): Likewise.
16872 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16873 (_FP_UNPACK_RAW_2): Likewise.
16874 (_FP_UNPACK_RAW_2_P): Likewise.
16875 (_FP_PACK_RAW_2): Likewise.
16876 (_FP_PACK_RAW_2_P): Likewise.
16877 (_FP_MUL_MEAT_DW_2_wide): Likewise.
16878 (_FP_MUL_MEAT_2_wide): Likewise.
16879 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16880 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16881 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16882 (_FP_MUL_MEAT_2_gmp): Likewise.
16883 (_FP_DIV_MEAT_2_udiv): Likewise.
16884 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16885 (_FP_FRAC_SRL_4): Likewise.
16886 (_FP_FRAC_SRST_4): Likewise.
16887 (_FP_FRAC_SRS_4): Likewise.
16888 (_FP_UNPACK_RAW_4): Likewise.
16889 (_FP_UNPACK_RAW_4_P): Likewise.
16890 (_FP_PACK_RAW_4): Likewise.
16891 (_FP_PACK_RAW_4_P): Likewise.
16892 (_FP_MUL_MEAT_DW_4_wide): Likewise.
16893 (_FP_MUL_MEAT_4_wide): Likewise.
16894 (_FP_MUL_MEAT_4_gmp): Likewise.
16895 (umul_ppppmnnn): Likewise.
16896 (_FP_DIV_MEAT_4_udiv): Likewise.
16897 (__FP_FRAC_ADD_4): Likewise.
16898 (__FP_FRAC_SUB_3): Likewise.
16899 (__FP_FRAC_SUB_4): Likewise.
16900 (__FP_FRAC_DEC_3): Likewise.
16901 (__FP_FRAC_DEC_4): Likewise.
16902 (__FP_FRAC_ADDI_4): Likewise.
16903 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16904 (_FP_FRAC_SRL_8): Likewise.
16905 (_FP_FRAC_SRS_8): Likewise.
16906
16907 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16908 include macro name.
16909 (FP_UNPACK_RAW_EP): Likewise.
16910 (FP_PACK_RAW_E): Likewise.
16911 (FP_PACK_RAW_EP): Likewise.
16912 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
16913 (_FP_ISSIGNAN): Likewise.
16914 (_FP_ADD_INTERNAL): Likewise.
16915 (_FP_FMA): Likewise.
16916 (_FP_CMP): Likewise.
16917 (_FP_SQRT): Likewise.
16918 (_FP_TO_INT): Likewise.
16919 (_FP_FROM_INT): Likewise.
16920 (FP_EXTEND): Likewise.
16921 (_FP_DIV_MEAT_N_loop): Likewise.
16922
16923 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
16924
16925 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
16926 throughout.
16927
16928 2014-06-29 Joseph Myers <joseph@codesourcery.com>
16929
16930 [BZ #17097]
16931 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
16932 result with correct sign in case of exponents that produce
16933 overflow except for X very close to 1.
16934
16935 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
16936
16937 mktime: merge #if/#ifdef usage from glibc
16938 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
16939 as that works with both Glibc's and Gnulib's style.
16940 See thread starting at Siddhesh Poyarekar's bug report at:
16941 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
16942
16943 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16944
16945 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
16946 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
16947 * sysdeps/tile/tilegx/memmove.c: Remove file.
16948
16949 2014-06-27 Joseph Myers <joseph@codesourcery.com>
16950
16951 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
16952 abi-name definition.
16953 * scripts/soversions.awk: Do not handle or generate ABI lines.
16954 * shlib-versions: Remove ABI entries.
16955 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
16956 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
16957
16958 2014-06-27 Roland McGrath <roland@hack.frob.com>
16959
16960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
16961 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
16962 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
16963 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
16964 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
16965 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
16966 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
16967 Moved ...
16968 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
16969 ... here.
16970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
16971 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
16972 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
16973 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
16974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
16975 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
16976 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
16977 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
16978 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
16979 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
16980 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
16981 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
16982 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
16983 Moved ...
16984 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
16985 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
16986 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
16987 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
16988 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
16989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
16990 Moved ...
16991 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
16992 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
16993 Moved ...
16994 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
16995 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
16996 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
16997 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
16998 Moved ...
16999 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17000 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17001 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17002 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17003 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17004 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17005 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17006 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17007 Moved ...
17008 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17009 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17010 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17011 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17012 Moved ...
17013 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17014 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17015 Moved ...
17016 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17017 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17018 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17019 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17020 Moved ...
17021 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17022 ... here.
17023 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17024 Identical file removed.
17025 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17026 Moved ...
17027 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17028 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17029 Identical file removed.
17030 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17031 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17032 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17033 Moved ...
17034 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17035 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17036 Identical file removed.
17037 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17038 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17040 Identical file removed.
17041 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17042 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17043 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17044 Identical file removed.
17045 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17046 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17047 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17048 Identical file removed.
17049 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17050 Moved ...
17051 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17052 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17053 Identical file removed.
17054 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17055 Moved ...
17056 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17057 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17058 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17059 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17060 Identical file removed.
17061 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17062 Moved ...
17063 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17064 ... here.
17065 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17066 Identical file removed.
17067 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17068 Moved ...
17069 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17070 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17071 Identical file removed.
17072 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17073 Moved ...
17074 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17075 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17076 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17077 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17078 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17079 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17080 Moved ...
17081 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17082 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17083 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17084
17085 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17086 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17087 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17088 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17089 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17090
17091 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17092
17093 [BZ #17092]
17094 * nscd/nscd.c (monitor_child): Return exit status of child
17095 instead of return value from wait syscall.
17096
17097 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17098
17099 * configure.ac (libc_commonpagesize): Remove variable.
17100 (libc_relro_required): Likewise.
17101 (libc_cv_z_relro): Remove configure test.
17102 * configure: Regenerated.
17103 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17104 variable.
17105 (libc_relro_required): Likewise.
17106 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17107 (libc_relro_required): Likewise.
17108 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17109 (libc_relro_required): Likewise.
17110 * sysdeps/arm/preconfigure: Regenerated.
17111 * sysdeps/ia64/preconfigure: Remove file.
17112 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17113 variable.
17114 (libc_relro_required): Likewise.
17115
17116 [BZ #16561]
17117 [BZ #16562]
17118 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17119 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17120 recompute overflowing results in original rounding mode.
17121 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17122 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17123 recompute overflowing results in original rounding mode.
17124 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17125 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17126 recompute overflowing results in original rounding mode.
17127 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17128 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17129 recompute overflowing results in original rounding mode.
17130 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17131 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17132 recompute overflowing results in original rounding mode.
17133 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17134 (libc_feholdsetround_ctx): New macro.
17135 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17136 * sysdeps/i386/fpu/libm-test-ulps: Update.
17137 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17138
17139 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17140
17141 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17142 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17143 corresponding .cpsetup call.
17144
17145 2014-06-26 Roland McGrath <roland@hack.frob.com>
17146
17147 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17148 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17149 * sysdeps/arm/Makefile [$(subdir) = csu]
17150 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17151 (static-only-routines): Add aeabi_read_tp here.
17152 (shared-only-routines): Add libc-aeabi_read_tp here.
17153 (CFLAGS-libc-start.c): Add -fexceptions here.
17154 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17155 (sysdep_routines, static-only-routines, shared-only-routines):
17156 Don't add to these here.
17157 (CFLAGS-libc-start.c): Likewise.
17158
17159 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17160 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17161 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17162 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17163 * sysdeps/arm/Makefile [$(subdir) = rt]
17164 (librt-sysdep_routines, librt-shared-only-routines):
17165 Append rt-aeabi_unwind_cpp_pr1 here.
17166 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17167 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17168 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17169 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17170 Append nptl-aeabi_unwind_cpp_pr1 here.
17171 (tests): Filter out tst-cleanupx4 here.
17172 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17173 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17174 Don't do those here.
17175
17176 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17177
17178 * scripts/list-sources.sh: Do not handle ports specially.
17179
17180 2014-06-26 Roland McGrath <roland@hack.frob.com>
17181
17182 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17183 * sysdeps/arm/feupdateenv.c: Likewise.
17184
17185 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17186
17187 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17188
17189 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17190 trailing whitespace removed.
17191 * scripts/config.guess: Update to version 2014-03-23.
17192 * scripts/config.sub: Update to version 2014-05-01
17193 * scripts/install-sh: Update to version 2013-12-25.23.
17194 * scripts/move-if-change: Update from gnulib.
17195
17196 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17197
17198 * debug/memmove_chk.c: Remove pagecopy.h include.
17199
17200 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17201
17202 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17203 identical to gnulib mktime.
17204
17205 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17206
17207 * configure.ac: Do not test for machine being rs6000. Do not test
17208 for powerpc*-*soft.
17209 * configure: Regenerated.
17210
17211 [BZ #11505]
17212 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17213 test.
17214 * configure: Regenerated.
17215 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17216 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17217 Remove configure test.
17218 * sysdeps/arm/configure: Regenerated.
17219 * sysdeps/nptl/configure.ac: Do not check
17220 libc_cv_asm_cfi_directives.
17221 * sysdeps/nptl/configure: Regenerated.
17222 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17223 * sysdeps/x86_64/nptl/configure: Remove generated file.
17224 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17225 unconditional.
17226 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17227
17228 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17229
17230 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17231 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17232 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17233 it is defined.
17234
17235 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17236 instead of whether it is defined.
17237 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17238 * sysdeps/hppa/dl-machine.h: Likewise.
17239 * sysdeps/ia64/dl-machine.h: Likewise.
17240 * sysdeps/m68k/dl-machine.h: Likewise.
17241 * sysdeps/microblaze/dl-machine.h: Likewise.
17242 * sysdeps/mips/dl-machine.: Likewise.
17243 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17244 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17245 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17246 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17247 * sysdeps/sh/dl-machine.h: Likewise.
17248 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17249 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17250 * sysdeps/tile/dl-machine.h: Likewise.
17251 * sysdeps/x86_64/dl-machine.h: Likewise.
17252
17253 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17254 code.
17255 (verify_persistent_db): Likewise.
17256
17257 2014-06-26 Roland McGrath <roland@hack.frob.com>
17258
17259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17260 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17262 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17264 Moved ...
17265 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17266 ... here.
17267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17268 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17270 Identical file removed.
17271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17272 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17274 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17276 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17278 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17280 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17282 Moved ...
17283 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17285 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17287 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17289 Moved ...
17290 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17292 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17294 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17296 Identical file removed.
17297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17298 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17300 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17302 Moved ...
17303 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17304 ... here.
17305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17306 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17308 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17310 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17312 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17314 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17316 Moved ...
17317 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17319 Moved ...
17320 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17322 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17324 Moved ...
17325 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17327 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17328
17329 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17330 folded into ...
17331 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17332 * sysdeps/unix/sysv/linux/s390/Versions
17333 (libpthread: GLIBC_2.19): New version set.
17334 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17335 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17336 (librt: GLIBC_2.3.3): New version set.
17337 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17338 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17339 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17340 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17341 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17342 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17343 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17344 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17345 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17346 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17347 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17348 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17349 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17350 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17351 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17352 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17353 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17354 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17355 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17356 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17357 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17358 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17359 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17360 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17361 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17362 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17363 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17364 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17365 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17366 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17367 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17368 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17369 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17370 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17371 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17372 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17373 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17374 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17375 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17376 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17377 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17378 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17379 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17380 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17381 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17382
17383 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17384 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17385 (__libc_vfork): Define the function under this name.
17386 [!NOT_IN_libc] (__vfork): Make this an alias.
17387 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17388 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17389 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17390 (__libc_vfork): Define the function under this name.
17391 [!NOT_IN_libc] (__vfork): Make this an alias.
17392 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17393 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17394 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17395 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17396 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17397 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17398
17399 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17400 code that was previously under [RESET_PID].
17401 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17402 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17403 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17404
17405 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17406 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17407 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17408 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17409 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17410 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17411 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17412 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17413 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17414 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17415 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17416 Moved ...
17417 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17418 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17419 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17420 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17421 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17422 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17423 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17424 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17425 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17426 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17427 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17428 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17429 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17430 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17431 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17432 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17433 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17434 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17435 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17436 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17437 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17438 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17439 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17440 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17441 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17442 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17443 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17444 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17445 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17446
17447 2014-06-25 Roland McGrath <roland@hack.frob.com>
17448
17449 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17450 that was previously under [RESET_PID].
17451 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17452
17453 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17454
17455 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17456 not undefine and redefine.
17457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17458 [O_CLOEXEC]: Make code unconditional.
17459 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17460 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17461 <kernel-features.h>.
17462 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17463 conditional variable definition.
17464 (shm_open) [O_CLOEXEC]: Make code unconditional.
17465 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17466 code.
17467
17468 * configure.ac (USE_REGPARMS): Don't define here.
17469 * configure: Regenerated.
17470 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17471 * sysdeps/i386/configure: Regenerated.
17472
17473 * nptl/createthread.c: Don't include kernel-features.h.
17474 * nptl/pthread_cancel.c: Likewise.
17475 * nptl/pthread_condattr_setclock.c: Likewise.
17476 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17477 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17478 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17479 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17480 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17481 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17482 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17485 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17486 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17487 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17488 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17489 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17490 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17491 * nscd/gai.c: Likewise.
17492 * nss/nss_db/db-open.c: Likewise.
17493 * sysdeps/generic/ldsodefs.h: Likewise.
17494 * sysdeps/sh/nptl/tls.h: Likewise.
17495 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17496 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17497 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17498 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17499 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17500 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17501 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17502 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17503 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17504 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17505 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17506 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17507 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17508 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17509 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17510 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17511 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17512 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17513 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17514 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17515 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17516 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17517 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17518 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17519 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17520 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17521 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17522 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17523 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17524 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17525 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17526 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17527 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17528 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17529 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17530 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17531 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17532 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17533 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17534 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17535 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17536 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17537 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17538 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17539 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17540 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17541 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17542 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17543 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17544 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17545 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17546 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17547 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17548 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17549 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17550 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17551 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17552 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17575 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17576 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17577 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17578 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17579 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17580 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17581 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17582 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17583 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17584 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17585 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17586 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17587 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17588 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17589 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17590 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17591 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17592 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17593 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17594 * sysdeps/unix/sysv/linux/system.c: Likewise.
17595 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17596 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17597 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17598 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17599 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17600 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17601 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17602
17603 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17604 * configure: Regenerated.
17605 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17606
17607 * configure.ac (base_machine): Do not set specially for particular
17608 machines here.
17609 * configure: Regenerated.
17610 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17611 settings from configure.ac.
17612 * sysdeps/i386/preconfigure: New file.
17613 * sysdeps/s390/preconfigure: Likewise.
17614 * sysdeps/sh/preconfigure: Likewise.
17615 * sysdeps/sparc/preconfigure: Likewise.
17616
17617 2014-06-25 Roland McGrath <roland@hack.frob.com>
17618
17619 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17620 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17621 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17622 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17623 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17624 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17625 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17626 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17627 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17628 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17629 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17630 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17631 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17632 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17633 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17634 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17635 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17636 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17637 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17638
17639 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17640 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17641 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17642 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17643 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17644 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17645 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17646 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17647 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17648 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17649 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17650 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17651 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17652 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17653 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17654 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17655 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17656 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17657 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17658 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17659 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17660 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17661 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17662 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17663 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17664 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17665 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17666 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17667 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17668 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17669 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17670 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17671 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17672 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17673 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17674 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17675 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17676 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17677
17678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17679 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17681 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17683 Moved ...
17684 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17685 ... here.
17686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17687 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17689 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17691 Moved ...
17692 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17694 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17696 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17698 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17700 Moved ...
17701 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17703 Moved ...
17704 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17706 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17708 Moved ...
17709 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17711 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17713 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17715 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17717 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17719 Moved ...
17720 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17721 ... here.
17722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17723 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17725 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17727 Moved ...
17728 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17730 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17732 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17734 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17736 Moved ...
17737 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17739 Moved ...
17740 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17742 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17744 Moved ...
17745 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17747 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17749 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17750
17751 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17752
17753 * timezone/checktab.awk: Update from tzcode 2014e.
17754 * timezone/private.h: Likewise.
17755 * timezone/tzfile.h: Likewise.
17756 * timezone/zdump.c: Likewise.
17757 * timezone/zic.c: Likewise.
17758
17759 * sysdeps/unix/sysv/linux/kernel-features.h
17760 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17761 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17762 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17763 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17764 Remove conditional code.
17765
17766 2014-06-25 Will Newton <will.newton@linaro.org>
17767
17768 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17769 (_dl_arm_cap_flags): Add HWCAP2 values.
17770 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17771 (_DL_HWCAP_COUNT): Increase to 37.
17772 (_DL_HWCAP_LAST): New define.
17773 (_DL_HWCAP2_LAST): New define.
17774 (_dl_procinfo): Add support for printing
17775 AT_HWCAP2 entries.
17776 (_dl_string_hwcap): Use _dl_hwcap_string.
17777
17778 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17779
17780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17781
17782 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17783
17784 * README: Do not mention ports directory.
17785
17786 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17787 Remove macro.
17788 * sysdeps/unix/sysv/linux/futimes.c: Do not include
17789 <kernel-features.h>.
17790 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17791 conditional variable definition.
17792 (__futimes): Update comment.
17793 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17794 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17795
17796 [BZ #16560]
17797 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17798 arguments close to 0.
17799 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17800 Likewise.
17801 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17802 Likewise.
17803 * math/auto-libm-test-in: Add more tests of exp10.
17804 * math/auto-libm-test-out: Regenerated.
17805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17806
17807 * sysdeps/unix/sysv/linux/kernel-features.h
17808 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17809 * sysdeps/unix/sysv/linux/readv.c: Do not include
17810 <kernel-features.h>.
17811 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17812 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17813 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17814 unconditional.
17815 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17816 conditional code.
17817 * sysdeps/unix/sysv/linux/writev.c: Do not include
17818 <kernel-features.h>.
17819 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17820 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17821 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17822 unconditional.
17823 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17824 conditional code.
17825
17826 2014-06-25 Will Newton <will.newton@linaro.org>
17827
17828 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17829 comment changes throughout the file. Remove checks
17830 for HAVE_*_H definitions that are not required.
17831 (__gen_tempname): Call abort if an unknown kind value is
17832 passed.
17833
17834 2014-06-25 Andreas Schwab <schwab@suse.de>
17835
17836 [BZ #17086]
17837 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17838 scalbln, scalblnf, scalblnl in libc.
17839
17840 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17841
17842 [BZ #17086]
17843 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17844 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17845 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17846
17847 2014-06-24 Roland McGrath <roland@hack.frob.com>
17848
17849 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17850 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17851 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17852 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17853 Update #include.
17854 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17855 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17856 Update #include.
17857 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17858 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17859 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17860 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17861 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17862 * sysdeps/x86/bits/pthreadtypes.h: ... here.
17863 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17864 * sysdeps/x86/bits/semaphore.h: ... here.
17865 * sysdeps/x86/nptl/elide.h: Moved ...
17866 * sysdeps/x86/elide.h: ... here.
17867 * sysdeps/x86_64/nptl/Implies: File removed.
17868 * sysdeps/i386/nptl/Implies: File removed.
17869
17870 2014-06-24 Joseph Myers <joseph@codesourcery.com>
17871
17872 [BZ #16539]
17873 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17874 return the argument for normal arguments with exponent below -64.
17875 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17876 Likewise.
17877 * math/auto-libm-test-in: Add another test of expm1.
17878 * math/auto-libm-test-out: Regenerated.
17879
17880 [BZ #16287]
17881 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17882 calling __erfcl for arguments at least 16.
17883 * math/auto-libm-test-in: Add more tests of erf.
17884 * math/auto-libm-test-out: Regenerated.
17885
17886 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17887 individual architectures.
17888 * sysdeps/unix/sysv/linux/configure: Regenerated.
17889 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17890 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17891 * sysdeps/unix/sysv/linux/powerpc/configure.ac
17892 (ldd_rewrite_script): Define variable.
17893 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17895 file.
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17897 generated file.
17898 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17899 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17900 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17901 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17902 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17903 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17904 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17905 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17906
17907 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17908
17909 [BZ #17084]
17910 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
17911 Rename member __data.d to __data.__elision_data.
17912
17913 2014-06-24 Wilco <wdijkstr@arm.com>
17914
17915 * NEWS: Add 16918 to fixed bug list.
17916
17917 2014-06-24 Wilco <wdijkstr@arm.com>
17918
17919 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
17920
17921 2014-06-24 Wilco <wdijkstr@arm.com>
17922
17923 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
17924 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
17925 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
17926 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
17927 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
17928 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
17929 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
17930 Use _FPU_MASK_RM.
17931
17932 2014-06-24 Wilco <wdijkstr@arm.com>
17933
17934 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
17935
17936 2014-06-24 Wilco <wdijkstr@arm.com>
17937
17938 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
17939 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
17940 * sysdeps/arm/fesetround.c (fesetround): Remove space.
17941 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
17942
17943 2014-06-24 Wilco <wdijkstr@arm.com>
17944
17945 [BZ #16918]
17946 * sysdeps/arm/feupdateenv.c (feupdateenv):
17947 Rewrite to reduce FPSCR accesses and fix return value.
17948
17949 2014-06-24 Wilco <wdijkstr@arm.com>
17950
17951 * sysdeps/arm/fclrexcpt.c (feclearexcept):
17952 Optimize to avoid unnecessary FPSCR writes.
17953 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
17954 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17955 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
17956 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
17957
17958 2014-06-24 Wilco <wdijkstr@arm.com>
17959
17960 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
17961 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
17962 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
17963 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
17964 Call libc_fetestexcept_vfp.
17965 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
17966 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
17967 __SOFTFP__ ifdef so that they can be built for softfp.
17968
17969 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17970
17971 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
17972 argument type signed char.
17973
17974 * Makerules (check-abi): Dump diff of symlist if the test
17975 fails.
17976
17977 2014-06-23 Roland McGrath <roland@hack.frob.com>
17978
17979 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
17980 using abort.
17981
17982 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17983 Remove unused variable ST.
17984
17985 2014-06-23 Joseph Myers <joseph@codesourcery.com>
17986
17987 [BZ #16354]
17988 [BZ #17061]
17989 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
17990 small arguments before calling __expm1.
17991 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
17992 small arguments before calling __expm1f.
17993 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
17994 small arguments before calling __expm1l.
17995 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17996 Likewise.
17997 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
17998 * math/auto-libm-test-in: Add more cosh tests. Do not allow
17999 spurious underflow for some cosh tests.
18000 * math/auto-libm-test-out: Regenerated.
18001 * sysdeps/i386/fpu/libm-test-ulps: Update.
18002
18003 [BZ #17050]
18004 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18005 (__ieee754_y1): Set errno if return value overflows.
18006 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18007 (__ieee754_y1f): Set errno if return value overflows.
18008 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18009 (__ieee754_y1l): Set errno if return value overflows.
18010 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18011 (__ieee754_y1l): Set errno if return value overflows.
18012 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18013 * math/auto-libm-test-out: Regenerated.
18014
18015 * math/gen-auto-libm-tests.c: Document use of
18016 ignore-zero-inf-sign.
18017 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18018 (input_flags): Add ignore-zero-inf-sign.
18019 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18020 * math/gen-libm-test.pl (generate_testfile): Handle
18021 ignore-zero-inf-sign.
18022 * math/auto-libm-test-in: Mark some cpow tests with
18023 ignore-zero-inf-sign and some with xfail-rounding.
18024 * math/auto-libm-test-out: Regenerated.
18025 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18026 * sysdeps/i386/fpu/libm-test-ulps: Update.
18027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18028
18029 [BZ #16315]
18030 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18031 overflowing or underflowing operations take place with sign of
18032 result.
18033 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18034 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18035 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18036 (__ieee754_pow): Recompute overflowing and underflowing results in
18037 original rounding mode.
18038 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18039 (__powl_helper): Allow negative argument X and scale negated value
18040 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18041 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18042 overflowing or underflowing operations take place with sign of
18043 result.
18044 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18045 Include <math.h>.
18046 * math/auto-libm-test-in: Add more tests of pow.
18047 * math/auto-libm-test-out: Regenerated.
18048 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18049 (pow_tonearest_test_data): Remove.
18050 (pow_test_tonearest): Likewise.
18051 (pow_towardzero_test_data): Likewise.
18052 (pow_test_towardzero): Likewise.
18053 (pow_downward_test_data): Likewise.
18054 (pow_test_downward): Likewise.
18055 (pow_upward_test_data): Likewise.
18056 (pow_test_upward): Likewise.
18057 (main): Don't call removed functions.
18058 * sysdeps/i386/fpu/libm-test-ulps: Update.
18059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18060
18061 2014-06-23 Roland McGrath <roland@hack.frob.com>
18062
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18064 Moved ...
18065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18067 Moved ...
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18070 Moved ...
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18073 Moved ...
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18076 File removed.
18077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18078 File removed.
18079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18080 File removed.
18081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18082 File removed.
18083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18084 File removed.
18085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18086 File removed.
18087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18088 File removed.
18089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18090 File removed.
18091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18092 File removed.
18093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18094 File removed.
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18096 File removed.
18097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18098 File removed.
18099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18100 Moved ...
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18103 Moved ...
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18105 ... here.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18107 Moved ...
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18110 Moved ...
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18113 Moved ...
18114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18116 Moved ...
18117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18119 Moved ...
18120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18122 Moved ...
18123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18125 Moved ...
18126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18129 ... here.
18130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18131 Moved ...
18132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18134 Moved ...
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18136 ... here.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18138 Moved ...
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18140 ... here.
18141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18142 Moved ...
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18144 ... here.
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18146 Moved ...
18147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18149 Moved ...
18150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18154 Moved ...
18155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18156 ... here.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18158 Moved ...
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18160 ... here.
18161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18162 Moved ...
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18165 Moved ...
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18168 Moved ...
18169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18171 Moved ...
18172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18174 Moved ...
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18176 ... here.
18177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18178 Moved ...
18179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18181 Moved ...
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18184 Moved ...
18185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18187 Moved ...
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18192 Moved ...
18193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18195 Moved ...
18196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18198 Moved ...
18199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18200 ... here.
18201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18202 Moved ...
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18204 ... here.
18205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18206 Moved ...
18207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18208 ... here.
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18210 Moved ...
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18213 Moved ...
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18216 Moved ...
18217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18219 Moved ...
18220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18221 ... here.
18222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18223 Moved ...
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18225 ... here.
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18227 Moved ...
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18229 ... here.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18231 Moved ...
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18234 Moved ...
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18236
18237 2014-06-23 Will Newton <will.newton@linaro.org>
18238 Wilco <wdijkstr@arm.com>
18239
18240 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18241 implementation. Include get-rounding-mode.h.
18242 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18243 [!libc_feholdsetround_noex_ctx]: Define
18244 libc_feholdsetround_noex_ctx.
18245 [!libc_feholdsetround_noexf_ctx]: Define
18246 libc_feholdsetround_noexf_ctx.
18247 [!libc_feholdsetround_noexl_ctx]: Define
18248 libc_feholdsetround_noexl_ctx.
18249 (libc_feholdsetround_ctx): New function.
18250 (libc_feresetround_ctx): New function.
18251 (libc_feholdsetround_noex_ctx): New function.
18252 (libc_feresetround_noex_ctx): New function.
18253
18254 2014-06-23 Roland McGrath <roland@hack.frob.com>
18255
18256 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18257 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18258 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18259 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18260 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18261 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18262
18263 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18264 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18265 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18266 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18267 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18268 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18269 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18270 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18271 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18272 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18273 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18274 Moved ...
18275 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18276 ... here.
18277 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18278 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18279 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18280 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18281 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18282 Moved ...
18283 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18284 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18285 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18286 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18287 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18288 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18289 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18290 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18291 Moved ...
18292 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18293 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18294 Moved ...
18295 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18296 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18297 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18298 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18299 Moved ...
18300 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18301 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18302 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18303 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18304 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18305 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18306 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18307 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18308 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18309 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18310 Moved ...
18311 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18312 ... here.
18313 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18314 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18315 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18316 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18317 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18318 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18320 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18321 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18322 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18323 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18324 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18325 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18326 Moved ...
18327 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18328 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18329 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18330 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18331 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18332 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18333 Moved ...
18334 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18335 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18336 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18337 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18338 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18339
18340 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18341 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18342 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18343 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18344 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18345 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18346 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18347 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18348 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18349 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18350 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18351 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18352 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18353 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18354 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18355 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18356 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18357 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18358 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18359 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18360 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18361 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18362 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18363 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18364 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18365 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18366 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18367 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18368
18369 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18370
18371 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18372 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18373 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18374 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18375 (IPV6_PMTUDISC_INTERFACE): Likewise.
18376 (IPV6_PMTUDISC_OMIT): Likewise.
18377
18378 2014-06-23 Andreas Schwab <schwab@suse.de>
18379
18380 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18381 Remove unused errout label.
18382
18383 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18384
18385 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18386 macro: hardware supports Vector Crypto instructions.
18387
18388 2014-06-23 Will Newton <will.newton@linaro.org>
18389
18390 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18391 rather than __builtin_expect.
18392
18393 * elf/dl-lookup.c (undefined_msg): Remove variable.
18394 (_dl_lookup_symbol_x): Replace undefined_msg with string
18395 literal.
18396
18397 * elf/dl-lookup.c (do_lookup_unique): New function.
18398 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18399 to a separate function.
18400
18401 2014-06-23 Andreas Schwab <schwab@suse.de>
18402
18403 [BZ #17079]
18404 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18405 before reading the next line.
18406
18407 2014-06-23 Will Newton <will.newton@linaro.org>
18408
18409 * test-skeleton.c (signal_handler): Use printf and %m
18410 rather than perror. Use printf rather than fprintf to
18411 stderr. Use puts rather than fputs to stderr.
18412 (main): Likewise.
18413
18414 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18415
18416 * nscd/nscd.c (thread_info_t): Remove typedef.
18417 (thread_info): Remove variable.
18418
18419 2014-06-21 Allan McRae <allan@archlinux.org>
18420
18421 * NEWS: Mention CVE-2014-4043.
18422
18423 2014-06-20 Roland McGrath <roland@hack.frob.com>
18424
18425 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18426 * nptl/smp.h: ... here.
18427
18428 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18429
18430 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18431 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18432 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18433 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18434
18435 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18436 * nptl/stack-aliasing.h: New file.
18437 * sysdeps/i386/i686/stack-aliasing.h: New file.
18438 * sysdeps/i386/i686/nptl/Makefile: File removed.
18439 * sysdeps/x86_64/stack-aliasing.h: New file.
18440 * sysdeps/x86_64/nptl/Makefile
18441 (CFLAGS-pthread_create.c): Variable removed.
18442
18443 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18444 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18445 old file.
18446 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18447 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18448 old file.
18449
18450 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18451
18452 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18453 (__ASSUME_SIGFRAME_V2): Remove macro.
18454 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18455 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18456 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18457 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18458 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18459 Declare as function. Remove conditional macro definitions.
18460 (__default_rt_sa_restorer): Likewise.
18461 (__default_sa_restorer_v1): Remove declaration.
18462 (__default_sa_restorer_v2): Likewise.
18463 (__default_rt_sa_restorer_v1): Likewise.
18464 (__default_rt_sa_restorer_v2): Likewise.
18465 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18466 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18467 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18468
18469 2014-06-20 Roland McGrath <roland@hack.frob.com>
18470
18471 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18472 (libpthread-routines): Add sysdep.
18473 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18474 * sysdeps/unix/sysv/linux/sparc/Versions
18475 (libpthread: GLIBC_2.3.3): New version set.
18476 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18477 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18478 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18479 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18480 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18481 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18482 Moved ...
18483 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18484 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18485 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18486 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18487 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18488 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18489 * sysdeps/sparc/nptl/sem_init.c: ... here.
18490 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18491 * sysdeps/sparc/nptl/sem_post.c: ... here.
18492 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18493 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18494 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18495 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18496 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18497 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18498 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18499 (libpthread-routines): Add cpu_relax.
18500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18501 File removed.
18502 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18503 (librt: GLIBC_2.3.3): New version set.
18504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18505 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18506 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18507 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18509 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18510 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18512 Moved ...
18513 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18515 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18516 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18517 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18519 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18520 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18521 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18523 Moved ...
18524 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18525 Update #include.
18526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18527 Moved ...
18528 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18529 Update #include.
18530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18531 Moved ...
18532 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18533 Update #include.
18534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18535 Moved ...
18536 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18537 Update #include.
18538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18539 Moved ...
18540 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18541 Update #include.
18542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18543 Moved ...
18544 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18545 Update #include.
18546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18547 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18549 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18553 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18554 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18555 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18557 Moved ...
18558 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18560 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18562 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18563
18564 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18565
18566 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18567 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18568 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18569 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18570 * nscd/nscd.c: Likewise.
18571 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18572 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18573 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18574 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18575
18576 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18577 <kernel-features.h>.
18578 (init_mq_netlink): Remove conditional have_sock_cloexec
18579 definitions. Remove code conditional on have_sock_cloexec < 0.
18580 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18581 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18582 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18583 <kernel-features.h>.
18584 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18585 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18586
18587 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18588
18589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18590 Add tests for memset_chk and memset.
18591
18592 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18593 with AVX2_Usable.
18594
18595 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18596
18597 [BZ #16046]
18598 * elf/tst-dl-iter-static.c: New file.
18599 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18600
18601 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18602 error.
18603
18604 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18605
18606 * sysdeps/unix/sysv/linux/kernel-features.h
18607 (__ASSUME_F_GETOWN_EX): Remove macro.
18608 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18609 <kernel-features.h>.
18610 (miss_F_GETOWN_EX): Remove variable or macro.
18611 (do_fcntl): Do not check miss_F_GETOWN_EX.
18612 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18613
18614 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18615 Remove macro.
18616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18617 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18618 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18619
18620 * sysdeps/unix/sysv/linux/kernel-features.h
18621 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18622 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18623 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18624 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18625
18626 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18627
18628 [BZ #17075]
18629 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18630 Fix calculation of the symbol's value.
18631 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18632 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18633 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18634 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18635 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18636 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18637 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18638 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18639 (modules-names): Add `tst-armtlsdescmod',
18640 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18641 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18642 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18643 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18644 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18645 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18646 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18647 ($(objpfx)tst-armtlsdescloc): New dependency.
18648 ($(objpfx)tst-armtlsdescextnow): Likewise.
18649 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18650 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18651 TLS scheme support.
18652 * sysdeps/arm/configure: Regenerate.
18653
18654 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18655
18656 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18657 (__atfct_seterrno_2): Likewise.
18658 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18659 <kernel-features.h>.
18660 (__ASSUME_ATFCTS): Do not undefine and redefine.
18661 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18662 (__have_atfcts): Remove conditional definition.
18663 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18664 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18665 unreachable if [__ASSUME_ATFCTS].
18666 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18667 not undefine and redefine.
18668 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18669 <kernel-features.h>.
18670 (faccessat) [__NR_faccessat]: Make code unconditional.
18671 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18672 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18673 <kernel-features.h>.
18674 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18675 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18676 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18677 <kernel-features.h>.
18678 (fchownat) [__NR_fchownat]: Make code unconditional.
18679 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18680 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18681 <kernel-features.h>.
18682 (futimesat) [__NR_futimesat]: Make code unconditional.
18683 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18684 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18685 <kernel-features.h>.
18686 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18687 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18688 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18689 <kernel-features.h>.
18690 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18691 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18692 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18693 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18694 <kernel-features.h>.
18695 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18696 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18697 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18698 <kernel-features.h>.
18699 (linkat) [__NR_linkat]: Make code unconditional.
18700 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18701 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18702 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18703 <kernel-features.h>.
18704 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18705 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18706 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18707 <kernel-features.h>.
18708 (mkdirat) [__NR_mkdirat]: Make code unconditional.
18709 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18710 * sysdeps/unix/sysv/linux/openat.c: Do not include
18711 <kernel-features.h>.
18712 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18713 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18714 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18715 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18716 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18717 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18718 <kernel-features.h>.
18719 (readlinkat) [__NR_readlinkat]: Make code unconditional.
18720 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
18721 result of INLINE_SYSCALL directly, not via int variable.
18722 * sysdeps/unix/sysv/linux/renameat.c: Do not include
18723 <kernel-features.h>.
18724 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18725 (renameat) [__NR_renameat]: Make code unconditional.
18726 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18727 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18728 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18729 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18730 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18731 (__ASSUME_ATFCTS): Do not undefine and redefine.
18732 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18733 <kernel-features.h>.
18734 (symlinkat) [__NR_symlinkat]: Make code unconditional.
18735 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18736 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18737 <kernel-features.h>.
18738 (unlinkat) [__NR_unlinkat]: Make code unconditional.
18739 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18740 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18741 (__ASSUME_ATFCTS): Do not undefine and redefine.
18742 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18743 <kernel-features.h>.
18744 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18745 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18746 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18747 <kernel-features.h>.
18748 (__xmknodat) [__NR_mknodat]: Make code unconditional.
18749 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18750
18751 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18752
18753 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18754
18755 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
18756
18757 [BZ #17069]
18758 * posix/regcomp.c (parse_reg_exp): Deallocate partially
18759 constructed tree before returning error.
18760 * posix/bug-regexp36.c: Expand test case.
18761
18762 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
18763
18764 [BZ #6803]
18765 * math/libm-test.inc (scalbln_test_date):
18766 Add errno expectations.
18767 * math/w_scalblnf.c: New File.
18768 Add wrapper which checks for setting errno to ERANGE.
18769 Add weak_alias for corresponding scalbln function.
18770 * math/w_scalbln.c: Likewise.
18771 * math/w_scalblnl.c: Likewise.
18772 * math/Makefile (libm-calls): Add w_scalbln.
18773 * sysdeps/ieee754/flt-32/s_scalblnf.c:
18774 Remove weak_alias for corresponding scalbln function.
18775 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18779 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18780 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18781 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18782 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18783 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18784 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18785 Remove long_double_symbol for scalblnl function in libm, libc.
18786 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18787 Add wrapper which checks for setting errno to ERANGE.
18788 Add long_double_symbol for scalblnl function in libm, libc.
18789 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18790 Remove long_double_symbol for scalblnl in libm.
18791 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18792 Add wrapper which checks for setting errno to ERANGE.
18793 Add long_double_symbol for scalblnl function in libm.
18794 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18795 Do not use wrapper because of own implementation.
18796
18797 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
18798
18799 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18800 3 bytes for __pad1 for x32.
18801 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18802
18803 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
18804 H.J. Lu <hongjiu.lu@intel.com>
18805
18806 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18807 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18808 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18809 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18810 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18811
18812 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
18813
18814 [BZ #17069]
18815 * posix/regcomp.c (parse_expression): Deallocate partially
18816 constructed tree before returning error.
18817 * posix/Makefile.c (tests): Add bug-regex36.
18818 (generated): Add bug-regex36.mtrace.
18819 (tests-special): Add $(objpfx)bug-regex36-mem.out
18820 (bug-regex36-ENV): New variable.
18821 ($(objpfx)bug-regex36-mem.out): New rule.
18822 * posix/bug-regex36.c: New file.
18823
18824 2014-06-19 Will Newton <will.newton@linaro.org>
18825
18826 * malloc/malloc.c (systrim): If extra is zero then return
18827 early.
18828
18829 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18830
18831 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18832
18833 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
18834
18835 * sysdeps/aarch64/strchr.S: New file.
18836
18837 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18838
18839 [BZ #17022]
18840 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18841 from arguments -2 or below.
18842 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18843 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18844
18845 2014-06-18 Andreas Schwab <schwab@suse.de>
18846
18847 [BZ #17062]
18848 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18849 of a bracket expr not to run off the end of the string.
18850 * posix/Makefile (tests): Add tst-fnmatch3.
18851 * posix/tst-fnmatch3.c: New file.
18852
18853 2014-06-18 Joseph Myers <joseph@codesourcery.com>
18854
18855 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18856 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18857 [$(cross-compiling) = no]: Likewise.
18858 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18859 [$(cross-compiling) = no]: Likewise.
18860
18861 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18862
18863 [BZ #17031]
18864 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18865 double, adjusted for any remainder from the high double.
18866 * math/libm-test.inc (nearbyint): Add tests.
18867 (rint): Likewise.
18868
18869 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18870
18871 * nptl/sysdeps/powerpc/Makefile: Moved ...
18872 * sysdeps/powerpc/nptl/Makefile: ... here.
18873 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18874 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18875 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18876 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18877 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18878 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18879 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18880 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18881 * nptl/sysdeps/powerpc/tls.h: Moved ...
18882 * sysdeps/powerpc/nptl/tls.h: ... here.
18883
18884 2014-06-16 Joseph Myers <joseph@codesourcery.com>
18885
18886 [BZ #16681]
18887 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18888 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18889 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18890 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18891 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18892 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18893 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18894 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18895 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18896
18897 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
18898
18899 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18900
18901 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
18902
18903 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18904 defined operator.
18905
18906 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18907 $TIMEOUTFACTOR.
18908
18909 2014-06-16 Florian Weimer <fweimer@redhat.com>
18910
18911 [BZ #17058]
18912 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
18913 non-executed part of the test.
18914
18915 2014-06-16 Andreas Schwab <schwab@suse.de>
18916
18917 * string/bits/string2.h (strdup, strndup): Update feature guard.
18918
18919 2014-06-14 David S. Miller <davem@davemloft.net>
18920
18921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18922
18923 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
18924
18925 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18926 that was previously under [RESET_PID].
18927 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
18928
18929 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
18930 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
18931 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18932 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18933 (__libc_vfork): New strong alias.
18934 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
18935
18936 2014-06-14 Andi Kleen <ak@linux.intel.com>
18937
18938 * sysdeps/generic/elide.h: New file.
18939
18940 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
18941
18942 * Makefile (installed-headers): Adjust path of pthread.h header.
18943
18944 2014-06-13 Roland McGrath <roland@hack.frob.com>
18945
18946 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
18947 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
18948 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
18949 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
18950
18951 * nptl/sysdeps/s390/Makefile: Moved ...
18952 * sysdeps/s390/nptl/Makefile: ... here.
18953 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
18954 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
18955 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
18956 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
18957 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
18958 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
18959 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
18960 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18961 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
18962 * sysdeps/s390/nptl/pthreaddef.h: ... here.
18963 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
18964 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
18965 * nptl/sysdeps/s390/tls.h: Moved ...
18966 * sysdeps/s390/nptl/tls.h: ... here.
18967
18968 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
18969 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
18970
18971 2014-06-13 David S. Miller <davem@davemloft.net>
18972
18973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
18974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
18975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
18976 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
18977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
18978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
18979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
18980 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
18981 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
18982 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
18983 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
18984 Remove RESET_PID cpp guards.
18985 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
18986 Remove RESET_PID cpp guards.
18987 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
18988
18989 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
18990
18991 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
18992 __sp to uintptr_t.
18993
18994 2014-06-13 Andi Kleen <ak@linux.intel.com>
18995
18996 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
18997 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
18998 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
18999 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19000 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19001 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19002 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19003 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19004 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19005 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19006 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19007 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19008 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19009 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19010 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19011 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19012 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19013 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19014 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19015 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19016
19017 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19018 (pthread_rwlock_rdlock): Add elision.
19019 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19020 (pthread_rwlock_wrlock): Add elision.
19021 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19022 (pthread_rwlock_trywrlock): Add elision.
19023 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19024 (pthread_rwlock_tryrdlock): Add elision.
19025 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19026 (pthread_rwlock_tryrdlock): Add elision unlock.
19027 * nptl/sysdeps/pthread/pthread.h:
19028 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19029 (PTHREAD_RWLOCK_INITIALIZER,
19030 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19031 Handle new elision field.
19032 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19033 * sysdeps/arm/nptl/bits/pthreadtypes.h
19034 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19035 * sysdeps/sh/nptl/bits/pthreadtypes.h
19036 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19037 * sysdeps/tile/nptl/bits/pthreadtypes.h
19038 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19039 * sysdeps/a/nptl/bits/pthreadtypes.h
19040 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19041 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19042 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19043 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19044 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19045 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19047 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19048 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19049 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19050 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19051 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19052 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19053 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19054 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19055 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19056 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19057 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19058 (elision_init): Set try_xbegin to zero when no RTM.
19059 * sysdeps/x86/nptl/bits/pthreadtypes.h
19060 (pthread_rwlock_t): Change __pad1 to __rwelision.
19061 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19062
19063 2014-06-13 Andi Kleen <ak@linux.intel.com>
19064
19065 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19066 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19067 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19068 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19069
19070 2014-06-13 Meador Inge <meadori@codesourcery.com>
19071
19072 [BZ #16996]
19073 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19074 that the cached result has been set before returning it.
19075
19076 2014-06-12 Roland McGrath <roland@hack.frob.com>
19077
19078 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19079 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19080 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19081 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19082 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19083 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19084
19085 * nptl/sysdeps/sparc/Makefile: Moved ...
19086 * sysdeps/sparc/nptl/Makefile: ... here.
19087 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19088 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19089 * nptl/sysdeps/sparc/tls.h: Moved ...
19090 * sysdeps/sparc/nptl/tls.h: ... here.
19091 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19092 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19093 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19094 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19095 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19096 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19097 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19098 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19099 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19100 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19101 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19102 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19103 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19104 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19105 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19106 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19107 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19108 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19109 Update #include.
19110 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19111 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19112 Update #include.
19113 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19114 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19115 Update #include.
19116 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19117 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19118 Update #include.
19119
19120 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19121
19122 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19123 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19124
19125 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19126 (struct list_links): Type removed.
19127 (struct thread_node, struct timer_node): Replace struct list_links
19128 with struct list_head.
19129 (list_unlink_ip): Likewise.
19130 * sysdeps/pthread/timer_routines.c
19131 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19132 (list_append, list_insbefore): Likewise.
19133 (list_init): Function removed.
19134 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19135 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19136 * sysdeps/pthread/Makefile: ... here, new file.
19137
19138 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19139 * sysdeps/nptl/Implies: ... here.
19140 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19141 * nptl/sysdeps/pthread/list.h: Moved ...
19142 * include/list.h: ... here.
19143 * nptl/sysdeps/pthread/createthread.c: Moved ...
19144 * nptl/createthread.c: ... here.
19145 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19146 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19147 * nptl/pt-longjmp.c: ... here.
19148 * nptl/sysdeps/pthread/Makefile: Moved ...
19149 * sysdeps/nptl/Makefile: ... here.
19150 * nptl/sysdeps/pthread/Subdirs: Moved ...
19151 * sysdeps/nptl/Subdirs: ... here.
19152 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19153 * sysdeps/nptl/aio_misc.h: ... here.
19154 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19155 * sysdeps/nptl/bits/libc-lock.h: ... here.
19156 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19157 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19158 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19159 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19160 * nptl/sysdeps/pthread/configure: Moved ...
19161 * sysdeps/nptl/configure: ... here.
19162 * nptl/sysdeps/pthread/configure.ac: Moved ...
19163 * sysdeps/nptl/configure.ac: ... here.
19164 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19165 * sysdeps/nptl/gai_misc.h: ... here.
19166 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19167 * sysdeps/nptl/librt-cancellation.c: ... here.
19168 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19169 * sysdeps/nptl/malloc-machine.h: ... here.
19170 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19171 * sysdeps/nptl/pthread-functions.h: ... here.
19172 * nptl/sysdeps/pthread/pthread.h: Moved ...
19173 * sysdeps/nptl/pthread.h: ... here.
19174 * nptl/sysdeps/pthread/setxid.h: Moved ...
19175 * sysdeps/nptl/setxid.h: ... here.
19176 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19177 * sysdeps/nptl/sigfillset.c: ... here.
19178 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19179 * sysdeps/nptl/tcb-offsets.h: ... here.
19180 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19181 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19182 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19183 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19184 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19185 * sysdeps/pthread/allocalim.h: ... here.
19186 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19187 * sysdeps/pthread/bits/sigthread.h: ... here.
19188 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19189 * sysdeps/pthread/flockfile.c: ... here.
19190 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19191 * sysdeps/pthread/ftrylockfile.c: ... here.
19192 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19193 * sysdeps/pthread/funlockfile.c: ... here.
19194 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19195 * sysdeps/pthread/posix-timer.h: ... here.
19196 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19197 * sysdeps/pthread/timer_create.c: ... here.
19198 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19199 * sysdeps/pthread/timer_delete.c: ... here.
19200 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19201 * sysdeps/pthread/timer_getoverr.c: ... here.
19202 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19203 * sysdeps/pthread/timer_gettime.c: ... here.
19204 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19205 * sysdeps/pthread/timer_routines.c: ... here.
19206 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19207 * sysdeps/pthread/timer_settime.c: ... here.
19208 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19209 * sysdeps/pthread/tst-timer.c: ... here.
19210 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19211 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19212
19213 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19214 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19215
19216 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19217 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19218 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19219 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19220 Update #include target.
19221 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19222 * sysdeps/i386/i686/nptl/Makefile: ... here.
19223 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19224 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19225 Update #include target.
19226 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19227 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19228 * nptl/sysdeps/i386/Makefile: Moved ...
19229 * sysdeps/i386/nptl/Makefile: ... here.
19230 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19231 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19232 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19233 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19234 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19235 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19236 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19237 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19238 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19239 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19240 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19241 * nptl/sysdeps/i386/tls.h: Moved ...
19242 * sysdeps/i386/nptl/tls.h: ... here.
19243
19244 * sysdeps/sh/Makefile [$(subdir) = csu]
19245 (gen-as-const-headers): Add tcb-offsets.sym.
19246 * nptl/sysdeps/sh/Makefile: File removed.
19247 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19248 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19249 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19250 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19251 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19252 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19253 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19254 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19255 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19256 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19257 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19258 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19259 * nptl/sysdeps/sh/tls.h: Moved ...
19260 * sysdeps/sh/nptl/tls.h: ... here.
19261 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19262 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19263 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19264 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19265 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19266 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19267 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19268 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19269 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19270 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19271 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19272 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19273 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19274 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19275 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19276 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19277 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19278 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19279 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19280 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19281 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19282 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19283 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19284 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19285 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19286 Moved ...
19287 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19288 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19289 Moved ...
19290 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19291 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19292 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19293 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19294 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19295 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19296 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19297 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19298 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19299 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19300 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19301 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19302 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19303 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19304 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19305 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19306 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19307 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19308 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19309
19310 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19311
19312 * posix/spawn_faction_addopen.c: Include string.h.
19313
19314 2014-06-11 Roland McGrath <roland@hack.frob.com>
19315
19316 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19317 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19318 * nptl/sysdeps/x86_64/Makefile: Moved ...
19319 * sysdeps/x86_64/nptl/Makefile: ... here.
19320 * nptl/sysdeps/x86_64/configure: Moved ...
19321 * sysdeps/x86_64/nptl/configure: ... here.
19322 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19323 * sysdeps/x86_64/nptl/configure.ac: ... here.
19324 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19325 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19326 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19327 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19328 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19329 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19330 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19331 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19332 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19333 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19334 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19335 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19336 * nptl/sysdeps/x86_64/tls.h: Moved ...
19337 * sysdeps/x86_64/nptl/tls.h: ... here.
19338 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19339 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19340 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19341 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19342
19343 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19344
19345 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19346
19347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19348
19349 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19350
19351 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19352 type.
19353 [POSIX] (off_t): Likewise.
19354 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19355 [POSIX] (S_ISBLK): Require macro.
19356 [POSIX] (S_ISCHR): Likewise.
19357 [POSIX] (S_ISDIR): Likewise.
19358 [POSIX] (S_ISFIFO): Likewise.
19359 [POSIX] (S_ISREG): Likewise.
19360 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19361 optional-macro.
19362 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19363 type.
19364 [POSIX] (time_t): Likewise.
19365 [POSIX] (timer_t): Likewise.
19366
19367 2014-06-11 Florian Weimer <fweimer@redhat.com>
19368
19369 [BZ #17048]
19370 * posix/spawn_int.h (struct __spawn_action): Make the path string
19371 non-const to support deallocation.
19372 * posix/spawn_faction_addopen.c
19373 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19374 * posix/spawn_faction_destroy.c
19375 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19376 path in all spawn_do_open actions.
19377 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19378 posix_spawn_file_actions_addopen.
19379
19380 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19381
19382 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19383 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19384 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19385 conditional code always true.
19386 (__libc_vfork): New alias.
19387
19388 2014-06-11 Roland McGrath <roland@hack.frob.com>
19389
19390 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19391 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19392
19393 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19394
19395 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19396 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19397
19398 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19399 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19400
19401 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19402 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19403
19404 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19405
19406 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19407 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19408 multiarch strcmp for PPC64.
19409 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19410 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19412 multiarch optimizations.
19413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19414 (__libc_ifunc_impl_list): Likewise.
19415
19416 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19417
19418 * benchtests/scripts/validate_benchout.py: New script.
19419 * benchtests/Makefile (bench-func): Call it.
19420 * benchtests/scripts/benchout.schema.json: New file.
19421
19422 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19423
19424 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19425 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19426 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19427 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19428 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19429 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19430 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19431 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19432 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19433 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19434 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19435 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19436 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19437 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19438 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19439 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19441 Moved ...
19442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19443 ... here.
19444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19445 Moved ...
19446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19448 Moved ...
19449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19450 ... here.
19451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19452 Moved ...
19453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19454 ... here.
19455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19456 Moved ...
19457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19459 Moved ...
19460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19461 ... here.
19462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19463 Moved ...
19464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19465 ... here.
19466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19467 Moved ...
19468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19470 Moved ...
19471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19472 ... here.
19473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19474 Moved ...
19475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19476 ... here.
19477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19478 Moved ...
19479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19480 ... here.
19481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19482 Moved ...
19483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19485 Moved ...
19486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19487 ... here.
19488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19489 Moved ...
19490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19491 ... here.
19492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19493 Moved ...
19494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19495 ... here.
19496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19497 Moved ...
19498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19500 Moved ...
19501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19502 ... here.
19503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19504 Moved ...
19505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19506 ... here.
19507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19508 Moved ...
19509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19511 Moved ...
19512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19513 ... here.
19514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19515 Moved ...
19516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19518 Moved ...
19519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19521 Moved ...
19522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19523 ... here.
19524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19525 Moved ...
19526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19527 ... here.
19528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19529 Moved ...
19530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19531 ... here.
19532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19533 Moved ...
19534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19536 Moved ...
19537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19538 ... here.
19539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19540 Moved ...
19541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19542 ... here.
19543 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19544 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19545 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19546 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19547 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19548 Moved ...
19549 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19550 ... here.
19551 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19552 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19553 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19554 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19556 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19557 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19558 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19559 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19560 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19561 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19562 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19563 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19564 Moved ...
19565 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19566 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19567 Moved ...
19568 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19569 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19570 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19571 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19572 Moved ...
19573 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19574 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19575 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19576 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19577 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19578 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19579 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19580
19581 2014-06-10 Wilco <wdijkstr@arm.com>
19582
19583 * math/test-fenv-return.c: New file.
19584 * math/Makefile: Add new test test-fenv-return.
19585
19586 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19587
19588 [BZ #17042]
19589 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19590 when x - 1 is zero.
19591 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19592 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19593 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19594 0.0L for an argument of 1.0L.
19595 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19596 Likewise.
19597 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19598 value when x - 1 is zero.
19599 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19600 * sysdeps/i386/fpu/libm-test-ulps: Update.
19601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19602
19603 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19604
19605 [BZ #15119]
19606 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19607
19608 2014-06-09 Roland McGrath <roland@hack.frob.com>
19609
19610 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19611 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19612
19613 2014-06-09 Roland McGrath <roland@hack.frob.com>
19614
19615 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19616 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19617
19618 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19619 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19620
19621 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19622 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19623
19624 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19625 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19626
19627 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19628 if not already defined.
19629 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19630 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19631 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19632 (TLS_INIT_TP): Use it.
19633 (TLS_DEFINE_INIT_TP): New macro.
19634 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19635
19636 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19637
19638 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19639 constant.
19640 [POSIX] (IXANY): Likewise.
19641 [POSIX] (OLCUC): Likewise.
19642 [POSIX || POSIX2008] (CBAUD): Do not allow.
19643 [POSIX || POSIX2008] (DEFECHO): Likewise.
19644 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19645 [POSIX || POSIX2008] (ECHOKE): Likewise.
19646 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19647 [POSIX || POSIX2008] (EXTA): Likewise.
19648 [POSIX || POSIX2008] (EXTB): Likewise.
19649 [POSIX || POSIX2008] (FLUSHO): Likewise.
19650 [POSIX || POSIX2008] (LOBLK): Likewise.
19651 [POSIX || POSIX2008] (PENDIN): Likewise.
19652 [POSIX || POSIX2008] (SWTCH): Likewise.
19653 [POSIX || POSIX2008] (VDISCARD): Likewise.
19654 [POSIX || POSIX2008] (VDSUSP): Likewise.
19655 [POSIX || POSIX2008] (VLNEXT): Likewise.
19656 [POSIX || POSIX2008] (VREPRINT): Likewise.
19657 [POSIX || POSIX2008] (VSTATUS): Likewise.
19658 [POSIX || POSIX2008] (VWERASE): Likewise.
19659 (B*): Change to B[0123456789]*.
19660 * conform/data/time.h-data [POSIX || UNIX98]
19661 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19662 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19663 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19664 [POSIX] (tm_*): Do not allow.
19665
19666 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19667
19668 * Makefile (install): Don't set LANGUAGE.
19669 * Makefile.in (install): Likewise.
19670 * assert/Makefile (test-assert-ENV): Remove variable.
19671 (test-assert-perr-ENV): Likewise.
19672 * elf/Makefile (neededtest4-ENV): Likewise.
19673 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19674 [$(cross-compiling) = no]: Don't set LANGUAGE.
19675 * io/ftwtest-sh (LANG): Remove variable.
19676 * libio/Makefile (tst-widetext-ENV): Likewise.
19677 * manual/install.texi (Running make install): Don't refer to
19678 environment settings for make install.
19679 * INSTALL: Regenerated.
19680 * nptl/tst-tls6.sh: Don't set LANG.
19681 * posix/globtest.sh (LANG): Remove variable.
19682 * string/Makefile (tester-ENV): Likewise.
19683 (inl-tester-ENV): Likewise.
19684 (noinl-tester-ENV): Likewise.
19685 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19686 [$(cross-compiling) = no]: Don't set LANGUAGE.
19687 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19688 without explicit environment settings.
19689
19690 2014-06-06 Roland McGrath <roland@hack.frob.com>
19691
19692 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19693 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19694 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19695 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19696
19697 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19698
19699 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19700 other files in the crypt directory.
19701 * crypt/crypt.c: Remove duplicate includes.
19702 * crypt/crypt-entry.c: Likewise.
19703 * crypt/crypt_util.c: Likewise.
19704
19705 2014-06-06 Joseph Myers <joseph@codesourcery.com>
19706
19707 * Makeconfig (run-program-env): New variable.
19708 (run-program-prefix-before-env): Likewise.
19709 (run-program-prefix-after-env): Likewise.
19710 (run-program-prefix): Define in terms of new variables.
19711 (built-program-cmd-before-env): New variable.
19712 (built-program-cmd-after-env): Likewise.
19713 (built-program-cmd): Define in terms of new variables.
19714 (test-program-prefix-before-env): New variable.
19715 (test-program-prefix-after-env): Likewise.
19716 (test-program-prefix): Define in terms of new variables.
19717 (test-program-cmd-before-env): New variable.
19718 (test-program-cmd-after-env): Likewise.
19719 (test-program-cmd): Define in terms of new variables.
19720 * Rules (make-test-out): Use $(run-program-env).
19721 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19722 (help): Do not mention environment variables. Mention
19723 --timeoutfactor option.
19724 (timeoutfactor): New variable.
19725 (blacklist_exports): Remove function.
19726 (exports): Remove variable.
19727 (command): Do not include ${exports}.
19728 * manual/install.texi (Configuring and compiling): Do not mention
19729 test wrappers preserving environment variables. Mention that last
19730 assignment to a variable must take precedence.
19731 * INSTALL: Regenerated.
19732 * benchtests/Makefile (run-bench): Use $(run-program-env).
19733 * catgets/Makefile ($(objpfx)test1.cat): Use
19734 $(built-program-cmd-before-env), $(run-program-env) and
19735 $(built-program-cmd-after-env).
19736 ($(objpfx)test2.cat): Do not specify environment variables
19737 explicitly.
19738 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19739 $(run-program-env) and $(built-program-cmd-after-env).
19740 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19741 $(run-program-env) and $(test-program-cmd-after-env).
19742 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19743 explicitly.
19744 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19745 run_program_env and test_program_cmd_after_env arguments.
19746 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19747 * elf/tst-pathopt.sh: Use run_program_env argument.
19748 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19749 $(test-wrapper-env) and $(run-program-env).
19750 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19751 run_program_env arguments.
19752 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19753 * intl/Makefile ($(objpfx)tst-gettext.out): Use
19754 $(test-program-prefix-before-env), $(run-program-env) and
19755 $(test-program-prefix-after-env).
19756 ($(objpfx)tst-gettext2.out): Likewise.
19757 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19758 run_program_env and test_program_prefix_after_env arguments.
19759 * intl/tst-gettext2.sh: Likewise.
19760 * intl/tst-gettext4.sh: Do not set environment variables
19761 explicitly.
19762 * intl/tst-gettext6.sh: Likewise.
19763 * intl/tst-translit.sh: Likewise.
19764 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19765 $(test-program-prefix-before-env), $(run-program-env) and
19766 $(test-program-prefix-after-env).
19767 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19768 run_program_env and test_program_prefix_after_env arguments.
19769 * math/Makefile (run-regen-ulps): Use $(run-program-env).
19770 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19771 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
19772 explicitly with each use of ${test_wrapper_env}.
19773 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19774 $(test-program-prefix-before-env), $(run-program-env) and
19775 $(test-program-prefix-after-env).
19776 * posix/tst-getconf.sh: Do not set environment variables
19777 explicitly.
19778 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19779 run_program_env and test_program_prefix_after_env arguments.
19780 * stdio-common/tst-printf.sh: Do not set environment variables
19781 explicitly.
19782 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19783 $(test-program-prefix-before-env), $(run-program-env) and
19784 $(test-program-prefix-after-env).
19785 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19786 run_program_env and test_program_prefix_after_env arguments.
19787 Split $test calls into $test_pre and $test.
19788 * timezone/Makefile (build-testdata): Use
19789 $(built-program-cmd-before-env), $(run-program-env) and
19790 $(built-program-cmd-after-env).
19791
19792 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19793
19794 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19795 strlen for non SHARED builds.
19796
19797 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19798
19799 * nptl/allocatestack.c (check_list): Inlined function...
19800 (__reclaim_stacks): ... here.
19801
19802 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19803
19804 [BZ #15698]
19805 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19806 memory overrun.
19807
19808 2014-06-05 Joseph Myers <joseph@codesourcery.com>
19809
19810 * Rules (make-test-out): Include
19811 LOCPATH=$(common-objpfx)localedata in default environment.
19812 * debug/Makefile (tst-chk1-ENV): Remove variable.
19813 (tst-chk2-ENV): Likewise.
19814 (tst-chk3-ENV): Likewise.
19815 (tst-chk4-ENV): Likewise.
19816 (tst-chk5-ENV): Likewise.
19817 (tst-chk6-ENV): Likewise.
19818 (tst-lfschk1-ENV): Likewise.
19819 (tst-lfschk2-ENV): Likewise.
19820 (tst-lfschk3-ENV): Likewise.
19821 (tst-lfschk4-ENV): Likewise.
19822 (tst-lfschk5-ENV): Likewise.
19823 (tst-lfschk6-ENV): Likewise.
19824 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19825 (tst-iconv7-ENV): Likewise.
19826 * intl/Makefile (LOCPATH-ENV): Likewise.
19827 (tst-codeset-ENV): Likewise.
19828 (tst-gettext3-ENV): Likewise.
19829 (tst-gettext5-ENV): Likewise.
19830 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19831 (tst-fopenloc-ENV): Likewise.
19832 (tst-fgetws-ENV): Remove variable.
19833 (tst-ungetwc1-ENV): Likewise.
19834 (tst-ungetwc2-ENV): Likewise.
19835 (bug-ungetwc2-ENV): Likewise.
19836 (tst-swscanf-ENV): Likewise.
19837 (bug-ftell-ENV): Likewise.
19838 (tst-fgetwc-ENV): Likewise.
19839 (tst-fseek-ENV): Likewise.
19840 (tst-ftell-partial-wide-ENV): Likewise.
19841 (tst-ftell-active-handler-ENV): Likewise.
19842 (tst-ftell-append-ENV): Likewise.
19843 * posix/Makefile (tst-fnmatch-ENV): Likewise.
19844 (tst-regexloc-ENV): Likewise.
19845 (bug-regex1-ENV): Likewise.
19846 (tst-regex-ENV): Likewise.
19847 (tst-regex2-ENV): Likewise.
19848 (bug-regex5-ENV): Likewise.
19849 (bug-regex6-ENV): Likewise.
19850 (bug-regex17-ENV): Likewise.
19851 (bug-regex18-ENV): Likewise.
19852 (bug-regex19-ENV): Likewise.
19853 (bug-regex20-ENV): Likewise.
19854 (bug-regex22-ENV): Likewise.
19855 (bug-regex23-ENV): Likewise.
19856 (bug-regex25-ENV): Likewise.
19857 (bug-regex26-ENV): Likewise.
19858 (bug-regex30-ENV): Likewise.
19859 (bug-regex32-ENV): Likewise.
19860 (bug-regex33-ENV): Likewise.
19861 (bug-regex34-ENV): Likewise.
19862 (bug-regex35-ENV): Likewise.
19863 (tst-rxspencer-ENV): Likewise.
19864 (tst-rxspencer-no-utf8-ENV): Likewise.
19865 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19866 (tst-sscanf-ENV): Likewise.
19867 (tst-swprintf-ENV): Likewise.
19868 (tst-swscanf-ENV): Likewise.
19869 (test-vfprintf-ENV): Likewise.
19870 (scanf13-ENV): Likewise.
19871 (bug14-ENV): Likewise.
19872 (tst-grouping-ENV): Likewise.
19873 * stdlib/Makefile (tst-strtod-ENV): Likewise.
19874 (tst-strtod3-ENV): Likewise.
19875 (tst-strtod4-ENV): Likewise.
19876 (tst-strtod5-ENV): Likewise.
19877 (testmb2-ENV): Likewise./
19878 * string/Makefile (tst-strxfrm-ENV): Likewise.
19879 (tst-strxfrm2-ENV): Likewise.
19880 (bug-strcoll1-ENV): Likewise.
19881 (test-strcasecmp-ENV): Likewise.
19882 (test-strncasecmp-ENV): Likewise.
19883 * time/Makefile (tst-strptime-ENV): Likewise.
19884 (tst-ftime_l-ENV): Likewise.
19885 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19886 (tst-mbrtowc-ENV): Likewise.
19887 (tst-wcrtomb-ENV): Likewise.
19888 (tst-mbrtowc2-ENV): Likewise.
19889 (tst-c16c32-1-ENV): Likewise.
19890 (tst-mbsnrtowcs-ENV): Likewise.
19891
19892 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
19893
19894 * manual/resource.texi (How to get information about the memory
19895 subsystem?): Fix typo.
19896 Reported by Peon de la Parra Ivan <peon@keba.com>
19897
19898 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
19899
19900 [BZ #16882]
19901 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19902 (pthread_spin_lock): Branch out of spin loop to proper location.
19903 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19904 (pthread_spin_lock): Likewise.
19905
19906 * nptl/tst-spin4.c: New test.
19907 * nptl/Makefile (tests): Add tst-spin4.
19908
19909 2014-06-03 Andreas Schwab <schwab@suse.de>
19910
19911 [BZ #15946]
19912 * resolv/res_send.c (send_dg): Reload file descriptor after
19913 calling reopen.
19914
19915 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
19916
19917 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19918
19919 2014-06-03 Richard Henderson <rth@redhat.com>
19920
19921 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
19922 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
19923 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
19924 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
19925 in the SAVE_PID block.
19926 (__libc_vfork): New alias.
19927 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
19928
19929 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
19930 child in registers, not on the stack. Remove RESET_PID conditionals.
19931 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
19932
19933 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
19934
19935 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19936
19937 2014-06-03 Wilco <wdijkstr@arm.com>
19938
19939 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
19940 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
19941 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19942 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
19943 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
19944 Likewise.
19945
19946 2014-06-03 Wilco <wdijkstr@arm.com>
19947
19948 * sysdeps/aarch64/fpu/math_private.h
19949 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
19950 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
19951 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
19952 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
19953 Fix declarations.
19954
19955 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
19956
19957 * crypt/crypt-private.h: Include ufc-crypt.h.
19958 (__b64_from_24bit): Declare extern.
19959 * crypt/crypt_util.c(__b64_from_24bit): New function.
19960 (b64t): New static const variable.
19961 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
19962 (b64t): Remove variable.
19963 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
19964 * crypt/sha256-crypt.c: Include crypt-private.h.
19965 (b64t): Remove variable.
19966 (__sha256_crypt_r): Remove b64_from_24bit and replace
19967 with __b64_from_24bit.
19968 * crypt/sha512-crypt.c: Likewise.
19969
19970 2014-06-02 Roland McGrath <roland@hack.frob.com>
19971
19972 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
19973 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
19974 Label the code __libc_vfork rather than __vfork.
19975 [!NOT_IN_libc] (vfork): Define as weak alias.
19976 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
19977 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
19978 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
19979
19980 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19981
19982 * malloc/malloc.c (malloc_info): Fix format specifier for
19983 n_mmaps.
19984
19985 2014-06-02 Wilco <wdijkstr@arm.com>
19986
19987 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
19988 FPCR write.
19989
19990 2014-06-02 Wilco <wdijkstr@arm.com>
19991
19992 [BZ #17009]
19993 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
19994 Rewrite to reduce FPCR/FPSR accesses.
19995
19996 2014-06-01 David S. Miller <davem@davemloft.net>
19997
19998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19999
20000 2014-05-31 David S. Miller <davem@davemloft.net>
20001
20002 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20003 to occur in round to nearest mode when |x| >= 2.0
20004
20005 2014-05-30 Richard Henderson <rth@twiddle.net>
20006
20007 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20008 (PSEUDO_RET_NOERRNO): Remove.
20009 (ret): Don't redefine.
20010 (ret_NOERRNO): Define in terms of ret.
20011 (ret_ERRVAL): Likewise.
20012
20013 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20014 use of PSEUDO_RET; perform the error check directly.
20015
20016 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20017
20018 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20019 with __int128_t.
20020
20021 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20022
20023 * malloc/malloc (malloc_info): Fix formatting.
20024
20025 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20026 Roland McGrath <roland@hack.frob.com>
20027
20028 * malloc/malloc (malloc_info): Also print mmapped statistics.
20029
20030 2014-05-30 Roland McGrath <roland@hack.frob.com>
20031
20032 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20033 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20034
20035 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20036
20037 * malloc/malloc.c (malloc_info): Inline mi_arena.
20038
20039 2014-05-29 Richard Henderson <rth@twiddle.net>
20040
20041 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20042 Remove comma before expanding ASM_ARGS_##nr.
20043 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20044 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20045 of ASM_ARGS_##nr.
20046 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20047 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20048 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20049 (ASM_ARGS_1): Add leading comma.
20050
20051 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20052 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20053 to __errno_location.
20054 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20055 Remove the expected plt for __errno_location.
20056
20057 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20058 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20059 call to __read_tp.
20060
20061 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20062 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20063 it and break it down.
20064 (DOCARGS_0, DOCARGS_1): Do nothing.
20065 (DOCARGS_2): Update to store into the new stack frame.
20066 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20067 (UNDOCARGS_1): Update to restore from the new stack frame.
20068 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20069 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20070
20071 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20072 (SINGLE_THREAD_P): New parameter for result regno.
20073 (PSEUDO): Update to match; use cbz instead of beq.
20074
20075 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20076 Use ENTRY to define the _nocancel entry point. Share the syscall
20077 and syscall error check paths with the cancel path.
20078 (PSEUDO_END): New.
20079
20080 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20081 whitespace; tabs before and after asm mnemonics.
20082
20083 2014-05-29 Eric Wong <normalperson@yhbt.net>
20084
20085 [BZ #15132]
20086 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20087 Call fstat64 or stat64 internally, depending on arguments passed.
20088 Replace stat buffer argument with file descriptor argument.
20089 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20090 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20091 Pass fd to __internal_statvfs instead of calling fstat64.
20092 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20093 Pass fd to __internal_statvfs64 instead of calling fstat64.
20094 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20095 Pass -1 to __internal_statvfs instead of calling stat64.
20096 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20097 Pass -1 to __internal_statvfs64 instead of calling stat64.
20098
20099 2014-05-28 Roland McGrath <roland@hack.frob.com>
20100
20101 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20102 that was previously under [RESET_PID].
20103 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20104
20105 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20106 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20107
20108 2014-05-27 Roland McGrath <roland@hack.frob.com>
20109
20110 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20111
20112 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20113 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20114
20115 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20116
20117 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20118
20119 2014-05-27 Andreas Schwab <schwab@suse.de>
20120
20121 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20122 TLS_INIT_TP macro.
20123 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20124 * elf/rtld.c (init_tls, dl_main): Likewise.
20125 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20126 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20127 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20128 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20129 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20130 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20131 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20132 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20133 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20134 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20135 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20136 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20137 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20138 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20139 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20140 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20141 * sysdeps/generic/tls.h: Update description.
20142
20143 2014-05-27 Will Newton <will.newton@linaro.org>
20144
20145 [BZ #16990]
20146 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20147 and restore r2 rather than just restoring.
20148
20149 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20150
20151 [BZ #16724]
20152 * libio/tst-ftell-append.c: New test case.
20153 * libio/Makefile (tests): Add test case.
20154 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20155 append mode.
20156 * libio/wfileops.c (do_ftell_wide): Likewise.
20157
20158 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20159
20160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20161
20162 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20163 ...
20164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20166 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20167 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20168 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20169 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20170 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20171 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20172 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20173 Moved ...
20174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20175 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20176 Moved ...
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20178 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20179 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20180 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20181 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20182 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20183 ...
20184 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20185 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20186 Moved ...
20187 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20188 here.
20189 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20190 ...
20191 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20192 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20193 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20194
20195 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20196 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20197 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20198 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20199
20200 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20201 merge into ...
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20203 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20204 ...
20205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20206 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20207 ...
20208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20210 Moved ...
20211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20212 here.
20213 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20214 Moved ...
20215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20216 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20217 Moved ...
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20219
20220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20221 conditional [RESET_PID].
20222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20224 removed.
20225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20226 removed.
20227
20228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20229 <tcb-offsets.h>.
20230 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20231 (__libc_vfork): New strong alias.
20232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20233 removed.
20234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20235 Removed.
20236
20237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20238 <tcb-offsets.h>.
20239 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20240 (__libc_vfork): New strong alias.
20241 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20242 removed.
20243 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20244 removed.
20245
20246 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20247
20248 * malloc/malloc.c (mi_arena): New function.
20249 (malloc_info): Remove nested function mi_arena. Call non-nosted
20250 function mi_arena.
20251
20252 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20253
20254 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20255 by insrwi.
20256 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20257 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20258 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20259 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20260 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20261 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20262 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20263
20264 2014-05-26 Andreas Schwab <schwab@suse.de>
20265
20266 [BZ #16984]
20267 * locale/programs/repertoire.c (repertoire_read): Add slash
20268 between I18NPATH element and file name.
20269 * locale/programs/locfile.c (locfile_read): Likewise.
20270
20271 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20272
20273 * nptl/pthread_mutexattr_settype.c
20274 (__pthread_mutexattr_settype):
20275 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20276
20277 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20278
20279 * nptl/tst-mutex5 (do_test):
20280 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20281
20282 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20283
20284 * benchtests/README: Document 'init' directive.
20285 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20286 BENCH_INIT.
20287 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20288 (parse_file): Recognize 'init' directive.
20289
20290 2014-05-26 Kyle McMartin <kyle@redhat.com>
20291
20292 [BZ #16796]
20293 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20294 alignment of struct pthread.
20295
20296 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20297
20298 [BZ #16878]
20299 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20300 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20301 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20302 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20303
20304 2014-05-25 Richard Henderson <rth@twiddle.net>
20305
20306 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20307 (SINGLE_THREAD_P_PIC): Remove.
20308 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20309 (SINGLE_THREAD_P_PIC): Remove.
20310
20311 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20312 branch to syscall error ...
20313 (PSEUDO): ... here.
20314 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20315 from __local_syscall_error to .Lsyscall_error.
20316 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20317 (SYSCALL_ERROR): Update label name.
20318
20319 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20320 Do not use DOARGS/UNDOARGS.
20321 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20322 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20323 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20324 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20325 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20326
20327 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20328 block comment.
20329
20330 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20331 define if !NOT_IN_libc.
20332 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20333 define with non-default symbol versions.
20334
20335 2014-05-23 Richard Henderson <rth@twiddle.net>
20336
20337 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20338 (vfork, __vfork): Define via compat_symbol.
20339
20340 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20341 [!HAVE_IFUNC] (vfork_compat): Remove.
20342 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20343
20344 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20345
20346 [BZ #16978]
20347 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20348 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20349 variable.
20350
20351 2014-05-23 Richard Henderson <rth@twiddle.net>
20352
20353 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20354 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20355 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20356 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20357
20358 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20359 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20360 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20361 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20362 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20363 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20364 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20365 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20366 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20367 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20368 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20369 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20370 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20371 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20372 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20373 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20374 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20375 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20376 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20377 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20378 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20379 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20380 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20381 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20382 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20383 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20384 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20385 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20386 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20387 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20388 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20389 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20390 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20391 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20392 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20393 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20394 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20395 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20396 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20397 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20398 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20399 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20400 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20401 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20402 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20403 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20404 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20405 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20406 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20407 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20409 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20410 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20411 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20412 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20413 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20414
20415 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20416 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20417 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20418 before exiting on error.
20419 (__libc_vfork): New strong alias.
20420 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20421 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20422
20423 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20424 that was previously under [RESET_PID].
20425 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20426
20427 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20428
20429 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20430
20431 [BZ #16977]
20432 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20433 value when x - 1 is zero.
20434 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20435 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20436 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20437 0.0L for an argument of 1.0L.
20438 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20439 Likewise.
20440 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20441 value when x - 1 is zero.
20442 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20443 * sysdeps/i386/fpu/libm-test-ulps: Update.
20444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20445
20446 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20447
20448 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20449 alphasort and versionsort.
20450
20451 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20452
20453 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20454 macro.
20455 [copysignf]: Likewise.
20456
20457 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20458
20459 * crypt/md5-crypt.c: Fix formatting.
20460
20461 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20462
20463 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20464 (b64_from_24bit): New function.
20465
20466 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20467
20468 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20469 libc_hidden_builtin_def to ifunc.
20470 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20471 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20472
20473 2014-05-21 Roland McGrath <roland@hack.frob.com>
20474
20475 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20476 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20477
20478 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20479
20480 * nscd/Depend (linuxthreads): Remove.
20481 (nptl): Add.
20482 * resolv/Depend (linuxthreads): Remove.
20483 * rt/Depend (linuxthreads): Remove.
20484
20485 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20486 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20487 $(common-objpfx)elf/.
20488 (link-libc-before-gnulib): Likewise.
20489 (elfobjdir): Remove variable.
20490 * Makefile (install): Use $(elf-objpfx) instead of
20491 $(common-objpfx)elf/.
20492 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20493 $(elfobjdir)/.
20494 (link-libc-deps): Likewise.
20495 ($(common-objpfx)libc.so): Likewise.
20496 ($(common-objpfx)linkobj/libc.so): Likewise.
20497 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20498 instead of $(common-objpfx)elf/.
20499 (symbolic-link-list): Likewise.
20500 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20501 [$(cross-compiling) = no]: Likewise.
20502 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20503 $(elfobjdir)/.
20504 (static-gnulib-arch): Likewise.
20505 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20506 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20507 $(common-objpfx)elf/.
20508
20509 2014-05-21 Richard Henderson <rth@redhat.com>
20510
20511 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20512 (SINGLE_THREAD_P): Use the correct width load. Fold
20513 into the ldr offset.
20514
20515 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20516 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20517
20518 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20519
20520 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20521 (libgcc_s_resume): Use __attribute_used__.
20522 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20523 Likewise.
20524
20525 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20526
20527 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20528 optimization when used with float constants.
20529
20530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20531
20532 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20533
20534 [BZ #16915]
20535 * locale/nl_langinfo_l.c: Make direct reference to every
20536 _nl_current_CATEGORY symbol.
20537 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20538 (tests-static): Add tst-langinfo-static.
20539 (tests-special): Add tst-langinfo-static.out.
20540 ($(objpfx)tst-langinfo.out): Redirect output.
20541 ($(objpfx)tst-langinfo-static.out): New.
20542 * localedata/tst-langinfo.sh: Send output to stdout.
20543 * localedata/tst-langinfo-static.c: New file.
20544
20545 [BZ #16965]
20546 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20547 when the shift amount is modulo the limb size.
20548
20549 2014-05-20 Richard Henderson <rth@redhat.com>
20550
20551 [BZ #16967]
20552 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20553 Change type of sa_flags from unsigned int to int.
20554
20555 [BZ #16966]
20556 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20557
20558 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20559
20560 2014-05-20 Will Newton <will.newton@linaro.org>
20561
20562 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20563 Test the return value of the system call in the nocancel case.
20564
20565 2014-05-20 Will Newton <will.newton@linaro.org>
20566 Yvan Roux <yvan.roux@linaro.org>
20567
20568 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20569 #include of asm/ptrace.h.
20570 (PTRACE_GET_THREAD_AREA): Remove #undef.
20571 (PTRACE_GETHBPREGS): Likewise.
20572 (PTRACE_SETHBPREGS): Likewise.
20573 (struct user_regs_struct): New structure.
20574 (struct user_fpsimd_struct): New structure.
20575 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20576 #include of asm/ptrace.h and second #include of sys/user.h.
20577 (PTRACE_GET_THREAD_AREA): Remove #undef.
20578 (PTRACE_GETHBPREGS): Likewise.
20579 (PTRACE_SETHBPREGS): Likewise.
20580 (ELF_NGREG): Use new struct user_regs_struct.
20581 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20582
20583 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20584
20585 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20586 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20587
20588 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20589
20590 [BZ #16958]
20591 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20592 membar to avoid block loads/stores to overlap previous stores.
20593
20594 2014-05-17 Richard Henderson <rth@redhat.com>
20595
20596 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20597 Create the __##syscall_name##_nocancel entry point.
20598 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20599 Remove; let the sysdep-cancel.h code create it.
20600
20601 2014-05-17 David S. Miller <davem@davemloft.net>
20602
20603 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20604 Protect with __USE_GNU.
20605 (TIOCSET_TEMPT): Likewise.
20606 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20607 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20608 these are already provided in bits/ioctl-types.h
20609
20610 2014-05-16 Roland McGrath <roland@hack.frob.com>
20611
20612 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20613 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20614
20615 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20616 Use wait4 regardless of [__NR_waitpid].
20617
20618 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20619
20620 PR libgcc/60166
20621 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20622 (_FP_NANSIGN_Q): Set the quiet bit.
20623
20624 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20625
20626 * benchtests/Makefile
20627 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20628 not $(common-objpfx)math/libm.so.
20629 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20630 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20631 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20632 $(common-objpfx)dlfcn/libdl.so.
20633 ($(objpfx)tst-audit8): Depend on $(libm), not
20634 $(common-objpfx)math/libm.so.
20635 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20636 not $(common-objpfx)dlfcn/libdl.so.
20637 * math/Makefile
20638 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20639 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20640 [$(build-shared) = yes].
20641 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20642 $(common-objpfx)nptl/libpthread.so.
20643 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20644 $(common-objpfx)math/libm.so$(libm.so-version) or
20645 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20646 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20647 $(common-objpfx)dlfcn/libdl.so.
20648 * setjmp/Makefile (link-libm): Remove variable.
20649 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20650 * stdio-common/Makefile (link-libm): Remove variable.
20651 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20652 * stdlib/Makefile (link-libm): Remove variable.
20653 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20654 ($(objpfx)tst-strtod-round): Likewise.
20655 ($(objpfx)tst-tininess): Likewise.
20656 ($(objpfx)tst-strtod-underflow): Likewise.
20657 ($(objpfx)tst-strtod6): Likewise.
20658 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20659 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20660 $(common-objpfx)dlfcn/libdl.so.
20661
20662 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20663
20664 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20665 BSD terminal modes definitions.
20666
20667 2014-05-16 Roland McGrath <roland@hack.frob.com>
20668
20669 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20670 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20671
20672 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20673 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20674 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20675 Don't do #include_next.
20676 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20677 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20678 Don't do #include_next.
20679 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20680 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20681 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20682 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20683
20684 2014-05-16 Allan McRae <allan@archlinux.org>
20685
20686 * po/sv.po: Update Swedish translation from translation project.
20687
20688 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20689 in sed expression.
20690
20691 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20692
20693 [BZ #16917]
20694 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20695 errno if the TIOCGPTN ioctl fails with an error different than
20696 EINVAL.
20697 * login/tst-ptsname.c: New file.
20698 * login/Makefile (tests): Add tst-ptsname.
20699
20700 [BZ #16943]
20701 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20702 and prlimit64.
20703
20704 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20705
20706 [BZ #16849]
20707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20708 herrno to return EAI_AGAIN.
20709
20710 2014-05-14 Roland McGrath <roland@hack.frob.com>
20711
20712 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20713 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20714 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20715 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20716 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20717 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20718 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20719 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20721 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20722 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20723 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20724 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20725 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20726 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20727 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20728 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20729 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20730 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20731 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20732 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20733 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20734 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20735 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20736 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20737 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20738 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20739 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20740 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20741 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20743 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20745 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20747 Moved ...
20748 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20750 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20752 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20754 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20756 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20758 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20760 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20762 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20764 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20766 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20768 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20770 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20772 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20774 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20776 Moved ...
20777 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20779 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20781 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20783 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20785 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20787 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20789 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20791 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20793 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20795 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20797 Moved ...
20798 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20800 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20801
20802 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20803 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20804 (libpthread-sysdep_routines): Add elision-related stuff here instead.
20805 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20806 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20807 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20808 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20809 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20810 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20811 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20812 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20813 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20814 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20815 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20816 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20817 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20818 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20819 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20820 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20821 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20822 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20823 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20824 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20825 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20826 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20827 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20828 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20829 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20830 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20831 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20832 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20833
20834 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20835 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20836
20837 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20838 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20839 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20840 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20841 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20842 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20843 Moved ...
20844 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20845 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20846 Moved ...
20847 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20848 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20849 Moved ...
20850 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20851 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20852 Moved ...
20853 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20854 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20855 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20856 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20857 Moved ...
20858 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20859 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20860 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20861 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20862 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20863 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20864 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20865 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20866 Moved ...
20867 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20868 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20869 Moved ...
20870 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20871 ... here.
20872 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20873 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20874 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20875 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20876 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20877 Moved ...
20878 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20879 ... here.
20880 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20881 Moved ...
20882 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20883 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20884 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20885 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20886 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20887 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20888 Moved ...
20889 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20890 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20891 Moved ...
20892 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20893 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20894 Moved ...
20895 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20896 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20897 Moved ...
20898 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20899 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20900 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20901 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20902 Moved ...
20903 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20904 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20905 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20906 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20907 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20908 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
20909 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
20910 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20911 Moved ...
20912 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
20913 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20914 Moved ...
20915 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
20916 ... here.
20917 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
20918 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
20919 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
20920 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
20921 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20922 Moved ...
20923 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
20924 ... here.
20925 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
20926 Moved ...
20927 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
20928 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
20929 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
20930 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
20931 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
20932 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
20933 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
20934 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
20935 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
20936 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
20937 Moved ...
20938 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
20939 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20940 Moved ...
20941 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
20942 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20943 Moved ...
20944 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
20945 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
20946 Moved ...
20947 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
20948 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
20949 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
20950 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
20951 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
20952 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20953 Moved ...
20954 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
20955 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
20956 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
20957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
20958 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
20959 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
20960 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
20961 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20962 Moved ...
20963 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
20964 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20965 Moved ...
20966 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
20967 ... here.
20968 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
20969 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
20970 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
20971 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
20972 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20973 Moved ...
20974 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
20975 ... here.
20976 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
20977 Moved ...
20978 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
20979 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
20980 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
20981 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
20982 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
20983 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
20984 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
20985 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
20986 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
20987 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
20988 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
20989
20990 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
20991 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
20992
20993 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
20994 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
20995
20996 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
20997 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
20998 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
20999 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21000 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21001 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21002 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21003 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21004 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21005 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21006 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21007 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21008 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21009 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21010 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21011 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21012 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21013 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21014 Moved ...
21015 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21016 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21017 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21018 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21019 Moved ...
21020 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21021 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21022 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21023 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21024 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21025 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21026 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21027 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21028 Moved ...
21029 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21030 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21031 Moved ...
21032 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21033 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21034 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21035 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21036 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21037 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21038 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21039 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21040 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21041 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21042 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21043 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21044 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21045 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21046 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21047 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21048 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21049
21050 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21051 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21052 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21053 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21054 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21055
21056 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21057 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21058 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21059 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21060 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21061 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21062 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21063 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21064 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21065 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21066
21067 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21068 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21069
21070 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21071 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21072 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21073 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21074 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21075 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21076 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21077 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21078 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21079 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21080 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21081 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21082 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21083 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21085 Update #include.
21086 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21087 Likewise.
21088 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21089 Likewise.
21090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21091 Likewise.
21092 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21093 Likewise.
21094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21095 Likewise.
21096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21097 Likewise.
21098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21099 Likewise.
21100 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21101 Likewise.
21102 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21103 Likewise.
21104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21105 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21106 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21107 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21108 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21109 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21110 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21111 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21112 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21113 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21114 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21115 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21116 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21117 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21118 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21119
21120 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21121 that was previously under [RESET_PID].
21122 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21123 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21124 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21125
21126 * sysdeps/i386/nptl/Implies: New file.
21127 * sysdeps/x86_64/nptl/Implies: New file.
21128 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21129 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21130 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21131 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21132
21133 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21134 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21135 (__libc_vfork): New strong alias.
21136 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21137 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21138
21139 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21140 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21141 (__libc_vfork): New strong alias.
21142 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21143 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21144
21145 * sysdeps/unix/sysv/linux/arm/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 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21149 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21150 * nptl/pt-vfork.c: New file.
21151 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21152 (libpthread: GLIBC_2.20): New version set (empty).
21153
21154 2014-05-14 Will Newton <will.newton@linaro.org>
21155
21156 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21157 rather than #if.
21158
21159 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21160
21161 [BZ #16564]
21162 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21163 arguments with exponent 65 or above.
21164 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21165 arguments 0x1p113L or above.
21166 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21167 to arguments 0x1p107L or above.
21168 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21169 positive arguments with exponent 65 or above.
21170 * math/auto-libm-test-in: Add more tests of log1p.
21171 * math/auto-libm-test-out: Regenerated.
21172
21173 [BZ #16928]
21174 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21175 non-finite arguments is +0.
21176 * math/s_cacosf.c (__cacosf): Likewise.
21177 * math/s_cacosl.c (__cacosl): Likewise.
21178 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21179 * sysdeps/i386/fpu/libm-test-ulps: Update.
21180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21181
21182 [BZ #16927]
21183 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21184 value.
21185 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21186 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21187 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21188 for explicit high bit of mantissa when testing for argument equal
21189 to 1.
21190 * math/libm-test.inc (acosh_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 #16516]
21195 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21196 (__erf): Scale by 16 instead of 8 in potentially underflowing
21197 case. Ensure exception if result actually underflows.
21198 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21199 (__erff): Scale by 16 instead of 8 in potentially underflowing
21200 case. Ensure exception if result actually underflows.
21201 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21202 (efx8): Remove variable.
21203 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21204 case. Ensure exception if result actually underflows.
21205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21206 (efx8): Remove variable.
21207 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21208 case. Ensure exception if result actually underflows.
21209 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21210 (efx8): Remove variable.
21211 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21212 case. Ensure exception if result actually underflows.
21213 * math/auto-libm-test-in: Add more tests of erf.
21214 * math/auto-libm-test-out: Regenerated.
21215
21216 2014-05-14 Andreas Schwab <schwab@suse.de>
21217
21218 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21219 Remove code conditionalized on USE___THREAD.
21220
21221 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21222 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21223 not definedness.
21224
21225 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21226
21227 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21228 Define unconditionally.
21229 (__ASSUME_O_CLOEXEC): Likewise.
21230 (__ASSUME_SOCK_CLOEXEC): Likewise.
21231 (__ASSUME_IN_NONBLOCK): Likewise.
21232 (__ASSUME_PIPE2): Likewise.
21233 (__ASSUME_EVENTFD2): Likewise.
21234 (__ASSUME_SIGNALFD4): Likewise.
21235 (__ASSUME_DUP3): Likewise.
21236 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21237 (__ASSUME_DUP3): Do not define.
21238 (__ASSUME_EVENTFD2): Likewise.
21239 (__ASSUME_IN_NONBLOCK): Likewise.
21240 (__ASSUME_O_CLOEXEC): Likewise.
21241 (__ASSUME_PIPE2): Likewise.
21242 (__ASSUME_SIGNALFD4): Likewise.
21243 (__ASSUME_SOCK_CLOEXEC): Likewise.
21244 (__ASSUME_UTIMES): Undefine.
21245 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21246 (__ASSUME_UTIMES): Do not define.
21247 (__ASSUME_O_CLOEXEC): Likewise.
21248 (__ASSUME_SOCK_CLOEXEC): Likewise.
21249 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21250 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21251 0x020621].
21252 (__ASSUME_PIPE2): Likewise.
21253 (__ASSUME_EVENTFD2): Likewise.
21254 (__ASSUME_SIGNALFD4): Likewise.
21255 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21256 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21257 Do not define.
21258 (__ASSUME_EVENTFD2): Likewise.
21259 (__ASSUME_SIGNALFD4): Likewise.
21260 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21261 (__ASSUME_32BITUIDS): Likewise.
21262 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21263 (__ASSUME_IPC64): Likewise.
21264 (__ASSUME_ST_INO_64_BIT): Likewise.
21265 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21266 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21267 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21268 (__ASSUME_UTIMES): Do not define.
21269 (__ASSUME_PSELECT): Likewise.
21270 (__ASSUME_PPOLL): Likewise.
21271 (__ASSUME_O_CLOEXEC): Likewise.
21272 (__ASSUME_SOCK_CLOEXEC): Likewise.
21273 (__ASSUME_IN_NONBLOCK): Likewise.
21274 (__ASSUME_PIPE2): Likewise.
21275 (__ASSUME_EVENTFD2): Likewise.
21276 (__ASSUME_SIGNALFD4): Likewise.
21277 (__ASSUME_DUP3): Likewise.
21278 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21279 (__ASSUME_UTIMES): Likewise.
21280 (__ASSUME_O_CLOEXEC): Likewise.
21281 (__ASSUME_SOCK_CLOEXEC): Likewise.
21282 (__ASSUME_IN_NONBLOCK): Likewise.
21283 (__ASSUME_PIPE2): Likewise.
21284 (__ASSUME_EVENTFD2): Likewise.
21285 (__ASSUME_SIGNALFD4): Likewise.
21286 (__ASSUME_DUP3): Likewise.
21287 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21288 (__ASSUME_UTIMES): Likewise.
21289 (__ASSUME_O_CLOEXEC): Likewise.
21290 (__ASSUME_SOCK_CLOEXEC): Likewise.
21291 (__ASSUME_IN_NONBLOCK): Likewise.
21292 (__ASSUME_PIPE2): Likewise.
21293 (__ASSUME_EVENTFD2): Likewise.
21294 (__ASSUME_SIGNALFD4): Likewise.
21295 (__ASSUME_DUP3): Likewise.
21296 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21297 Likewise.
21298 (__ASSUME_UTIMES): Likewise.
21299 (__ASSUME_EVENTFD2): Likewise.
21300 (__ASSUME_SIGNALFD4): Likewise.
21301 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21302 (__ASSUME_O_CLOEXEC): Likewise.
21303 (__ASSUME_SOCK_CLOEXEC): Likewise.
21304 (__ASSUME_IN_NONBLOCK): Likewise.
21305 (__ASSUME_PIPE2): Likewise.
21306 (__ASSUME_EVENTFD2): Likewise.
21307 (__ASSUME_SIGNALFD4): Likewise.
21308 (__ASSUME_DUP3): Likewise.
21309 (__ASSUME_UTIMES): Undefine.
21310
21311 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21312 feclearexcept. Remove symbol versioning code.
21313 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21314 symbol versioning code.
21315 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21316 symbol versioning code.
21317 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21318 feupdateenv. Remove symbol versioning code.
21319 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21320 fegetexceptflag. Remove symbol versioning code.
21321 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21322 fesetexceptflag. Remove symbol versioning code.
21323 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21324 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21325 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21326 (__posix_fadvise64_l32): Remove prototype.
21327 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21328 code.
21329
21330 2014-05-13 Roland McGrath <roland@hack.frob.com>
21331
21332 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21333 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21334 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21335 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21336
21337 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21338
21339 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21340 current working directory
21341
21342 2014-05-13 Roland McGrath <roland@hack.frob.com>
21343
21344 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21345 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21346 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21347 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21348 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21349 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21350 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21351 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21352 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21353 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21354 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21355 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21356 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21357 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21358 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21359 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21360 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21361 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21362 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21363 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21364 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21365 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21366 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21367 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21368 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21369 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21370 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21371 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21372 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21373 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21374 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21375 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21376 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21377 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21378 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21379 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21380 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21381 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21382 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21383 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21384 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21385 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21386
21387 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21388 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21389
21390 * sysdeps/unix/sysv/linux/arm/Makefile
21391 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21392 Add rt-aeabi_unwind_cpp_pr1.
21393 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21394 Add nptl-aeabi_unwind_cpp_pr1.
21395 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21396 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21397 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21398 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21399 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21400 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21401
21402 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21403 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21404 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21405 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21406
21407 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21408 Deconditionalize the code that was previously under [RESET_PID].
21409 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21410
21411 * sysdeps/generic/exit-thread.h: New file.
21412 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21413 * include/unistd.h (__exit_thread): Remove declaration.
21414 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21415 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21416 * csu/libc-start.c: Include <exit-thread.h>.
21417 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21418 * nptl/pthread_create.c: Include <exit-thread.h>.
21419 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21420 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21421 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21422 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21423 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21424 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21425 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21426 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21427 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21428 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21429 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21430 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21431 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21432 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21433 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21434 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21435 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21436
21437 2014-05-13 Andreas Schwab <schwab@suse.de>
21438
21439 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21440
21441 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21442
21443 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21444 (__ASSUME_UTIMES): Do not condition on kernel version.
21445 (__ASSUME_PSELECT): Define unconditionally.
21446 (__ASSUME_PPOLL): Likewise.
21447 (__ASSUME_ATFCTS): Likewise.
21448 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21449 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21450 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21451 (__ASSUME_UTIMENSAT): Define unconditionally.
21452 (__ASSUME_PRIVATE_FUTEX): Likewise.
21453 (__ASSUME_FALLOCATE): Likewise.
21454 (__ASSUME_O_CLOEXEC): Likewise.
21455 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21456 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21457 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21458 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21459 (__ASSUME_IN_NONBLOCK): Likewise.
21460 (__ASSUME_PIPE2): Likewise.
21461 (__ASSUME_EVENTFD2): Likewise.
21462 (__ASSUME_SIGNALFD4): Likewise.
21463 (__ASSUME_DUP3): Likewise.
21464 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21465 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21466 (__ASSUME_AT_RANDOM): Likewise.
21467 (__ASSUME_PREADV): Likewise.
21468 (__ASSUME_PWRITEV): Likewise.
21469 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21470 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21471 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21472 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21473 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21474 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21475 (__ASSUME_O_CLOEXEC): Define unconditionally.
21476 (__ASSUME_PSELECT): Do not undefine conditionally.
21477 (__ASSUME_PPOLL): Likewise.
21478 (__ASSUME_ATFCTS): Likewise.
21479 (__ASSUME_SET_ROBUST_LIST): Likewise.
21480 (__ASSUME_UTIMENSAT): Likewise.
21481 (__ASSUME_FDATASYNC): Define unconditionally.
21482 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21483 (__ASSUME_SIGFRAME_V2): Likewise.
21484 )__ASSUME_EVENTFD2): Likewise.
21485 (__ASSUME_SIGNALFD4): Likewise.
21486 (__ASSUME_PSELECT): Do not undefine conditionally.
21487 (__ASSUME_PPOLL): Likewise.
21488 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21489 (__ASSUME_PSELECT): Define unconditionally.
21490 (__ASSUME_PPOLL): Likewise.
21491 (__ASSUME_O_CLOEXEC): Likewise.
21492 (__ASSUME_SOCK_CLOEXEC): Likewise.
21493 (__ASSUME_IN_NONBLOCK): Likewise.
21494 (__ASSUME_PIPE2): Likewise.
21495 (__ASSUME_EVENTFD2): Likewise.
21496 (__ASSUME_SIGNALFD4): Likewise.
21497 (__ASSUME_DUP3): Likewise.
21498 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21499 (__ASSUME_O_CLOEXEC): Likewise.
21500 (__ASSUME_SOCK_CLOEXEC): Likewise.
21501 (__ASSUME_IN_NONBLOCK): Likewise.
21502 (__ASSUME_PIPE2): Likewise.
21503 (__ASSUME_EVENTFD2): Likewise.
21504 (__ASSUME_SIGNALFD4): Likewise.
21505 (__ASSUME_DUP3): Likewise.
21506 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21507 (__ASSUME_EVENTFD2): Likewise.
21508 (__ASSUME_SIGNALFD4): Likewise.
21509 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21510
21511 2014-05-12 Andreas Schwab <schwab@suse.de>
21512
21513 [BZ #16932]
21514 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21515 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21516 than maximum RPC packet size.
21517 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21518 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21519 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21520 (_nss_nis_getservbyport_r): Likewise.
21521
21522 2014-05-12 Will Newton <will.newton@linaro.org>
21523
21524 * malloc/Makefile (tests): Add tst-mallopt.
21525 * malloc/tst-mallopt.c: New file.
21526
21527 2014-05-09 Roland McGrath <roland@hack.frob.com>
21528
21529 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21530 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21531
21532 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21533
21534 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21535 (tst-tlsmod6.so): Likewise.
21536
21537 2014-05-09 Roland McGrath <roland@hack.frob.com>
21538
21539 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21540
21541 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21542
21543 [BZ #16064]
21544 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21545 and <dl-procinfo.h>.
21546 (__fegetenv): Save SSE state in envp->__eip if supported.
21547 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21548 envp->__eip if supported.
21549 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21550 and <dl-procinfo.h>.
21551 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21552 __data_offset and __data_selector in environment to 0. Set SSE
21553 state if supported.
21554 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21555 test-fenv-sse.
21556 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21557 -mfpmath=sse.
21558 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21559
21560 2014-05-09 Will Newton <will.newton@linaro.org>
21561
21562 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21563 and libc_relro_required for ARM.
21564 * sysdeps/arm/preconfigure: Regenerate.
21565
21566 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21567 Stefan Liebler <stli@linux.vnet.ibm.com>
21568
21569 * config.make.in (enable-lock-elision): New Makefile variable.
21570 * configure.ac: Likewise.
21571 * configure: Regenerate.
21572 * sysdeps/s390/configure.ac:
21573 Add check for gcc transactions support.
21574 * sysdeps/s390/configure: Regenerate.
21575 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21576 Build elision files if enabled.
21577 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21578 Add lock elision support for s390.
21579 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21580 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21581 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21582 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21583 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21584 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21585 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21586 Likewise.
21587 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21588 Likewise.
21589 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21590 Likewise.
21591 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21592 Likewise.
21593 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21594 (__lll_timedlock_elision, __lll_lock_elision)
21595 (__lll_unlock_elision, __lll_trylock_elision)
21596 (lll_timedlock_elision, lll_lock_elision)
21597 (lll_unlock_elision, lll_trylock_elision): Add.
21598 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21599 (pthread_mutex_t): Add lock elision support for s390.
21600
21601 2014-05-14 Wilco <wdijkstr@arm.com>
21602
21603 * sysdeps/arm/fclrexcpt.c: Cleanup.
21604 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21605 * sysdeps/arm/feenablxcpt.c: Cleanup.
21606 * sysdeps/arm/fegetenv.c: Cleanup.
21607 * sysdeps/arm/fegetexcept.c: Cleanup.
21608 * sysdeps/arm/fegetround.c: Cleanup.
21609 * sysdeps/arm/feholdexcpt.c: Cleanup.
21610 * sysdeps/arm/fesetenv.c: Cleanup.
21611 * sysdeps/arm/fesetround.c: Cleanup.
21612 * sysdeps/arm/feupdateenv.c: Cleanup.
21613 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21614 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21615 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21616 * sysdeps/arm/ftestexcept.c: Cleanup.
21617 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21618 * sysdeps/arm/setfpucw.c: Cleanup.
21619
21620 2014-05-09 Will Newton <will.newton@linaro.org>
21621
21622 * sysdeps/arm/armv7/strcmp.S: New file.
21623 * NEWS: Mention addition of ARMv7 optimized strcmp.
21624
21625 2014-05-08 Roland McGrath <roland@hack.frob.com>
21626
21627 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21628 look for %.ac rather than %.in.
21629
21630 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21631 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21632 * sysdeps/mach/hurd/configure: Regenerated.
21633 * sysdeps/unix/sysv/linux/configure: Regenerated.
21634
21635 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21636
21637 2014-05-07 Steve Ellcey <sellcey@mips.com>
21638
21639 [BZ# 16922]
21640 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21641 (LONG_SUB): Ditto.
21642 (PTR_SUB): Ditto.
21643
21644 2014-05-07 Andreas Schwab <schwab@suse.de>
21645
21646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21647 when skipping over non-matching result from nscd.
21648
21649 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21650
21651 [BZ #16876]
21652 * nptl/sockperf.c (client): Check socket return value.
21653
21654 [BZ #16877]
21655 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21656 nscd security class.
21657
21658 2014-05-06 Roland McGrath <roland@hack.frob.com>
21659
21660 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21661 * sysdeps/arm/unwind.h: ... here.
21662
21663 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21664
21665 [BZ# 16916]
21666 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21667 Define.
21668
21669 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21670
21671 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21672 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21673 multiarch strncpy for PPC64.
21674 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21675 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21677 multiarch optimizations.
21678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21679 (__libc_ifunc_impl_list): Likewise.
21680 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21681 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21682 multiarch stpncpy for PPC64.
21683 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21684 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21685
21686 2014-05-06 Andreas Schwab <schwab@suse.de>
21687
21688 [BZ #16912]
21689 * gmon/mcount.c (_MCOUNT_DECL): Use
21690 atomic_compare_and_exchange_bool_acq instead of
21691 catomic_compare_and_exchange_bool_acq.
21692
21693 2014-05-05 Roland McGrath <roland@hack.frob.com>
21694
21695 * elf/Makefile (others, install-bin): Remove pldd.
21696 (pldd-modules): Variable removed.
21697 ($(objpfx)pldd): Target removed.
21698 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21699 (others, install-bin): Append pldd here.
21700 ($(objpfx)pldd): New target.
21701
21702 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21703 to 0, so the first #if test emitted later doesn't see it undefined.
21704 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21705 * sysdeps/gnu/errlist.c: Regenerated.
21706
21707 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21708
21709 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21710 [libc_hidden_builtin_def]: Define to empty value.
21711 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21712 [libc_hidden_builtin_def]: Likewise.
21713 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21714 [libc_hidden_builtin_def]: Likewise.
21715 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21716 [libc_hidden_builtin_def]: Likewise.
21717 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21718 __redirect_memcpy and define ifunc as default hidden symbol.
21719 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21720 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21721
21722 2014-05-04 Adam Conrad <adconrad@0c3.net>
21723
21724 * locale/iso-4217.def: Reintroduce XDR currency.
21725
21726 2014-05-04 Allan McRae <allan@archlinux.org>
21727
21728 * po/eo.po: Update Esperanto translation from translation project.
21729
21730 2014-05-02 Carlos O'Donell <carlos@redhat.com>
21731
21732 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21733 and FEATURE_INDEX_MAX to 1.
21734 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21735
21736 2014-05-01 Steve Ellcey <sellcey@mips.com>
21737
21738 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21739 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21740 * iconvdata/big5.c (ONE_DIRECTION): Define.
21741 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21742 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21743 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21744 * iconvdata/cp932.c (ONE_DIRECTION): Define.
21745 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21746 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21747 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21748 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21749 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21750 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21751 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21752 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21753 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21754 * iconvdata/gbk.c (ONE_DIRECTION): Define.
21755 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21756 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21757 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21758 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21759 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21760 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21761 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21762 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21763 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21764 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21765 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21766 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21767 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21768 * iconvdata/iso646.c (ONE_DIRECTION): Define.
21769 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21770 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21771 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21772 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21773 * iconvdata/johab.c (ONE_DIRECTION): Define.
21774 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21775 * iconvdata/sjis.c (ONE_DIRECTION): Define.
21776 * iconvdata/t.61.c (ONE_DIRECTION): Define.
21777 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21778 * iconvdata/tscii.c (ONE_DIRECTION): Define.
21779 * iconvdata/uhc.c (ONE_DIRECTION): Define.
21780 * iconvdata/unicode.c (ONE_DIRECTION): Define.
21781 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21782 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21783 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21784
21785 2014-05-01 Roland McGrath <roland@hack.frob.com>
21786
21787 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21788 (_IO_JUMPS_OFFSET): Define to 0.
21789
21790 * nptl/sysdeps/pthread/bits/libc-lock.h
21791 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21792 (__libc_lock_define_initialized_recursive): Always define using
21793 initializer. Modern compilers treat uninitialized (implicit zero) and
21794 explicit zero initializers the same (i.e. put the datum in bss).
21795
21796 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21797
21798 * nscd/nscd-client.h: Include <string.h>.
21799
21800 2014-05-01 David S. Miller <davem@davemloft.net>
21801
21802 [BZ #16885]
21803 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21804 multiple zero bytes exist at the end of a string.
21805 Reported by Aurelien Jarno <aurelien@aurel32.net>
21806
21807 * string/test-strcmp.c (check): Add explicit test for situations where
21808 there are multiple zero bytes after the first.
21809
21810 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
21811
21812 [BZ #16890]
21813 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21814 when compiling wprintf.
21815 * stdio-common/tstdiomisc.c (t3): New function.
21816 (main): Call it.
21817
21818 2014-05-01 Steve Ellcey <sellcey@mips.com>
21819
21820 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21821 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21822 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21823 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21824
21825 2014-05-01 Steve Ellcey <sellcey@mips.com>
21826
21827 * stdlib/longlong.h: Updated from GCC.
21828
21829 2014-05-01 Will Newton <will.newton@linaro.org>
21830 Bernard Ogden <bernie.ogden@linaro.org>
21831
21832 * NEWS: Update fixed bug list.
21833
21834 [BZ #15119]
21835 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21836
21837 2014-04-30 David S. Miller <davem@davemloft.net>
21838
21839 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21840 (libc_feholdexcept_setround_sparc_ctx): New function.
21841 (libc_fesetenv_sparc_ctx): Likewise.
21842 (libc_feupdateenv_sparc_ctx): Likewise.
21843 (libc_feholdsetround_sparc_ctx): Likewise.
21844 (libc_feholdexcept_setround_ctx): Define.
21845 (libc_feholdexcept_setroundf_ctx): Likewise.
21846 (libc_feholdexcept_setroundl_ctx): Likewise.
21847 (libc_fesetenv_ctx): Likewise.
21848 (libc_fesetenvf_ctx): Likewise.
21849 (libc_fesetenvl_ctx): Likewise.
21850 (libc_feupdateenv_ctx): Likewise.
21851 (libc_feupdateenvf_ctx): Likewise.
21852 (libc_feupdateenvl_ctx): Likewise.
21853 (libc_feresetround_ctx): Likewise.
21854 (libc_feresetroundf_ctx): Likewise.
21855 (libc_feresetroundl_ctx): Likewise.
21856 (libc_feholdsetround_ctx): Likewise.
21857 (libc_feholdsetroundf_ctx): Likewise.
21858 (libc_feholdsetroundl_ctx): Likewise.
21859
21860 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21861 with __USE_GNU instead of XOPEN cpp guards.
21862
21863 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21864 0.
21865
21866 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21867 with XOPEN cpp guards.
21868
21869 2014-04-30 Julian Brown <julian@codesourcery.com>
21870
21871 [BZ #16888]
21872 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21873 handling.
21874
21875 2014-04-30 Joseph Myers <joseph@codesourcery.com>
21876
21877 [BZ #9894]
21878 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21879 Change to 2.6.32.
21880 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21881 * sysdeps/unix/sysv/linux/configure: Regenerated.
21882 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21883 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21884 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21885 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21886 * README: Update reference to required Linux kernel version.
21887 * manual/install.texi (Linux): Update reference to required Linux
21888 kernel headers version.
21889 * INSTALL: Regenerated.
21890
21891 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21892 header inclusion.
21893 [POSIX] (limits.h): Likewise.
21894 [POSIX] (math.h): Likewise.
21895 [POSIX] (sys/wait.h): Likewise.
21896 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21897 function.
21898 [POSIX] (stddef.h): Do not allow header inclusion.
21899
21900 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21901
21902 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21903
21904 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
21905
21906 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21907 Return immediately after lll_futex_wake.
21908
21909 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21910
21911 [BZ #16791]
21912 * nscd/nscd-client.h (datahead_init_common): Initialize entire
21913 structure.
21914 (datahead_init_pos): Call datahead_init_common early.
21915 (datahead_init_neg): Likewise.
21916
21917 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
21918 datahead_init_neg): New functions.
21919 * nscd/aicache.c (addhstaiX): Use them.
21920 * nscd/grpcache.c (cache_addgr): Likewise.
21921 * nscd/hstcache.c (cache_addhst): Likewise.
21922 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21923 * nscd/netgroupcache.c (do_notfound): Likewise.
21924 (addgetnetgrentX): Likewise.
21925 (addinnetgrX): Likewise.
21926 * nscd/pwdcache.c (cache_addpw): Likewise.
21927 * nscd/servicescache.c (cache_addserv): Likewise.
21928
21929 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21930 Atsushi Onoe <atsushi@onoe.org>
21931
21932 [BZ #14308]
21933 [BZ #12994]
21934 [BZ #13651]
21935 * resolv/res_query.c (__libc_res_nsearch): Return if at least
21936 one response is valid.
21937 * resolv/res_send.c (send_dg): Check for validity of other
21938 response if the current response is a referral.
21939
21940 2014-04-29 Steve Ellcey <sellcey@mips.com>
21941
21942 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
21943
21944 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
21945
21946 [BZ #16823]
21947 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
21948 Always divide by positive zero when computing -Inf result.
21949 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21950 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
21951
21952 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21953
21954 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
21955 FPSCR if value do not change.
21956 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21957 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
21958 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
21959 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21960 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
21961 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
21962 function.
21963
21964 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
21965
21966 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
21967 * sysdeps/unix/sysv/linux/hppa: Move directory from
21968 ports/systeps/unix/sysv/linux/hppa.
21969 * README: Update listing for hppa-*-linux-gnu.
21970
21971 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
21972
21973 [BZ #16754]
21974 * manual/stdio.texi (Hook functions): Fix types of stream hook
21975 functions.
21976 [BZ #16854]
21977 * socket/sys/socket.h: Fix typo in comment.
21978
21979 2014-04-28 Wilco <wdijkstr@arm.com>
21980
21981 * sysdeps/arm/fenv_private.h: New file.
21982 * sysdeps/arm/math_private.h: New file.
21983 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
21984
21985 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
21986
21987 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
21988 with __int128_t.
21989 (La_x86_64_retval): Likewise.
21990
21991 2014-04-24 Ian Bolton <ian.bolton@arm.com>
21992
21993 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
21994 fpsr if value didn't change.
21995 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
21996 to fpcr if value didn't change.
21997 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
21998 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
21999 fpsr or fpcr if value didn't change.
22000 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22001 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22002 fpcr if value didn't change.
22003 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22004 to fpsr if value didn't change.
22005
22006 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22007
22008 * nptl/tst-sem3.c: Use test-skeleton.c
22009 (main): Rename to do_test. Use return instead of
22010 exit.
22011 * nptl/tst-sem4.c: Use test-skeleton.c
22012 (main): Rename to do_test.
22013
22014 2014-04-22 David S. Miller <davem@davemloft.net>
22015
22016 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22017 (struct sigaction): New struct member __glibc_reserved0, change
22018 type of sa_flags to int.
22019
22020 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22021
22022 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22023 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22024
22025 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22026
22027 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22028 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22029
22030 2014-04-22 Will Newton <will.newton@linaro.org>
22031 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22032
22033 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22034 (__longjmp): Add longjmp and longjmp_target SystemTap
22035 probes.
22036 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22037 (__sigsetjmp): Add setjmp SystemTap probe.
22038
22039 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22040
22041 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22042 match manual order.
22043
22044 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22045
22046 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22047
22048 * sysdeps/powerpc/fpu/fenv_private.h
22049 (libc_feholdexcept_setroundl_ctx): Define to
22050 libc_feholdexcept_setround_ppc_ctx.
22051 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22052 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22053 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22054 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22055
22056 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22057
22058 * sysdeps/aarch64/math-tests.h: New file.
22059
22060 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22061
22062 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22063 New.
22064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22065 Check and set bit_AVX2_Usable.
22066 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22067 macro.
22068 (bit_AVX2): Likewise.
22069 (index_AVX2_Usable): Likewise.
22070 (CPUID_AVX2): Likewise.
22071 (HAS_AVX2): Likewise.
22072
22073 2014-04-17 Will Newton <will.newton@linaro.org>
22074
22075 * manual/setjmp.texi (System V contexts): Add note that
22076 calling setcontext on a context created by a call to a
22077 signal handler is undefined. Update text to note that
22078 setcontext from a signal handler is possible but not
22079 recommended.
22080
22081 [BZ #16629]
22082 * stdlib/tst-setcontext.c: Include signal.h.
22083 (main): Check that the signal stack before and
22084 after swapcontext is the same.
22085
22086 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22087 Re-implement to restore registers in user code and avoid
22088 rt_sigreturn system call.
22089
22090 2014-04-17 Wilco <wdijkstr@arm.com>
22091
22092 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22093 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22094 * math/test-fenv.c: Skip exception trap tests on targets which only
22095 support non-stop mode.
22096
22097 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22098 Wilco Dijkstra <wilco.dijkstra@arm.com>
22099
22100 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22101 (libc_feholdsetround_aarch64_ctx)
22102 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22103 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22104 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22105 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22106 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22107 (libc_feresetround_noexl_ctx): Define.
22108
22109 2014-04-16 Richard Henderson <rth@redhat.com>
22110
22111 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22112
22113 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22114 unwind tables.
22115
22116 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22117 const from the non-libc, non-ldso copy.
22118
22119 * sysdeps/alpha/libm-test-ulps: Regenerate.
22120
22121 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22122 Wilco Dijkstra <wilco.dijkstra@arm.com>
22123
22124 * sysdeps/aarch64/fpu/math_private.h: New file.
22125
22126 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22127
22128 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22129
22130 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22131
22132 [BZ #16275]
22133 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22134 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22136 Intel MPX bound registers before _dl_profile_fixup.
22137 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22138 registers after _dl_profile_fixup. Save and restore bound
22139 registers bnd0/bnd1 when calling _dl_call_pltexit.
22140 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22141 (LR_BND_OFFSET): Likewise.
22142 (LRV_BND0_OFFSET): Likewise.
22143 (LRV_BND1_OFFSET): Likewise.
22144
22145 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22146
22147 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22148 to...
22149 * sysdeps/mach/hurd/i386/tls.h: ... here.
22150 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22151 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22152 fields.
22153
22154 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22155
22156 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22157
22158 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22159
22160 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22161
22162 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22163
22164 [BZ #14770]
22165 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22166 * sysdeps/s390/configure: Regenerate.
22167
22168 [BZ #16824]
22169 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22170 Set round-to-nearest internally to reduce error accumulation.
22171
22172 2014-04-16 Alan Modra <amodra@gmail.com>
22173
22174 [BZ #16740]
22175 [BZ #16619]
22176 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22177 * math/libm-test.inc (frexp_test_data): Add tests.
22178 * NEWS: Update fixed bug list.
22179
22180 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22181
22182 * benchtests/Makefile: Depend on libraries in build directory.
22183 (bench-math): Separate out math tests.
22184 (bench-pthread): Separate out pthread tests.
22185 (bench): Include math and pthread tests.
22186
22187 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22188
22189 [BZ #16831]
22190 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22191 _dl_debug_initialize.
22192
22193 * configure.ac: Remove SELinux header check.
22194 * configure: Regenerate.
22195 * nscd/selinux.c (perms): Array of const char* to permission names.
22196 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22197 default policy. Call string_to_security_class and string_to_av_perm to
22198 translate strings. Enforce default policy and call avs_has_perm with
22199 results of translated strings.
22200
22201 2014-04-13 David S. Miller <davem@davemloft.net>
22202
22203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22204
22205 2014-04-12 Allan McRae <allan@archlinux.org>
22206
22207 [BZ #16838]
22208 * manual/string.texi (Collation Functions): Fix qsort argument
22209 order in example.
22210 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22211
22212 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22213
22214 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22215 Make the test a no-op if there are no exceptions defined.
22216
22217 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22218
22219 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22220 enable-hardcoded-path-in-tests
22221
22222 2014-04-11 Will Newton <will.newton@linaro.org>
22223
22224 * benchtests/Makefile (extra-objs): Add json-lib.o.
22225 (bench-func): Tidy up JSON output.
22226 * benchtests/bench-skeleton.c: Include json-lib.h.
22227 (main): Use JSON library functions to do output of
22228 benchmark results.
22229 * benchtests/bench-timing-type.c (main): Output the
22230 timing type simply, leaving formatting to the user.
22231 * benchtests/json-lib.c: New file.
22232 * benchtests/json-lib.h: Likewise.
22233
22234 2014-04-11 Torvald Riegel <triegel@redhat.com>
22235
22236 [BZ #15215]
22237 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22238 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22239 memory barriers. Add comments.
22240 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22241 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22242 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22243 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22244 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22245 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22246
22247 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22248
22249 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22250 * sysdeps/s390/s390-64/configure.ac: ... this ...
22251 * sysdeps/s390/configure.ac: ... to here.
22252 * sysdeps/s390/s390-32/configure: Delete file.
22253 * sysdeps/s390/s390-64/configure: Delete file.
22254 * sysdeps/s390/configure: Regenerate.
22255
22256 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22257
22258 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22259
22260 2014-04-11 Will Newton <will.newton@linaro.org>
22261
22262 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22263 to zero if it is not defined elsewhere. (mtrim): Test
22264 the value of MALLOC_DEBUG with #if rather than #ifdef.
22265
22266 2014-04-10 Torvald Riegel <triegel@redhat.com>
22267
22268 * benchtests/pthread_once-inputs: New file.
22269 * benchtests/pthread_once-source.c: New file.
22270 * benchtests/README: Update documentation.
22271
22272 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22273 H.J. Lu <hongjiu.lu@intel.com>
22274
22275 [BZ #16275]
22276 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22277 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22278 * sysdeps/x86_64/configure: Regenerated.
22279 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22280 macro.
22281 (REGISTER_SAVE_RAX): Likewise.
22282 (REGISTER_SAVE_RCX): Likewise.
22283 (REGISTER_SAVE_RDX): Likewise.
22284 (REGISTER_SAVE_RSI): Likewise.
22285 (REGISTER_SAVE_RDI): Likewise.
22286 (REGISTER_SAVE_R8): Likewise.
22287 (REGISTER_SAVE_R9): Likewise.
22288 (REGISTER_SAVE_BND0): Likewise.
22289 (REGISTER_SAVE_BND1): Likewise.
22290 (REGISTER_SAVE_BND2): Likewise.
22291 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22292 bound registers when calling _dl_fixup.
22293
22294 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22295
22296 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22297 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22298 of its definition.
22299 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22300 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22301 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22302 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22303 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22304 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22305 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22306
22307 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22308
22309 [BZ #15514]
22310 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22311 pathconf(_PC_NAME_MAX).
22312
22313 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22314
22315 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22316 Remove macro usage.
22317 (__PTHREAD_SPINS): Move definition to ...
22318 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22319 (__PTHREAD_SPINS): ... here.
22320 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22321 (__PTHREAD_SPIN): Likewise.
22322 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22323 (__PTHREAD_SPIN): Likewise.
22324 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22325 (__PTHREAD_SPIN): Likewise.
22326 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22327 (__PTHREAD_SPIN): Likewise.
22328 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22329 (__PTHREAD_SPIN): Likewise.
22330 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22331 (__PTHREAD_SPIN): Likewise.
22332 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22333 (__PTHREAD_SPIN): Likewise.
22334 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22335 (__PTHREAD_SPIN): Likewise.
22336 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22337 (__PTHREAD_SPIN): Likewise.
22338 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22339 (__PTHREAD_SPIN): Likewise.
22340 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22341 (__PTHREAD_SPIN): Likewise.
22342 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22343 (__PTHREAD_SPIN): Likewise.
22344
22345 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22346 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22347 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22348 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22349 imply folder.
22350 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22351 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22352 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22353 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22354 correct imply path.
22355 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22356 strlen symbol for non multi-arch builds.
22357 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22358 missing hidden_def and weak_alias.
22359
22360 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22361
22362 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22363
22364 2014-04-07 Will Newton <will.newton@linaro.org>
22365
22366 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22367 and contents. [!_LIBC] Remove #ifndef and contents.
22368 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22369 * string/memccpy.c (__memccpy): Use ANSI prototype.
22370 * string/memfrob.c (memfrob): Likewise.
22371 * string/strcoll.c (STRCOLL): Likewise.
22372 * string/strlen.c (strlen): Likewise.
22373 * string/strtok.c (STRTOK): Likewise.
22374 * string/strcat.c: Remove unused #include of memcopy.h.
22375 (strcat): Use ANSI prototype.
22376 * string/strchr.c: Remove unused #include of memcopy.h.
22377 (strchr): Use ANSI prototype.
22378 * string/strcmp.c: Remove unused #include of memcopy.h.
22379 (strcmp): Use ANSI prototype.
22380 * string/strcpy.c: Remove unused #include of memcopy.h.
22381 (strcpy): Use ANSI prototype.
22382
22383 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22384
22385 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22386 * config.make.in (config-extra-cppflags): Set it from
22387 libc_extra_cppflags.
22388 * configure.ac (libc_extra_cflags): Make it accumulate over
22389 configure fragments.
22390 (libc_extra_cppflags): New flag.
22391 * configure. Regenerate.
22392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22393 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22394 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22396
22397 [BZ #16815]
22398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22399 result for FE_DOWNWARD rounding mode.
22400 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22401 Likewise.
22402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22403
22404 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22405
22406 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22407 in function argument name.
22408
22409 2014-04-03 David Svoboda <svoboda@cert.org>
22410
22411 [BZ #5666]
22412 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22413 explicitly.
22414
22415 2014-04-03 Roland McGrath <roland@hack.frob.com>
22416
22417 * elf/dl-unmap-segments.h: New file.
22418 * sysdeps/generic/ldsodefs.h
22419 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22420 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22421 * elf/dl-fptr.c: Likewise.
22422 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22423 * sysdeps/aarch64/tlsdesc.c: Likewise.
22424 * sysdeps/arm/tlsdesc.c: Likewise.
22425 * sysdeps/i386/tlsdesc.c: Likewise.
22426 * sysdeps/tile/dl-runtime.c: Likewise.
22427 * sysdeps/x86_64/tlsdesc.c: Likewise.
22428 * elf/dl-load.h: New file.
22429 * elf/dl-load.c: Include it.
22430 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22431 Macros moved to dl-load.h.
22432 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22433 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22434 Use _dl_unmap_segments in place of __munmap.
22435 Break out segment-mapping loop into ...
22436 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22437
22438 2014-04-03 Will Newton <will.newton@linaro.org>
22439
22440 * elf/dl-lookup.c (do_lookup_x): Remove comment
22441 referring to nested function and move variable
22442 declarations down to before first use.
22443
22444 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22445
22446 [BZ #16799]
22447 [BZ #16800]
22448 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22449 with 0 numerator.
22450 * math/s_catanf.c (__catanf): Likewise.
22451 * math/s_catanh.c (__catanh): Likewise.
22452 * math/s_catanhf.c (__catanhf): Likewise.
22453 * math/s_catanhl.c (__catanhl): Likewise.
22454 * math/s_catanl.c (__catanl): Likewise.
22455 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22456 by positive zero when computing -Inf result.
22457 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22458 (catanh_test): Likewise.
22459 * sysdeps/i386/fpu/libm-test-ulps: Update.
22460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22461
22462 [BZ #16789]
22463 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22464 instead of using underflowing value in computing result.
22465 * math/s_clog10.c (__clog10): Likewise.
22466 * math/s_clog10f.c (__clog10f): Likewise.
22467 * math/s_clog10l.c (__clog10l): Likewise.
22468 * math/s_clogf.c (__clogf): Likewise.
22469 * math/s_clogl.c (__clogl): Likewise.
22470 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22471 (clog10_test): Likewise.
22472 * sysdeps/i386/fpu/libm-test-ulps: Update.
22473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22474
22475 2014-04-02 Alan Modra <amodra@gmail.com>
22476
22477 [BZ #16739]
22478 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22479 output when value is near a power of two. Use int64_t for lx and
22480 remove casts. Use decimal rather than hex exponent constants.
22481 Don't use long double multiplication when double will suffice.
22482 * math/libm-test.inc (nextafter_test_data): Add tests.
22483 * NEWS: Add 16739 and 16786 to bug list.
22484
22485 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22486
22487 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22488
22489 2014-04-01 Will Newton <will.newton@linaro.org>
22490
22491 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22492 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22493
22494 2014-04-01 Florian Weimer <fweimer@redhat.com>
22495
22496 [BZ #13347]
22497 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22498 * nptl/tst-setuid2.c: New file.
22499 * nptl/Makefile (xtests): Add tst-setuid2.
22500
22501 2014-04-01 Alan Modra <amodra@gmail.com>
22502
22503 [BZ #16786]
22504 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22505
22506 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22507
22508 [BZ #6803]
22509 [BZ #6804]
22510 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22511 set errno as appropriate.
22512 * math/w_scalbf.c (__scalbf): Likewise.
22513 * math/w_scalbl.c (__scalbl): Likewise.
22514 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22515 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22516 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22517 Add more NaN tests.
22518
22519 [BZ #16349]
22520 * math/w_atan2.c: Include <errno.h>.
22521 (__atan2): Set errno for result underflowing to zero.
22522 * math/w_atan2f.c: Include <errno.h>.
22523 (__atan2f): Set errno for result underflowing to zero.
22524 * math/w_atan2l.c: Include <errno.h>.
22525 (__atan2l): Set errno for result underflowing to zero.
22526 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22527 tests.
22528 * math/auto-libm-test-out: Regenerated.
22529
22530 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22531
22532 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22533 Encode instruction correctly in little endian.
22534 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22535 Likewise.
22536 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22537 Likewise.
22538 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22539 Likewise.
22540 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22541 Likewise.
22542
22543 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22544
22545 [BZ #9894]
22546 * sysdeps/unix/sysv/linux/kernel-features.h
22547 [__sparc__ && !__arch64__ && !__sparc_v9__]
22548 (__ASSUME_SET_ROBUST_LIST): Do not define.
22549 [__sparc__ && !__arch64__ && !__sparc_v9__]
22550 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22551 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22552 Likewise.
22553 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22554 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22555 (__ASSUME_REQUEUE_PI): Likewise.
22556 (__ASSUME_SET_ROBUST_LIST): Likewise.
22557 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22558 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22559 Undefine.
22560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22561 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22562 Likewise.
22563 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22564 Likewise.
22565 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22566 Likewise.
22567 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22568 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22569 Undefine.
22570 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22571 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22572 Likewise.
22573
22574 [BZ #16648]
22575 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22576 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22577 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22578
22579 2014-03-31 Will Newton <will.newton@linaro.org>
22580
22581 * benchtests/Makefile (bench): Add ffs and ffsll to list
22582 of tests.
22583 * benchtests/ffs-inputs: New file.
22584 * benchtests/ffsll-inputs: Likewise.
22585
22586 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22587
22588 [BZ #16770]
22589 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22590 too large before casting to int.
22591 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22592 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22593 * math/libm-test.inc (scalb_test_data): Add more tests.
22594
22595 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22596
22597 * benchtests/Makefile (DETAILED_OPT): New make option.
22598 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22599 set.
22600 * benchtests/bench-skeleton.c: Include stdbool.h.
22601 (main): Store and print timings per input.
22602 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22603 member to each argument value.
22604 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22605 (_print_arg_data): Initialize per-input timing to 0.
22606
22607 * benchtests/Makefile (timing-type): New binary.
22608 (bench-clean): Also remove bench-timing-type.
22609 (bench): New target for timing-type.
22610 (bench-func): Print output in JSON format.
22611 * benchtests/bench-skeleton.c (main): Print output in JSON
22612 format.
22613 * benchtests/bench-timing-type.c: New file.
22614 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22615 (TIMING_PRINT_STATS): Remove.
22616 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22617 name separately.
22618
22619 * benchtests/bench-modf.c: Remove.
22620 * benchtests/modf-inputs: New inputs file.
22621
22622 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22623
22624 [BZ #16362]
22625 * math/s_clog10.c (M_PI_LOG10E): New macro.
22626 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22627 imaginary parts are 0.
22628 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22629 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22630 imaginary parts are 0.
22631 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22632 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22633 imaginary parts are 0.
22634 * math/libm-test.inc (clog10_test_data): Update expected results
22635 for when real and imaginary parts are 0.
22636
22637 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22638
22639 * elf/dl-load.c: Finish conversion of __builtin_expect into
22640 __glibc_{un}likely.
22641
22642 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22643
22644 [BZ #16348]
22645 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22646 1+x for argument with exponent below -67.
22647 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22648 Likewise.
22649 * math/auto-libm-test-in: Add more tests of exp.
22650 * math/auto-libm-test-out: Regenerated.
22651
22652 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22653
22654 [BZ #16759]
22655 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22656 (nscd_getnetgrent): Use it.
22657
22658 [BZ #16760]
22659 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22660 of stpcpy.
22661
22662 2014-03-27 Andi Kleen <ak@linux.intel.com>
22663
22664 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22665 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22666 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22667 (lll_robust_unlock): Remove out of line section. Use cfi
22668 intrinsics.
22669 (LLL_STUB_UNWIND_INFO*): Remove.
22670 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22671 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22672 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22673 (lll_robust_unlock): Remove out of line section. Use cfi
22674 intrinsics.
22675 (LLL_STUB_UNWIND_INFO*): Remove.
22676
22677 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22678
22679 [BZ #16758]
22680 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22681 blank values.
22682
22683 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22684
22685 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22686
22687 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22688
22689 [BZ #16198]
22690 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22691 fnstenv.
22692 * math/test-fenv-preserve.c: New file.
22693 * math/Makefile (tests): Add test-fenv-preserve.
22694
22695 2014-03-26 Will Newton <will.newton@linaro.org>
22696
22697 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22698
22699 2014-03-25 Roland McGrath <roland@hack.frob.com>
22700
22701 * scripts/versionlist.awk: Partition the version sets and emit all
22702 GLIBC_* (sorted) before all others (sorted).
22703
22704 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22705
22706 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22707 GLIBC_2.2.5 version.
22708
22709 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22710
22711 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22712 calls.
22713
22714 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22715 previous change.
22716
22717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22718
22719 2014-03-25 Andreas Schwab <schwab@suse.de>
22720
22721 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22722 label to be used after in6ailist is initialized.
22723
22724 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22725
22726 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22727 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22728
22729 2014-03-25 Joseph Myers <joseph@codesourcery.com>
22730
22731 [BZ #16357]
22732 [BZ #16599]
22733 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22734 min_plus_half.
22735 (fp_formats): Update initializers.
22736 (init_fp_formats): Initialize new field.
22737 (output_for_one_input_case): Allow underflow for results up to
22738 min_plus_half.
22739 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22740 * math/auto-libm-test-in: Don't mark some underflows from asin and
22741 atanh as spurious.
22742 * math/auto-libm-test-out: Regenerated.
22743 * sysdeps/i386/fpu/libm-test-ulps: Update.
22744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22745
22746 2014-03-25 Andreas Schwab <schwab@suse.de>
22747
22748 * libio/Makefile (tst-ftell-partial-wide-ENV)
22749 (tst-ftell-active-handler-ENV): Define.
22750
22751 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
22752
22753 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22754
22755 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22756
22757 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22758
22759 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22760
22761 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22762 * sysdeps/x86_64/fpu/multiarch/e_exp.c
22763 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22764
22765 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
22766
22767 [BZ #16634]
22768 * elf/dl-load.c (open_verify): Add mode parameter.
22769 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22770 (open_path): Change from boolean 'secure' to complete flag 'mode'
22771 (_dl_map_object): Adjust.
22772 * elf/Makefile (tests): Add tst-dlopen-aout.
22773 * elf/tst-dlopen-aout.c: New test.
22774
22775 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22776
22777 [BZ #16714]
22778 * sysdeps/unix/sysv/linux/s390/bits/stat.h
22779 (struct stat): Rename member pad0 to __glibc_reserved0.
22780
22781 [BZ #16712]
22782 * sysdeps/s390/s390-32/bits/wordsize.h
22783 (__WORDSIZE32_SIZE_ULONG): New define.
22784 * sysdeps/s390/s390-64/bits/wordsize.h
22785 (__WORDSIZE32_SIZE_ULONG): Likewise.
22786 * sysdeps/generic/stdint.h (SIZE_MAX):
22787 Define as UL if __WORDSIZE32_SIZE_ULONG.
22788
22789 [BZ #16713]
22790 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22791 (__glibc_reserved0): New variable.
22792 (sa_flags): Change type to int.
22793
22794 * posix/Makefile (before-compile): Use += before-compile instead
22795 of a :=.
22796
22797 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22798 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22799
22800 2014-03-20 Andreas Schwab <schwab@suse.de>
22801
22802 [BZ #16743]
22803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22804 non-matching result from nscd.
22805
22806 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22807
22808 * scripts/bench.py: Moved to ...
22809 * benchtests/scripts/bench.py: ... here.
22810 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22811
22812 2014-03-24 Andreas Schwab <schwab@suse.de>
22813
22814 [BZ #16002]
22815 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22816 alloca_account and account alloca use for struct in6ailist.
22817
22818 2014-03-24 Joseph Myers <joseph@codesourcery.com>
22819
22820 [BZ #16284]
22821 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22822 rounding mode to recompute results that overflow to infinity or
22823 underflow to zero.
22824 * math/auto-libm-test-in: Don't mark tests as expected to fail for
22825 bug 16284.
22826 * math/auto-libm-test-out: Regenerated.
22827 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22828 (ccosh_test): Likewise.
22829 (csin_test_data): Use plus_oflow.
22830 (csin_test): Use ALL_RM_TEST.
22831 (csinh_test_data): Use plus_oflow.
22832 (csinh_test): Use ALL_RM_TEST.
22833 * sysdeps/i386/fpu/libm-test-ulps: Update.
22834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22835
22836 2014-03-21 Joseph Myers <joseph@codesourcery.com>
22837
22838 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22839 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22840 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22841
22842 [BZ #16731]
22843 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22844 when x - 1 is zero.
22845 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22846 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22847 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22848 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22849 argument is 1.
22850 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22851 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22852 zero.
22853 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22854 * sysdeps/i386/fpu/libm-test-ulps: Update.
22855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22856
22857 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22858
22859 * scripts/bench.pl: Remove file.
22860 * scripts/bench.py: New benchmark script.
22861 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22862 * benchtests/README: Mention python dependency.
22863 * scripts/pylintrc: New file.
22864 * scripts/pylint: New file.
22865
22866 * bits/mathdef.h: Use #ifdef instead of #if.
22867 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22868 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22869 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22870 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22871 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22872 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22873
22874 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22875 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
22876
22877 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22879 and strpbrk-ppc64 objects.
22880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22881 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22882 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22883 multiarch strpbrk for POWER7.
22884 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22885 multiarch strpbrk for PPC64.
22886 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22887 ifunc selector.
22888 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22889 strpbrk for POWER7.
22890
22891 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22892
22893 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22894 (atan_test): Likewise.
22895 (atanh_test_data): Use NO_TEST_INLINE for two tests.
22896 (atanh_test): Use ALL_RM_TEST.
22897 (atan2_test_data): Likewise.
22898 (cabs_test): Likewise.
22899 (cacosh_test): Likewise.
22900 (carg_test): Likewise.
22901 (casin_test): Likewise.
22902 (casinh_test): Likewise.
22903 (cbrt_test): Likewise.
22904 (csqrt_test): Likewise.
22905 (erf_test): Likewise.
22906 (erfc_test): Likewise.
22907 (pow10_test): Likewise.
22908 (exp2_test): Likewise.
22909 (hypot_test): Likewise.
22910 (j0_test): Likewise.
22911 (j1_test): Likewise.
22912 (lgamma_test): Likewise.
22913 (gamma_test): Likewise.
22914 (sincos_test): Likewise.
22915 (tanh_test): Likewise.
22916 (y0_test): Likewise.
22917 (y1_test): Likewise.
22918 * sysdeps/i386/fpu/libm-test-ulps: Update.
22919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22920
22921 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22922
22923 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
22924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
22925 and strcspn-ppc64 objects.
22926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22927 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
22928 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
22929 multiarch strcspn for POWER7.
22930 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
22931 multiarch strcspn for PPC64.
22932 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
22933 ifunc selector.
22934 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
22935 strcspn for POWER7.
22936
22937 2014-03-20 Joseph Myers <joseph@codesourcery.com>
22938
22939 * math/gen-libm-test.pl (generate_testfile): Expect only function
22940 name as argument to AUTO_TESTS_* and pass results for all rounding
22941 modes to parse_args.
22942 (parse_auto_input): Separate inputs of automatic tests from
22943 outputs before storing in %auto_tests.
22944 * math/libm-test.inc (acos_test_data): Update call to
22945 AUTO_TESTS_f_f.
22946 (acos_test): Use ALL_RM_TEST.
22947 (acos_tonearest_test_data): Remove.
22948 (acos_test_tonearest): Likewise.
22949 (acos_towardzero_test_data): Likewise.
22950 (acos_test_towardzero): Likewise.
22951 (acos_downward_test_data): Likewise.
22952 (acos_test_downward): Likewise.
22953 (acos_upward_test_data): Likewise.
22954 (acos_test_upward): Likewise.
22955 (acosh_test_data): Update call to AUTO_TESTS_f_f.
22956 (asin_test_data): Likewise.
22957 (asin_test): Use ALL_RM_TEST.
22958 (asin_tonearest_test_data): Remove.
22959 (asin_test_tonearest): Likewise.
22960 (asin_towardzero_test_data): Likewise.
22961 (asin_test_towardzero): Likewise.
22962 (asin_downward_test_data): Likewise.
22963 (asin_test_downward): Likewise.
22964 (asin_upward_test_data): Likewise.
22965 (asin_test_upward): Likewise.
22966 (asinh_test_data): Update call to AUTO_TESTS_f_f.
22967 (atan_test_data): Likewise.
22968 (atanh_test_data): Likewise.
22969 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
22970 (cabs_test_data): Update call to AUTO_TESTS_c_f.
22971 (carg_test_data): Likewise.
22972 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
22973 (ccos_test_data): Update call to AUTO_TESTS_c_c.
22974 (ccosh_test_data): Likewise.
22975 (cexp_test_data): Likewise.
22976 (clog_test_data): Likewise.
22977 (clog10_test_data): Likewise.
22978 (cos_test_data): Update call to AUTO_TESTS_f_f.
22979 (cos_test): Use ALL_RM_TEST.
22980 (cos_tonearest_test_data): Remove.
22981 (cos_test_tonearest): Likewise.
22982 (cos_towardzero_test_data): Likewise.
22983 (cos_test_towardzero): Likewise.
22984 (cos_downward_test_data): Likewise.
22985 (cos_test_downward): Likewise.
22986 (cos_upward_test_data): Likewise.
22987 (cos_test_upward): Likewise.
22988 (cosh_test_data): Update call to AUTO_TESTS_f_f.
22989 (cosh_test): Use ALL_RM_TEST.
22990 (cosh_tonearest_test_data): Remove.
22991 (cosh_test_tonearest): Likewise.
22992 (cosh_towardzero_test_data): Likewise.
22993 (cosh_test_towardzero): Likewise.
22994 (cosh_downward_test_data): Likewise.
22995 (cosh_test_downward): Likewise.
22996 (cosh_upward_test_data): Likewise.
22997 (cosh_test_upward): Likewise.
22998 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
22999 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23000 (ctan_test_data): Likewise.
23001 (ctan_test): Use ALL_RM_TEST.
23002 (ctan_tonearest_test_data): Remove.
23003 (ctan_test_tonearest): Likewise.
23004 (ctan_towardzero_test_data): Likewise.
23005 (ctan_test_towardzero): Likewise.
23006 (ctan_downward_test_data): Likewise.
23007 (ctan_test_downward): Likewise.
23008 (ctan_upward_test_data): Likewise.
23009 (ctan_test_upward): Likewise.
23010 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23011 (ctanh_test): Use ALL_RM_TEST.
23012 (ctanh_tonearest_test_data): Remove.
23013 (ctanh_test_tonearest): Likewise.
23014 (ctanh_towardzero_test_data): Likewise.
23015 (ctanh_test_towardzero): Likewise.
23016 (ctanh_downward_test_data): Likewise.
23017 (ctanh_test_downward): Likewise.
23018 (ctanh_upward_test_data): Likewise.
23019 (ctanh_test_upward): Likewise.
23020 (erf_test_data): Update call to AUTO_TESTS_f_f.
23021 (erfc_test_data): Likewise.
23022 (exp_test_data): Likewise.
23023 (exp_test): Use ALL_RM_TEST.
23024 (exp_tonearest_test_data): Remove.
23025 (exp_test_tonearest): Likewise.
23026 (exp_towardzero_test_data): Likewise.
23027 (exp_test_towardzero): Likewise.
23028 (exp_downward_test_data): Likewise.
23029 (exp_test_downward): Likewise.
23030 (exp_upward_test_data): Likewise.
23031 (exp_test_upward): Likewise.
23032 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23033 (exp10_test): Use ALL_RM_TEST.
23034 (exp10_tonearest_test_data): Remove.
23035 (exp10_test_tonearest): Likewise.
23036 (exp10_towardzero_test_data): Likewise.
23037 (exp10_test_towardzero): Likewise.
23038 (exp10_downward_test_data): Likewise.
23039 (exp10_test_downward): Likewise.
23040 (exp10_upward_test_data): Likewise.
23041 (exp10_test_upward): Likewise.
23042 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23043 (expm1_test_data): Likewise.
23044 (expm1_test): Use ALL_RM_TEST.
23045 (expm1_tonearest_test_data): Remove.
23046 (expm1_test_tonearest): Likewise.
23047 (expm1_towardzero_test_data): Likewise.
23048 (expm1_test_towardzero): Likewise.
23049 (expm1_downward_test_data): Likewise.
23050 (expm1_test_downward): Likewise.
23051 (expm1_upward_test_data): Likewise.
23052 (expm1_test_upward): Likewise.
23053 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23054 (fma_test): Use ALL_RM_TEST.
23055 (fma_towardzero_test_data): Remove.
23056 (fma_test_towardzero): Likewise.
23057 (fma_downward_test_data): Likewise.
23058 (fma_test_downward): Likewise.
23059 (fma_upward_test_data): Likewise.
23060 (fma_test_upward): Likewise.
23061 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23062 (j0_test_data): Update call to AUTO_TESTS_f_f.
23063 (j1_test_data): Likewise.
23064 (jn_test_data): Update call to AUTO_TESTS_if_f.
23065 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23066 (log_test_data): Update call to AUTO_TESTS_f_f.
23067 (log10_test_data): Likewise.
23068 (log1p_test_data): Likewise.
23069 (log2_test_data): Likewise.
23070 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23071 (pow_tonearest_test_data): Likewise.
23072 (sin_test_data): Update call to AUTO_TESTS_f_f.
23073 (sin_test): Use ALL_RM_TEST.
23074 (sin_tonearest_test_data): Remove.
23075 (sin_test_tonearest): Likewise.
23076 (sin_towardzero_test_data): Likewise.
23077 (sin_test_towardzero): Likewise.
23078 (sin_downward_test_data): Likewise.
23079 (sin_test_downward): Likewise.
23080 (sin_upward_test_data): Likewise.
23081 (sin_test_upward): Likewise.
23082 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23083 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23084 (sinh_test): Use ALL_RM_TEST.
23085 (sinh_tonearest_test_data): Remove.
23086 (sinh_test_tonearest): Likewise.
23087 (sinh_towardzero_test_data): Likewise.
23088 (sinh_test_towardzero): Likewise.
23089 (sinh_downward_test_data): Likewise.
23090 (sinh_test_downward): Likewise.
23091 (sinh_upward_test_data): Likewise.
23092 (sinh_test_upward): Likewise.
23093 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23094 (sqrt_test): Use ALL_RM_TEST.
23095 (sqrt_tonearest_test_data): Remove.
23096 (sqrt_test_tonearest): Likewise.
23097 (sqrt_towardzero_test_data): Likewise.
23098 (sqrt_test_towardzero): Likewise.
23099 (sqrt_downward_test_data): Likewise.
23100 (sqrt_test_downward): Likewise.
23101 (sqrt_upward_test_data): Likewise.
23102 (sqrt_test_upward): Likewise.
23103 (tan_test_data): Update call to AUTO_TESTS_f_f.
23104 (tan_test): Use ALL_RM_TEST.
23105 (tan_tonearest_test_data): Remove.
23106 (tan_test_tonearest): Likewise.
23107 (tan_towardzero_test_data): Likewise.
23108 (tan_test_towardzero): Likewise.
23109 (tan_downward_test_data): Likewise.
23110 (tan_test_downward): Likewise.
23111 (tan_upward_test_data): Likewise.
23112 (tan_test_upward): Likewise.
23113 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23114 (tgamma_test_data): Likewise.
23115 (y0_test_data): Likewise.
23116 (y1_test_data): Likewise.
23117 (yn_test_data): Update call to AUTO_TESTS_if_f.
23118 (main): Do not call removed functions.
23119
23120 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23121
23122 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23123 (ldexp_test_data): Remove.
23124 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23125 scalbn_test_data.
23126 (scalb_test): Use ALL_RM_TEST.
23127
23128 2014-03-19 Andreas Schwab <schwab@suse.de>
23129
23130 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23131
23132 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23133
23134 [BZ #16649]
23135 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23136 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23137 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23139 (__ASSUME_PREADV): Undefine.
23140 (__ASSUME_PWRITEV): Likewise.
23141
23142 2014-03-18 Roland McGrath <roland@hack.frob.com>
23143
23144 * bits/mman-linux.h: Add comment about non-Linux use.
23145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23146 bits/mman-linux.h resting place.
23147
23148 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23149 * bits/mman-linux.h: ... here.
23150
23151 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23152
23153 * conform/conformtest.pl: Add standard definition when calling C
23154 preprocessor on data files.
23155 (checknamespace): Remove unused variable.
23156
23157 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23158
23159 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23160 minus_oflow, plus_uflow and minus_uflow in expected results.
23161 * math/libm-test.inc (scalbn_test_data): Add more tests of
23162 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23163 minus_uflow.
23164 (scalbn_test): Use ALL_RM_TEST.
23165 (scalbln_test_data): Add more tests of negative arguments. Use
23166 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23167 (scalbln_test): Use ALL_RM_TEST.
23168
23169 2014-03-18 Roland McGrath <roland@hack.frob.com>
23170
23171 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23172
23173 2014-03-18 Will Newton <will.newton@linaro.org>
23174
23175 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23176 inaccurate comment.
23177
23178 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23179
23180 * Makerules [!subdir] (check-abi): Exit with error status if a
23181 test failed.
23182
23183 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23184
23185 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23186 for rint. Include results for all rounding modes.
23187 (nearbyint_test): Use ALL_RM_TEST.
23188 (rint_test_data): Include all tests used for nearbyint.
23189
23190 2014-03-17 Will Newton <will.newton@linaro.org>
23191
23192 * nptl/sysdeps/pthread/pthread.h: Revert previous
23193 change.
23194
23195 * sysdeps/generic/ldsodefs.h: Revert previous
23196 change.
23197
23198 * libio/genops.c: Revert previous change.
23199 * libio/libioP.h: Likewise.
23200 * stdio-common/vfprintf.c: Likewise.
23201
23202 * sysdeps/generic/math_private.h: Revert previous
23203 change.
23204
23205 * sysdeps/generic/math_private.h: Check whether
23206 HAVE_RM_CTX is defined with #ifdef rather
23207 than #if.
23208
23209 * argp/argp-fmtstream.h: Check whether
23210 __STRICT_ANSI__ is defined with #ifdef rather
23211 than #if.
23212 * argp/argp.h: Likewise.
23213
23214 * libio/genops.c: Check whether
23215 _IO_JUMPS_OFFSET is defined with #ifdef rather
23216 than #if.
23217 * libio/libioP.h: Likewise.
23218 * stdio-common/vfprintf.c: Likewise.
23219
23220 * sysdeps/generic/ldsodefs.h: Check whether
23221 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23222 than #if.
23223
23224 * nptl/sysdeps/pthread/pthread.h: Check
23225 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23226 its value.
23227
23228 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23229
23230 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23231 setting O_APPEND.
23232 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23233 test case.
23234
23235 [BZ #16680]
23236 * libio/fileops.c (_IO_file_open): Seek to end of file but
23237 don't cache the offset.
23238 (get_file_offset): Remove function.
23239 (do_ftell): Use cached offset when available.
23240 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23241 don't cache the offset.
23242 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23243 case.
23244 (do_one_test): Call it.
23245 (do_ftell_test): Fix up expected old offset for a+ mode.
23246 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23247 available.
23248
23249 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23250 up test status with function return status.
23251 (do_write_test): Likewise.
23252 (do_append_test): Likewise.
23253
23254 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23255 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23256 Remove.
23257
23258 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23259
23260 * math/gen-libm-test.pl (parse_args): Handle results specified for
23261 each rounding mode separately.
23262 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23263 tests and results from lrint_tonearest_test_data,
23264 lrint_towardzero_test_data, lrint_downward_test_data and
23265 lrint_upward_test_data.
23266 (lrint_test): Use ALL_RM_TEST.
23267 (lrint_tonearest_test_data): Remove.
23268 (lrint_test_tonearest): Likewise.
23269 (lrint_towardzero_test_data): Likewise.
23270 (lrint_test_towardzero): Likewise.
23271 (lrint_downward_test_data): Likewise.
23272 (lrint_test_downward): Likewise.
23273 (lrint_upward_test_data): Likewise.
23274 (lrint_test_upward): Likewise.
23275 (llrint_test_data): Merge in per-rounding-mode tests and results
23276 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23277 llrint_downward_test_data and llrint_upward_test_data.
23278 (llrint_test): Use ALL_RM_TEST.
23279 (llrint_tonearest_test_data): Remove.
23280 (llrint_test_tonearest): Likewise.
23281 (llrint_towardzero_test_data): Likewise.
23282 (llrint_test_towardzero): Likewise.
23283 (llrint_downward_test_data): Likewise.
23284 (llrint_test_downward): Likewise.
23285 (llrint_upward_test_data): Likewise.
23286 (llrint_test_upward): Likewise.
23287 (rint_test_data): Merge in per-rounding-mode tests and results
23288 from rint_tonearest_test_data, rint_towardzero_test_data,
23289 rint_downward_test_data and rint_upward_test_data. Add
23290 per-rounding-mode results for tests not in those arrays.
23291 (rint_test): Use ALL_RM_TEST.
23292 (rint_tonearest_test_data): Remove.
23293 (rint_test_tonearest): Likewise.
23294 (rint_towardzero_test_data): Likewise.
23295 (rint_test_towardzero): Likewise.
23296 (rint_downward_test_data): Likewise.
23297 (rint_test_downward): Likewise.
23298 (rint_upward_test_data): Likewise.
23299 (rint_test_upward): Likewise.
23300 (main): Don't call removed functions.
23301
23302 2014-03-14 Roland McGrath <roland@hack.frob.com>
23303
23304 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23305 "Compiled on ..." crapola. It is anti-useful.
23306
23307 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23308
23309 * scripts/evaluate-test.sh: Handle fourth argument to determine
23310 whether test run should stop on failure.
23311 * Makeconfig (stop-on-test-failure): New variable.
23312 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23313 $(stop-on-test-failure).
23314 * Makefile (tests): Give a summary of results from testing and
23315 exit with failure status if they include an ERROR or FAIL.
23316 (xtests): Likewise.
23317 * manual/install.texi (Configuring and compiling): Mention
23318 stop-on-test-failure=y.
23319 * INSTALL: Regenerated.
23320
23321 2014-03-14 Roland McGrath <roland@hack.frob.com>
23322
23323 * scripts/versionlist.awk: New file.
23324 * Makerules [$(build-shared) = yes]
23325 (postclean-generated): Add Versions.def, not Versions.def.v and
23326 Versions.def.v.i.
23327 ($(common-objpfx)Versions.def.v.i): Target removed.
23328 ($(common-objpfx)Versions.def): New target.
23329 ($(common-objpfx)Versions.all): Depend on that rather that
23330 $(common-objpfx)Versions.def.v.
23331 * Versions.def: File removed.
23332
23333 * Makeconfig (+gccwarn): Add -Wundef.
23334 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23335 a dl-sysdep.h breaking its contract.
23336 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23337 * include/stackinfo.h: New file.
23338 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23339 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23340 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23341 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23342 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23343 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23344 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23345 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23346 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23347 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23348 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23349 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23350 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23351 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23352 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23353
23354 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23355
23356 [BZ #16707]
23357 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23358 implementation.
23359 * math/libm-test.inc (round_test_data): Add more tests.
23360
23361 [BZ #16706]
23362 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23363 implementation.
23364 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23365
23366 [BZ #16701]
23367 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23368 implementation.
23369 * math/libm-test.inc (ceil_test_data): Add more tests.
23370
23371 * math/libm-test.inc (trunc_test_data): Add more tests related to
23372 BZ#16414.
23373
23374 2014-03-14 Roland McGrath <roland@hack.frob.com>
23375
23376 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23377 with #if rather than #ifdef.
23378 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23379
23380 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23381
23382 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23383 first. Disable AVX-512 GCC support if assembler doesn't support
23384 it.
23385 * sysdeps/x86_64/configure: Regenerated.
23386
23387 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23388
23389 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23390 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23391 (__old_pthread_attr_setstack): Likewise.
23392 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23393 [!_STACK_GROWS_DOWN]: Likewise.
23394
23395 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23396
23397 * config.make.in (have-bash2): Delete.
23398 * configure.ac (libc_cv_have_bash2): Delete.
23399 * configure: Regenerate.
23400 * elf/Makefile (common-ldd-rewrite): Rename to ...
23401 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23402 (sh-ldd-rewrite): Delete.
23403 (bash-ldd-rewrite): Delete.
23404 (have-bash2): Delete checks.
23405 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23406 ldd-rewrite.
23407
23408 * config.make.in (have-ksh): Delete.
23409 (KSH): Delete.
23410 * configure.ac (libc_cv_have_ksh): Delete.
23411 * configure: Regenerate.
23412
23413 * elf/Makefile: Delete $(have-ksh) check.
23414 ($(objpfx)sotruss): Change KSH to BASH.
23415 * elf/sotruss.ksh: Rename to ...
23416 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23417 function style to match POSIX. Drop ksh vim mode setting.
23418
23419 * manual/time.texi (Specifying the Time Zone with TZ): Change
23420 Tuesday to Thursday.
23421
23422 * debug/tst-longjmp_chk2.c: Update header comment.
23423 (stackoverflow_handler): Add comment. Call assert on pass value.
23424
23425 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23426
23427 [BZ #16194]
23428 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23429 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23430 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23431 (La_x86_64_vector): Add zmm.
23432 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23433 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23434 ($(objpfx)tst-audit10): New target.
23435 ($(objpfx)tst-audit10.out): Likewise.
23436 (tst-audit10-ENV): New.
23437 (AVX512-CFLAGS): Likewise.
23438 (CFLAGS-tst-audit10.c): Likewise.
23439 (CFLAGS-tst-auditmod10a.c): Likewise.
23440 (CFLAGS-tst-auditmod10b.c): Likewise.
23441 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23442 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23443 * sysdeps/x86_64/configure: Regenerated.
23444 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23445 AVX-512 zmm register support.
23446 (_dl_x86_64_save_sse): Likewise.
23447 (_dl_x86_64_restore_sse): Likewise.
23448 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23449 size vector registers.
23450 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23451 (ZMM_SIZE): Likewise.
23452 * sysdeps/x86_64/tst-audit10.c: New file.
23453 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23454 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23455
23456 2014-03-13 Roland McGrath <roland@hack.frob.com>
23457
23458 * configure.ac (HAVE_EHDR_START): New check.
23459 * configure: Regenerated.
23460 * config.h.in (HAVE_EHDR_START): New #undef.
23461 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23462 assuming the lowest-addressed segment maps the start of the file.
23463
23464 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23465
23466 * INSTALL: Regenerated.
23467
23468 2014-03-13 Will Newton <will.newton@linaro.org>
23469
23470 * manual/setjmp.texi (System V contexts): Improve
23471 clarity and grammar of documentation.
23472
23473 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23474
23475 [BZ #16381]
23476 * elf/Makefile (tests): Add tst-pie2.
23477 (tests-pie): Add tst-pie2.
23478 * elf/tst-pie2.c: New file.
23479 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23480 for ET_EXEC.
23481 * elf/rtld.c (map_doit): Load executable as lt_executable.
23482 (dl_main): Likewise.
23483
23484 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23485
23486 [BZ #16642]
23487 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23488 (__ASSUME_PSELECT): Undefine.
23489
23490 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23491
23492 [BZ #16689]
23493 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23494 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23495 static build.
23496 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23497 selector for static builds.
23498
23499 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23500
23501 [BZ #16695]
23502 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23503 key in the buffer.
23504
23505 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23506
23507 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23508 IFUNC selector for static builds.
23509
23510 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23511
23512 * sysdeps/mips/math_private.h [__mips_hard_float]
23513 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23514 libc_feresetround_mips_ctx.
23515 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23516 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23517 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23518
23519 [BZ #16677]
23520 * math/s_nextafter.c (__nextafter): Do not return value from
23521 overflowing computation.
23522 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23523 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23524 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23525 Likewise.
23526 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23527 Likewise.
23528 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23529 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23530
23531 2014-03-11 Roland McGrath <roland@hack.frob.com>
23532
23533 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23534 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23535 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23536 the new mov targetting sp.
23537
23538 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23539
23540 [BZ #16683]
23541 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23542 Define it for static builds as well.
23543 (NO_BZERO_IMPL): Likewise.
23544
23545 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23546
23547 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23548 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23549 multiarch strspn for PPC64.
23550 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23551 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23553 (__libc_ifunc_impl_list): Likewise.
23554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23555 multiarch optimizations
23556 * string/strspn.c (strspn): Using macro to redefine symbol name.
23557
23558 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23559 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23560
23561 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23562 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23563 multiarch strncat for PPC64.
23564 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23565 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23567 (__libc_ifunc_impl_list): Likewise.
23568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23569 multiarch optimizations
23570
23571 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23572
23573 [BZ #16639]
23574 * nscd/nscd.service: Make service type forking.
23575
23576 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23577
23578 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23579 sign in non default rounding modes.
23580 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23581
23582 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23583
23584 * math/libm-test.inc (ALL_RM_TEST): New macro.
23585 (ceil_test): Use ALL_RM_TEST.
23586 (cimag_test): Likewise.
23587 (conj_test): Likewise.
23588 (copysign_test): Likewise.
23589 (cproj_test): Likewise.
23590 (creal_test): Likewise.
23591 (fabs_test): Likewise.
23592 (floor_test): Likewise.
23593 (fmax_test): Likewise.
23594 (fmin_test): Likewise.
23595 (fmod_test): Likewise.
23596 (fpclassify_test): Likewise.
23597 (frexp_test): Likewise.
23598 (ilogb_test): Likewise.
23599 (isfinite_test): Likewise.
23600 (finite_test): Likewise.
23601 (isgreater_test): Likewise.
23602 (isgreaterequal_test): Likewise.
23603 (isinf_test): Likewise.
23604 (isless_test): Likewise.
23605 (islessequal_test): Likewise.
23606 (islessgreater_test): Likewise.
23607 (isnan_test): Likewise.
23608 (isnormal_test): Likewise.
23609 (issignaling_test): Likewise.
23610 (isunordered_test): Likewise.
23611 (logb_test): Likewise.
23612 (logb_downward_test_data): Remove.
23613 (logb_test_downward): Likewise.
23614 (lround_test): Use ALL_RM_TEST.
23615 (llround_test): Likewise.
23616 (modf_test): Likewise.
23617 (nexttoward_test): Likewise.
23618 (remainder_test): Likewise.
23619 (drem_test): Likewise.
23620 (remainder_tonearest_test_data): Likewise.
23621 (remainder_test_tonearest): Likewise.
23622 (drem_test_tonearest): Likewise.
23623 (remainder_towardzero_test_data): Likewise.
23624 (remainder_test_towardzero): Likewise.
23625 (drem_test_towardzero): Likewise.
23626 (remainder_downward_test_data): Likewise.
23627 (remainder_test_downward): Likewise.
23628 (drem_test_downward): Likewise.
23629 (remainder_upward_test_data): Likewise.
23630 (remainder_test_upward): Likewise.
23631 (drem_test_upward): Likewise.
23632 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23633 (round_test): Use ALL_RM_TEST.
23634 (signbit_test): Likewise.
23635 (trunc_test): Likewise.
23636 (significand_test): Likewise.
23637 (main): Don't call removed functions.
23638
23639 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23640
23641 [BZ #16674]
23642 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23643 || __USE_XOPEN2K8].
23644 (ILL_ILLOPN): Likewise.
23645 (ILL_ILLADR): Likewise.
23646 (ILL_ILLTRP): Likewise.
23647 (ILL_PRVOPC): Likewise.
23648 (ILL_PRVREG): Likewise.
23649 (ILL_COPROC): Likewise.
23650 (ILL_BADSTK): Likewise.
23651 (FPE_INTDIV): Likewise.
23652 (FPE_INTOVF): Likewise.
23653 (FPE_FLTDIV): Likewise.
23654 (FPE_FLTOVF): Likewise.
23655 (FPE_FLTUND): Likewise.
23656 (FPE_FLTRES): Likewise.
23657 (FPE_FLTINV): Likewise.
23658 (FPE_FLTSUB): Likewise.
23659 (SEGV_MAPERR): Likewise.
23660 (SEGV_ACCERR): Likewise.
23661 (BUS_ADRALN): Likewise.
23662 (BUS_ADRERR): Likewise.
23663 (BUS_OBJERR): Likewise.
23664 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23665 (TRAP_TRACE): Likewise.
23666 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23667 __USE_XOPEN2K8].
23668 (CLD_KILLED): Likewise.
23669 (CLD_DUMPED): Likewise.
23670 (CLD_TRAPPED): Likewise.
23671 (CLD_STOPPED): Likewise.
23672 (CLD_CONTINUED): Likewise.
23673 (POLL_IN): Likewise.
23674 (POLL_OUT): Likewise.
23675 (POLL_MSG): Likewise.
23676 (POLL_ERR): Likewise.
23677 (POLL_PRI): Likewise.
23678 (POLL_HUP): Likewise.
23679 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23680 Likewise.
23681 (ILL_ILLOPN): Likewise.
23682 (ILL_ILLADR): Likewise.
23683 (ILL_ILLTRP): Likewise.
23684 (ILL_PRVOPC): Likewise.
23685 (ILL_PRVREG): Likewise.
23686 (ILL_COPROC): Likewise.
23687 (ILL_BADSTK): Likewise.
23688 (FPE_INTDIV): Likewise.
23689 (FPE_INTOVF): Likewise.
23690 (FPE_FLTDIV): Likewise.
23691 (FPE_FLTOVF): Likewise.
23692 (FPE_FLTUND): Likewise.
23693 (FPE_FLTRES): Likewise.
23694 (FPE_FLTINV): Likewise.
23695 (FPE_FLTSUB): Likewise.
23696 (SEGV_MAPERR): Likewise.
23697 (SEGV_ACCERR): Likewise.
23698 (BUS_ADRALN): Likewise.
23699 (BUS_ADRERR): Likewise.
23700 (BUS_OBJERR): Likewise.
23701 (BUS_MCEERR_AR): Likewise.
23702 (BUS_MCEERR_AO): Likewise.
23703 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23704 (TRAP_TRACE): Likewise.
23705 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23706 __USE_XOPEN2K8].
23707 (CLD_KILLED): Likewise.
23708 (CLD_DUMPED): Likewise.
23709 (CLD_TRAPPED): Likewise.
23710 (CLD_STOPPED): Likewise.
23711 (CLD_CONTINUED): Likewise.
23712 (POLL_IN): Likewise.
23713 (POLL_OUT): Likewise.
23714 (POLL_MSG): Likewise.
23715 (POLL_ERR): Likewise.
23716 (POLL_PRI): Likewise.
23717 (POLL_HUP): Likewise.
23718 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23719 (ILL_ILLOPN): Likewise.
23720 (ILL_ILLADR): Likewise.
23721 (ILL_ILLTRP): Likewise.
23722 (ILL_PRVOPC): Likewise.
23723 (ILL_PRVREG): Likewise.
23724 (ILL_COPROC): Likewise.
23725 (ILL_BADSTK): Likewise.
23726 (FPE_INTDIV): Likewise.
23727 (FPE_INTOVF): Likewise.
23728 (FPE_FLTDIV): Likewise.
23729 (FPE_FLTOVF): Likewise.
23730 (FPE_FLTUND): Likewise.
23731 (FPE_FLTRES): Likewise.
23732 (FPE_FLTINV): Likewise.
23733 (FPE_FLTSUB): Likewise.
23734 (SEGV_MAPERR): Likewise.
23735 (SEGV_ACCERR): Likewise.
23736 (BUS_ADRALN): Likewise.
23737 (BUS_ADRERR): Likewise.
23738 (BUS_OBJERR): Likewise.
23739 (BUS_MCEERR_AR): Likewise.
23740 (BUS_MCEERR_AO): Likewise.
23741 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23742 (TRAP_TRACE): Likewise.
23743 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23744 __USE_XOPEN2K8].
23745 (CLD_KILLED): Likewise.
23746 (CLD_DUMPED): Likewise.
23747 (CLD_TRAPPED): Likewise.
23748 (CLD_STOPPED): Likewise.
23749 (CLD_CONTINUED): Likewise.
23750 (POLL_IN): Likewise.
23751 (POLL_OUT): Likewise.
23752 (POLL_MSG): Likewise.
23753 (POLL_ERR): Likewise.
23754 (POLL_PRI): Likewise.
23755 (POLL_HUP): Likewise.
23756 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23757 Likewise.
23758 (ILL_ILLOPN): Likewise.
23759 (ILL_ILLADR): Likewise.
23760 (ILL_ILLTRP): Likewise.
23761 (ILL_PRVOPC): Likewise.
23762 (ILL_PRVREG): Likewise.
23763 (ILL_COPROC): Likewise.
23764 (ILL_BADSTK): Likewise.
23765 (ILL_BADIADDR): Likewise.
23766 (ILL_BREAK): Likewise.
23767 (FPE_INTDIV): Likewise.
23768 (FPE_INTOVF): Likewise.
23769 (FPE_FLTDIV): Likewise.
23770 (FPE_FLTOVF): Likewise.
23771 (FPE_FLTUND): Likewise.
23772 (FPE_FLTRES): Likewise.
23773 (FPE_FLTINV): Likewise.
23774 (FPE_FLTSUB): Likewise.
23775 (FPE_DECOVF): Likewise.
23776 (FPE_DECDIV): Likewise.
23777 (FPE_DECERR): Likewise.
23778 (FPE_INVASC): Likewise.
23779 (FPE_INVDEC): Likewise.
23780 (SEGV_MAPERR): Likewise.
23781 (SEGV_ACCERR): Likewise.
23782 (SEGV_PSTKOVF): Likewise.
23783 (BUS_ADRALN): Likewise.
23784 (BUS_ADRERR): Likewise.
23785 (BUS_OBJERR): Likewise.
23786 (BUS_MCEERR_AR): Likewise.
23787 (BUS_MCEERR_AO): Likewise.
23788 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23789 (TRAP_TRACE): Likewise.
23790 (TRAP_BRANCH): Likewise.
23791 (TRAP_HWBKPT): Likewise.
23792 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23793 __USE_XOPEN2K8].
23794 (CLD_KILLED): Likewise.
23795 (CLD_DUMPED): Likewise.
23796 (CLD_TRAPPED): Likewise.
23797 (CLD_STOPPED): Likewise.
23798 (CLD_CONTINUED): Likewise.
23799 (POLL_IN): Likewise.
23800 (POLL_OUT): Likewise.
23801 (POLL_MSG): Likewise.
23802 (POLL_ERR): Likewise.
23803 (POLL_PRI): Likewise.
23804 (POLL_HUP): Likewise.
23805 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23806 (ILL_ILLOPN): Likewise.
23807 (ILL_ILLADR): Likewise.
23808 (ILL_ILLTRP): Likewise.
23809 (ILL_PRVOPC): Likewise.
23810 (ILL_PRVREG): Likewise.
23811 (ILL_COPROC): Likewise.
23812 (ILL_BADSTK): Likewise.
23813 (FPE_INTDIV): Likewise.
23814 (FPE_INTOVF): Likewise.
23815 (FPE_FLTDIV): Likewise.
23816 (FPE_FLTOVF): Likewise.
23817 (FPE_FLTUND): Likewise.
23818 (FPE_FLTRES): Likewise.
23819 (FPE_FLTINV): Likewise.
23820 (FPE_FLTSUB): Likewise.
23821 (SEGV_MAPERR): Likewise.
23822 (SEGV_ACCERR): Likewise.
23823 (BUS_ADRALN): Likewise.
23824 (BUS_ADRERR): Likewise.
23825 (BUS_OBJERR): Likewise.
23826 (BUS_MCEERR_AR): Likewise.
23827 (BUS_MCEERR_AO): Likewise.
23828 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23829 (TRAP_TRACE): Likewise.
23830 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23831 __USE_XOPEN2K8].
23832 (CLD_KILLED): Likewise.
23833 (CLD_DUMPED): Likewise.
23834 (CLD_TRAPPED): Likewise.
23835 (CLD_STOPPED): Likewise.
23836 (CLD_CONTINUED): Likewise.
23837 (POLL_IN): Likewise.
23838 (POLL_OUT): Likewise.
23839 (POLL_MSG): Likewise.
23840 (POLL_ERR): Likewise.
23841 (POLL_PRI): Likewise.
23842 (POLL_HUP): Likewise.
23843 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23844 (ILL_ILLOPN): Likewise.
23845 (ILL_ILLADR): Likewise.
23846 (ILL_ILLTRP): Likewise.
23847 (ILL_PRVOPC): Likewise.
23848 (ILL_PRVREG): Likewise.
23849 (ILL_COPROC): Likewise.
23850 (ILL_BADSTK): Likewise.
23851 (FPE_INTDIV): Likewise.
23852 (FPE_INTOVF): Likewise.
23853 (FPE_FLTDIV): Likewise.
23854 (FPE_FLTOVF): Likewise.
23855 (FPE_FLTUND): Likewise.
23856 (FPE_FLTRES): Likewise.
23857 (FPE_FLTINV): Likewise.
23858 (FPE_FLTSUB): Likewise.
23859 (SEGV_MAPERR): Likewise.
23860 (SEGV_ACCERR): Likewise.
23861 (BUS_ADRALN): Likewise.
23862 (BUS_ADRERR): Likewise.
23863 (BUS_OBJERR): Likewise.
23864 (BUS_MCEERR_AR): Likewise.
23865 (BUS_MCEERR_AO): Likewise.
23866 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23867 (TRAP_TRACE): Likewise.
23868 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23869 __USE_XOPEN2K8].
23870 (CLD_KILLED): Likewise.
23871 (CLD_DUMPED): Likewise.
23872 (CLD_TRAPPED): Likewise.
23873 (CLD_STOPPED): Likewise.
23874 (CLD_CONTINUED): Likewise.
23875 (POLL_IN): Likewise.
23876 (POLL_OUT): Likewise.
23877 (POLL_MSG): Likewise.
23878 (POLL_ERR): Likewise.
23879 (POLL_PRI): Likewise.
23880 (POLL_HUP): Likewise.
23881 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23882 (ILL_ILLOPN): Likewise.
23883 (ILL_ILLADR): Likewise.
23884 (ILL_ILLTRP): Likewise.
23885 (ILL_PRVOPC): Likewise.
23886 (ILL_PRVREG): Likewise.
23887 (ILL_COPROC): Likewise.
23888 (ILL_BADSTK): Likewise.
23889 (FPE_INTDIV): Likewise.
23890 (FPE_INTOVF): Likewise.
23891 (FPE_FLTDIV): Likewise.
23892 (FPE_FLTOVF): Likewise.
23893 (FPE_FLTUND): Likewise.
23894 (FPE_FLTRES): Likewise.
23895 (FPE_FLTINV): Likewise.
23896 (FPE_FLTSUB): Likewise.
23897 (SEGV_MAPERR): Likewise.
23898 (SEGV_ACCERR): Likewise.
23899 (BUS_ADRALN): Likewise.
23900 (BUS_ADRERR): Likewise.
23901 (BUS_OBJERR): Likewise.
23902 (BUS_MCEERR_AR): Likewise.
23903 (BUS_MCEERR_AO): Likewise.
23904 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23905 (TRAP_TRACE): Likewise.
23906 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23907 __USE_XOPEN2K8].
23908 (CLD_KILLED): Likewise.
23909 (CLD_DUMPED): Likewise.
23910 (CLD_TRAPPED): Likewise.
23911 (CLD_STOPPED): Likewise.
23912 (CLD_CONTINUED): Likewise.
23913 (POLL_IN): Likewise.
23914 (POLL_OUT): Likewise.
23915 (POLL_MSG): Likewise.
23916 (POLL_ERR): Likewise.
23917 (POLL_PRI): Likewise.
23918 (POLL_HUP): Likewise.
23919 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
23920 (ILL_ILLOPN): Likewise.
23921 (ILL_ILLADR): Likewise.
23922 (ILL_ILLTRP): Likewise.
23923 (ILL_PRVOPC): Likewise.
23924 (ILL_PRVREG): Likewise.
23925 (ILL_COPROC): Likewise.
23926 (ILL_BADSTK): Likewise.
23927 (ILL_DBLFLT): Likewise.
23928 (ILL_HARDWALL): Likewise.
23929 (FPE_INTDIV): Likewise.
23930 (FPE_INTOVF): Likewise.
23931 (FPE_FLTDIV): Likewise.
23932 (FPE_FLTOVF): Likewise.
23933 (FPE_FLTUND): Likewise.
23934 (FPE_FLTRES): Likewise.
23935 (FPE_FLTINV): Likewise.
23936 (FPE_FLTSUB): Likewise.
23937 (SEGV_MAPERR): Likewise.
23938 (SEGV_ACCERR): Likewise.
23939 (BUS_ADRALN): Likewise.
23940 (BUS_ADRERR): Likewise.
23941 (BUS_OBJERR): Likewise.
23942 (BUS_MCEERR_AR): Likewise.
23943 (BUS_MCEERR_AO): Likewise.
23944 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23945 (TRAP_TRACE): Likewise.
23946 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23947 __USE_XOPEN2K8].
23948 (CLD_KILLED): Likewise.
23949 (CLD_DUMPED): Likewise.
23950 (CLD_TRAPPED): Likewise.
23951 (CLD_STOPPED): Likewise.
23952 (CLD_CONTINUED): Likewise.
23953 (POLL_IN): Likewise.
23954 (POLL_OUT): Likewise.
23955 (POLL_MSG): Likewise.
23956 (POLL_ERR): Likewise.
23957 (POLL_PRI): Likewise.
23958 (POLL_HUP): Likewise.
23959 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
23960 (ILL_ILLOPN): Likewise.
23961 (ILL_ILLADR): Likewise.
23962 (ILL_ILLTRP): Likewise.
23963 (ILL_PRVOPC): Likewise.
23964 (ILL_PRVREG): Likewise.
23965 (ILL_COPROC): Likewise.
23966 (ILL_BADSTK): Likewise.
23967 (FPE_INTDIV): Likewise.
23968 (FPE_INTOVF): Likewise.
23969 (FPE_FLTDIV): Likewise.
23970 (FPE_FLTOVF): Likewise.
23971 (FPE_FLTUND): Likewise.
23972 (FPE_FLTRES): Likewise.
23973 (FPE_FLTINV): Likewise.
23974 (FPE_FLTSUB): Likewise.
23975 (SEGV_MAPERR): Likewise.
23976 (SEGV_ACCERR): Likewise.
23977 (BUS_ADRALN): Likewise.
23978 (BUS_ADRERR): Likewise.
23979 (BUS_OBJERR): Likewise.
23980 (BUS_MCEERR_AR): Likewise.
23981 (BUS_MCEERR_AO): Likewise.
23982 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23983 (TRAP_TRACE): Likewise.
23984 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23985 __USE_XOPEN2K8].
23986 (CLD_KILLED): Likewise.
23987 (CLD_DUMPED): Likewise.
23988 (CLD_TRAPPED): Likewise.
23989 (CLD_STOPPED): Likewise.
23990 (CLD_CONTINUED): Likewise.
23991 (POLL_IN): Likewise.
23992 (POLL_OUT): Likewise.
23993 (POLL_MSG): Likewise.
23994 (POLL_ERR): Likewise.
23995 (POLL_PRI): Likewise.
23996 (POLL_HUP): Likewise.
23997 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
23998 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23999
24000 [BZ #16670]
24001 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24002 before #include of <time.h>.
24003 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24004 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24005 (test-xfail-UNIX98/sched.h/conform): Likewise.
24006
24007 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24008
24009 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24010 error absence of trapping exception support.
24011 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24012
24013 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24014
24015 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24016 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24017 * timezone/Makefile (testdata): Move definition above include of
24018 Rules.
24019 (test-zones): New variable.
24020 (tests-special): Add zone files.
24021 (build-testdata): Use $(evaluate-test).
24022
24023 * elf/Makefile (tests-special): Rename tests to end with .out.
24024 ($(objpfx)noload-mem): Likewise.
24025 ($(objpfx)tst-leaks1-mem): Likewise.
24026 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24027 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24028 $(objpfx)test-iconvconfig.out.
24029 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24030 set -e inside subshell and redirect output to file.
24031 * iconvdata/Makefile (generated): Rename tests to end with .out.
24032 Correct type.
24033 (tests-special): Rename tests to end with .out.
24034 ($(objpfx)mtrace-tst-loading): Likewise.
24035 * intl/Makefile (generated): Likewise.
24036 (tests-special): Likewise.
24037 ($(objpfx)mtrace-tst-gettext): Likewise.
24038 * misc/Makefile (generated): Likewise.
24039 (tests-special): Likewise.
24040 ($(objpfx)tst-error1-mem): Likewise.
24041 * nptl/Makefile (tests-special): Likewise.
24042 ($(objpfx)tst-stack3-mem): Likewise.
24043 (generated): Likewise.
24044 * posix/Makefile (generated): Likewise.
24045 (tests-special): Likewise.
24046 (xtests-special): Likewise.
24047 ($(objpfx)tst-fnmatch-mem): Likewise.
24048 ($(objpfx)bug-regex2-mem): Likewise.
24049 ($(objpfx)bug-regex14-mem): Likewise.
24050 ($(objpfx)bug-regex21-mem): Likewise.
24051 ($(objpfx)bug-regex31-mem): Likewise.
24052 ($(objpfx)tst-vfork3-mem): Likewise.
24053 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24054 ($(objpfx)tst-pcre-mem): Likewise.
24055 ($(objpfx)tst-boost-mem): Likewise.
24056 ($(objpfx)bug-ga2-mem): Likewise.
24057 ($(objpfx)bug-glob2-mem): Likewise.
24058 * resolv/Makefile (generate): Likewise.
24059 (tests-special): Likewise.
24060 (xtests-special): Likewise.
24061 (generated): Likewise.
24062 ($(objpfx)mtrace-tst-leaks): Likewise.
24063 ($(objpfx)mtrace-tst-leaks2): Likewise.
24064
24065 * scripts/merge-test-results.sh: New file.
24066 * Makefile (tests-special-notdir): New variable.
24067 (tests): Run merge-test-results.sh.
24068 (xtests): Likewise.
24069 * Rules (tests-special-notdir): New variable.
24070 (xtests-special-notdir): Likewise.
24071 (tests): Run merge-test-results.sh
24072 (xtests): Likewise.
24073
24074 * Makeconfig (test-xfail-name): New variable.
24075 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24076 compute variable name for expected failures.
24077 * conform/Makefile (conformtest-headers-data): New variable.
24078 (conformtest-standards): Likewise.
24079 (conformtest-headers-ISO): Likewise.
24080 (conformtest-headers-ISO99): Likewise.
24081 (conformtest-headers-ISO11): Likewise.
24082 (conformtest-headers-POSIX): Likewise.
24083 (conformtest-headers-XPG3): Likewise.
24084 (conformtest-headers-XPG4): Likewise.
24085 (conformtest-headers-UNIX98): Likewise.
24086 (conformtest-headers-XOPEN2K): Likewise.
24087 (conformtest-headers-POSIX2008): Likewise.
24088 (conformtest-headers-XOPEN2K8): Likewise.
24089 (conformtest-header-list-base): Likewise.
24090 (conformtest-header-list-tests): Likewise.
24091 (conformtest-header-base): Likewise.
24092 (conformtest-header-tests): Likewise.
24093 (tests-special): Add $(conformtest-header-list-tests). If
24094 [$(fast-check) && !$(cross-compiling)], add
24095 $(conformtest-header-tests) instead of
24096 $(objpfx)run-conformtest.out.
24097 (generated): Add $(conformtest-header-list-base). If
24098 [$(fast-check) && !$(cross-compiling)], add
24099 $(conformtest-header-base). Remove previous setting.
24100 ($(conformtest-header-list-tests)): New target.
24101 (test-xfail-run-conformtest): Remove variable.
24102 ($(objpfx)run-conformtest.out): Remove target.
24103 (test-xfail-ISO11/complex.h/conform): New variable.
24104 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24105 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24106 (test-xfail-XPG3/varargs.h/conform): Likewise.
24107 (test-xfail-XPG4/varargs.h/conform): Likewise.
24108 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24109 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24110 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24111 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24112 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24113 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24114 (test-xfail-XPG3/ftw.h/conform): Likewise.
24115 (test-xfail-XPG3/grp.h/conform): Likewise.
24116 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24117 (test-xfail-XPG3/limits.h/conform): Likewise.
24118 (test-xfail-XPG3/pwd.h/conform): Likewise.
24119 (test-xfail-XPG3/search.h/conform): Likewise.
24120 (test-xfail-XPG3/signal.h/conform): Likewise.
24121 (test-xfail-XPG3/stdio.h/conform): Likewise.
24122 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24123 (test-xfail-XPG3/string.h/conform): Likewise.
24124 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24125 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24126 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24127 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24128 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24129 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24130 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24131 (test-xfail-XPG3/termios.h/conform): Likewise.
24132 (test-xfail-XPG3/time.h/conform): Likewise.
24133 (test-xfail-XPG3/unistd.h/conform): Likewise.
24134 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24135 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24136 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24137 (test-xfail-XPG4/netdb.h/conform): Likewise.
24138 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24139 (test-xfail-XPG4/signal.h/conform): Likewise.
24140 (test-xfail-XPG4/stdio.h/conform): Likewise.
24141 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24142 (test-xfail-XPG4/stropts.h/conform): Likewise.
24143 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24144 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24145 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24146 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24147 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24148 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24149 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24150 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24151 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24152 (test-xfail-XPG4/termios.h/conform): Likewise.
24153 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24154 (test-xfail-XPG4/unistd.h/conform): Likewise.
24155 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24156 (test-xfail-POSIX/sched.h/conform): Likewise.
24157 (test-xfail-POSIX/signal.h/conform): Likewise.
24158 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24159 (test-xfail-POSIX/tar.h/conform): Likewise.
24160 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24161 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24162 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24163 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24164 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24165 (test-xfail-UNIX98/sched.h/conform): Likewise.
24166 (test-xfail-UNIX98/signal.h/conform): Likewise.
24167 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24168 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24169 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24170 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24171 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24172 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24173 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24174 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24175 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24176 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24177 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24178 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24179 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24180 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24181 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24182 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24183 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24184 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24185 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24186 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24187 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24188 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24189 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24190 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24191 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24192 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24193 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24194 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24195 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24196 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24197 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24198 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24199 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24200 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24201 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24202 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24203 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24204 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24205 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24206 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24207 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24208 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24209 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24210 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24211 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24212 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24213 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24214 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24215 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24216 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24217 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24218 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24219 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24220 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24221 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24222 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24223 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24224 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24225 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24226 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24227 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24228 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24229 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24230 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24231 (conformtest-cc-flags): Likewise.
24232 ($(conformtest-header-tests): New target.
24233 * conform/check-header-lists.sh: New file.
24234 * conform/run-conformtest.sh: Remove.
24235
24236 * conform/conformtest.pl: Allow ' and \ in values given for
24237 constants.
24238 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24239 inclusion.
24240 [POSIX] (sys/types.h): Likewise.
24241 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24242 inclusion.
24243 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24244 inclusion.
24245 * conform/data/signal.h-data (SIGIO): Remove expectation.
24246 [XPG3] (SIGBUS): Do not expect.
24247 [POSIX || XPG3] (SIGPOLL): Likewise.
24248 [POSIX || XPG3] (SIGPROF): Likewise.
24249 [POSIX || XPG3] (SIGSYS): Likewise.
24250 [XPG3] (SIGTRAP): Likewise.
24251 [POSIX || XPG3] (SIGURG): Likewise.
24252 [POSIX || XPG3] (SIGVTALRM): Likewise.
24253 [POSIX || XPG3] (SIGXCPU): Likewise.
24254 [POSIX || XPG3] (SIGXFSZ): Likewise.
24255 [POSIX] (SA_SIGINFO): Expect.
24256 [XPG3] (siginfo_t): Do not expect type or contents.
24257 [POSIX] (si_pid): Do not expect element.
24258 [POSIX] (si_uid): Likewise.
24259 [POSIX] (si_addr): Likewise.
24260 [POSIX] (si_status): Likewise.
24261 [POSIX] (si_band): Likewise.
24262 [XPG4] (si_value): Likewise.
24263 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24264 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24265 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24266 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24267 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24268 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24269 [POSIX || XPG3] (ILL_COPROC): Likewise.
24270 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24271 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24272 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24273 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24274 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24275 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24276 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24277 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24278 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24279 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24280 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24281 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24282 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24283 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24284 [POSIX || XPG3] (CLD_EXITED): Likewise.
24285 [POSIX || XPG3] (CLD_KILLED): Likewise.
24286 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24287 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24288 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24289 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24290 [POSIX || XPG3] (POLL_IN): Likewise.
24291 [POSIX || XPG3] (POLL_OUT): Likewise.
24292 [POSIX || XPG3] (POLL_MSG): Likewise.
24293 [POSIX || XPG3] (POLL_ERR): Likewise.
24294 [POSIX || XPG3] (POLL_PRI): Likewise.
24295 [POSIX || XPG3] (POLL_HUP): Likewise.
24296 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24297 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24298 (SIG*): Do not allow.
24299 [XPG3] (si_*): Likewise.
24300 [XPG3] (SI_*): Likewise.
24301 [XPG3 || XPG4] (sigev_*): Likewise.
24302 [XPG3 || XPG4] (SIGEV_*): Likewise.
24303 [XPG3 || XPG4] (sival_*): Likewise.
24304 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24305 [POSIX || XPG3] (BUS_*): Likewise.
24306 [POSIX || XPG3] (CLD_*): Likewise.
24307 [POSIX || XPG3] (FPE_*): Likewise.
24308 [POSIX || XPG3] (ILL_*): Likewise.
24309 [POSIX || XPG3] (POLL_*): Likewise.
24310 [POSIX || XPG3] (SEGV_*): Likewise.
24311 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24312 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24313 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24314 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24315 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24316 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24317 Specify type and value.
24318 (TVERSLEN): Likewise.
24319 (REGTYPE): Likewise.
24320 (AREGTYPE): Likewise.
24321 (LNKTYPE): Likewise.
24322 (SYMTYPE): Likewise.
24323 (CHRTYPE): Likewise.
24324 (BLKTYPE): Likewise.
24325 (DIRTYPE): Likewise.
24326 (FIFOTYPE): Likewise.
24327 (CONTTYPE): Likewise.
24328 (TSUID): Likewise.
24329 (TSGID): Likewise.
24330 (TSVTX): Likewise.
24331 (TUREAD): Likewise.
24332 (TUWRITE): Likewise.
24333 (TUEXEC): Likewise.
24334 (TGREAD): Likewise.
24335 (TGWRITE): Likewise.
24336 (TGEXEC): Likewise.
24337 (TOREAD): Likewise.
24338 (TOWRITE): Likewise.
24339 (TOEXEC): Likewise.
24340 [POSIX] (TSVTX): Expect constant.
24341
24342 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24343
24344 * Makefile (tests): Change dependencies to ....
24345 (tests-special): ... additions to this variable.
24346 (tests): Depend on $(tests-special).
24347 * Makerules (check-abi-list): New variable.
24348 (check-abi): Depend on $(check-abi-list).
24349 [$(subdir) = elf] (tests-special): Add
24350 $(objpfx)check-abi-libc.out.
24351 [$(build-shared) = yes && subdir] (tests-special): Add
24352 $(check-abi-list).
24353 [$(build-shared) = yes && subdir] (tests): Do not depend on
24354 check-abi.
24355 * Rules (tests): Depend on $(tests-special).
24356 (xtests): Depend on $(xtests-special).
24357 * catgets/Makefile (tests): Change dependencies to ....
24358 (tests-special): ... additions to this variable.
24359 * conform/Makefile (tests): Change dependencies to ....
24360 (tests-special): ... additions to this variable.
24361 * elf/Makefile (tests): Change dependencies to ....
24362 (tests-special): ... additions to this variable.
24363 * grp/Makefile (tests): Change dependencies to ....
24364 (tests-special): ... additions to this variable.
24365 * iconv/Makefile (xtests): Change dependencies to ....
24366 (xtests-special): ... additions to this variable.
24367 * iconvdata/Makefile (tests): Change dependencies to ....
24368 (tests-special): ... additions to this variable.
24369 * intl/Makefile (tests): Change dependencies to ....
24370 (tests-special): ... additions to this variable. Also add
24371 $(objpfx)tst-gettext.out.
24372 * io/Makefile (tests): Change dependencies to ....
24373 (tests-special): ... additions to this variable.
24374 * libio/Makefile (tests): Change dependencies to ....
24375 (tests-special): ... additions to this variable.
24376 * malloc/Makefile (tests): Change dependencies to ....
24377 (tests-special): ... additions to this variable.
24378 * misc/Makefile (tests): Change dependencies to ....
24379 (tests-special): ... additions to this variable.
24380 * nptl/Makefile (tests): Change dependencies to ....
24381 (tests-special): ... additions to this variable.
24382 * nptl_db/Makefile (tests): Change dependencies to ....
24383 (tests-special): ... additions to this variable.
24384 * posix/Makefile (tests): Change dependencies to ....
24385 (tests-special): ... additions to this variable.
24386 (xtests): Change dependencies to ....
24387 (xtests-special): ... additions to this variable.
24388 * resolv/Makefile (tests): Change dependencies to ....
24389 (tests-special): ... additions to this variable.
24390 (xtests): Change dependencies to ....
24391 (xtests-special): ... additions to this variable.
24392 * stdio-common/Makefile (tests): Change dependencies to ....
24393 (tests-special): ... additions to this variable.
24394 (do-tst-unbputc): Remove target.
24395 (do-tst-printf): Likewise.
24396 * stdlib/Makefile (tests): Change dependencies to ....
24397 (tests-special): ... additions to this variable.
24398 * string/Makefile (tests): Change dependencies to ....
24399 (tests-special): ... additions to this variable.
24400 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24401 (tests-special): ... additions to this variable.
24402
24403 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24404 whole file.
24405 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24406 whole file.
24407 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24408 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24409
24410 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24411 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24412 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24413 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24414 * conform/data/libgen.h-data [XPG3]: Likewise.
24415 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24416 * conform/data/ndbm.h-data [XPG3]: Likewise.
24417 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24418 * conform/data/netdb.h-data [XPG3]: Likewise.
24419 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24420 * conform/data/poll.h-data [XPG3]: Likewise.
24421 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24422 * conform/data/strings.h-data [XPG3]: Likewise.
24423 * conform/data/stropts.h-data [XPG3]: Likewise.
24424 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24425 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24426 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24427 Likewise.
24428 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24429 * conform/data/sys/time.h-data [XPG3]: Likewise.
24430 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24431 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24432 * conform/data/sys/un.h-data [XPG3]: Likewise.
24433 * conform/data/syslog.h-data [XPG3]: Likewise.
24434 * conform/data/ucontext.h-data [XPG3]: Likewise.
24435 * conform/data/utmpx.h-data [XPG3]: Likewise.
24436 * conform/data/varargs.h-data [UNIX98]: Enable file.
24437
24438 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24439
24440 * math/libm-test.inc (struct test_f_f_data): Move expected results
24441 into structure for each rounding mode.
24442 (struct test_ff_f_data): Likewise.
24443 (struct test_ff_f_data_nexttoward): Likewise.
24444 (struct test_fi_f_data): Likewise.
24445 (struct test_fl_f_data): Likewise.
24446 (struct test_if_f_data): Likewise.
24447 (struct test_fff_f_data): Likewise.
24448 (struct test_c_f_data): Likewise.
24449 (struct test_f_f1_data): Likewise.
24450 (struct test_fF_f1_data): Likewise.
24451 (struct test_ffI_f1_data): Likewise.
24452 (struct test_c_c_data): Likewise.
24453 (struct test_cc_c_data): Likewise.
24454 (struct test_f_i_data): Likewise.
24455 (struct test_ff_i_data): Likewise.
24456 (struct test_f_l_data): Likewise.
24457 (struct test_f_L_data): Likewise.
24458 (struct test_fFF_11_data): Likewise.
24459 (RM_): New macro.
24460 (RM_FE_DOWNWARD): Likewise.
24461 (RM_FE_TONEAREST): Likewise.
24462 (RM_FE_TOWARDZERO): Likewise.
24463 (RM_FE_UPWARD): Likewise.
24464 (RUN_TEST_LOOP_f_f): Update references to expected results.
24465 (RUN_TEST_LOOP_2_f): Likewise.
24466 (RUN_TEST_LOOP_fff_f): Likewise.
24467 (RUN_TEST_LOOP_c_f): Likewise.
24468 (RUN_TEST_LOOP_f_f1): Likewise.
24469 (RUN_TEST_LOOP_fF_f1): Likewise.
24470 (RUN_TEST_LOOP_fI_f1): Likewise.
24471 (RUN_TEST_LOOP_ffI_f1): Likewise.
24472 (RUN_TEST_LOOP_c_c): Likewise.
24473 (RUN_TEST_LOOP_cc_c): Likewise.
24474 (RUN_TEST_LOOP_f_i): Likewise.
24475 (RUN_TEST_LOOP_f_i_tg): Likewise.
24476 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24477 (RUN_TEST_LOOP_f_b): Likewise.
24478 (RUN_TEST_LOOP_f_b_tg): Likewise.
24479 (RUN_TEST_LOOP_f_l): Likewise.
24480 (RUN_TEST_LOOP_f_L): Likewise.
24481 (RUN_TEST_LOOP_fFF_11): Likewise.
24482 * math/gen-libm-test.pl (parse_args): Output four copies of
24483 expected results for each test.
24484
24485 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24486 (__ASSUME_UTIMES): Remove.
24487 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24488 (__ASSUME_UTIMES): Likewise.
24489
24490 * math/gen-auto-libm-tests.c: Update comment on output format.
24491 (output_for_one_input_case): Generate before-rounding and
24492 after-rounding information as conditions on output flags not
24493 floating-point format.
24494 * math/auto-libm-test-out: Regenerated.
24495 * math/gen-libm-test.pl (cond_value): New function.
24496 (or_cond_value): Use cond_value.
24497 (generate_testfile): Handle conditional exceptions.
24498
24499 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24500
24501 * math/libm-test.inc (max_valid_error): New variable.
24502 (init_max_error): Take new argument specifying whether function
24503 results are exactly determined. Set max_valid_error and bound
24504 other variables for errors based on this argument.
24505 (set_max_error): Do not record results above max_valid_error.
24506 (check_float_internal): Only accept errors of up to 0.5ulps if
24507 also at most max_valid_error.
24508 (START): Take new argument EXACT and pass it to init_max_error.
24509 (acos_test): Update call to START.
24510 (acos_test_tonearest): Likewise.
24511 (acos_test_towardzero): Likewise.
24512 (acos_test_downward): Likewise.
24513 (acos_test_upward): Likewise.
24514 (acosh_test): Likewise.
24515 (asin_test): Likewise.
24516 (asin_test_tonearest): Likewise.
24517 (asin_test_towardzero): Likewise.
24518 (asin_test_downward): Likewise.
24519 (asin_test_upward): Likewise.
24520 (asinh_test): Likewise.
24521 (atan_test): Likewise.
24522 (atanh_test): Likewise.
24523 (atan2_test): Likewise.
24524 (cabs_test): Likewise.
24525 (cacos_test): Likewise.
24526 (cacosh_test): Likewise.
24527 (carg_test): Likewise.
24528 (casin_test): Likewise.
24529 (casinh_test): Likewise.
24530 (catan_test): Likewise.
24531 (catanh_test): Likewise.
24532 (cbrt_test): Likewise.
24533 (ccos_test): Likewise.
24534 (ccosh_test): Likewise.
24535 (ceil_test): Likewise.
24536 (cexp_test): Likewise.
24537 (cimag_test): Likewise.
24538 (clog_test): Likewise.
24539 (clog10_test): Likewise.
24540 (conj_test): Likewise.
24541 (copysign_test): Likewise.
24542 (cos_test): Likewise.
24543 (cos_test_tonearest): Likewise.
24544 (cos_test_towardzero): Likewise.
24545 (cos_test_downward): Likewise.
24546 (cos_test_upward): Likewise.
24547 (cosh_test): Likewise.
24548 (cosh_test_tonearest): Likewise.
24549 (cosh_test_towardzero): Likewise.
24550 (cosh_test_downward): Likewise.
24551 (cosh_test_upward): Likewise.
24552 (cpow_test): Likewise.
24553 (cproj_test): Likewise.
24554 (creal_test): Likewise.
24555 (csin_test): Likewise.
24556 (csinh_test): Likewise.
24557 (csqrt_test): Likewise.
24558 (ctan_test): Likewise.
24559 (ctan_test_tonearest): Likewise.
24560 (ctan_test_towardzero): Likewise.
24561 (ctan_test_downward): Likewise.
24562 (ctan_test_upward): Likewise.
24563 (ctanh_test): Likewise.
24564 (ctanh_test_tonearest): Likewise.
24565 (ctanh_test_towardzero): Likewise.
24566 (ctanh_test_downward): Likewise.
24567 (ctanh_test_upward): Likewise.
24568 (erf_test): Likewise.
24569 (erfc_test): Likewise.
24570 (exp_test): Likewise.
24571 (exp_test_tonearest): Likewise.
24572 (exp_test_towardzero): Likewise.
24573 (exp_test_downward): Likewise.
24574 (exp_test_upward): Likewise.
24575 (exp10_test): Likewise.
24576 (exp10_test_tonearest): Likewise.
24577 (exp10_test_towardzero): Likewise.
24578 (exp10_test_downward): Likewise.
24579 (exp10_test_upward): Likewise.
24580 (pow10_test): Likewise.
24581 (exp2_test): Likewise.
24582 (expm1_test): Likewise.
24583 (expm1_test_tonearest): Likewise.
24584 (expm1_test_towardzero): Likewise.
24585 (expm1_test_downward): Likewise.
24586 (expm1_test_upward): Likewise.
24587 (fabs_test): Likewise.
24588 (fdim_test): Likewise.
24589 (floor_test): Likewise.
24590 (fma_test): Likewise.
24591 (fma_test_towardzero): Likewise.
24592 (fma_test_downward): Likewise.
24593 (fma_test_upward): Likewise.
24594 (fmax_test): Likewise.
24595 (fmin_test): Likewise.
24596 (fmod_test): Likewise.
24597 (fpclassify_test): Likewise.
24598 (frexp_test): Likewise.
24599 (hypot_test): Likewise.
24600 (ilogb_test): Likewise.
24601 (isfinite_test): Likewise.
24602 (finite_test): Likewise.
24603 (isgreater_test): Likewise.
24604 (isgreaterequal_test): Likewise.
24605 (isinf_test): Likewise.
24606 (isless_test): Likewise.
24607 (islessequal_test): Likewise.
24608 (islessgreater_test): Likewise.
24609 (isnan_test): Likewise.
24610 (isnormal_test): Likewise.
24611 (issignaling_test): Likewise.
24612 (isunordered_test): Likewise.
24613 (j0_test): Likewise.
24614 (j1_test): Likewise.
24615 (jn_test): Likewise.
24616 (ldexp_test): Likewise.
24617 (lgamma_test): Likewise.
24618 (gamma_test): Likewise.
24619 (lrint_test): Likewise.
24620 (lrint_test_tonearest): Likewise.
24621 (lrint_test_towardzero): Likewise.
24622 (lrint_test_downward): Likewise.
24623 (lrint_test_upward): Likewise.
24624 (llrint_test): Likewise.
24625 (llrint_test_tonearest): Likewise.
24626 (llrint_test_towardzero): Likewise.
24627 (llrint_test_downward): Likewise.
24628 (llrint_test_upward): Likewise.
24629 (log_test): Likewise.
24630 (log10_test): Likewise.
24631 (log1p_test): Likewise.
24632 (log2_test): Likewise.
24633 (logb_test): Likewise.
24634 (logb_test_downward): Likewise.
24635 (lround_test): Likewise.
24636 (llround_test): Likewise.
24637 (modf_test): Likewise.
24638 (nearbyint_test): Likewise.
24639 (nextafter_test): Likewise.
24640 (nexttoward_test): Likewise.
24641 (pow_test): Likewise.
24642 (pow_test_tonearest): Likewise.
24643 (pow_test_towardzero): Likewise.
24644 (pow_test_downward): Likewise.
24645 (pow_test_upward): Likewise.
24646 (remainder_test): Likewise.
24647 (drem_test): Likewise.
24648 (remainder_test_tonearest): Likewise.
24649 (drem_test_tonearest): Likewise.
24650 (remainder_test_towardzero): Likewise.
24651 (drem_test_towardzero): Likewise.
24652 (remainder_test_downward): Likewise.
24653 (drem_test_downward): Likewise.
24654 (remainder_test_upward): Likewise.
24655 (drem_test_upward): Likewise.
24656 (remquo_test): Likewise.
24657 (rint_test): Likewise.
24658 (rint_test_tonearest): Likewise.
24659 (rint_test_towardzero): Likewise.
24660 (rint_test_downward): Likewise.
24661 (rint_test_upward): Likewise.
24662 (round_test): Likewise.
24663 (scalb_test): Likewise.
24664 (scalbn_test): Likewise.
24665 (scalbln_test): Likewise.
24666 (signbit_test): Likewise.
24667 (sin_test): Likewise.
24668 (sin_test_tonearest): Likewise.
24669 (sin_test_towardzero): Likewise.
24670 (sin_test_downward): Likewise.
24671 (sin_test_upward): Likewise.
24672 (sincos_test): Likewise.
24673 (sinh_test): Likewise.
24674 (sinh_test_tonearest): Likewise.
24675 (sinh_test_towardzero): Likewise.
24676 (sinh_test_downward): Likewise.
24677 (sinh_test_upward): Likewise.
24678 (sqrt_test): Likewise.
24679 (sqrt_test_tonearest): Likewise.
24680 (sqrt_test_towardzero): Likewise.
24681 (sqrt_test_downward): Likewise.
24682 (sqrt_test_upward): Likewise.
24683 (tan_test): Likewise.
24684 (tan_test_tonearest): Likewise.
24685 (tan_test_towardzero): Likewise.
24686 (tan_test_downward): Likewise.
24687 (tan_test_upward): Likewise.
24688 (tanh_test): Likewise.
24689 (tgamma_test): Likewise.
24690 (trunc_test): Likewise.
24691 (y0_test): Likewise.
24692 (y1_test): Likewise.
24693 (yn_test): Likewise.
24694 (significand_test): Likewise.
24695
24696 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24697 individual tests in comment.
24698 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24699 (prev_max_error): New variable.
24700 (prev_real_max_error): Likewise.
24701 (prev_imag_max_error): Likewise.
24702 (compare_ulp_data): Don't refer to test names in comment.
24703 (find_test_ulps): Remove function.
24704 (find_function_ulps): Likewise.
24705 (find_complex_function_ulps): Likewise.
24706 (init_max_error): Take function name as argument. Look up ulps
24707 for that function.
24708 (print_ulps): Remove function.
24709 (print_max_error): Use prev_max_error instead of calling
24710 find_function_ulps.
24711 (print_complex_max_error): Use prev_real_max_error and
24712 prev_imag_max_error instead of calling find_complex_function_ulps.
24713 (check_float_internal): Take max_ulp parameter instead of calling
24714 find_test_ulps. Don't call print_ulps.
24715 (check_float): Update call to check_float_internal.
24716 (check_complex): Update calls to check_float_internal.
24717 (START): Pass argument to init_max_error.
24718 * math/gen-libm-test.pl (%results): Don't include "kind"
24719 information.
24720 (parse_ulps): Don't handle ulps of individual tests.
24721 (print_ulps_file): Likewise.
24722 (output_ulps): Likewise.
24723 * math/README.libm-test: Update.
24724 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24725 individual tests.
24726 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24727 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24728 * sysdeps/arm/libm-test-ulps: Likewise.
24729 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24730 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24731 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24732 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24733 * sysdeps/microblaze/libm-test-ulps: Likewise.
24734 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24735 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24736 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24737 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24738 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24739 * sysdeps/sh/libm-test-ulps: Likewise.
24740 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24741 * sysdeps/tile/libm-test-ulps: Likewise.
24742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24743
24744 2014-03-04 Joseph Myers <joseph@codesourcery.com>
24745
24746 * math/libm-test.inc (print_complex_max_error): Check separately
24747 whether real and imaginary errors are within allowed range and
24748 pass 0 to print_complex_function_ulps instead of value within
24749 allowed range.
24750
24751 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24752
24753 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24754 formatting.
24755 (get_handles_fopen): Likewise.
24756 (do_write_test): Likewise.
24757
24758 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24759
24760 * libio/fileops.c (do_ftell): Use cached offset when
24761 available.
24762 * libio/iofwide.c (do_ftell_wide): Likewise.
24763 * libio/iofdopen.c (_IO_new_fdopen): Don't use
24764 _IO_file_attach.
24765 * libio/wfileops.c (_IO_fwide): Don't cache offset.
24766
24767 [BZ #16532]
24768 * libio/libioP.h (get_file_offset): New function.
24769 * libio/fileops.c (get_file_offset): Likewise.
24770 (do_ftell): Likewise.
24771 (_IO_new_file_seekoff): Split out ftell logic.
24772 * libio/wfileops.c (do_ftell_wide): Likewise.
24773 (_IO_wfile_seekoff): Split out ftell logic.
24774 * libio/tst-ftell-active-handler.c: New test case.
24775 * libio/Makefile (tests): Add it.
24776
24777 2014-03-03 Roland McGrath <roland@hack.frob.com>
24778
24779 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24780 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24781
24782 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24783
24784 [BZ #16639]
24785 * nscd/connections.c (nscd_init): Call do_exit.
24786 (start_threads): Call do_exit and notify_parent.
24787 (begin_drop_privileges): Call do_exit.
24788 (finish_drop_privileges): Likewise.
24789 * nscd/selinux.c (preserve_capabilities): Likewise.
24790 (install_real_capabilities): Likewise.
24791 (nscd_selinux_enabled): Likewise.
24792 (avc_create_thread): Likewise.
24793 (avc_alloc_lock): Likewise.
24794 (nscd_avc_init): Likewise.
24795 * nscd/nscd.c (parent_fd): New static variable.
24796 (main): Create a pipe between parent and child processes.
24797 Skip closing parent_fd.
24798 (monitor_child): New function.
24799 (do_exit): Likewise.
24800 (notify_parent): Likewise.
24801 * nscd/nscd.h (notify_parent): Likewise.
24802 (do_exit): Likewise.
24803
24804 2014-03-03 Carlos O'Donell <carlos@redhat.com>
24805
24806 * malloc/malloc.c (__libc_calloc): Revert last change.
24807
24808 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24809
24810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24811
24812 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24813
24814 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24815 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24816 implementation.
24817 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24818 (__libc_ifunc_impl_list): Likewise.
24819 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24820 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24821 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24822 * string/strrchr.c: Define STRRCHR.
24823
24824 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
24825
24826 * benchtest/bench-strtok.c (simple_strtok): Delete.
24827 (strtok_string): Use as benchmark.
24828 * string/strtok (STRTOK): New macro.
24829
24830 2014-02-28 Carlos O'Donell <carlos@redhat.com>
24831
24832 * manual/threads.texi: Add header and standard comments to all
24833 functions.
24834
24835 * elf/dl-lookup.c (check_match): New function.
24836 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24837 (do_lookup_x): Remove nested function check_match. Use non-nested
24838 function check_match.
24839
24840 2014-02-28 Roland McGrath <roland@hack.frob.com>
24841
24842 * csu/Makefile (generated, before-compile): Use += rather than =.
24843 * catgets/Makefile (generated, generated-dirs): Likewise.
24844 * debug/Makefile (generated): Likewise.
24845 * dlfcn/Makefile (generated): Likewise.
24846 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24847 * iconvdata/Makefile (before-compile, generated): Likewise.
24848 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24849 * libio/Makefile (generated): Likewise.
24850 * malloc/Makefile (generated): Likewise.
24851 * manual/Makefile (generated, generated-dirs): Likewise.
24852 * misc/Makefile (generated): Likewise.
24853 * posix/Makefile (generated): Likewise.
24854 * resolv/Makefile (generated): Likewise.
24855 * sunrpc/Makefile (generated, generated-dirs): Likewise.
24856 * timezone/Makefile (generated, generated-dirs): Likewise.
24857
24858 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24859
24860 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24861
24862 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24863 power8 implementation.
24864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24865 file: POWER8 llround ifunc implementation.
24866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24867 (__lllround): Add POWER8 implementation.
24868 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24869 POWER8 llround implementation.
24870
24871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24872 power8 implementation.
24873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24874 file: POWER8 llrint ifunc implementation.
24875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24876 Add POWER8 implementation.
24877 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24878 POWER8 llrint implementation.
24879
24880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24881 power8 implementation.
24882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24883 file: POWER8 finite ifunc implementation.
24884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24885 Add POWER8 implementation.
24886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24887 Likewise.
24888 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24889 POWER8 finite implementation.
24890 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24891
24892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24893 power8 implementation.
24894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24895 file: POWER8 isinf ifunc implementation.
24896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24897 POWER8 implementation.
24898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24899 Likewise.
24900 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24901 isinf implementation.
24902 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24903
24904 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24905 (INIT_ARCH): Add hwcap2 initialization.
24906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24907 power8 implementation.
24908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
24909 file: POWER8 isnan ifunc implementation.
24910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
24911 POWER8 implementation.
24912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
24913 Likewise.
24914 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
24915 isnan implementation.
24916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
24917
24918 2014-02-27 Joey Ye <joey.ye@arm.com>
24919
24920 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
24921 (_FP_NANFRAC_Q): Set to zero.
24922
24923 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24924
24925 [BZ #16623]
24926 * math/auto-libm-test-in: New test inputs.
24927 * math/auto-libm-test-out: Regenerate.
24928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
24929 and DA.
24930 (__cos): Likewise.
24931 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24932
24933 2014-02-27 Joseph Myers <joseph@codesourcery.com>
24934
24935 * scripts/evaluate-test.sh: Take new argument indicating whether
24936 failure is expected.
24937 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
24938 indicating whether failure is expected.
24939 * conform/Makefile (test-xfail-run-conformtest): New variable.
24940 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
24941 level.
24942 * posix/Makefile (test-xfail-annexc): New variable.
24943 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
24944
24945 2014-02-26 Joseph Myers <joseph@codesourcery.com>
24946
24947 * argp/Makefile: Include Makeconfig immediately after defining
24948 subdir.
24949 * assert/Makefile: Likewise.
24950 * benchtests/Makefile: Likewise.
24951 * catgets/Makefile: Likewise.
24952 * conform/Makefile: Likewise.
24953 * crypt/Makefile: Likewise.
24954 * csu/Makefile: Likewise.
24955 (all): Remove target.
24956 * ctype/Makefile: Include Makeconfig immediately after defining
24957 subdir.
24958 * debug/Makefile: Likewise.
24959 * dirent/Makefile: Likewise.
24960 * dlfcn/Makefile: Likewise.
24961 * gmon/Makefile: Likewise.
24962 * gnulib/Makefile: Likewise.
24963 * grp/Makefile: Likewise.
24964 * gshadow/Makefile: Likewise.
24965 * hesiod/Makefile: Likewise.
24966 * hurd/Makefile: Likewise.
24967 (all): Remove target.
24968 * iconvdata/Makefile: Include Makeconfig immediately after
24969 defining subdir.
24970 * inet/Makefile: Likewise.
24971 * intl/Makefile: Likewise.
24972 * io/Makefile: Likewise.
24973 * libio/Makefile: Likewise.
24974 (all): Remove target.
24975 * locale/Makefile: Include Makeconfig immediately after defining
24976 subdir.
24977 * login/Makefile: Likewise.
24978 * mach/Makefile: Likewise.
24979 (all): Remove target.
24980 * malloc/Makefile: Include Makeconfig immediately after defining
24981 subdir.
24982 (all): Remove target.
24983 * manual/Makefile: Include Makeconfig immediately after defining
24984 subdir.
24985 * math/Makefile: Likewise.
24986 * misc/Makefile: Likewise.
24987 * nis/Makefile: Likewise.
24988 * nss/Makefile: Likewise.
24989 * po/Makefile: Likewise.
24990 (all): Remove target.
24991 * posix/Makefile: Include Makeconfig immediately after defining
24992 subdir.
24993 * pwd/Makefile: Likewise.
24994 * resolv/Makefile: Likewise.
24995 * resource/Makefile: Likewise.
24996 * rt/Makefile: Likewise.
24997 * setjmp/Makefile: Likewise.
24998 * shadow/Makefile: Likewise.
24999 * signal/Makefile: Likewise.
25000 * socket/Makefile: Likewise.
25001 * soft-fp/Makefile: Likewise.
25002 * stdio-common/Makefile: Likewise.
25003 * stdlib/Makefile: Likewise.
25004 * streams/Makefile: Likewise.
25005 * string/Makefile: Likewise.
25006 * sunrpc/Makefile: Likewise.
25007 (all): Remove target.
25008 * sysvipc/Makefile: Include Makeconfig immediately after defining
25009 subdir.
25010 * termios/Makefile: Likewise.
25011 * time/Makefile: Likewise.
25012 * timezone/Makefile: Likewise.
25013 (all): Remove target.
25014 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25015 subdir.
25016 * wctype/Makefile: Likewise.
25017
25018 2014-02-26 Steve Ellcey <sellcey@mips.com>
25019
25020 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25021 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25022 (libc_feholdexcept_setround_mips): Ditto.
25023 (libc_feholdsetround): New.
25024 (libc_feholdsetroundf): New.
25025 (libc_feholdsetroundl): New.
25026 (libc_feupdateenv_test_mips): New.
25027 (libc_feupdateenv_test): New.
25028 (libc_feupdateenv_testf): New.
25029 (libc_feupdateenv_testl): New.
25030 (libc_feresetround): New.
25031 (libc_feresetroundf): New.
25032 (libc_feresetroundl): New.
25033 (libc_fetestexcept_mips): New.
25034 (libc_fetestexcept): New.
25035 (libc_fetestexceptf): New.
25036 (libc_fetestexceptl): New.
25037 (HAVE_RM_CTX): New.
25038 (libc_feholdexcept_setround_mips_ctx): New.
25039 (libc_feholdexcept_setround_ctx): New.
25040 (libc_feholdexcept_setroundf_ctx): New.
25041 (libc_feholdexcept_setroundl_ctx): New.
25042 (libc_fesetenv_mips_ctx): New.
25043 (libc_fesetenv_ctx): New.
25044 (libc_fesetenv_ctxf): New.
25045 (libc_fesetenv_ctxl): New.
25046 (libc_feupdateenv_mips_ctx): New.
25047 (libc_feupdateenv_ctx): New.
25048 (libc_feupdateenvf_ctx): New.
25049 (libc_feupdateenvl_ctx): New.
25050 (libc_feholdsetround_mips_ctx): New.
25051 (libc_feholdsetround_ctx): New.
25052 (libc_feholdsetroundf_ctx): New.
25053 (libc_feholdsetroundl_ctx): New.
25054 (libc_feresetround_mips_ctx): New.
25055 (libc_feresetround_ctx): New.
25056 (libc_feresetroundf_ctx): New.
25057 (libc_feresetroundl_ctx): New.
25058
25059 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25060
25061 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25062
25063 * manual/ipc.texi: New file.
25064 * manual/Makefile (chapters): Add ipc.
25065 * manual/job.texi: Add "Inter-Process Communication" to next.
25066 * manual/process.texi: Add "Inter-Process Communication" to prev.
25067
25068 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25069
25070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25071
25072 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25073
25074 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25075
25076 * manual/arith.texi: Fix spaces after sentences.
25077 * manual/charset.texi: Likewise.
25078 * manual/errno.texi: Likewise.
25079 * manual/install.texi: Likewise.
25080 * manual/llio.texi: Likewise.
25081 * manual/locale.texi: Likewise.
25082 * manual/maint.texi: Likewise.
25083 * manual/math.texi: Likewise.
25084 * manual/memory.texi: Likewise.
25085 * manual/message.texi: Likewise.
25086 * manual/probes.texi: Likewise.
25087 * manual/resource.texi: Likewise.
25088 * manual/signal.texi: Likewise.
25089 * manual/socket.texi: Likewise.
25090 * manual/stdio.texi: Likewise.
25091 * manual/string.texi: Likewise.
25092 * manual/time.texi: Likewise.
25093 * manual/users.texi: Likewise.
25094
25095 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25096
25097 [BZ #16632]
25098 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25099 _DEFAULT_SOURCE is defined.
25100
25101 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25102 Carlos O'Donell <carlos@redhat.com>
25103
25104 [BZ #16613]
25105 * elf/dl-tls.c (_dl_count_modids): New function.
25106 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25107 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25108 audit library and increment generation counter.
25109 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25110 * elf/tst-audit9.c: New file.
25111 * elf/tst-auditmod9a.c: New file.
25112 * elf/tst-auditmod9b.c: New file.
25113 * elf/Makefile: Add rules to build and run tst-audit9.
25114
25115 2014-02-25 Florian Weimer <fweimer@redhat.com>
25116
25117 [BZ #15347]
25118 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25119
25120 2014-02-25 Will Newton <will.newton@linaro.org>
25121
25122 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25123 (__longjmp): Restore sp and lr before restoring callee
25124 saved registers. Add longjmp and longjmp_target
25125 SystemTap probe point.
25126 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25127 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25128 Define to zero to match jmpbuf layout.
25129 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25130 (__sigsetjmp): Save sp and lr before saving callee
25131 saved registers. Add setjmp SystemTap probe point.
25132
25133 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25134
25135 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25136
25137 2014-02-24 Andreas Schwab <schwab@suse.de>
25138
25139 [BZ #15804]
25140 * elf/pldd.c (wait_for_ptrace_stop): New function.
25141 (main): Call it after attaching.
25142
25143 2014-02-22 Roland McGrath <roland@hack.frob.com>
25144
25145 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25146 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25147 Versions files is now verboten.
25148 * hurd/Versions (libc: GLIBC_2.0):
25149 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25150 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25151 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25152 * mach/Versions: Likewise.
25153
25154 * csu/Versions: Remove unused %include.
25155 * resolv/Versions: Likewise.
25156
25157 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25158
25159 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25160 ($(objpfx)check-local-headers.out): Likewise.
25161 ($(objpfx)begin-end-check.out): Likewise.
25162 * Makerules (check-abi-%.out): Likewise.
25163 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25164 ($(objpfx)test2.cat): Likewise.
25165 ($(objpfx)de/libc.cat): Likewise.
25166 ($(objpfx)test-gencat.out): Likewise.
25167 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25168 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25169 ($(objpfx)noload-mem): Likewise.
25170 ($(objpfx)tst-pathopt.out): Likewise.
25171 ($(objpfx)tst-rtld-load-self.out): Likewise.
25172 ($(objpfx)tst-array1-cmp.out): Likewise.
25173 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25174 ($(objpfx)tst-array2-cmp.out): Likewise.
25175 ($(objpfx)tst-array3-cmp.out): Likewise.
25176 ($(objpfx)tst-array4-cmp.out): Likewise.
25177 ($(objpfx)tst-array5-cmp.out): Likewise.
25178 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25179 ($(objpfx)check-textrel.out): Likewise.
25180 ($(objpfx)check-execstack.out): Likewise.
25181 ($(objpfx)check-localplt.out): Likewise.
25182 ($(objpfx)order2-cmp.out): Likewise.
25183 ($(objpfx)tst-leaks1-mem): Likewise.
25184 ($(objpfx)tst-leaks1-static-mem): Likewise.
25185 ($(objpfx)tst-initorder-cmp.out): Likewise.
25186 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25187 ($(objpfx)tst-unused-dep.out): Likewise.
25188 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25189 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25190 * iconv/Makefile (test-iconvconfig): Likewise.
25191 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25192 ($(objpfx)iconv-test.out): Likewise.
25193 ($(objpfx)tst-tables.out): Likewise.
25194 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25195 ($(objpfx)tst-gettext.out): Likewise.
25196 ($(objpfx)tst-translit.out): Likewise.
25197 ($(objpfx)tst-gettext2.out): Likewise.
25198 ($(objpfx)tst-gettext4.out): Likewise.
25199 ($(objpfx)tst-gettext6.out): Likewise.
25200 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25201 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25202 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25203 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25204 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25205 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25206 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25207 ($(objpfx)wordexp-tst.out): Likewise.
25208 ($(objpfx)annexc.out): Likewise.
25209 ($(objpfx)tst-fnmatch-mem): Likewise.
25210 ($(objpfx)bug-regex2-mem): Likewise.
25211 ($(objpfx)bug-regex14-mem): Likewise.
25212 ($(objpfx)bug-regex21-mem): Likewise.
25213 ($(objpfx)bug-regex31-mem): Likewise.
25214 ($(objpfx)tst-vfork3-mem): Likewise.
25215 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25216 ($(objpfx)tst-pcre-mem): Likewise.
25217 ($(objpfx)tst-boost-mem): Likewise.
25218 ($(objpfx)tst-getconf.out): Likewise.
25219 ($(objpfx)bug-ga2-mem): Likewise.
25220 ($(objpfx)bug-glob2-mem): Likewise.
25221 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25222 ($(objpfx)mtrace-tst-leaks2): Likewise.
25223 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25224 ($(objpfx)tst-printf.out): Likewise.
25225 ($(objpfx)tst-setvbuf1.out): Likewise.
25226 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25227 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25228 ($(objpfx)tst-fmtmsg.out): Likewise.
25229 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25230 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25231
25232 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25233 * bits/sigaction.h [__USE_MISC]: Likewise.
25234 * bits/waitstatus.h: Update #endif comments.
25235 * ctype/ctype.h: Likewise.
25236 * dirent/dirent.h: Likewise.
25237 [__USE_MISC]: Remove redundant conditionals.
25238 * grp/grp.h: Update #endif comments.
25239 [__USE_GNU]: Remove redundant conditionals.
25240 [__USE_MISC]: Likewise.
25241 * inet/netinet/in.h [__USE_GNU]: Likewise.
25242 * io/sys/stat.h [__USE_MISC]: Likewise.
25243 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25244 * libio/bits/stdio.h: Update #endif comments.
25245 [__USE_MISC]: Remove redundant conditionals.
25246 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25247 * libio/stdio.h: Update #endif comments.
25248 [__USE_MISC]: Remove redundant conditionals.
25249 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25250 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25251 * math/math.h: Update #else and #endif comments.
25252 [__USE_MISC]: Remove redundant conditionals.
25253 * misc/sys/uio.h: Update #endif comments.
25254 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25255 * posix/glob.h [__USE_MISC]: Likewise.
25256 * posix/sys/types.h: Update #endif comments.
25257 [__USE_MISC]: Remove redundant conditionals.
25258 * posix/sys/wait.h: Update #endif comments.
25259 [__USE_MISC]: Remove redundant conditionals.
25260 * posix/unistd.h: Update #endif comments.
25261 [__USE_MISC]: Remove redundant conditionals.
25262 * pwd/pwd.h [__USE_GNU]: Likewise.
25263 [__USE_MISC]: Likewise.
25264 * resolv/netdb.h [__USE_GNU]: Likewise.
25265 * signal/signal.h: Update #endif comments.
25266 [__USE_MISC]: Remove redundant conditionals.
25267 * stdlib/stdlib.h: Update #else and #endif comments.
25268 [__USE_MISC]: Remove redundant conditionals.
25269 [__USE_GNU]: Likewise.
25270 * string/bits/string2.h [__USE_MISC]: Likewise.
25271 * string/string.h: Update #endif comments.
25272 [__USE_MISC]: Remove redundant conditionals.
25273 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25274 Likewise.
25275 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25276 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25277 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25278 Likewise.
25279 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25280 Likewise.
25281 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25282 comments.
25283 [__USE_MISC]: Remove redundant conditionals.
25284 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25285 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25286 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25287 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25288 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25289 Likewise.
25290 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25291 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25292 Likewise.
25293 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25294 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25295 Likewise.
25296 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25297 Likewise.
25298 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25299 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25300 Likewise.
25301 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25302 Likewise.
25303 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25304 * sysdeps/x86/bits/string.h: Update #endif comments.
25305 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25306 conditionals.
25307 * time/sys/time.h: Update #endif comments.
25308 * time/time.h: Likewise.
25309 [__USE_MISC]: Remove redundant conditionals.
25310
25311 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25312
25313 [BZ #16600]
25314 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25315
25316 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25317
25318 * Versions.def (librt): Add GLIBC_2.17.
25319
25320 2014-02-21 Adam Conrad <adconrad@0c3.net>
25321
25322 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25323 synonym for _SYS_AUXV_H to allow direct inclusion.
25324 * sysdeps/sparc/bits/hwcap.h: Likewise.
25325 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25326 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25327 * sysdeps/sparc/sysdep.h: Likewise.
25328
25329 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25330
25331 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25332
25333 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25334
25335 * benchtests/bench-strrchr.c: Print length instead of position.
25336
25337 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25338
25339 [BZ #16611]
25340 * sysdeps/unix/sysv/linux/kernel-features.h
25341 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25342 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25343 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25344 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25345 Likewise.
25346 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25347 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25348 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25349 (__ASSUME_SENDMMSG): Define instead of using previous
25350 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25351 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25352 (__ASSUME_SENDMMSG_SYSCALL): Define.
25353 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25354 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25355 Likewise.
25356 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25357 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25358 Likewise.
25359 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25360 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25361 Likewise.
25362 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25363 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25364 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25365 [__ASSUME_SENDMMSG]: Change conditionals to
25366 [__ASSUME_SENDMMSG_SOCKETCALL].
25367 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25368 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25369 Define.
25370 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25371 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25372 Likewise.
25373 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25374 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25375 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25376 [!__ASSUME_SENDMMSG]: Change conditional to
25377 [!__ASSUME_SENDMMSG_SOCKETCALL].
25378 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25379 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25380 Define.
25381
25382 [BZ #16610]
25383 * sysdeps/unix/sysv/linux/kernel-features.h
25384 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25385 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25386 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25387 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25388 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25389 [__i386__ || __sparc__]
25390 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25391 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25392 (__ASSUME_RECVMMSG): Define instead of using previous
25393 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25394 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25395 (__ASSUME_RECVMMSG_SYSCALL): Define.
25396 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25397 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25398 Likewise.
25399 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25400 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25401 Likewise.
25402 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25403 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25404 Likewise.
25405 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25406 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25407 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25408 [__ASSUME_RECVMMSG]: Change condition to
25409 [__ASSUME_RECVMMSG_SOCKETCALL].
25410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25411 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25412 Define.
25413 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25414 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25415 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25416 Likewise.
25417 * sysdeps/unix/sysv/linux/recvmmsg.c [__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/tile/kernel-features.h
25423 (__ASSUME_RECVMMSG_SYSCALL): Define.
25424
25425 [BZ #16609]
25426 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25427 __powerpc__ || __s390__ || __sh__ || __sparc__]
25428 (__ASSUME_SOCKETCALL): Define.
25429 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25430 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25431 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25432 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25433 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25434 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25435 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25436 (__ASSUME_ACCEPT4): Define instead of using previous
25437 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25438 __powerpc__ || __sparc__ || __s390__)] condition.
25439 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25440 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25441 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25442 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25443 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25444 [!__ASSUME_ACCEPT4]: Change condition to
25445 [!__ASSUME_ACCEPT4_SOCKETCALL].
25446 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25447 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25448 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25449 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25450 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25451 __ASSUME_ACCEPT4_SYSCALL.
25452 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25453 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25454 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25455 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25456 __ASSUME_ACCEPT4_SYSCALL.
25457 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25458 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25459 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25460 [__ASSUME_ACCEPT4]: Change condition to
25461 [__ASSUME_ACCEPT4_SOCKETCALL].
25462 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25463 (__ASSUME_SOCKETCALL): Define.
25464 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25465 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25466 (__ASSUME_SOCKETCALL): Define.
25467 (__ASSUME_ACCEPT4): Remove.
25468 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25469 Define.
25470 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25471 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25472 Likewise.
25473 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25474 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25475
25476 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25477 macro.
25478 (HWCAP_ARM_LPAE): Likewise.
25479 (HWCAP_ARM_EVTSTRM): Likewise.
25480 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25481 Add vpfd32, lpae and evtstrm.
25482 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25483 Increase to 22.
25484
25485 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25486
25487 * math/auto-libm-test-in: Add tests of clog10.
25488 * math/auto-libm-test-out: Regenerated.
25489 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25490 * sysdeps/i386/fpu/libm-test-ulps: Update.
25491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25492
25493 2014-02-18 Andreas Schwab <schwab@suse.de>
25494
25495 [BZ #16574]
25496 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25497 Store non-zero if the second buffer was newly allocated.
25498 (send_dg): Likewise.
25499 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25500 to send_vc and send_dg.
25501 (res_nsend): Pass NULL for ansp2_malloced.
25502 * resolv/res_query.c (__libc_res_nquery): Add parameter
25503 answerp2_malloced and pass it down to __libc_res_nsend.
25504 (res_nquery): Pass additional NULL to __libc_res_nquery.
25505 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25506 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25507 second answer buffer if answerp2_malloced was set.
25508 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25509 (__libc_res_nquerydomain): Add parameter
25510 answerp2_malloced and pass it down to __libc_res_nquery.
25511 (res_nquerydomain): Pass additional NULL to
25512 __libc_res_nquerydomain.
25513 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25514 additional NULL to __libc_res_nsend and __libc_res_nquery.
25515 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25516 additional NULL to __libc_res_nsearch.
25517 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25518 parameter of __libc_res_nsearch to check for separately allocated
25519 second buffer.
25520 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25521 __libc_res_nquery.
25522 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25523 additional NULL to __libc_res_nquery.
25524 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25525 __libc_res_nsearch.
25526 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25527 * include/resolv.h: Update prototypes of __libc_res_nquery,
25528 __libc_res_nsearch, __libc_res_nsend.
25529
25530 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25531
25532 * math/auto-libm-test-in: Add tests of fma.
25533 * math/auto-libm-test-out: Regenerated.
25534 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25535 (fma_towardzero_test_data): Likewise.
25536 (fma_downward_test_data): Likewise.
25537 (fma_upward_test_data): Likewise.
25538 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25539 mpc_mode.
25540 (rounding_modes): Add values for new field.
25541 (func_calc_method): Add value mpfr_fff_f.
25542 (func_calc_desc): Add mpfr_fff_f union field.
25543 (test_function): Add field exact_args.
25544 (FUNC): Add macro argument EXACT_ARGS.
25545 (FUNC_mpfr_f_f): Update call to FUNC.
25546 (FUNC_mpfr_f_f): Likewise.
25547 (FUNC_mpfr_ff_f): Likewise.
25548 (FUNC_mpfr_if_f): Likewise.
25549 (FUNC_mpc_c_f): Likewise.
25550 (FUNC_mpc_c_c): Likewise.
25551 (test_functions): Add fma. Update calls to FUNC.
25552 (handle_input_arg): Add argument exact_args.
25553 (add_test): Update call to handle_input_arg.
25554 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25555 (output_for_one_input_case): Update call to calc_generic_results.
25556 Recalculate exact zero results in each rounding mode.
25557
25558 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25559 non-negative before setting low bit.
25560 * math/auto-libm-test-in: Mark one asin test possibly having
25561 spurious underflow.
25562 * math/auto-libm-test-out: Regenerated.
25563 * sysdeps/i386/fpu/libm-test-ulps: Update.
25564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25565
25566 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25567
25568 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25569 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25570 ports/sysdeps/unix/sysv/linux/microblaze.
25571 * README: Add missing listing for microblaze*-*-linux-gnu.
25572
25573 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25574
25575 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25576 duplicate code
25577
25578 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25579
25580 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25581 * sysdeps/unix/sysv/linux/ia64: Move directory from
25582 ports/sysdeps/unix/sysv/linux/ia64.
25583 * README: Update listing for ia64-*-linux-gnu.
25584
25585 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25586 Joseph Myers <joseph@codesourcery.com>
25587
25588 * Makeconfig (test-name): New variable.
25589 (evaluate-test): Likewise.
25590 * Makerules (do-test-clean): Remove .test-result files.
25591 (common-mostlyclean): Likewise.
25592 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25593 * scripts/evaluate-test.sh: New file.
25594
25595 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25596
25597 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25598 separate $(objpfx)tst-fopenloc-cmp.out and
25599 $(objpfx)tst-fopenloc-mem.out targets.
25600 (tests): Update dependencies.
25601 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25602 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25603 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25604 (tst-rxspencer-no-utf8-ARGS): New variable.
25605 (tst-rxspencer-no-utf8-ENV): Likewise.
25606 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25607 instead of $(objpfx)tst-rxspencer-mem.
25608 ($(objpfx)tst-rxspencer-mem): Change target to
25609 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25610 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25611 * posix/tst-rxspencer-no-utf8.c: New file.
25612
25613 * elf/Makefile ($(objpfx)order.out): Remove rule.
25614 [$(run-built-tests) = yes] (tests): Depend on
25615 $(objpfx)order-cmp.out.
25616 ($(objpfx)order-cmp.out): New rule.
25617 [$(run-built-tests) = yes] (tests): Depend on
25618 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25619 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25620 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25621 $(objpfx)tst-array5-static-cmp.out.
25622 ($(objpfx)tst-array1.out): Remove rule.
25623 ($(objpfx)tst-array1-cmp.out): New rule.
25624 ($(objpfx)tst-array1-static.out): Remove rule.
25625 ($(objpfx)tst-array1-static-cmp.out): New rule.
25626 ($(objpfx)tst-array2.out): Remove rule.
25627 ($(objpfx)tst-array2-cmp.out): New rule.
25628 ($(objpfx)tst-array3.out): Remove rule.
25629 ($(objpfx)tst-array3-cmp.out): New rule.
25630 ($(objpfx)tst-array4.out): Remove rule.
25631 ($(objpfx)tst-array4-cmp.out): New rule.
25632 ($(objpfx)tst-array5.out): Remove rule.
25633 ($(objpfx)tst-array5-cmp.out): New rule.
25634 ($(objpfx)tst-array5-static.out): Remove rule.
25635 ($(objpfx)tst-array5-static-cmp.out): New rule.
25636 [$(run-built-tests) = yes] (tests): Depend on
25637 $(objpfx)order2-cmp.out.
25638 ($(objpfx)order2.out): Remove rule.
25639 ($(objpfx)order2-cmp.out): New rule.
25640 ($(objpfx)tst-initorder.out): Remove rule.
25641 [$(run-built-tests) = yes] (tests): Depend on
25642 $(objpfx)tst-initorder-cmp.out.
25643 ($(objpfx)tst-initorder-cmp.out): New rule.
25644 ($(objpfx)tst-initorder2.out): Remove rule.
25645 [$(run-built-tests) = yes] (tests): Depend on
25646 $(objpfx)tst-initorder2-cmp.out.
25647 ($(objpfx)tst-initorder2-cmp.out): New rule.
25648 [$(run-built-tests) = yes] (tests): Depend on
25649 $(objpfx)tst-unused-dep-cmp.out.
25650 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25651 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25652 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25653 on $(objpfx)tst-setvbuf1-cmp.out.
25654 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25655 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25656 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25657 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25658 ($(objpfx)tst-svc.out): Remove rule.
25659 ($(objpfx)tst-svc-cmp.out): New rule.
25660
25661 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25662
25663 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25664 * ctype/ctype.h [__USE_MISC]: Likewise.
25665 * dirent/dirent.h [__USE_MISC]: Likewise.
25666 * grp/grp.h [__USE_MISC]: Likewise.
25667 * io/fcntl.h [__USE_MISC]: Likewise.
25668 * io/sys/stat.h [__USE_MISC]: Likewise.
25669 * libio/stdio.h [__USE_MISC]: Likewise.
25670 * posix/unistd.h [__USE_MISC]: Likewise.
25671 * pwd/pwd.h [__USE_MISC]: Likewise.
25672 * stdlib.h [__USE_MISC]: Likewise.
25673 * string/bits/string2.h [__USE_MISC]: Likewise.
25674 * string/string.h [__USE_MISC]: Likewise.
25675 * time/time.h [__USE_MISC]: Likewise.
25676
25677 2014-02-13 Andreas Schwab <schwab@suse.de>
25678
25679 [BZ #16574]
25680 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25681 second answer buffer if it was separately allocated.
25682
25683 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25684
25685 * sysdeps/mips/math-tests.h: Include <features.h>.
25686 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25687 (ROUNDING_TESTS_long_double): Do not define.
25688 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25689 (EXCEPTION_TESTS_long_double): Likewise.
25690 * sysdeps/mips/mips64/libm-test-ulps: Update.
25691
25692 * include/features.h (__USE_BSD): Remove macro definitions.
25693 (__USE_SVID): Likewise.
25694 (_BSD_SOURCE): Likewise.
25695 (_SVID_SOURCE): Likewise.
25696 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25697 from definition of _DEFAULT_SOURCE.
25698 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25699 [_DEFAULT_SOURCE].
25700 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25701 * bits/mman.h [__USE_BSD]: Likewise.
25702 * bits/termios.h [__USE_BSD]: Likewise.
25703 * bits/waitstatus.h [__USE_BSD]: Likewise.
25704 * ctype/ctype.h [__USE_SVID]: Likewise.
25705 * dirent/dirent.h [__USE_BSD]: Likewise.
25706 * grp/grp.h [__USE_SVID]: Likewise.
25707 [__USE_BSD]: Likewise.
25708 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25709 * io/fcntl.h [__USE_BSD]: Likewise.
25710 * io/ftw.h [__USE_BSD]: Likewise.
25711 * io/sys/stat.h [__USE_BSD]: Likewise.
25712 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25713 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25714 * libio/stdio.h [__USE_SVID]: Likewise.
25715 [__USE_BSD]: Likewise.
25716 * math/math.h [__USE_SVID]: Likewise.
25717 [__USE_BSD]: Likewise.
25718 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25719 * misc/bits/syslog.h [__USE_BSD]: Likewise.
25720 * misc/search.h [__USE_SVID]: Likewise.
25721 * misc/sys/mman.h [__USE_BSD]: Likewise.
25722 * misc/sys/syslog.h [__USE_BSD]: Likewise.
25723 * misc/sys/uio.h [__USE_BSD]: Likewise.
25724 * posix/bits/unistd.h [__USE_BSD]: Likewise.
25725 * posix/glob.h [__USE_BSD]: Likewise.
25726 * posix/regex.h [__USE_BSD]: Likewise.
25727 * posix/sys/types.h [__USE_BSD]: Likewise.
25728 [__USE_SVID]: Likewise.
25729 * posix/sys/utsname.h [__USE_SVID]: Likewise.
25730 * posix/sys/wait.h [__USE_BSD]: Likewise.
25731 [__USE_SVID]: Likewise.
25732 * posix/unistd.h [__USE_BSD]: Likewise.
25733 [__USE_SVID]: Likewise.
25734 * pwd/pwd.h [__USE_SVID]: Likewise.
25735 * resolv/netdb.h [__USE_BSD]: Likewise.
25736 * setjmp/setjmp.h [__USE_BSD]: Likewise.
25737 * signal/signal.h [__USE_BSD]: Likewise.
25738 [__USE_SVID]: Likewise.
25739 * socket/sys/socket.h [__USE_BSD]: Likewise.
25740 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25741 * stdlib/stdlib.h [__USE_BSD]: Likewise.
25742 [__USE_SVID]: Likewise.
25743 * string/bits/string2.h [__USE_BSD]: Likewise.
25744 [__USE_SVID]: Likewise.
25745 * string/bits/string3.h [__USE_BSD]: Likewise.
25746 * string/endian.h [__USE_BSD]: Likewise.
25747 * string/string.h [__USE_SVID]: Likewise.
25748 [__USE_BSD]: Likewise.
25749 * string/strings.h [__USE_BSD]: Likewise.
25750 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25751 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25752 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25753 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25754 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25755 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25756 Likewise.
25757 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25758 Likewise.
25759 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25760 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25761 Likewise.
25762 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25763 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25764 Likewise.
25765 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25766 Likewise.
25767 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25768 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25769 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25770 Likewise.
25771 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25772 Likewise.
25773 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25774 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25775 * termios/termios.h [__USE_BSD]: Likewise.
25776 * time/sys/time.h [__USE_BSD]: Likewise.
25777 * time/time.h [__USE_BSD]: Likewise.
25778 [__USE_SVID]: Likewise.
25779
25780 * Makefile (subdir_targets): Remove subdir_lint.out.
25781
25782 * stdio-common/Makefile (do-tst-unbputc): Remove target.
25783 (do-tst-printf): Likewise.
25784 (tests): Depend directly on $(objpfx)tst-unbputc.out and
25785 $(objpfx)tst-printf.out.
25786
25787 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25788
25789 * Makerules (check-abi-%): Change target to
25790 $(objpfx)check-abi-%.out.
25791 (check-abi target): Update dependencies.
25792 (check-abi-pattern variable): Redirect output of diff to $@.
25793 (check-abi variable): Likewise.
25794 * elf/Makefile (check-abi): Update dependencies.
25795
25796 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25797 unused.
25798 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25799 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25800 subnormal range.
25801 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25802 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25803 value has largest subnormal exponent.
25804 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25805 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25806 * sysdeps/aarch64/soft-fp/sfp-machine.h
25807 (_FP_TININESS_AFTER_ROUNDING): New macro.
25808 * sysdeps/alpha/soft-fp/sfp-machine.h
25809 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25810 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25811 Likewise.
25812 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25813 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25814 * sysdeps/mips/soft-fp/sfp-machine.h
25815 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25816 * sysdeps/powerpc/soft-fp/sfp-machine.h
25817 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25818 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25819 Likewise.
25820 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25821 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25822 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25823 (_FP_TININESS_AFTER_ROUNDING): Likewise.
25824 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25825 Likewise.
25826
25827 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
25828
25829 [BZ #16545]
25830 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25831 model 1.
25832
25833 2014-02-12 Richard Henderson <rth@redhat.com>
25834
25835 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25836 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25837 * sysdeps/unix/sysv/linux/alpha: Move directory from
25838 ports/sysdeps/unix/sysv/linux/alpha.
25839 * README: Update listing for alpha-*-linux-gnu.
25840
25841 2014-02-11 Joseph Myers <joseph@codesourcery.com>
25842
25843 * include/features.h: Update comment documenting feature test
25844 macros.
25845 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
25846 _DEFAULT_SOURCE.
25847 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25848 (_SVID_SOURCE): Likewise.
25849 (_DEFAULT_SOURCE): Update description of default features.
25850 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25851 with _GNU_SOURCE.
25852 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25853 (S_ISVTX): Likewise.
25854 * manual/math.texi (Mathematical Constants): Likewise.
25855 * manual/signal.texi (Interrupted Primitives): Likewise.
25856 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25857 * math/test-matherr.c (_SVID_SOURCE): Do not define.
25858 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25859 Don't refer to _SVID_SOURCE in warning text.
25860
25861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25862
25863 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25864 already defined.
25865 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25866 * sysdeps/mips/dl-lookup.c: Remove.
25867 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25868
25869 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
25870
25871 [BZ #16447]
25872 * math/auto-libm-test-in: Add testcase for expl.
25873 * math/auto-libm-test-out: Regenerate.
25874 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25875 calculation of unsafe.
25876 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25877
25878 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
25879
25880 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25881 * sysdeps/unix/sysv/linux/aarch64: Move directory from
25882 ports/sysdeps/unix/sysv/linux/aarch64.
25883 * README: Update listing for aarch64*-*-linux-gnu.
25884
25885 2014-02-11 Will Newton <will.newton@linaro.org>
25886
25887 * manual/probes.texi (Mathematical Function Probes): Use
25888 "triggered" instead of "hit".
25889
25890 * manual/probes.texi (Internal Probes): Add documentation
25891 of setjmp, longjmp and longjmp_target probes.
25892
25893 * include/stap-probe.h: Add comment about probe argument
25894 format.
25895
25896 * malloc/mtrace.c (attribute_hidden): Remove unused macro
25897 definition. (tr_where, tr_freehook, tr_mallochook,
25898 tr_reallochook, tr_memalignhook): Use ANSI protoype.
25899
25900 2014-02-11 David S. Miller <davem@davemloft.net>
25901
25902 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25903 processing int_tests.
25904
25905 2014-02-10 Joseph Myers <joseph@codesourcery.com>
25906
25907 * sysdeps/mips: Move directory from ports/sysdeps/mips.
25908 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
25909 * sysdeps/unix/sysv/linux/mips: Move directory from
25910 ports/sysdeps/unix/sysv/linux/mips.
25911 * README: Update listing for mips-*-linux-gnu and
25912 mips64-*-linux-gnu.
25913
25914 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
25915
25916 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
25917 * sysdeps/unix/sysv/linux/m68k: Move directory from
25918 ports/sysdeps/unix/sysv/linux/m68k.
25919 * README: Update listing for m68k-*-linux-gnu.
25920
25921 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
25922
25923 * sysdeps/tile: Move directory from ports/sysdeps/tile.
25924 * sysdeps/unix/sysv/linux/generic: Move directory from
25925 ports/sysdeps/unix/sysv/linux/generic.
25926 * sysdeps/unix/sysv/linux/tile: Move directory from
25927 ports/sysdeps/unix/sysv/linux/tile.
25928 * README: Update listing for tile*-*-linux-gnu.
25929
25930 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
25931
25932 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
25933 __builtin_expect.
25934 * benchtests/bench-memmem.c (simple_memmem): Likewise.
25935 * catgets/open_catalog.c (__open_catalog): Likewise.
25936 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
25937 * debug/confstr_chk.c: Likewise.
25938 * debug/fread_chk.c (__fread_chk): Likewise.
25939 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
25940 * debug/getgroups_chk.c: Likewise.
25941 * debug/mbsnrtowcs_chk.c: Likewise.
25942 * debug/mbsrtowcs_chk.c: Likewise.
25943 * debug/mbstowcs_chk.c: Likewise.
25944 * debug/memcpy_chk.c: Likewise.
25945 * debug/memmove_chk.c: Likewise.
25946 * debug/mempcpy_chk.c: Likewise.
25947 * debug/memset_chk.c: Likewise.
25948 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25949 * debug/strcat_chk.c (__strcat_chk): Likewise.
25950 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
25951 * debug/strncat_chk.c (__strncat_chk): Likewise.
25952 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
25953 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
25954 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
25955 * debug/wcpncpy_chk.c: Likewise.
25956 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25957 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
25958 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
25959 * debug/wcsncpy_chk.c: Likewise.
25960 * debug/wcsnrtombs_chk.c: Likewise.
25961 * debug/wcsrtombs_chk.c: Likewise.
25962 * debug/wcstombs_chk.c: Likewise.
25963 * debug/wmemcpy_chk.c: Likewise.
25964 * debug/wmemmove_chk.c: Likewise.
25965 * debug/wmempcpy_chk.c: Likewise.
25966 * debug/wmemset_chk.c: Likewise.
25967 * dirent/scandirat.c (SCANDIRAT): Likewise.
25968 * dlfcn/dladdr1.c (dladdr1): Likewise.
25969 * dlfcn/dladdr.c (dladdr): Likewise.
25970 * dlfcn/dlclose.c (dlclose_doit): Likewise.
25971 * dlfcn/dlerror.c (__dlerror): Likewise.
25972 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
25973 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
25974 * dlfcn/dlopen.c (dlopen_doit): Likewise.
25975 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
25976 * dlfcn/dlsym.c (dlsym_doit): Likewise.
25977 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
25978 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
25979 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
25980 Likewise.
25981 * elf/dl-conflict.c: Likewise.
25982 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
25983 * elf/dl-dst.h: Likewise.
25984 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
25985 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
25986 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
25987 * elf/dl-init.c (call_init, _dl_init): Likewise.
25988 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
25989 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
25990 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
25991 Likewise.
25992 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
25993 Likewise.
25994 * elf/dl-minimal.c (__libc_memalign): Likewise.
25995 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
25996 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25997 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
25998 * elf/dl-sym.c (do_sym): Likewise.
25999 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26000 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26001 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26002 * elf/dl-writev.h (_dl_writev): Likewise.
26003 * elf/ldconfig.c (search_dir): Likewise.
26004 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26005 (dl_main): Likewise.
26006 * elf/setup-vdso.h (setup_vdso): Likewise.
26007 * grp/compat-initgroups.c (compat_call): Likewise.
26008 * grp/fgetgrent.c (fgetgrent): Likewise.
26009 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26010 * grp/putgrent.c (putgrent): Likewise.
26011 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26012 Likewise.
26013 * hurd/hurdinit.c: Likewise.
26014 * iconvdata/8bit-gap.c (struct): Likewise.
26015 * iconvdata/ansi_x3.110.c : Likewise.
26016 * iconvdata/big5.c : Likewise.
26017 * iconvdata/big5hkscs.c : Likewise.
26018 * iconvdata/cp1255.c: Likewise.
26019 * iconvdata/cp1258.c : Likewise.
26020 * iconvdata/cp932.c : Likewise.
26021 * iconvdata/euc-cn.c: Likewise.
26022 * iconvdata/euc-jisx0213.c : Likewise.
26023 * iconvdata/euc-jp.c: Likewise.
26024 * iconvdata/euc-jp-ms.c : Likewise.
26025 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26026 * iconvdata/gb18030.c : Likewise.
26027 * iconvdata/gbbig5.c (const): Likewise.
26028 * iconvdata/gbgbk.c: Likewise.
26029 * iconvdata/gbk.c : Likewise.
26030 * iconvdata/ibm1364.c : Likewise.
26031 * iconvdata/ibm930.c : Likewise.
26032 * iconvdata/ibm932.c: Likewise.
26033 * iconvdata/ibm933.c : Likewise.
26034 * iconvdata/ibm935.c : Likewise.
26035 * iconvdata/ibm937.c : Likewise.
26036 * iconvdata/ibm939.c : Likewise.
26037 * iconvdata/ibm943.c: Likewise.
26038 * iconvdata/iso_11548-1.c: Likewise.
26039 * iconvdata/iso-2022-cn.c : Likewise.
26040 * iconvdata/iso-2022-cn-ext.c : Likewise.
26041 * iconvdata/iso-2022-jp-3.c: Likewise.
26042 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26043 * iconvdata/iso-2022-kr.c : Likewise.
26044 * iconvdata/iso646.c (gconv_end): Likewise.
26045 * iconvdata/iso_6937-2.c : Likewise.
26046 * iconvdata/iso_6937.c : Likewise.
26047 * iconvdata/iso8859-1.c: Likewise.
26048 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26049 * iconvdata/shift_jisx0213.c : Likewise.
26050 * iconvdata/sjis.c : Likewise.
26051 * iconvdata/t.61.c : Likewise.
26052 * iconvdata/tcvn5712-1.c : Likewise.
26053 * iconvdata/tscii.c: Likewise.
26054 * iconvdata/uhc.c : Likewise.
26055 * iconvdata/unicode.c (gconv_end): Likewise.
26056 * iconvdata/utf-16.c (gconv_end): Likewise.
26057 * iconvdata/utf-32.c (gconv_end): Likewise.
26058 * iconvdata/utf-7.c (base64): Likewise.
26059 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26060 * iconv/gconv_close.c (__gconv_close): Likewise.
26061 * iconv/gconv_open.c (__gconv_open): Likewise.
26062 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26063 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26064 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26065 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26066 (ucs4le_internal_loop_single): Likewise.
26067 * iconv/iconv.c (iconv): Likewise.
26068 * iconv/iconv_close.c: Likewise.
26069 * iconv/loop.c (SINGLE): Likewise.
26070 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26071 * include/atomic.h: Likewise.
26072 * inet/inet6_option.c (option_alloc): Likewise.
26073 * intl/bindtextdom.c (set_binding_values): Likewise.
26074 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26075 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26076 * intl/localealias.c (read_alias_file): Likewise.
26077 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26078 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26079 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26080 * libio/fmemopen.c (fmemopen): Likewise.
26081 * libio/iofgets.c (_IO_fgets): Likewise.
26082 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26083 * libio/iofgetws.c (fgetws): Likewise.
26084 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26085 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26086 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26087 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26088 * locale/findlocale.c (_nl_find_locale): Likewise.
26089 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26090 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26091 Likewise.
26092 * locale/setlocale.c (setlocale): Likewise.
26093 * login/programs/pt_chown.c (main): Likewise.
26094 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26095 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26096 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26097 (mmap, mmap64, mremap, munmap): Likewise.
26098 * math/e_exp2l.c: Likewise.
26099 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26100 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26101 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26102 * math/s_catan.c (__catan): Likewise.
26103 * math/s_catanf.c (__catanf): Likewise.
26104 * math/s_catanh.c (__catanh): Likewise.
26105 * math/s_catanhf.c (__catanhf): Likewise.
26106 * math/s_catanhl.c (__catanhl): Likewise.
26107 * math/s_catanl.c (__catanl): Likewise.
26108 * math/s_ccosh.c (__ccosh): Likewise.
26109 * math/s_ccoshf.c (__ccoshf): Likewise.
26110 * math/s_ccoshl.c (__ccoshl): Likewise.
26111 * math/s_cexp.c (__cexp): Likewise.
26112 * math/s_cexpf.c (__cexpf): Likewise.
26113 * math/s_cexpl.c (__cexpl): Likewise.
26114 * math/s_clog10.c (__clog10): Likewise.
26115 * math/s_clog10f.c (__clog10f): Likewise.
26116 * math/s_clog10l.c (__clog10l): Likewise.
26117 * math/s_clog.c (__clog): Likewise.
26118 * math/s_clogf.c (__clogf): Likewise.
26119 * math/s_clogl.c (__clogl): Likewise.
26120 * math/s_csin.c (__csin): Likewise.
26121 * math/s_csinf.c (__csinf): Likewise.
26122 * math/s_csinh.c (__csinh): Likewise.
26123 * math/s_csinhf.c (__csinhf): Likewise.
26124 * math/s_csinhl.c (__csinhl): Likewise.
26125 * math/s_csinl.c (__csinl): Likewise.
26126 * math/s_csqrt.c (__csqrt): Likewise.
26127 * math/s_csqrtf.c (__csqrtf): Likewise.
26128 * math/s_csqrtl.c (__csqrtl): Likewise.
26129 * math/s_ctan.c (__ctan): Likewise.
26130 * math/s_ctanf.c (__ctanf): Likewise.
26131 * math/s_ctanh.c (__ctanh): Likewise.
26132 * math/s_ctanhf.c (__ctanhf): Likewise.
26133 * math/s_ctanhl.c (__ctanhl): Likewise.
26134 * math/s_ctanl.c (__ctanl): Likewise.
26135 * math/w_pow.c: Likewise.
26136 * math/w_powf.c: Likewise.
26137 * math/w_powl.c: Likewise.
26138 * math/w_scalb.c (sysv_scalb): Likewise.
26139 * math/w_scalbf.c (sysv_scalbf): Likewise.
26140 * math/w_scalbl.c (sysv_scalbl): Likewise.
26141 * misc/error.c (error_tail): Likewise.
26142 * misc/pselect.c (__pselect): Likewise.
26143 * nis/nis_callback.c (__nis_create_callback): Likewise.
26144 * nis/nis_call.c (__nisfind_server): Likewise.
26145 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26146 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26147 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26148 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26149 * nis/nis_lookup.c (nis_lookup): Likewise.
26150 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26151 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26152 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26153 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26154 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26155 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26156 * nis/nss_compat/compat-initgroups.c (add_group)
26157 (internal_getgrent_r): Likewise.
26158 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26159 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26160 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26161 (internal_getspnam_r): Likewise.
26162 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26163 (_nss_nis_getaliasbyname_r): Likewise.
26164 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26165 (_nss_nis_getntohost_r): Likewise.
26166 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26167 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26168 (_nss_nis_getgrgid_r): Likewise.
26169 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26170 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26171 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26172 (_nss_nis_gethostbyname4_r): Likewise.
26173 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26174 (initgroups_netid): Likewise.
26175 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26176 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26177 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26178 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26179 (_nss_nis_getprotobynumber_r): Likewise.
26180 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26181 (_nss_nis_getsecretkey): Likewise.
26182 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26183 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26184 (_nss_nis_getpwuid_r): Likewise.
26185 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26186 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26187 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26188 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26189 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26190 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26191 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26192 Likewise.
26193 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26194 (_nss_nisplus_getntohost_r): Likewise.
26195 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26196 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26197 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26198 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26199 Likewise.
26200 * nis/nss_nisplus/nisplus-initgroups.c
26201 (_nss_nisplus_initgroups_dyn): Likewise.
26202 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26203 (_nss_nisplus_getnetbyaddr_r): Likewise.
26204 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26205 (_nss_nisplus_getprotobynumber_r): Likewise.
26206 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26207 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26208 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26209 Likewise.
26210 * nis/nss_nisplus/nisplus-service.c
26211 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26212 (_nss_nisplus_getservbyport_r): Likewise.
26213 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26214 (_nss_nisplus_getspnam_r): Likewise.
26215 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26216 Likewise.
26217 * nscd/aicache.c (addhstaiX): Likewise.
26218 * nscd/cache.c (cache_search, prune_cache): Likewise.
26219 * nscd/connections.c (register_traced_file, send_ro_fd)
26220 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26221 (main_loop_epoll): Likewise.
26222 * nscd/grpcache.c (addgrbyX): Likewise.
26223 * nscd/hstcache.c (addhstbyX): Likewise.
26224 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26225 * nscd/mem.c (gc, mempool_alloc): Likewise.
26226 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26227 (addinnetgrX): Likewise.
26228 * nscd/nscd-client.h (__nscd_acquire_maplock)
26229 (__nscd_drop_map_ref): Likewise.
26230 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26231 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26232 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26233 Likewise.
26234 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26236 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26237 (__nscd_get_map_ref): Likewise.
26238 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26239 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26240 Likewise.
26241 * nscd/pwdcache.c (addpwbyX): Likewise.
26242 * nscd/selinux.c (preserve_capabilities): Likewise.
26243 * nscd/servicescache.c (addservbyX): Likewise.
26244 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26245 * posix/fnmatch.c (fnmatch): Likewise.
26246 * posix/getopt.c (_getopt_internal_r): Likewise.
26247 * posix/glob.c (glob, glob_in_dir): Likewise.
26248 * posix/wordexp.c (exec_comm_child): Likewise.
26249 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26250 (getanswer_r, gaih_getanswer_slice): Likewise.
26251 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26252 * resolv/res_init.c: Likewise.
26253 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26254 * resolv/res_query.c (__libc_res_nquery): Likewise.
26255 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26256 Likewise.
26257 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26258 * stdio-common/perror.c (perror): Likewise.
26259 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26260 * stdio-common/tmpnam.c (tmpnam): Likewise.
26261 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26262 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26263 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26264 Likewise.
26265 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26266 * stdlib/putenv.c (putenv): Likewise.
26267 * stdlib/setenv.c (__add_to_environ): Likewise.
26268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26269 * stdlib/strtol_l.c (INTERNAL): Likewise.
26270 * string/memmem.c (memmem): Likewise.
26271 * string/strerror.c (strerror): Likewise.
26272 * string/strnlen.c (__strnlen): Likewise.
26273 * string/test-memmem.c (simple_memmem): Likewise.
26274 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26275 * sunrpc/pm_getport.c (__get_socket): Likewise.
26276 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26277 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26278 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26279 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26280 Likewise.
26281 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26282 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26283 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26284 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26285 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26286 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26287 Likewise.
26288 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26289 Likewise.
26290 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26291 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26292 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26293 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26294 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26296 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26297 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26298 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26299 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26300 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26301 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26302 Likewise.
26303 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26304 Likewise.
26305 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26306 Likewise.
26307 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26309 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26310 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26311 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26312 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26313 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26314 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26316 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26317 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26319 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26320 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26321 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26322 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26323 Likewise.
26324 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26325 Likewise.
26326 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26327 Likewise.
26328 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26329 Likewise.
26330 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26332 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26333 Likewise.
26334 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26335 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26336 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26337 * sysdeps/posix/sleep.c: Likewise.
26338 * sysdeps/posix/tempname.c: Likewise.
26339 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26340 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26341 Likewise.
26342 * sysdeps/powerpc/powerpc32/dl-machine.h
26343 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26344 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26346 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26347 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26348 Likewise.
26349 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26350 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26351 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26352 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26353 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26354 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26355 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26356 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26357 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26358 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26359 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26360 (elf_machine_lazy_rel): Likewise.
26361 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26362 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26363 (elf_machine_lazy_rel): Likewise.
26364 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26365 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26366 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26367 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26368 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26369 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26370 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26372 Likewise.
26373 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26374 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26375 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26376 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26377 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26378 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26379 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26380 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26381 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26382 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26383 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26384 Likewise.
26385 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26386 (__posix_fallocate64_l64): Likewise.
26387 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26388 (posix_fallocate): Likewise.
26389 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26390 Likewise.
26391 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26392 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26393 (getifaddrs_internal): Likewise.
26394 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26395 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26396 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26397 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26398 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26399 (__posix_fallocate64_l64): Likewise.
26400 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26401 Likewise.
26402 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26403 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26404 (__get_clockfreq): Likewise.
26405 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26406 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26407 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26408 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26409 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26410 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26411 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26412 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26413 Likewise.
26414 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26415 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26416 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26417 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26418 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26419 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26420 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26421 Likewise.
26422 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26423 (posix_fallocate): Likewise.
26424 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26425 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26426 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26427 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26428 (elf_machine_rela, elf_machine_rela_relative)
26429 (elf_machine_lazy_rel): Likewise.
26430 * time/asctime.c (asctime_internal): Likewise.
26431 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26432 * time/tzset.c (__tzset_parse_tz): Likewise.
26433 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26434 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26435 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26436 * wcsmbs/wcsmbsload.h: Likewise.
26437
26438 [BZ #15894]
26439 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26440
26441 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26442 (arena_get2): Remove THREAD_STATS conditionals.
26443 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26444 (__malloc_stats, int): Likewise.
26445
26446 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26447
26448 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26449 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26450
26451 * manual/setjmp.texi: Fix typos/grammar errors.
26452
26453 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26454 Only return early when n is <= 0. Delete unused return statement.
26455
26456 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26457 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26458 * debug/tst-longjmp_chk3.c: New file.
26459
26460 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26461 (test_main): Replace code with set_fortify_handler call.
26462 * debug/test-strcpy_chk.c: Likewise.
26463 * debug/tst-chk1.c: Likewise.
26464 * debug/tst-longjmp_chk.c: Likewise.
26465 * test-skeleton.c: Include fcntl.h & paths.h
26466 (set_fortify_handler): Define.
26467
26468 * debug/tst-longjmp_chk.c: Add header comment and include
26469 ../test-skeleton.c.
26470 (do_test): Mark static.
26471 (TEST_FUNCTION): Define.
26472
26473 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26474 (IP_PMTUDISC_INTERFACE): Likewise.
26475 (IP_MULTICAST_IF): Likewise.
26476 (IP_MULTICAST_TTL): Likewise.
26477 (IP_MULTICAST_LOOP): Likewise.
26478 (IP_ADD_MEMBERSHIP): Likewise.
26479 (IP_DROP_MEMBERSHIP): Likewise.
26480 (IP_UNBLOCK_SOURCE): Likewise.
26481 (IP_BLOCK_SOURCE): Likewise.
26482 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26483 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26484 (IP_MSFILTER): Likewise.
26485 (MCAST_JOIN_GROUP): Likewise.
26486 (MCAST_BLOCK_SOURCE): Likewise.
26487 (MCAST_UNBLOCK_SOURCE): Likewise.
26488 (MCAST_LEAVE_GROUP): Likewise.
26489 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26490 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26491 (MCAST_MSFILTER): Likewise.
26492 (IP_MULTICAST_ALL): Likewise.
26493 (IP_UNICAST_IF): Likewise.
26494
26495 * timezone/Makefile: Delete $(have-ksh) check.
26496 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26497 * timezone/tzselect.ksh: Add +x mode bits.
26498
26499 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26500 (ANON_INODE_FS_MAGIC): Likewise.
26501 (BDEVFS_MAGIC): Likewise.
26502 (BINFMTFS_MAGIC): Likewise.
26503 (BTRFS_TEST_MAGIC): Likewise.
26504 (CRAMFS_MAGIC_WEND): Likewise.
26505 (DEBUGFS_MAGIC): Likewise.
26506 (ECRYPTFS_SUPER_MAGIC): Likewise.
26507 (EXT3_SUPER_MAGIC): Likewise.
26508 (EXT4_SUPER_MAGIC): Likewise.
26509 (FUTEXFS_SUPER_MAGIC): Likewise.
26510 (HOSTFS_SUPER_MAGIC): Likewise.
26511 (HUGETLBFS_MAGIC): Likewise.
26512 (MINIX3_SUPER_MAGIC): Likewise.
26513 (MTD_INODE_FS_MAGIC): Likewise.
26514 (NILFS_SUPER_MAGIC): Likewise.
26515 (OPENPROM_SUPER_MAGIC): Likewise.
26516 (PIPEFS_MAGIC): Likewise.
26517 (PSTOREFS_MAGIC): Likewise.
26518 (QNX6_SUPER_MAGIC): Likewise.
26519 (RAMFS_MAGIC): Likewise.
26520 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26521 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26522 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26523 (SECURITYFS_MAGIC): Likewise.
26524 (SELINUX_MAGIC): Likewise.
26525 (SMACK_MAGIC): Likewise.
26526 (SOCKFS_MAGIC): Likewise.
26527 (SQUASHFS_MAGIC): Likewise.
26528 (STACK_END_MAGIC): Likewise.
26529 (TMPFS_MAGIC): Likewise.
26530 (USBDEVICE_SUPER_MAGIC): Likewise.
26531 (V9FS_MAGIC): Likewise.
26532 (XENFS_SUPER_MAGIC): Likewise.
26533 (CRAMFS_MAGIC): Fix typo in comment.
26534 (EXT2_SUPER_MAGIC): Update comment.
26535 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26536
26537 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26538
26539 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26540 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26541 * sysdeps/unix/sysv/linux/arm: Move directory from
26542 ports/sysdeps/unix/sysv/linux/arm.
26543 * README: Update listing for arm-*-linux-gnueabi.
26544
26545 * README: Remove mention of am33.
26546
26547 2014-02-07 Roland McGrath <roland@hack.frob.com>
26548
26549 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26550 than the comma operator, to avoid "rhs of comma has no effect"
26551 compiler warnings.
26552 (__sigfillset, __sigandset, __sigorset): Likewise.
26553 * include/signal.h (__sigemptyset): Likewise.
26554 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26555
26556 2014-02-07 Allan McRae <allan@archlinux.org>
26557
26558 * version.h (RELEASE): Set to "development".
26559 (VERSION): Set to "2.19.90"
26560 * NEWS: Add 2.20 section.
26561
26562 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26563
26564 [BZ #16529]
26565 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26566
26567 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26568
26569 * manual/contrib.texi: Update entry for Carlos O'Donell,
26570 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26571
26572 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26573
26574 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26575
26576 * sysdeps/unix/sysv/linux/kernel-features.h
26577 [__LINUX_KERNEL_VERSION >= 0x020621]
26578 (__ASSUME_PROC_PID_TASK_COMM): Define.
26579
26580 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26581
26582 [BZ #16398]
26583 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26584 conversion when destination buffer does not have enough space.
26585 * libio/tst-ftell-partial-wide.c: New test case.
26586 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26587
26588 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26589 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26590 Leonard and Allan McRae.
26591
26592 2014-02-04 David S. Miller <davem@davemloft.net>
26593
26594 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26595 32-bit.
26596
26597 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26598
26599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26600 New file
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26602 New file
26603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26604 New file.
26605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26606 New file.
26607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26608 New file.
26609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26610 New file.
26611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26612 New file.
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26614 New file.
26615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26616 New file.
26617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26618 New file.
26619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26620 New file.
26621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26622 New file.
26623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26624 New file.
26625
26626 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26627
26628 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26629 * shlib-versions: Likewise.
26630
26631 2014-02-04 Roland McGrath <roland@hack.frob.com>
26632 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26633
26634 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26635 (abilist-pattern): New variable, set to %-le.abilist.
26636
26637 * Makerules (abilist-pattern): New variable.
26638 (vpath): Use $(abilist-pattern) in place of %.abilist.
26639 (check-abi-% pattern rule): Likewise.
26640 (check-abi, update-abi): Likewise.
26641
26642 2014-02-04 Eric Wong <normalperson@yhbt.net>
26643
26644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26645
26646 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26647
26648 * manual/startup.texi: Add next, previous, and top entries for
26649 the `Program Arguments' and `Environment Variables' nodes.
26650
26651 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26652
26653 * manual/macros.texi: Add comments before MTASC-safety macros.
26654
26655 * manual/users.texi: Document MTASC-safety properties.
26656
26657 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26658 (pthread_getspecific, pthread_setspecific): Format with
26659 @deftypefun, and add @safety note.
26660 * manual/signal.texi: Move comments that analyze the above
26661 functions to their home place.
26662
26663 2014-02-03 Allan McRae <allan@archlinux.org>
26664
26665 * po/sl.po: Update Slovenian translation from translation project.
26666
26667 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26668
26669 * manual/time.texi (timegm): Add missing blank after @c.
26670 Reported by Joseph Myers <joseph@codesourcery.com>.
26671
26672 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26673
26674 * manual/check-safety.sh: New.
26675 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26676
26677 * manual/terminal.texi: Document MTASC-safety properties.
26678
26679 * manual/filesys.texi: Document MTASC-safety properties.
26680
26681 * manual/errno.texi: Document MTASC-safety properties.
26682
26683 * manual/intro.texi: Document safety identifiers and
26684 conditionals.
26685
26686 * manual/string.texi (wcstok): Fix prototype.
26687 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26688
26689 * manual/time.texi: Document MTASC-safety properties.
26690
26691 * manual/string.texi: Document MTASC-safety properties.
26692
26693 * manual/threads.texi: Document MTASC-safety properties.
26694
26695 * manual/stdio.texi: Document MTASC-safety properties.
26696
26697 * manual/syslog.texi: Document MTASC-safety properties.
26698
26699 * manual/sysinfo.texi: Document MTASC-safety properties.
26700
26701 * manual/startup.texi: Document MTASC-safety properties.
26702
26703 * manual/socket.texi: Document MTASC-safety properties.
26704
26705 * manual/signal.texi: Document MTASC-safety properties.
26706
26707 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
26708
26709 * manual/setjmp.texi: Document MTASC-safety properties.
26710
26711 * manual/search.texi: Document MTASC-safety properties.
26712
26713 * manual/resource.texi: Document MTASC-safety properties.
26714
26715 * manual/process.texi: Document MTASC-safety properties.
26716
26717 * manual/platform.texi: Document MTASC-safety properties.
26718
26719 * manual/pipe.texi: Document MTASC-safety properties.
26720
26721 * manual/pattern.texi: Document MTASC-safety properties.
26722
26723 * manual/message.texi: Document MTASC-safety properties.
26724
26725 [BZ #12751]
26726 * manual/memory.texi: Document MTASC-safety properties.
26727
26728 * manual/math.texi: Document MTASC-safety properties.
26729
26730 * manual/locale.texi: Document MTASC-safety properties.
26731
26732 * manual/llio.texi: Document MTASC-safety properties.
26733
26734 * manual/libdl.texi: New.
26735
26736 * manual/lang.texi: Document MTASC-safety properties.
26737
26738 * manual/job.texi: Document MTASC-safety properties.
26739
26740 * manual/getopt.texi: Document MTASC-safety properties.
26741
26742 * manual/ctype.texi: Document MTASC-safety properties.
26743
26744 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
26745
26746 [BZ #16046]
26747 * csu/libc-tls.c (static_map): Remove variable.
26748 (__libc_setup_tls): Use main executable's link map for TLS data.
26749 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26750 casing for LM_ID_BASE and GL(dl_nns).
26751 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26752 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
26753 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26754 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26755 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26756 member.
26757 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26758 l_phnum members.
26759
26760 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
26761
26762 * manual/debug.texi: Document MTASC-safety properties.
26763
26764 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
26765
26766 [BZ #16510]
26767 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26768 of __x86_64__ when disabling x87 inline functions.
26769
26770 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
26771
26772 * manual/charset.texi: Document MTASC-safety properties.
26773
26774 * manual/crypt.texi: Document MTASC-safety properties.
26775
26776 * manual/conf.texi: Document MTASC-safety properties.
26777
26778 * manual/arith.texi: Document MTASC-safety properties.
26779
26780 * manual/argp.texi: Document MTASC-safety properties.
26781
26782 * manual/macros.texi: Introduce macros to document multi
26783 thread, asynchronous signal and asynchronous cancellation
26784 safety properties.
26785 * manual/intro.texi: Introduce the properties themselves.
26786
26787 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26788
26789 * sysdeps/sh/sh4/Makefile: New file.
26790
26791 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
26792
26793 * math/gen-libm-test.pl ($srcdir): New variable.
26794 ($auto_input): Use it.
26795
26796 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26797
26798 [BZ #16506]
26799 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26800 access beyond array bounds when parsing netgroups file.
26801
26802 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26803 the old buffer before realloc.
26804
26805 2014-01-27 Allan McRae <allan@archlinux.org>
26806
26807 * po/fr.po: Update French translation from translation project.
26808
26809 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26810
26811 * sysdeps/sh/libm-test-ulps: Regenerate.
26812
26813 2014-01-24 David S. Miller <davem@davemloft.net>
26814
26815 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26816
26817 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26818
26819 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26820 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26821
26822 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26823
26824 [BZ #16474]
26825 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26826 string pointers after reallocation.
26827
26828 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26829
26830 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26831 __SH4A__ instead of __SH_FPU_ANY__.
26832
26833 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26834
26835 * sysdeps/sh/fpu_control.h: New file.
26836 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26837 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26838 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26839 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26840 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26841 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26842 * sysdeps/sh/sys/ucontext.h: Remove.
26843 * sysdeps/sh/sys: Remove directory.
26844
26845 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26846
26847 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26848 s390/sys/ucontext.h.
26849 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26850 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26851
26852 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
26853
26854 [BZ #15605]
26855 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26856
26857 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26858
26859 [BZ#16431]
26860 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26861 Adjust the vDSO correctly for internal calls.
26862 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26863
26864 2014-01-20 Allan McRae <allan@archlinux.org>
26865
26866 * po/ca.po: Update Catalan translation from translation project.
26867
26868 2014-01-16 Mike Frysinger <vapier@gentoo.org>
26869
26870 * sysdeps/s390/sotruss-lib.c: New file.
26871
26872 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26873
26874 [BZ#16430]
26875 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26876 (__GI___gettimeofday): Alias for a different internal symbol to avoid
26877 local calls issues by not having a PLT stub required for IFUNC calls.
26878 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26879
26880 2014-01-16 Joseph Myers <joseph@codesourcery.com>
26881
26882 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26883 * math/test-fpucw-static.c: Likewise.
26884
26885 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26886
26887 [BZ #16453]
26888 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26889
26890 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26891
26892 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26893 implementation for powerpc.
26894
26895 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
26896
26897 [BZ #14782]
26898 * sysdeps/posix/system.c (__libc_system): Do not enable
26899 asynchronous cancellation.
26900
26901 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26902
26903 [BZ #16427]
26904 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26905 handling only for numbers special also in the IEEE case.
26906
26907 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26908
26909 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26910
26911 2014-01-11 Allan McRae <allan@archlinux.org>
26912
26913 * po/bg.po: Update Bulgarian translation from translation project.
26914
26915 * po/de.po: Update German translation from translation project.
26916
26917 2014-01-10 Roland McGrath <roland@hack.frob.com>
26918
26919 * sysdeps/generic/gcc-compat.h: New file.
26920
26921 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26922
26923 * benchtests/asin-inputs: Correct slow inputs.
26924 * benchtests/acos-inputs: Likewise.
26925
26926 2014-01-10 Allan McRae <allan@archlinux.org>
26927
26928 * po:sv.po: Update Swedish translation from translation project.
26929
26930 * po/vi.po: Update Vietnamese translation from translation project.
26931
26932 * po/eo.po: Update Esperanto translation from translation project.
26933
26934 * po/cs.po: Update Czech translation from translation project.
26935
26936 * po/nl.po: Update Dutch translation from translation project.
26937
26938 * po/pl.po: Update Polish translation from translation project.
26939
26940 * po/ru.po: Update Russian translation from translation project.
26941
26942 * po/uk.po: Update Ukrainian translation from translation project.
26943
26944 2014-01-08 Brooks Moses <bmoses@google.com>
26945
26946 * elf/dl-load.c: Fix comment typo.
26947
26948 2014-01-08 Carlos O'Donell <carlos@redhat.com>
26949
26950 * po/header.pot: Rename to...
26951 * po/pot.header: ... this.
26952 * po/Makefile: Use pot.header.
26953
26954 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
26955 Maxim Kuvyrkov <maxim@kugelworks.com>
26956
26957 [BZ #16394]
26958 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
26959 SRC and DEST against LEN.
26960
26961 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26962
26963 [BZ #16414]
26964 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
26965 implementation.
26966 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
26967
26968 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26969
26970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26971
26972 2014-01-08 Joseph Myers <joseph@codesourcery.com>
26973
26974 [BZ #16408]
26975 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
26976 for large positive arguments.
26977
26978 2014-01-07 Joseph Myers <joseph@codesourcery.com>
26979
26980 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26981
26982 * math/auto-libm-test-in: Mark various tests with
26983 xfail-rounding:ldbl-128ibm.
26984 * math/auto-libm-test-out: Regenerated.
26985
26986 [BZ #16407]
26987 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26988 Increase overflow threshold.
26989
26990 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
26991
26992 [BZ #14286]
26993 * stdio-common/vfprintf.c: Check for integer overflow.
26994
26995 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26996
26997 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
26998 the first argument and return value of __tls_get_addr_internal.
26999
27000 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27001
27002 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27003 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27004
27005 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27006
27007 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27008 * sysdeps/s390/rtld-global-offsets.sym: New file.
27009 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27010 GLIBC_2.19 symbol.
27011 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27012 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27013 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27014 ... this.
27015 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27016 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27017 ... this.
27018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27019 Regenerate.
27020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27021 Regenerate.
27022 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27023 halfs of GPRs for high_gprs contexts.
27024 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27025 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27026 field.
27027 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27028 uc_flags field.
27029 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27030 64 bit versions:
27031 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27032 for high GPRs (uc_high_gprs) and for future extensions
27033 (__reserved).
27034 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27035 for future extensions (__reserved).
27036 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27037 64 bit versions:
27038 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27039 SC_HIGHGPRS offset definition.
27040 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27041 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27042
27043 * Versions.def: Add GLIBC_2.19 for libpthread.
27044 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27045 siglongjmp for libpthread with GLIBC_2.19 symver.
27046 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27047 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27048 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27049 * sysdeps/s390/__longjmp.c: New file.
27050 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27051 * sysdeps/s390/longjmp.c: New file.
27052 * sysdeps/s390/setjmp.S: New file.
27053 * sysdeps/s390/sigjmp.S: New file.
27054 * sysdeps/s390/v1-longjmp.c: New file.
27055 * sysdeps/s390/v1-setjmp.h: New file.
27056 * sysdeps/s390/v1-sigjmp.c: New file.
27057 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27058 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27059 GLIBC_2.19 version.
27060 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27061 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27062 versioned symbols for ____longjmp_chk.
27063 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27064 Likewise.
27065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27066 Regenerate.
27067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27068 Regenerate.
27069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27070 Regenerate.
27071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27072 Regenerate.
27073 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27074 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27075 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27076 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27077 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27078 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27079 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27080 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27081 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27082 * sysdeps/s390/rtld-__longjmp.c: New file.
27083 * sysdeps/s390/rtld-setjmp.S: New file.
27084
27085 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27086
27087 [BZ #16400]
27088 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27089 Return -__logl (x) for small positive arguments without evaluating
27090 a polynomial.
27091
27092 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27093
27094 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27095 Rename to ...
27096 (__ptrace_peeksiginfo_args): ... this.
27097 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27098 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27099 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27100
27101 2014-01-06 Allan McRae <allan@archlinux.org>
27102
27103 * inet/netinet/in.h: Fix typo in comment.
27104
27105 2014-01-05 Andreas Jaeger <aj@suse.de>
27106
27107 * sysdeps/i386/fpu/libm-test-ulps: Update.
27108
27109 2014-01-05 Allan McRae <allan@archlinux.org>
27110
27111 * po/libc.pot: Regenerated.
27112
27113 * malloc/memusagestat.c: Fix gettext call formatting.
27114
27115 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27116
27117 * nscd/nscd.c: Improve usage() output.
27118
27119 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27120
27121 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27122 * sysdeps/unix/sysv/linux/configure: Regenerated.
27123 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27124 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27125
27126 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27127
27128 [BZ #16390]
27129 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27130 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27131
27132 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27133
27134 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27135 extra tokens at end of #undef directive.
27136 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27137 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27138 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27139
27140 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27141
27142 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27143
27144 * math/auto-libm-test-in: Mark various tests with
27145 xfail-rounding:ldbl-128ibm.
27146 * math/auto-libm-test-out: Regenerated.
27147
27148 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27149
27150 [BZ #16386]
27151 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27152 numbers with subnormal high part when calculating exponent.
27153
27154 [BZ #16385]
27155 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27156 fabs.
27157
27158 [BZ #16384]
27159 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27160 M_LN2l.
27161 (__ieee754_acoshl): Use __log1pl not __log1p.
27162
27163 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27164
27165 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27166 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27167 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27168 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27169 (reused_arena, arena_get2): Convert to GNU style.
27170 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27171 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27172 (memalign_check, __malloc_set_state): Likewise.
27173 * malloc/mallocbug.c (main): Likewise.
27174 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27175 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27176 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27177 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27178 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27179 (__posix_memalign, malloc_info): Likewise.
27180 * malloc/malloc.h: Likewise.
27181 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27182 (mallochook, memalignhook, reallochook, mabort): Likewise.
27183 * malloc/mcheck.h: Likewise.
27184 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27185 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27186 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27187 * malloc/morecore.c (__default_morecore): Likewise.
27188 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27189 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27190 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27191 (print_and_abort): Likewise.
27192 * malloc/obstack.h: Likewise.
27193 * malloc/set-freeres.c (__libc_freeres): Likewise.
27194 * malloc/tst-mallocstate.c (main): Likewise.
27195 * malloc/tst-mtrace.c (main): Likewise.
27196 * malloc/tst-realloc.c (do_test): Likewise.
27197
27198 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27199
27200 [BZ #16366]
27201 * nscd/netgroupcache.c (do_notfound): New function.
27202 (addgetnetgrentX): Use it.
27203
27204 [BZ # 16365]
27205 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27206 NSS_STATUS_NOTFOUND.
27207
27208 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27209
27210 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27212
27213 2014-01-01 Allan McRae <allan@archlinux.org>
27214
27215 * scripts/update-copyrights: Update configure input file suffix.
27216
27217 * NEWS: Update copyright year.
27218 * catgets/gencat.c: Likewise.
27219 * csu/version.c: Likewise.
27220 * debug/catchsegv.sh: Likewise.
27221 * debug/pcprofiledump.c: Likewise.
27222 * debug/xtrace.sh: Likewise.
27223 * elf/ldconfig.c: Likewise.
27224 * elf/ldd.bash.in: Likewise.
27225 * elf/pldd.c: Likewise.
27226 * elf/sotruss.ksh: Likewise.
27227 * elf/sprof.c: Likewise.
27228 * iconv/iconv_prog.c: Likewise.
27229 * iconv/iconvconfig.c: Likewise.
27230 * locale/programs/locale.c: Likewise.
27231 * locale/programs/localedef.c: Likewise.
27232 * login/programs/pt_chown.c: Likewise.
27233 * malloc/memusage.sh: Likewise.
27234 * malloc/memusagestat.c: Likewise.
27235 * malloc/mtrace.pl: Likewise.
27236 * manual/libc.texinfo: Likewise.
27237 * nscd/nscd.c: Likewise.
27238 * nss/getent.c: Likewise.
27239 * nss/makedb.c: Likewise.
27240 * posix/getconf.c: Likewise.
27241 * scripts/test-installation.pl: Likewise.
27242
27243 * All files with FSF copyright notices: Update copyright dates
27244 using scripts/update-copyrights.
27245 * intl/plural.c: Regenerated.
27246 * locale/programs/charmap-kw.h: Likewise.
27247 * locale/programs/locfile-kw.h: Likewise.
27248
27249 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27250
27251 * sysdeps/unix/sysv/linux/configure: Regenerated.
27252 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27253 the linux/fanotify.h header.
27254 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27255 HAVE_LINUX_FANOTIFY_H is defined.
27256
27257 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27258
27259 * benchtests/cos-inputs: New inputs.
27260 * benchtests/sin-inputs: Likewise.
27261
27262 * benchtests/atan-inputs: New inputs. Fix name of multiple
27263 precision fallback inputs.
27264
27265 * benchtests/atanh-inputs: New inputs.
27266 * benchtests/tanh-inputs: Likewise.
27267
27268 * benchtests/acosh-inputs: New inputs.
27269 * benchtests/asinh-inputs: Likewise.
27270
27271 * benchtests/cosh-inputs: New inputs.
27272 * benchtests/sinh-inputs: Likewise.
27273
27274 * benchtests/acos-inputs: Add more inputs.
27275 * benchtests/asin-inputs: Likewise.
27276
27277 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27278
27279 [BZ #16375]
27280 * manual/arith.texi: Fix spelling.
27281 * manual/charset.texi: Likewise.
27282 * manual/errno.texi: Likewise.
27283 * manual/filesys.texi: Likewise.
27284 * manual/lang.texi: Likewise.
27285 * manual/llio.texi: Likewise.
27286 * manual/locale.texi: Likewise.
27287 * manual/message.texi: Likewise.
27288 * manual/resource.texi: Likewise.
27289 * manual/search.texi: Likewise.
27290 * manual/setjmp.texi: Likewise.
27291 * manual/stdio.texi: Likewise.
27292 * manual/string.texi: Likewise.
27293 * manual/sysinfo.texi: Likewise.
27294 * manual/time.texi: Likewise.
27295
27296 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27297
27298 * po/sl.po: New file.
27299
27300 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27301
27302 * .gitignore: Add core/.gdbinit/.gdb_history.
27303
27304 2013-12-27 Allan McRae <allan@archlinux.org>
27305
27306 [BZ #16369]
27307 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27308 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27309
27310 2013-12-24 Brooks Moses <bmoses@google.com>
27311
27312 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27313 all compilers that claim C++98 compliance, not just GCC.
27314 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27315 Likewise.
27316
27317 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27318
27319 * NEWS: Restore accidentally deleted bug-fix entries.
27320
27321 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27322 Ondřej Bílka <neleai@seznam.cz>
27323
27324 [BZ #15073]
27325 * malloc/malloc.c (_int_free): Perform sanity check only if we
27326 have_lock.
27327
27328 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27329
27330 [BZ #12986]
27331 * manual/stdio.texi (String Input Conversions): Clarify that character
27332 classes are not supported.
27333
27334 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27335
27336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27337
27338 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27339
27340 [BZ #16337]
27341 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27342 Calculate results for small negative arguments directly rather
27343 than using reflection formula with special underflow handling.
27344
27345 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27346 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27347 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27348 (fchflags): Likewise.
27349 (revoke): Likewise.
27350 (setlogin): Likewise.
27351 (sigaltstack): Likewise.
27352 (wait4): Likewise.
27353 (sigblock): Remove.
27354 (sigsetmask): Likewise.
27355 (wait3): Likewise.
27356 (waitpid): Likewise.
27357 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27358 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27359 file.
27360 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27361 * sysdeps/unix/bsd/Makefile: ... here.
27362 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27363 * sysdeps/unix/bsd/Versions: ... here.
27364 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27365 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27366 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27367 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27368 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27369 * sysdeps/unix/bsd/sigblock.c: ... here.
27370 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27371 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27372 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27373 * sysdeps/unix/bsd/sigvec.c: ... here.
27374 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27375 * sysdeps/unix/bsd/tcdrain.c: ... here.
27376 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27377 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27378 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27379 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27380 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27381 * sysdeps/unix/bsd/wait.c: ... here.
27382 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27383 * sysdeps/unix/bsd/wait3.c: ... here.
27384 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27385 * sysdeps/unix/bsd/waitpid.c: ... here.
27386
27387 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27388
27389 [BZ #16356]
27390 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27391 round-to-nearest for [!USE_AS_EXPM1L].
27392 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27393 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27394 more tests of exp and exp10. Expect some exp10 tests to miss
27395 exceptions or fail in directed rounding modes.
27396 * math/auto-libm-test-out: Regenerated.
27397 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27398 (exp10_test_tonearest): New function.
27399 (exp10_towardzero_test_data): New array.
27400 (exp10_test_towardzero): New function.
27401 (exp10_downward_test_data): New array.
27402 (exp10_test_downward): New function.
27403 (exp10_upward_test_data): New array.
27404 (exp10_test_upward): New function.
27405 (main): Call the new functions.
27406 * sysdeps/i386/fpu/libm-test-ulps: Update.
27407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27408
27409 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27410
27411 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27412 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27413 * math/auto-libm-test-out: Regenerated.
27414 * math/libm-test.inc (acosh_test_data): Add more tests.
27415 (atanh_test_data): Likewise.
27416 (ceil_test_data): Likewise.
27417 (copysign_test_data): Likewise.
27418 * sysdeps/i386/fpu/libm-test-ulps: Update.
27419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27420
27421 * timezone/checktab.awk: Update from tzcode 2013i.
27422 * timezone/private.h: Likewise.
27423 * timezone/scheck.c: Likewise.
27424 * timezone/tzfile.h: Likewise.
27425 * timezone/tzselect.ksh: Likewise.
27426 * timezone/zdump.c: Likewise.
27427 * timezone/zic.c: Likewise.
27428
27429 * math/auto-libm-test-in: Add tests of cpow.
27430 * math/auto-libm-test-out: Regenerated.
27431 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27432 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27433 mpc_cc_c.
27434 (func_calc_desc): Add mpc_cc_c union field.
27435 (test_functions): Add cpow.
27436 (special_fill_2pi): New function.
27437 (special_real_inputs): Add 2pi.
27438 (calc_generic_results): Handle mpc_cc_c.
27439 * sysdeps/i386/fpu/libm-test-ulps: Update.
27440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27441
27442 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27443 csqrt, ctan and ctanh.
27444 * math/auto-libm-test-out: Regenerated.
27445 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27446 (TEST_COND_x86): Likewise.
27447 (ccos_test_data): Use AUTO_TESTS_c_c.
27448 (ccosh_test_data): Likewise.
27449 (cexp_test_data): Likewise.
27450 (clog_test_data): Likewise.
27451 (csqrt_test_data): Likewise.
27452 (ctan_test_data): Likewise.
27453 (ctan_tonearest_test_data): Likewise.
27454 (ctan_towardzero_test_data): Likewise.
27455 (ctan_downward_test_data): Likewise.
27456 (ctan_upward_test_data): Likewise.
27457 (ctanh_test_data): Likewise.
27458 (ctanh_tonearest_test_data): Likewise.
27459 (ctanh_towardzero_test_data): Likewise.
27460 (ctanh_downward_test_data): Likewise.
27461 (ctanh_upward_test_data): Likewise.
27462 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27463 mpc_c_c.
27464 (func_calc_desc): Add mpc_c_c union field.
27465 (FUNC_mpc_c_c): New macro.
27466 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27467 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27468 ctanh.
27469 (special_fill_min_subnorm_p120): New function.
27470 (special_real_inputs): Add min_subnorm_p120.
27471 (calc_generic_results): Handle mpc_c_c.
27472 * sysdeps/i386/fpu/libm-test-ulps: Update.
27473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27474
27475 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27476
27477 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27478 (do_sin_slow): New functions.
27479 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27480 (cslow2, csloww1, csloww2): Use the new functions.
27481
27482 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27483 Use M to change sign of result instead of X. Assume X is
27484 positive.
27485 (csloww1): Likewise.
27486 (__sin): Adjust.
27487 (__cos): Adjust.
27488
27489 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27490 arguments A and DA.
27491 (__sin): Adjust.
27492 (__cos): Likewise.
27493
27494 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27495 (__cos): Likewise.
27496 (sloww1): Don't adjust sign of DX.
27497 (csloww1): Likewise.
27498 (sloww2): Use X directly and don't adjust sign of DX.
27499 (csloww2): Likewise.
27500
27501 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27502
27503 * math/auto-libm-test-in: Add tests of cabs and carg.
27504 * math/auto-libm-test-out: Regenerated.
27505 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27506 (carg_test_data): Likewise.
27507 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27508 mpc_c_f.
27509 (func_calc_desc): Add mpc_c_f union field.
27510 (test_functions): Add cabs and carg.
27511 (calc_generic_results): Handle mpc_c_f.
27512
27513 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27514 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27515 as a macro and a compat symbol.
27516 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27517 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27518 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27519 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27520 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27521 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27522 not use .hidden.
27523 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27524 Likewise.
27525 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27526 Likewise.
27527 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27528 Likewise.
27529 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27530 Likewise.
27531 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27532 Likewise.
27533 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27534 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27535 from GLIBC_2.3.2.
27536
27537 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27538
27539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27540
27541 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27542
27543 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27544 trailing whitespace removed.
27545 * scripts/config.guess: Update to version 2013-11-29.
27546 * scripts/config.sub: Update to version 2013-10-01.
27547
27548 * math/auto-libm-test-in: Add tests of sincos.
27549 * math/auto-libm-test-out: Regenerated.
27550 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27551 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27552 mpfr_f_11.
27553 (func_calc_desc): Add mpfr_f_11 union field.
27554 (test_functions): Add sincos.
27555 (calc_generic_results): Handle mpfr_f_11.
27556 * sysdeps/i386/fpu/libm-test-ulps: Update.
27557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27558
27559 2013-12-19 Andreas Schwab <schwab@suse.de>
27560
27561 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27562 CALL_MCOUNT.
27563 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27564 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27565 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27566
27567 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27568
27569 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27570 * sysdeps/i386/fpu/libm-test-ulps: Update.
27571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27572
27573 [BZ #16293]
27574 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27575 round-to-nearest mode when using frndint.
27576 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27577 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27578 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27579 Likewise.
27580 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27581 sinh test to fail.
27582 * math/auto-libm-test-out: Regenerated.
27583 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27584 (TEST_COND_x86): Likewise.
27585 (expm1_tonearest_test_data): New array.
27586 (expm1_test_tonearest): New function.
27587 (expm1_towardzero_test_data): New array.
27588 (expm1_test_towardzero): New function.
27589 (expm1_downward_test_data): New array.
27590 (expm1_test_downward): New function.
27591 (expm1_upward_test_data): New array.
27592 (expm1_test_upward): New function.
27593 (main): Run the new test functions.
27594 * sysdeps/i386/fpu/libm-test-ulps: Update.
27595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27596
27597 * include/features.h: Update comment documenting feature test
27598 macros. Mention _DEFAULT_SOURCE in comment.
27599 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27600 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27601 _BSD_SOURCE and _SVID_SOURCE.
27602 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27603 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27604 !_SVID_SOURCE]: Likewise.
27605 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27606 (__USE_POSIX_IMPLICITLY): Define.
27607 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27608 (_POSIX_SOURCE): Undefine and redefine.
27609 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27610 (_POSIX_C_SOURCE): Likewise.
27611 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27612 (Feature Test Macros): Update documentation of default features.
27613
27614 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27615
27616 * benchtests/Makefile: Add bench-strtok.
27617 * benchtests/bench-strtok.c: New file: strtok benchtest.
27618
27619 2013-12-19 Allan McRae <allan@archlinux.org>
27620
27621 * manual/install.texi: Suppress menu for plain text output.
27622 * INSTALL: Regenerated.
27623
27624 2013-12-18 Brooks Moses <bmoses@google.com>
27625
27626 [BZ #15846]
27627 * misc/getauxval.c: Include errno.h.
27628 (__getauxval): Set errno to ENOENT if the requested type is not
27629 found.
27630 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27631 don't declare with __attribute_const__.
27632 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27633 * manual/startup.texi: Document that getauxval sets errno.
27634
27635 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27636
27637 * math/auto-libm-test-in: Add tests of jn and yn.
27638 * math/auto-libm-test-out: Regenerated.
27639 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27640 (yn_test_data): Likewise.
27641 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27642 mpfr_if_f.
27643 (func_calc_desc): Add mpfr_if_f union field.
27644 (FUNC_mpfr_if_f): New macro.
27645 (test_functions): Add jn and yn.
27646 (calc_generic_results): Assert type of second input for
27647 mpfr_ff_f. Handle mpfr_if_f.
27648 (output_for_one_input_case): Disable all checking for arguments
27649 fitting floating-point types in case of an integer argument.
27650 * sysdeps/i386/fpu/libm-test-ulps: Update.
27651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27652
27653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27654 Don't expect fegetround reference in libm.so.
27655
27656 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27657
27658 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27659 $(config-cflags-nofma).
27660
27661 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27662
27663 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27664 * math/auto-libm-test-out: Regenerated.
27665
27666 [BZ #16338]
27667 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27668 to determine exponent and adjust argument to have exponent of -1.
27669 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27670 log2.
27671 * math/auto-libm-test-out: Regenerated.
27672 * sysdeps/i386/fpu/libm-test-ulps: Update.
27673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27674
27675 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27676
27677 * manual/probes.texi: Remove cases when per-thread arenas are
27678 disabled.
27679
27680 2013-12-18 Andreas Schwab <schwab@suse.de>
27681
27682 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27683 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27684 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27685 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27686 * sysdeps/i386/i686/multiarch/Makefile: Update.
27687 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27688
27689 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27690
27691 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27692 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27693
27694 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27695
27696 [BZ #15968]
27697 Support TZ transition times < 00:00:00.
27698 This is needed for version-3 tz-format files; it supports time
27699 stamps past 2037 for America/Godthab (the only entry in the tz
27700 database for which this change is relevant).
27701 * manual/time.texi (TZ Variable): Document transition times
27702 from -167:59:59 through -00:00:01.
27703 * time/tzset.c (tz_rule): Time of day is now signed.
27704 (__tzset_parse_tz): Parse negative time of day.
27705
27706 Document TZ transition times >= 25:00:00.
27707 * manual/time.texi (TZ Variable): Document transition times from
27708 25:00:00 through 167:59:59. These are already supported, and this
27709 support will help with version-3 tz-format files.
27710
27711 * manual/time.texi (TZ Variable): Modernize North America example
27712 to reflect current (i.e., 2007-and-later) daylight saving rules.
27713
27714 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27715
27716 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27717
27718 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27719 * sysdeps/unix/bsd/bits/stat.h: Likewise.
27720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27722 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27723 * sysdeps/unix/bsd/bsdstat.h: Likewise.
27724 * sysdeps/unix/bsd/clock.c: Likewise.
27725 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27726 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27727 * sysdeps/unix/bsd/init-posix.c: Likewise.
27728 * sysdeps/unix/bsd/poll.c: Likewise.
27729 * sysdeps/unix/bsd/ptsname.c: Likewise.
27730 * sysdeps/unix/bsd/seekdir.c: Likewise.
27731 * sysdeps/unix/bsd/setegid.c: Likewise.
27732 * sysdeps/unix/bsd/seteuid.c: Likewise.
27733 * sysdeps/unix/bsd/setgid.c: Likewise.
27734 * sysdeps/unix/bsd/setrgid.c: Likewise.
27735 * sysdeps/unix/bsd/setruid.c: Likewise.
27736 * sysdeps/unix/bsd/setsid.c: Likewise.
27737 * sysdeps/unix/bsd/setuid.c: Likewise.
27738 * sysdeps/unix/bsd/sigaction.c: Likewise.
27739 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27740 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27741 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27742 * sysdeps/unix/bsd/telldir.c: Likewise.
27743 * sysdeps/unix/bsd/times.c: Likewise.
27744 * sysdeps/unix/bsd/usleep.c: Likewise.
27745
27746 * misc/Makefile (install-lib): Remove libbsd-compat.a.
27747 ($(objpfx)libbsd-compat.a): Remove rule.
27748
27749 * include/features.h (__FAVOR_BSD): Do not define.
27750 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27751 features conflicting with POSIX.
27752 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27753 (_BSD_SOURCE): Remove description of not being a subset of other
27754 feature test macros.
27755 * manual/job.texi (getpgrp): Do not document BSD version.
27756 (getpgid): Do not document by reference to BSD getpgrp.
27757 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27758 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27759 * signal/signal.h [__FAVOR_BSD]: Likewise.
27760 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27761 instead of making contents conditional on [__FAVOR_BSD].
27762 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27763
27764 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27765
27766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27767
27768 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27769
27770 [BZ #16314]
27771 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27772 values below 2**-450, not 2**-500.
27773 * math/auto-libm-test-in: Don't allow spurious underflow from
27774 hypot.
27775 * math/auto-libm-test-out: Regenerated.
27776
27777 [BZ #16316]
27778 [BZ #16330]
27779 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27780 values of ha and hb and sort them after adjusting subnormal
27781 arguments.
27782 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27783 Likewise.
27784 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27785 values of ea and eb and sort them after adjusting subnormal
27786 arguments.
27787 * math/auto-libm-test-in: Do not expect some hypot tests of
27788 subnormals to fail. Add more hypot tests.
27789 * math/auto-libm-test-out: Regenerated.
27790
27791 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27792
27793 [BZ #13304]
27794 * sysdeps/sh/s_fma.c: New file.
27795 * sysdeps/sh/s_fmaf.c: New file.
27796 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
27797 version.
27798 * sysdeps/sh/Implies: Add sh/soft-fp.
27799
27800 2013-12-16 Roland McGrath <roland@hack.frob.com>
27801
27802 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
27803 level of indirection to members `objname', `errstring', `malloced'.
27804 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27805 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
27806 it as the __longjmp argument (just pass 1 instead).
27807 (_dl_catch_error): Initialize C with argument pointers and address of
27808 volatile local ERRCODE rather than copying values out of C at return.
27809
27810 2013-12-16 Joseph Myers <joseph@codesourcery.com>
27811
27812 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27813 * math/auto-libm-test-out: Regenerated.
27814 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27815 (hypot_test_data): Likewise.
27816 (pow_test_data): Likewise.
27817 (pow_tonearest_test_data): Likewise.
27818 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27819 mpfr_ff_f.
27820 (func_calc_desc): Add mpfr_ff_f union field.
27821 (FUNC_mpfr_ff_f): New macro.
27822 (test_functions): Add atan2, hypot and pow.
27823 (special_fill_min): New function.
27824 (special_fill_minus_min): Likewise.
27825 (special_fill_min_subnorm): Likewise.
27826 (special_fill_minus_min_subnorm): Likewise.
27827 (special_real_inputs): Add min, -min, min_subnorm and
27828 -min_subnorm.
27829 (calc_generic_results): Handle mpfr_ff_f.
27830 * sysdeps/i386/fpu/libm-test-ulps: Update.
27831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27832
27833 2013-12-16 Will Newton <will.newton@linaro.org>
27834
27835 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27836 (Aligned Memory Blocks): Add documentation for aligned_alloc
27837 and suggest it as an alternative to posix_memalign.
27838 (Hooks for Malloc): Document __memalign_hook is also called
27839 for aligned_alloc. (Summary of Malloc): Add summary for
27840 aligned alloc. Document __memalign_hook is also called
27841 for aligned_alloc.
27842
27843 2013-12-16 Will Newton <will.newton@linaro.org>
27844
27845 * manual/memory.texi (Malloc Examples): Clarify default
27846 alignment documentation. Suggest posix_memalign rather
27847 than memalign or valloc.
27848 (Aligned Memory Blocks): Remove suggestion to use memalign
27849 or valloc. Remove obsolete comment about BSD.
27850 Document memalign errno values and mark the function obsolete.
27851 Document posix_memalign returned error codes. Mark valloc
27852 as obsolete. (Hooks for Malloc): __memalign_hook is also
27853 called for posix_memalign and valloc.
27854 (Summary of Malloc): Add posix_memalign to function summary.
27855 __memalign_hook is also called for posix_memalign and valloc.
27856
27857 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27858
27859 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27860 TAYLOR_SIN.
27861 (__sin): Adjust.
27862 (__cos): Likewise.
27863 (sloww): Use mynumber union. Expand ternary operator into
27864 if-else statements.
27865 (cslow): use mynumber union.
27866
27867 2013-12-16 Allan McRae <allan@archlinux.org>
27868
27869 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27870 * configure: Regenerated.
27871
27872 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27873
27874 [BZ #14120]
27875 * configure.ac: Added --enable-maintainer-mode. Check for
27876 autoconf when enabled.
27877 * configure: Regenerated.
27878
27879 * nscd/nscd.service: New file.
27880 * nscd/nscd.tmpfiles: New file.
27881
27882 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
27883
27884 [BZ #12100]
27885 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27886 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27887 * sysdeps/x86_64/multiarch/strstr.c: ... here.
27888 (strstr): Add __strstr_sse2_unaligned ifunc.
27889 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27890 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27891 (strcasestr): Remove __strcasestr_sse42 ifunc.
27892 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27893 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27895
27896 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27897
27898 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27899 * sysdeps/sh/bits/fenv.h: ... here.
27900 * sysdeps/sh/sh4/fpu/bits: Remove directory.
27901
27902 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27903
27904 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27905
27906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27907 hypotf multiarch implementations.
27908 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
27909 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
27910 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
27911 multiarch hypot for PPC64.
27912 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
27913 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
27914 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
27915 multiarch hypotf for PPC64.
27916
27917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
27918 modff multiarch implementations.
27919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
27920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
27921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
27922 multiarch modf for PPC64.
27923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
27924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
27925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
27926 multiarch modff for PPC64.
27927
27928 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
27929 and logl multiarch implementations.
27930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
27931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
27932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
27933 multiarch logb for PPC64.
27934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
27935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
27936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
27937 multiarch logb for PPC64.
27938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
27939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
27940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
27941 multiarch logb for PPC64.
27942
27943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
27944 isinff multiarch implementation.
27945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
27946 file.
27947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
27948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
27949 multiarch isinf for PPC64.
27950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
27951 file.
27952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
27953 multiarch isinff for PPC64.
27954
27955 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
27956 finitef multiarch implementation.
27957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
27958 file.
27959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
27960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
27961 multiarch finite for PPC64.
27962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
27963 file.
27964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
27965 multiarch finitef for PPC64.
27966
27967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
27968 lrint multiarch implementation.
27969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
27970 file.
27971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
27972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
27973 multiarch llrint for PPC64.
27974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
27975 multiarch lrint for PPC64.
27976
27977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
27978 copysignf multiarch implementation.
27979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
27980 file.
27981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
27982 file.
27983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
27984 multiarch copysign for PPC64.
27985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
27986 multiarch copysignf for PPC64.
27987
27988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
27989 multiarch implementation.
27990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
27991 file.
27992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
27993 file.
27994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
27995 file.
27996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
27997 file.
27998 multiarch llround for PPC64.
27999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28000 multiarch trunc for PPC64.
28001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28002 multiarch truncf for PPC64.
28003
28004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28005 multiarch implementation.
28006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28007 file.
28008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28009 file.
28010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28011 file.
28012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28013 file.
28014 multiarch llround for PPC64.
28015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28016 multiarch round for PPC64.
28017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28018 multiarch roundf for PPC64.
28019
28020 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28021 multiarch implementation.
28022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28023 file.
28024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28025 file.
28026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28027 file.
28028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28029 file.
28030 multiarch llround for PPC64.
28031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28032 multiarch floor for PPC64.
28033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28034 multiarch floorf for PPC64.
28035
28036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28037 multiarch implementation.
28038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28039 file.
28040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28041 file.
28042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28043 file.
28044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28045 file.
28046 multiarch llround for PPC64.
28047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28048 multiarch ceil for PPC64.
28049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28050 multiarch ceilf for PPC64.
28051
28052 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28053 multiarch implementation.
28054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28055 file.
28056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28057 file.
28058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28059 file.
28060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28061 multiarch llround for PPC64.
28062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28063 multiarch lround for PPC64.
28064
28065 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28066 multiarch implementation.
28067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28070 file.
28071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28074 multiarch isnan for PPC64.
28075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28076 multiarch isnanf for PPC64.
28077
28078 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28079 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28080 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28081 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28082 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28084
28085 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28086 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28087 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28089
28090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28091 multiarch implementations.
28092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28093 (__libc_ifunc_impl_list): Likewise.
28094 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28095 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28096 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28097 multiarch stpcpy for PPC64.
28098
28099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28100 multiarch implementations.
28101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28102 (__libc_ifunc_impl_list): Likewise.
28103 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28104 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28105 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28106 multiarch strcpy for PPC64.
28107
28108 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28109 redefine function name.
28110 (_wordcopy_fwd_dest_aligned): Likewise.
28111 (_wordcopy_bwd_aligned): Likewise.
28112 (_wordcopy_bwd_dest_aligned): Likewise.
28113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28114 multiarch implementations.
28115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28116 (__libc_ifunc_impl_list): Likewise.
28117 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28118 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28119 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28120 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28121 multiarch wcscpy for PPC64.
28122
28123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28124 multiarch implementations.
28125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28126 (__libc_ifunc_impl_list): Likewise.
28127 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28128 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28129 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28130 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28131 multiarch wcscpy for PPC64.
28132
28133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28134 multiarch implementations.
28135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28136 (__libc_ifunc_impl_list): Likewise.
28137 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28138 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28139 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28140 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28141 multiarch wcsrchr for PPC64.
28142
28143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28144 multiarch implementations.
28145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28146 (__libc_ifunc_impl_list): Likewise.
28147 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28148 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28149 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28150 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28151 multiarch wcschr for PPC64.
28152
28153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28154 multiarch implementations.
28155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28156 (__libc_ifunc_impl_list): Likewise.
28157 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28158 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28159 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28160 multiarch strchrnul for PPC64.
28161
28162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28163 implementations.
28164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28165 (__libc_ifunc_impl_list): Likewise.
28166 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28167 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28168 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28169 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28170 strchr for PPC64.
28171
28172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28173 implementations.
28174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28175 (__libc_ifunc_impl_list): Likewise.
28176 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28177 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28178 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28179 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28180 strncmp for PPC64.
28181
28182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28183 multiarch implementations.
28184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28185 (__libc_ifunc_impl_list): Likewise.
28186 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28187 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28188 strncasecmp for PPC64.
28189 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28190 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28191 multiarch strncasecmp_l for PPC64.
28192
28193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28194 multiarch implementations.
28195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28196 (__libc_ifunc_impl_list): Likewise.
28197 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28198 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28199 multiarch strcasecmp for PPC64.
28200 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28201 file.
28202 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28203 multiarch strcasecmp_l for PPC64.
28204
28205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28206 implementations.
28207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28208 (__libc_ifunc_impl_list): Likewise.
28209 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28210 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28211 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28212 strnlen for PPC64.
28213
28214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28215 implementations.
28216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28217 (__libc_ifunc_impl_list): Likewise.
28218 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28219 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28220 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28221 strlen for PPC64.
28222
28223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28224 implementations.
28225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28226 (__libc_ifunc_impl_list): Likewise.
28227 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28228 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28229 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28230 rawmemrchr for PPC64.
28231
28232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28233 implementation.
28234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28235 (__libc_ifunc_impl_list): Likewise.
28236 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28237 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28238 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28239 memrchr for PPC64.
28240
28241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28242 implementation.
28243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28244 (__libc_ifunc_impl_list): Likewise.
28245 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28246 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28247 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28248 memchr for PPC64.
28249
28250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28251 implementation.
28252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28253 (__libc_ifunc_impl_list): Likewise.
28254 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28255 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28256 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28257 mempcpy for PPC64.
28258
28259 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28260 avoid cretion of __bzero symbol.
28261 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28262 Likewise.
28263 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28264 Likewise.
28265 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28266 Likewise.
28267 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28268 multiarch implementations.
28269 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28270 (__libc_ifunc_impl_list): Likewise.
28271 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28272 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28273 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28274 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28275 bzero for PPC32.
28276 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28277 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28278 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28279 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28280 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28281 memset for PPC64.
28282 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28283
28284 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28286 implementations.
28287 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28288 (__libc_ifunc_impl_list): Likewise.
28289 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28290 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28291 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28292 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28293 memcmp for PPC64.
28294
28295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28296 multiarch for POWER/PPC64.
28297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28298 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28299 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28301 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28302 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28303 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28304 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28305 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28306 memcpy for PPC64.
28307
28308 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28309 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28310 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28311 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28312 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28313 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28314 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28315 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28316 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28317 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28318 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28319 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28320 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28321 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28322 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28330
28331 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28332
28333 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28334
28335 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28336
28337 * benchtests/Makefile (bench): Add exp2 and log2.
28338 (LDLIBS-bench-exp2): Add -lm.
28339 (LDLIBS-bench-log2): Likewise.
28340 * benchtests/exp2-inputs: New inputs file.
28341 * benchtests/log2-inputs: New inputs file.
28342 * benchtests/log-inputs: Add new inputs.
28343 * benchtests/tan-inputs: Likewise.
28344
28345 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28346
28347 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28348 definition...
28349 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28350 (csloww2): ... from here.
28351
28352 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28353 instead of structures.
28354 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28355 (POLYNOMIAL): Likewise.
28356 (TAYLOR_SLOW): Likewise.
28357 (__sin): Likewise.
28358 (__cos): Likewise.
28359 (slow1): Likewise.
28360 (slow2): Likewise.
28361 (sloww): Likewise.
28362 (sloww1); Likewise.
28363 (sloww2): Likewise.
28364 (bsloww1): Likewise.
28365 (bsloww2): Likewise.
28366 (cslow2): Likewise.
28367 (csloww): Likewise.
28368 (csloww1): Likewise.
28369 (csloww2): Likewise.
28370
28371 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28372
28373 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28374 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28375 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28376 * malloc/hooks.c (realloc_check): Likewise.
28377
28378 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28379 * malloc/arena.c: Remove PER_THREAD conditional.
28380 [!PER_THREAD]: Remove code.
28381 (ptmalloc_unlock_all2): Likewise.
28382 (ptmalloc_init): Likewise.
28383 (_int_new_arena): Likewise.
28384 (arena_get2): Likewise.
28385 * malloc/hooks.c (__malloc_get_state): Likewise.
28386 (__malloc_set_state): Likewise.
28387 * malloc/malloc.c: Likewise.
28388 (struct malloc_state): Likewise.
28389 (struct malloc_par): Likewise.
28390 (__libc_realloc): Likewise.
28391 (__libc_mallopt): Likewise.
28392
28393 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28394
28395 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28396
28397 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28398
28399 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28400 macro to a function. Check for zero perturb_byte.
28401 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28402
28403 * malloc/malloc.c: (force_reg): Remove.
28404 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28405 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28406 force_reg by atomic_forced_read.
28407 * malloc/arena.c (ptmalloc_init): Likewise.
28408 * malloc/hooks.c (top_check): Likewise.
28409
28410 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28411
28412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28413
28414 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28415
28416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28417
28418 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28419
28420 * math/auto-libm-test-in: Add tests of lgamma.
28421 * math/auto-libm-test-out: Regenerated.
28422 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28423 (M_LOG_2_SQRT_PIl): Likewise.
28424 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28425 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28426 mpfr_f_f1.
28427 (func_calc_desc): Add mpfr_f_f1 union field.
28428 (ARGS1): New macro.
28429 (ARGS2): Likewise.
28430 (ARGS3): Likewise.
28431 (ARGS4): Likewise.
28432 (RET1): Likewise.
28433 (RET2): Likewise.
28434 (CALC): Likewise.
28435 (FUNC): Likewise.
28436 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28437 (test_functions): Add lgamma.
28438 (calc_generic_results): Handle mpfr_f_f1.
28439 * sysdeps/i386/fpu/libm-test-ulps: Update.
28440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28441
28442 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28443
28444 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28445 __mpn_add_n for PowerPC64/POWER7.
28446 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28447 __mpn_sub_n for PowerPC64/POWER7.
28448
28449 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28450 __mpn_addmul_1 for PowerPC64.
28451 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28452 __mpn_submul_1 for PowerPC64.
28453 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28454 for PowerPC64.
28455 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28456 for PowerPC64.
28457
28458 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28459
28460 [BZ #15089]
28461 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28462
28463 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28464
28465 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28466
28467 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28468 add multiarch folders.
28469 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28470 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28471 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28472 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28473 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28474 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28475 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28476 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28477 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28478 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28479 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28486
28487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28488 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28490 New file.
28491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28492 New file.
28493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28494 multiarch __ieee754_hypot for PowerPC32.
28495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28496 New file.
28497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28498 New file.
28499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28500 multiarch __ieee754_hypotf for PowerPC32.
28501
28502 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28503 long_double_symbol only if __logbl is defined.
28504 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28505 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28506 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28507 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28508 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28509 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28510 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28511 path for implementation.
28512 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28513 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28515 logb, and logbl multiarch implementations for PowerPC32.
28516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28517 file.
28518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28519 file.
28520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28521 multiarch logb for PowerPC32.
28522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28523 file.
28524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28525 file.
28526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28527 multiarch logbf for PowerPC32.
28528 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28530 file.
28531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28532 multiarch logbl implementation for PowerPC32.
28533
28534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28535 and modff multiarch implementations.
28536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28537 New file.
28538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28539 New file.
28540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28541 multiarch modf for PowerPC32.
28542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28543 New file.
28544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28545 New file.
28546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28547 multiarch modff for PowerPC32.
28548
28549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28550 and lrintf multiarch implementations.
28551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28552 New file.
28553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28554 New file.
28555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28556 multiarch lrint for PowerPC32.
28557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28558 file: multiarch lrintf for PowerPC32.
28559
28560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28561 and lroundf multiarch implementations.
28562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28563 New file.
28564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28565 New file.
28566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28567 New file.
28568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28569 multiarch lround for PowerPC32.
28570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28571 file: multiarch lroundf for PowerPC32.
28572
28573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28574 copysign and copysignf multiarch implementations.
28575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28576 New file.
28577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28578 New file.
28579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28580 file: multiarch copysign for PowerPC32.
28581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28582 file: multiarch copysignf for PowerPC32.
28583
28584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28585 and truncf multiarch implementations.
28586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28587 New file.
28588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28589 file.
28590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28591 multiarch trunc for PowerPC32.
28592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28593 New file.
28594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28595 New file.
28596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28597 multiarch truncf for PowerPC32.
28598
28599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28600 and roundf multiarch implementations.
28601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28602 New file.
28603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28604 file.
28605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28606 multiarch round for PowerPC32.
28607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28608 New file.
28609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28610 New file.
28611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28612 multiarch roundf for PowerPC32.
28613
28614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28615 and floorf multiarch implementations.
28616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28617 New file.
28618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28619 file.
28620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28621 multiarch floor for PowerPC32.
28622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28623 New file.
28624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28625 New file.
28626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28627 multiarch floorf for PowerPC32.
28628
28629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28630 and ceilf multiarch implementations.
28631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28632 New file.
28633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28634 file.
28635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28636 multiarch ceil for PowerPC32.
28637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28638 New file.
28639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28640 file.
28641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28642 multiarch ceilf for PowerPC32.
28643
28644 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28645 is defined.
28646 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28647 FINITEF is defined.
28648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28649 and finitef multiarch implementations.
28650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28651 New file.
28652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28653 file.
28654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28655 multiarch finite for PowerPC32.
28656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28657 New file.
28658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28659 file: multiarch finitef for PowerPC32.
28660
28661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28662 and isinff multiarch implementations.
28663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28664 file.
28665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28666 file.
28667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28668 multiarch isinf for PowerPC32.
28669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28670 New file.
28671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28672 multiarch isinff for PowerPC32.
28673
28674 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28675 alias when __isnan is defined.
28676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28677 and isnanf multiarch implementations.
28678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28679 file.
28680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28681 file.
28682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28683 file.
28684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28685 file.
28686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28687 multiarch isnan for PowerPC32.
28688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28689 New file.
28690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28691 New file.
28692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28693 multiarch isnanf for PowerPC32.
28694
28695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28696 and sqrtf multiarch implementations.
28697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28698 file.
28699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28700 file.
28701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28702 multiarch sqrt for PowerPC32.
28703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28704 file.
28705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28706 file.
28707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28708 multiarch sqrtf for PowerPC32.
28709
28710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28711 and llroundf multiarch implementations.
28712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28713 New file.
28714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28715 New file.
28716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28717 New file.
28718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28719 file: multiarch llround for PowerPC32.
28720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28721 file: multiarch llroundf for PowerPC32.
28722
28723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28724 multiarch PowerPC32 fpu implementations.
28725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28726 New file.
28727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28728 New file.
28729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28730 multiarch llrint for PowerPC32.
28731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28732 New file.
28733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28734 New file.
28735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28736 file.
28737
28738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28739
28740 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28741 file.
28742 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28743 file.
28744 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28745 file.
28746 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28747 multiarch wordcopy for PPC32.
28748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28749 wordcopy objects.
28750 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28751 (__libc_ifunc_impl_list): Likewise.
28752 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28753 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28754 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28755 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28756 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28757 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28758
28759 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28761 file.
28762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28763 file.
28764 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28765 file.
28766 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28767 multiarch wcscpy for PPC32.
28768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28769 multiarch objects.
28770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28771 (__libc_ifunc_impl_list): Likewise.
28772 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28773 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28774 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28775 sysdeps/powerpc/power6/wcscpy.c.
28776
28777 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28779 file.
28780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28781 file.
28782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28783 file.
28784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28785 multiarch wcsrchr for PPC32.
28786 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28787 multiarch objects.
28788 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28789 (__libc_ifunc_impl_list): Likewise.
28790 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28791 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28792 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28793 sysdeps/powerpc/power6/wcsrchr.c.
28794
28795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28796 file.
28797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28798 file.
28799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28801 multiarch wcschr for PPc32.
28802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28803 multiarch objects.
28804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28805 (__libc_ifunc_impl_list): Likewise.
28806 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28807 * sysdeps/powerpc/power6/wcschr.c: ... to here.
28808 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28809 sysdeps/powerpc/power6/wcschr.c.
28810
28811 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28812 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28813 file.
28814 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28815 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28816 file: multiarch strchr for PPC32.
28817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28818 multiarch objects.
28819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28820 (__libc_ifunc_impl_list): Likewise.
28821
28822 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28823 name.
28824 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28825 file.
28826 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28827 file.
28828 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28829 multiarch strchrnul for PPC32.
28830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28831 multiarch objects.
28832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28833 (__libc_ifunc_impl_list): Likewise.
28834
28835 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28836 file.
28837 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28838 multiarch strncasecmp for PPC32.
28839 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28840 file.
28841 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28842 multiarch strncasecmp_l for PPC32.
28843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28844 strncasecmp multiarch objects.
28845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28846 (__libc_ifunc_impl_list): Likewise.
28847
28848 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28849 file.
28850 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28851 multiarch strncasecmp for PPC32.
28852 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28853 New file.
28854 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28855 multiarch strcasecmp_l for PPC32.
28856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28857 multiarch objects.
28858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28859 (__libc_ifunc_impl_list): Likewise.
28860
28861 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28862 file.
28863 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28864 file.
28865 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28866 multiarch strncmp for PPC32.
28867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28868 multiarch objects.
28869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28870 (__libc_ifunc_impl_list): Likewise.
28871
28872 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28873 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28874 file.
28875 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28876 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28878 multiarch objects.
28879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28880 (__libc_ifunc_impl_list): Likewise.
28881
28882 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28883 file.
28884 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28885 file.
28886 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28888 multiarch objects.
28889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28890 (__libc_ifunc_impl_list): Likewise.
28891
28892 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28893 file.
28894 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28895 file.
28896 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28897 multiarch rawmemchr for PPC32.
28898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28899 multiarch objects.
28900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28901 (__libc_ifunc_impl_list): Likewise.
28902
28903 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28904 file.
28905 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28906 file.
28907 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28908 file: memrchr multiarch for PPC32.
28909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
28910 multiarch objects.
28911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28912 (__libc_ifunc_impl_list): Likewise.
28913
28914 * string/memchr.c (__memchr): Using macro to redefine symbol name.
28915 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
28916 file.
28917 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
28918 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
28919 multiarch memchr for PPC32.
28920 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
28921 multiarch objects.
28922 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28923 (__libc_ifunc_impl_list): Likewise.
28924
28925 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
28926 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
28927 file.
28928 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
28929 file.
28930 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
28931 file: multiarch mempcpy for PPC32.
28932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
28933 multiarch objects.
28934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28935 (__libc_ifunc_impl_list): Likewise.
28936
28937 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
28938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
28939 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
28940 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
28941 multiarch bzero for PPC32.
28942 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
28943 file.
28944 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
28945 file.
28946 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
28947 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
28948 file: multiarch memset for PPC32.
28949 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
28950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
28951 memset multiarch objects.
28952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28953 (__libc_ifunc_impl_list): Likewise.
28954
28955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
28956 file.
28957 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
28958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
28959 memcmp for PPC32.
28960 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
28961 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
28962 multiarch objects.
28963 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28964 (__libc_ifunc_impl_list): Likewise.
28965
28966 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
28967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
28968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
28969 file.
28970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
28971 file.
28972 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
28973 file.
28974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
28975 multiarch memcpy for PPC32.
28976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
28977 multiarch objects.
28978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
28979 (__libc_ifunc_impl_list): Likewise.
28980
28981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
28982 support multiarch for POWER/PPC32.
28983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
28984 Likewise.
28985 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
28987 Implies file to make multiarch folder appers before the fpu and
28988 default folder for power4 configuration.
28989
28990 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28991
28992 * scripts/bench.pl: Append volatile keyword to type.
28993
28994 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28995
28996 * sysdeps/sh/sotruss-lib.c: New file.
28997 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
28998
28999 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29000
29001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29002
29003 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29004
29005 [BZ #6810]
29006 * math/w_tgamma.c: Include <errno.h>.
29007 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29008 * math/w_tgammaf.c: Include <errno.h>.
29009 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29010 * math/w_tgammal.c: Include <errno.h>.
29011 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29012 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29013 underflow. Add more tgamma tests.
29014 * math/auto-libm-test-out: Regenerated.
29015 * sysdeps/i386/fpu/libm-test-ulps: Update.
29016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29017
29018 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29019 sin, sinh, tan, tanh, tgamma, y0 and y1.
29020 * math/auto-libm-test-out: Regenerated.
29021 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29022 (TEST_COND_x86): Likewise.
29023 (M_E2l): Remove macro.
29024 (M_E3l): Likewise.
29025 (M_2_SQRT_PIl): Likewise.
29026 (M_SQRT_PIl): Likewise.
29027 (M_1_DIV_El): Likewise.
29028 (log_test_data): Use AUTO_TESTS_f_f.
29029 (log10_test_data): Likewise.
29030 (log1p_test_data): Likewise.
29031 (log2_test_data): Likewise.
29032 (sin_test_data): Likewise.
29033 (sin_tonearest_test_data): Likewise.
29034 (sin_towardzero_test_data): Likewise.
29035 (sin_downward_test_data): Likewise.
29036 (sin_upward_test_data): Likewise.
29037 (sinh_test_data): Likewise.
29038 (sinh_tonearest_test_data): Likewise.
29039 (sinh_towardzero_test_data): Likewise.
29040 (sinh_downward_test_data): Likewise.
29041 (sinh_upward_test_data): Likewise.
29042 (tan_test_data): Likewise.
29043 (tan_tonearest_test_data): Likewise.
29044 (tan_towardzero_test_data): Likewise.
29045 (tan_downward_test_data): Likewise.
29046 (tan_upward_test_data): Likewise.
29047 (tanh_test_data): Likewise.
29048 (tgamma_test_data): Likewise.
29049 (y0_test_data): Likewise.
29050 (y1_test_data): Likewise.
29051 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29052 (special_real_inputs): Add pi/4.
29053 * sysdeps/i386/fpu/libm-test-ulps: Update.
29054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29055
29056 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29057
29058 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29059 "longjmp_target" static probes.
29060 (__longjmp): Rename to __longjmp_symbol.
29061 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29062 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29063 on which longjmp to generate.
29064 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29065 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29066 probe.
29067 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29068 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29069 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29070 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29071 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29072 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29074 __longjmp_symbol based on which __longjmp to generate.
29075 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29076 probe.
29077 (setjmp): Rename to setjmp_symbol.
29078 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29079 (_setjmp): Rename to _setjmp_symbol.
29080 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29081 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29082 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29083 which setjmp to generate.
29084 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29085 "longjmp_target" static probes.
29086
29087 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29088
29089 * benchtests/README: Add note about output arguments.
29090 * benchtests/bench-sincos.c: Remove file.
29091 * benchtests/sincos-inputs: New file.
29092 * scripts/bench.pl: Identify output arguments and define
29093 static variables for them.
29094
29095 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29096
29097 [BZ #15941]
29098 * Makefile (INSTALL): Add install-plain.texi as the primary
29099 dependency.
29100 * manual/install-plain.texi: New file.
29101 * manual/install.texi: Include node directive only for
29102 non-plaintext output.
29103
29104 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29105
29106 * stdlib/longlong.h: Update from GCC.
29107
29108 [BZ #6807]
29109 [BZ #15901]
29110 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29111 * math/w_j0f.c (y0f): Likewise.
29112 * math/w_j0l.c (__y0l): Likewise.
29113 * math/w_j1.c (y1): Likewise.
29114 * math/w_j1f.c (y1f): Likewise.
29115 * math/w_j1l.c (__y1l): Likewise
29116 * math/w_jn.c (yn): Likewise.
29117 * math/w_jnf.c (ynf): Likewise.
29118 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29119 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29120 value for Bessel function domain errors outside _SVID_ mode.
29121 Adjust sign of return value for yn (negative integer, 0).
29122 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29123 by zero in return for negative x and set sign appropriately for
29124 negative n.
29125 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29126 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29127 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29128 expectations in error cases.
29129 (y1_test_data): Likewise.
29130 (yn_test_data): Likewise.
29131 * sysdeps/i386/fpu/libm-test-ulps: Update.
29132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29133
29134 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29135
29136 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29137 "64" to "64-v1". Add "64-v2".
29138 (abi-64-options): Rename to ...
29139 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29140 (abi-64-condition): Rename to ...
29141 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29142 (abi-64-ld-soname): Rename to ...
29143 (abi-64-v1-ld-soname): ... this.
29144 (abi-64-v2-options): Define.
29145 (abi-64-v2-condition): Likewise.
29146 (abi-64-v2-ld-soname): Likewise.
29147 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29148 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29152
29153 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29154 Alan Modra <amodra@gmail.com>
29155
29156 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29157 New versions for use with the ELFv2 ABI.
29158 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29159 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29160 declaration.
29161 (struct La_ppc64v2_retval): Likewise.
29162 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29163 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29164 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29165 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29166 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29167 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29168 Do not save or restore CR.
29169 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29170 (_dl_profile_resolve): Do no save or restore CR. Support extended
29171 return values for ELFv2 ABI. Fix location of FPR return registers.
29172 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29173 updated values for _CALL_ELF == 2.
29174 (La_regs, La_retval, int_retval): Likewise.
29175
29176 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29177
29178 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29179 (FRAME_MIN_SIZE_PARM): Likewise.
29180 (FRAME_BACKCHAIN): Likewise.
29181 (FRAME_CR_SAVE): Likewise.
29182 (FRAME_LR_SAVE): Likewise.
29183 (FRAME_TOC_SAVE): Likewise.
29184 (FRAME_PARM_SAVE): Likewise.
29185 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29186 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29187 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29188 (call_mcount_parm_offset): New macro.
29189 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29190 (PROF): Use symbolic stack frame offsets.
29191 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29192 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29193 Redefine in terms of FRAME_MIN_SIZE.
29194 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29195 (_dl_profile_resolve): Likewise. Update comment.
29196 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29197 symbols stack frame offsets.
29198 (__sigsetjmp): Likewise.
29199 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29200 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29201 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29202 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29203
29204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29205 (FRAME_BACKCHAIN): Remove.
29206 (FRAME_CR_SAVE): Likewise.
29207 (FRAME_LR_SAVE): Likewise.
29208 (FRAME_COMPILER_DW): Likewise.
29209 (FRAME_LINKER_DW): Likewise.
29210 (FRAME_TOC_SAVE): Likewise.
29211 (FRAME_PARM_SAVE): Likewise.
29212 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29213 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29214 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29216 (CHECK_SP): Use symbolic stack frame offsets.
29217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29218 zone" instead of caller's parameter save area for temp storage.
29219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29220 Likewise. Also, use symbolic stack frame offsets.
29221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29222 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29223 our own stack frame instead of the caller's.
29224 (__socket): Use symbolic stack frame offsets.
29225
29226 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29227 Alan Modra <amodra@gmail.com>
29228
29229 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29230 Define.
29231 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29232 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29233 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29234 New function.
29235 (elf_machine_fixup_plt): Call it.
29236 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29237 reloc arguments.
29238 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29239 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29240 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29241 r2 before calling target.
29242
29243 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29244 Alan Modra <amodra@gmail.com>
29245
29246 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29247 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29248 versions of macros to support ELFv2 ABI.
29249 (LOCALENTRY): New macro.
29250 (ENTRY, EALIGN): Use it.
29251 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29252 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29253 fall through into ENTRY entry point.
29254 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29255 Only define if _CALL_ELF != 2.
29256
29257 (elf_machine_matches_host): Verify ABI version matches.
29258 (RTLD_START): Use LOCALENTRY.
29259 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29260 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29261 (PLT_ENTRY_WORDS): New macro.
29262 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29263 (elf_machine_runtime_setup): Support ELFv2 ABI.
29264 (elf_machine_fixup_plt): Likewise.
29265 (elf_machine_plt_conflict): Likewise.
29266 (resolve_ifunc): Likewise.
29267 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29268 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29269 Likewise.
29270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29271 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29273 (makecontext): Support ELFv2 ABI.
29274 * elf/elf.h (EF_PPC64_ABI): Define.
29275
29276 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29277
29278 * sysdeps/powerpc/powerpc64/sysdep.h
29279 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29280 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29281 (ENTRY) [ASSEMBLER]: ... but instead here ...
29282 (EALIGN) [ASSEMBLER]: ... and here.
29283 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29284 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29285 (ENTRY_2) [!ASSEMBLER]: Use it.
29286 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29287 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29288 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29289 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29290 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29292 Use PPC64_LOAD_FUNCPTR.
29293
29294 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29295
29296 2013-12-04 Alan Modra <amodra@gmail.com>
29297
29298 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29299 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29300 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29301 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29302
29303 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29304 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29305 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29306 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29307 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29308 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29309
29310 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29311
29312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29313 (__makecontext): Fix incorrect CFI when backtracing out of
29314 context created via makecontext.
29315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29316 (__setcontext): Fix incorrect CFI during switch to new context.
29317 (__novec_setcontext): Likewise.
29318
29319 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29320
29321 [BZ #4772]
29322 * time/strptime_l.c (__strptime_internal): Allow modifiers
29323 in strptime.
29324 * time/tst-strptime.c (day_tests): Add testcase.
29325
29326 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29327
29328 * scripts/bench.pl: Skip over blank lines.
29329
29330 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29331
29332 [BZ #926]
29333 * manual/time.texi (Calendar Time): Clarify what timezone functions
29334 use.
29335
29336 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29337
29338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29339
29340 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29341
29342 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29343 implementation.
29344 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29345 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29346 * debug/memset_chk.c (__memset_chk): Likewise.
29347 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29348 * debug/strncpy_chk.c: Likewise.
29349
29350 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29351
29352 [BZ #15268]
29353 [BZ #15425]
29354 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29355 (__ieee754_exp): For possibly underflowing results, check size of
29356 result and force underflow exception if required.
29357 * math/auto-libm-test-in: Add more tests of exp.
29358 * math/auto-libm-test-out: Regenerated.
29359 * sysdeps/i386/fpu/libm-test-ulps: Update.
29360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29361
29362 [BZ #16283]
29363 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29364 * math/w_exp2f.c (__exp2f): Likewise.
29365 * math/w_exp2l.c (__exp2l): Likewise.
29366 * math/auto-libm-test-in: Do not allow missing errno on exp2
29367 underflow.
29368 * math/auto-libm-test-out: Regenerated.
29369
29370 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29371
29372 [BZ #16274]
29373 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29374 handle filename validation.
29375 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29376 (do_open): Delete.
29377
29378 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29379
29380 [BZ #6786]
29381 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29382 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29383 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29384 <float.h>.
29385 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29386 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29387 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29388 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29389 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29391 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29392 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29393 Add more erfc tests.
29394 * math/auto-libm-test-out: Regenerated.
29395 * sysdeps/i386/fpu/libm-test-ulps: Update.
29396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29397
29398 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29399 exp2, expm1, j0 and j1.
29400 * math/auto-libm-test-out: Regenerated.
29401 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29402 (erfc_test_data): Likewise.
29403 (exp_test_data): Likewise.
29404 (exp_tonearest_test_data): Likewise.
29405 (exp_towardzero_test_data): Likewise.
29406 (exp_downward_test_data): Likewise.
29407 (exp_upward_test_data): Likewise.
29408 (exp10_test_data): Likewise.
29409 (exp2_test_data): Likewise.
29410 (expm1_test_data): Likewise.
29411 (j0_test_data): Likewise.
29412 (j1_test_data): Likewise.
29413 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29414 (input_flag_type): Add flag_xfail_rounding.
29415 (input_flags): Add xfail-rounding.
29416 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29417 (output_for_one_input_case): Handle flag_xfail_rounding.
29418 * sysdeps/i386/fpu/libm-test-ulps: Update.
29419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29420
29421 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29422
29423 [BZ #16289]
29424 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29425 division by 0.
29426
29427 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29428
29429 [BZ #16195]
29430 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29431 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29432 (STAP_PROBE0): New macro.
29433 (STAP_PROBE1): Likewise.
29434 (STAP_PROBE2): Likewise.
29435 (STAP_PROBE3): Likewise.
29436 (STAP_PROBE4): Likewise.
29437
29438 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29439
29440 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29441
29442 2013-12-02 Steve Ellcey <sellcey@mips.com>
29443
29444 * benchtests/Makefile (bench): Add sqrt.
29445 (LDLIBS-bench-sqrt): New.
29446 * benchtests/sqrt-input: New.
29447
29448 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29449
29450 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29451 (GAIH_EAI): Likewise.
29452 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29453 (gaih_inet): Likewise.
29454 (getaddrinfo): Don't use GAIH_EAI.
29455
29456 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29457 (struct gaih): Remove definition.
29458
29459 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29460
29461 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29462 Use HERRNOP directly.
29463
29464 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29465
29466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29467
29468 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29469
29470 * math/gen-auto-libm-tests.c (test_functions): Add more
29471 single-argument functions.
29472 (special_fill_pi_2): New function.
29473 (special_fill_minus_pi_2): Likewise.
29474 (special_fill_pi_6): Likewise.
29475 (special_fill_minus_pi_6): Likewise.
29476 (special_fill_pi_3): Likewise.
29477 (special_fill_2pi_3): Likewise.
29478 (special_fill_e): Likewise.
29479 (special_fill_1_e): Likewise.
29480 (special_fill_e_minus_1): Likewise.
29481 (special_real_inputs): Add more special inputs.
29482 (output_for_one_input_case): Do not require ERANGE on underflow to
29483 zero if round-to-nearest result does not underflow to zero, unless
29484 exact results required.
29485 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29486 atan, atanh, cbrt, cos and cosh.
29487 * math/auto-libm-test-out: Regenerated.
29488 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29489 (acos_tonearest_test_data): Likewise.
29490 (acos_towardzero_test_data): Likewise.
29491 (acos_downward_test_data): Likewise.
29492 (acos_upward_test_data): Likewise.
29493 (acosh_test_data): Likewise.
29494 (asin_test_data): Likewise.
29495 (asin_tonearest_test_data): Likewise.
29496 (asin_towardzero_test_data): Likewise.
29497 (asin_upward_test_data): Likewise.
29498 (asinh_test_data): Likewise.
29499 (atan_test_data): Likewise.
29500 (atanh_test_data): Likewise.
29501 (cbrt_test_data): Likewise.
29502 (cos_test_data): Likewise.
29503 (cos_tonearest_test_data): Likewise.
29504 (cos_towardzero_test_data): Likewise.
29505 (cos_downward_test_data): Likewise.
29506 (cos_upward_test_data): Likewise.
29507 (cosh_test_data): Likewise.
29508 (cosh_tonearest_test_data): Likewise.
29509 (cosh_towardzero_test_data): Likewise.
29510 (cosh_downward_test_data): Likewise.
29511 (cosh_upward_test_data): Likewise.
29512 * sysdeps/i386/fpu/libm-test-ulps: Update.
29513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29514
29515 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29516
29517 [BZ #6787]
29518 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29519 * math/w_exp10f.c (__exp10f): Likewise.
29520 * math/w_exp10l.c (__exp10l): Likewise.
29521 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29522 errno settings in existing tests.
29523
29524 [BZ #14032]
29525 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29526 precision control set to double precision.
29527 * sysdeps/i386/fpu/w_sqrt.c: New file.
29528 * math/auto-libm-test-in: Add more tests.
29529 * math/auto-libm-test-out: Update.
29530
29531 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29532 (sqrt_test_tonearest): New function.
29533 (sqrt_towardzero_test_data): New variable.
29534 (sqrt_test_towardzero): New function.
29535 (sqrt_downward_test_data): New variable.
29536 (sqrt_test_downward): New function.
29537 (sqrt_upward_test_data): New variable.
29538 (sqrt_test_upward): New function.
29539 (main): Call the new functions.
29540
29541 * math/gen-auto-libm-tests.c: New file.
29542 * math/auto-libm-test-in: Likewise.
29543 * math/auto-libm-test-out: New generated file.
29544 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29545 variables.
29546 (%beautify): Add generated representations of zero.
29547 (top level): Set $auto_input and call parse_auto_input.
29548 (beautify): Remove trailing "f" from hex float constants.
29549 (parse_args): Handle XFAIL_TEST.
29550 (convert_condition): New function.
29551 (or_value): Likewise.
29552 (or_cond_value): Likewise.
29553 (generate_testfile): Handle AUTO_TESTS_* lines.
29554 (parse_auto_input): New function.
29555 * math/libm-test.inc (XFAIL_TEST): New macro.
29556 (ERRNO_UNCHANGED): Update value.
29557 (ERRNO_EDOM): Likewise.
29558 (ERRNO_ERANGE): Likewise.
29559 (IGNORE_RESULT): Likewise.
29560 (TEST_COND_flt_32): New macro.
29561 (TEST_COND_dbl_64): Likewise.
29562 (TEST_COND_ldbl_96_intel): Likewise.
29563 (TEST_COND_ldbl_96_m68k): Likewise.
29564 (TEST_COND_ldbl_128): Likewise.
29565 (TEST_COND_ldbl_128ibm): Likewise.
29566 (TEST_COND_long32): Likewise.
29567 (TEST_COND_long64): Likewise.
29568 (TEST_COND_before_rounding): Likewise.
29569 (TEST_COND_after_rounding): Likewise.
29570 (enable_test): Handle XFAIL_TEST flag.
29571 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29572 with finite results.
29573 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29574 auto-libm-test-out.
29575
29576 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29577 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29578
29579 [BZ #16214]
29580 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29581 __tls_get_addr_internal instead of __tls_get_offset in order to
29582 avoid GOT pointer dependency. Make rtld export
29583 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29584 __tls_get_addr since we are a __tls_get_offset platform.
29585 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29586 GOT pointer being set up before.
29587 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29588
29589 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29590
29591 * manual/math.texi (Errors in Math Functions): Document accuracy
29592 goals.
29593
29594 [BZ #15004]
29595 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29596 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29597 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29598 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29599 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29600 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29601 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29602 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29603 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29604 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29605 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29606 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29607 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29608 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29609 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29610 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29611
29612 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29613 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29614 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29615 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29616 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29617 Likewise.
29618 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29619 Likewise.
29620 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29621 Likewise.
29622 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29623 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29624 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29625 atomic-feupdateenv and flt-rounds.
29626 * sysdeps/powerpc/nofpu/Versions (libc): Add
29627 __atomic_feholdexcept, __atomic_feclearexcept,
29628 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29629 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29630 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29631 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29632 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29633 here.
29634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29635 Update.
29636
29637 * manual/arith.texi (FP Exceptions): Document that exceptions may
29638 not be raised when matherr is used.
29639 (Math Error Reporting): Document overflow in directed rounding
29640 modes. Document that errno may not be set when finite values are
29641 returned on overflow. Document intent to set errno on underflow
29642 only for underflow to zero.
29643
29644 [BZ #16271]
29645 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29646 round-to-nearest then adjust result for other rounding modes.
29647 * include/fenv.h (fegetround): Use libm_hidden_proto.
29648 * math/fegetround.c (fegetround): Use libm_hidden_def.
29649 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29650 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29651 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29652 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29653 Likewise.
29654 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29655 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29656 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29657 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29658
29659 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29660
29661 [BZ #16077]
29662 * nss/Versions (libnss_files): Add
29663 _nss_files_gethostbyname3_r.
29664 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29665 New function.
29666 (HOST_DB_LOOKUP): Remove macro.
29667 (_nss_files_gethostbyname_r): Implement function without the
29668 HOST_DB_LOOKUP macro.
29669 (_nss_files_gethostbyname2_r): Likewise.
29670
29671 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29672
29673 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29674
29675 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29676
29677 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29678 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29679 warning.
29680
29681 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29682
29683 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29684 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29685 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29686 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29687 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29688 __fe_nomask_env_priv and attribute_hidden.
29689 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29690 (libc_feupdateenv_test_ppc): Likewise.
29691 (libc_feresetround_ppc): Likewise.
29692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29693 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29694 compat_symbol macro.
29695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29696 (__fe_nomask_env): Likewise.
29697 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29698
29699 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29700
29701 * string/Makefile: Remove ifunc tests.
29702 * string/test-string.h: Define TEST_IFUNC.
29703 * string/test-bcopy-ifunc.c: Remove.
29704 * string/test-bzero-ifunc.c: Likewise.
29705 * string/test-memccpy-ifunc.c: Likewise.
29706 * string/test-memchr-ifunc.c: Likewise.
29707 * string/test-memcmp-ifunc.c: Likewise.
29708 * string/test-memcpy-ifunc.c: Likewise.
29709 * string/test-memmem-ifunc.c: Likewise.
29710 * string/test-memmove-ifunc.c: Likewise.
29711 * string/test-mempcpy-ifunc.c: Likewise.
29712 * string/test-memrchr-ifunc.c: Likewise.
29713 * string/test-memset-ifunc.c: Likewise.
29714 * string/test-rawmemchr-ifunc.c: Likewise.
29715 * string/test-stpcpy-ifunc.c: Likewise.
29716 * string/test-stpncpy-ifunc.c: Likewise.
29717 * string/test-strcasecmp-ifunc.c: Likewise.
29718 * string/test-strcasestr-ifunc.c: Likewise.
29719 * string/test-strcat-ifunc.c: Likewise.
29720 * string/test-strchr-ifunc.c: Likewise.
29721 * string/test-strchrnul-ifunc.c: Likewise.
29722 * string/test-strcmp-ifunc.c: Likewise.
29723 * string/test-strcpy-ifunc.c: Likewise.
29724 * string/test-strcspn-ifunc.c: Likewise.
29725 * string/test-strlen-ifunc.c: Likewise.
29726 * string/test-strncasecmp-ifunc.c: Likewise.
29727 * string/test-strncat-ifunc.c: Likewise.
29728 * string/test-strncmp-ifunc.c: Likewise.
29729 * string/test-strncpy-ifunc.c: Likewise.
29730 * string/test-strnlen-ifunc.c: Likewise.
29731 * string/test-strpbrk-ifunc.c: Likewise.
29732 * string/test-strrchr-ifunc.c: Likewise.
29733 * string/test-strspn-ifunc.c: Likewise.
29734 * string/test-strstr-ifunc.c: Likewise.
29735
29736 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29737
29738 * benchtests/Makefile: Remove ifunc tests.
29739 * benchtests/bench-string.h: Define TEST_IFUNC.
29740 * benchtests/bench-bcopy-ifunc.c: Remove.
29741 * benchtests/bench-bzero-ifunc.c: Likewise.
29742 * benchtests/bench-memccpy-ifunc.c: Likewise.
29743 * benchtests/bench-memchr-ifunc.c: Likewise.
29744 * benchtests/bench-memcmp-ifunc.c: Likewise.
29745 * benchtests/bench-memcpy-ifunc.c: Likewise.
29746 * benchtests/bench-memmem-ifunc.c: Likewise.
29747 * benchtests/bench-memmove-ifunc.c: Likewise.
29748 * benchtests/bench-mempcpy-ifunc.c: Likewise.
29749 * benchtests/bench-memrchr-ifunc.c: Likewise.
29750 * benchtests/bench-memset-ifunc.c: Likewise.
29751 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29752 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29753 * benchtests/bench-stpcpy-ifunc.c: Likewise.
29754 * benchtests/bench-stpncpy-ifunc.c: Likewise.
29755 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29756 * benchtests/bench-strcasestr-ifunc.c: Likewise.
29757 * benchtests/bench-strcat-ifunc.c: Likewise.
29758 * benchtests/bench-strchr-ifunc.c: Likewise.
29759 * benchtests/bench-strchrnul-ifunc.c: Likewise.
29760 * benchtests/bench-strcmp-ifunc.c: Likewise.
29761 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29762 * benchtests/bench-strcpy-ifunc.c: Likewise.
29763 * benchtests/bench-strcspn-ifunc.c: Likewise.
29764 * benchtests/bench-strlen-ifunc.c: Likewise.
29765 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29766 * benchtests/bench-strncat-ifunc.c: Likewise.
29767 * benchtests/bench-strncmp-ifunc.c: Likewise.
29768 * benchtests/bench-strncpy-ifunc.c: Likewise.
29769 * benchtests/bench-strnlen-ifunc.c: Likewise.
29770 * benchtests/bench-strpbrk-ifunc.c: Likewise.
29771 * benchtests/bench-strrchr-ifunc.c: Likewise.
29772 * benchtests/bench-strsep-ifunc.c: Likewise.
29773 * benchtests/bench-strspn-ifunc.c: Likewise.
29774 * benchtests/bench-strstr-ifunc.c: Likewise.
29775
29776 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29777
29778 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29779
29780 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
29781
29782 * resolv/netdb.h: Use __glibc_reserved instead __unused.
29783 * rt/aio.h: Likewise.
29784 * sysdeps/gnu/bits/utmp.h: Likewise.
29785 * sysdeps/gnu/bits/utmpx.h: Likewise.
29786 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29787 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29788 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29789 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29790 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29791 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29792 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29793 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29794 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29795 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29796 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29797 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29798 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29800 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29801 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29802 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29803 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29804 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29805 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29806 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29807 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29808 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29809 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29810 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29811 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29812 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29813 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29814 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29815 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29816 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29817 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29818 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29819 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29820 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29821 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29822 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29823 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29824 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29825 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29826 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29827 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29828
29829 2013-11-25 Carlos O'Donell <carlos@redhat.com>
29830
29831 [BZ #16245]
29832 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29833 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29834
29835 2013-11-25 Joseph Myers <joseph@codesourcery.com>
29836
29837 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29838 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29839 Likewise.
29840
29841 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29842
29843 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29844 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29845 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29846 (__fesetround): Remove define.
29847 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29848 rounding and exceptions handling.
29849 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29850 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29851 (__fe_nomask_env): Likewise.
29852 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29853 __fegetround instead of fegetround.
29854 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29855 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29856
29857 2013-11-21 Roland McGrath <roland@hack.frob.com>
29858
29859 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29860 it's there.
29861
29862 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29863
29864 2013-11-21 Meador Inge <meadori@codesourcery.com>
29865
29866 [BZ #11157]
29867 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29868 (encrypt_r): Likewise.
29869 * malloc/obstack.h (obstack_free): Likewise.
29870 * posix/unistd.h (encrypt): Likewise.
29871
29872 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
29873
29874 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29875 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29876 DL_CALL_DT_FINI() that call the functions directly.
29877 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29878 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29879 * elf/dl-fini.c: Likewise.
29880
29881 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
29882
29883 * malloc/hooks.c (memalign_check): Add alignment rounding.
29884 * malloc/malloc.c (_mid_memalign): New function.
29885 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29886 Implement by calling _mid_memalign.
29887 * manual/probes.texi (Memory Allocation Probes): Remove
29888 memory_valloc_retry and memory_pvalloc_retry.
29889
29890 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29891
29892 * locale/programs/locarchive.c (open_archive): Add const
29893 qualifier to ARCHIVEFNAME and copy default fname to
29894 DEFAULT_FNAME.
29895
29896 [BZ #15601]
29897 * libio/tst-widetext.input: Rename Oriya to Odia.
29898 * locale/iso-639.def: Likewise.
29899
29900 * manual/probes.texi (Mathematical Function Probes): Add
29901 documentation for sin, cos, asin and acos probes.
29902 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29903 (__sin32): Add slowasin probe.
29904 (__cos32): Add slowacos probe.
29905 (__mpsin): Add slowsin probe.
29906 (__mpcos): Add slowcos probe.
29907
29908 2013-11-19 Joseph Myers <joseph@codesourcery.com>
29909
29910 [BZ #15483]
29911 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
29912 thread-local __sim_exceptions_thread and global
29913 __sim_exceptions_global.
29914 (__sim_disabled_exceptions): Change to thread-local
29915 __sim_disabled_exceptions_thread and global
29916 __sim_disabled_exceptions_global.
29917 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29918 and global __sim_round_mode_global.
29919 (__simulate_exceptions): Use thread-local floating-point state and
29920 set global state from it as needed.
29921 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
29922 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
29923 __sim_round_mode_thread.
29924 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
29925 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
29926 and global __sim_exceptions_global.
29927 (__sim_disabled_exceptions): Change to thread-local
29928 __sim_disabled_exceptions_thread and global
29929 __sim_disabled_exceptions_global.
29930 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
29931 and global __sim_round_mode_global.
29932 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
29933 (SIM_SET_GLOBAL): Likewise.
29934 * sysdeps/powerpc/soft-fp/sfp-machine.h
29935 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
29936 __sim_round_mode_thread.
29937 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
29938 __sim_disabled_exceptions_thread.
29939 (__sim_exceptions): Change to __sim_exceptions_thread.
29940 (__sim_disabled_exceptions): Change to
29941 __sim_disabled_exceptions_thread.
29942 (__sim_round_mode): Change to __sim_round_mode_thread.
29943 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
29944 thread-local floating-point state and set global state from it as
29945 needed.
29946 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
29947 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
29948 (__sim_disabled_exceptions): Remove extern declaration.
29949 (feenableexcept): Use thread-local floating-point state and set
29950 global state from it as needed.
29951 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
29952 extern declaration.
29953 (__sim_disabled_exceptions): Likewise.
29954 (__sim_round_mode): Likewise.
29955 (__fegetenv): Use thread-local floating-point state.
29956 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
29957 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29958 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
29959 floating-point state and set global state from it as needed.
29960 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
29961 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29962 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
29963 Likewise.
29964 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
29965 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
29966 Likewise.
29967 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
29968 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
29969 Use __sim_round_mode_thread.
29970 * math/test-fenv-tls.c: New file.
29971 * math/Makefile (tests): Add test-fenv-tls.
29972 ($(objpfx)test-fenv-tls): Depend on
29973 $(common-objpfx)nptl/libpthread.so.
29974
29975 2013-11-19 Andreas Schwab <schwab@suse.de>
29976
29977 * locale/programs/locale.c (show_info): Decode wordarray elements.
29978 * locale/categories.def (LC_MONETARY): Add element for
29979 _NL_MONETARY_CRNCYSTR.
29980 * locale/C-monetary.c (conversion_rate): New variable.
29981 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
29982 element.
29983
29984 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
29985
29986 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
29987 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
29988
29989 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29990
29991 * elf/Makefile (tst-auxv): New test.
29992 * elf/tst-auxv.c: New
29993 * elf/rtld.c (dl_main): Adjust AT_EXECFN
29994
29995 2013-11-18 Joseph Myers <joseph@codesourcery.com>
29996
29997 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
29998 (hidden_proto): Caller changed.
29999 (hidden_tls_proto): New macro.
30000 (libc_hidden_tls_proto): Likewise.
30001 (rtld_hidden_tls_proto): Likewise.
30002 (libm_hidden_tls_proto): Likewise.
30003 (libresolv_hidden_tls_proto): Likewise.
30004 (librt_hidden_tls_proto): Likewise.
30005 (libdl_hidden_tls_proto): Likewise.
30006 (libnss_files_hidden_tls_proto): Likewise.
30007 (libnsl_hidden_tls_proto): Likewise.
30008 (libnss_nisplus_hidden_tls_proto): Likewise.
30009 (libutil_hidden_tls_proto): Likewise.
30010
30011 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30012
30013 [BZ #10253]
30014 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30015 (decompose_rpath): Defer expansion to fillin_rpath.
30016 (_dl_init_paths): Pass linkmap to fillin_rpath.
30017
30018 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30019
30020 * benchtests/Makefile: Add strsep.
30021 * benchtests/bench-strsep.c: New file: strsep benchtest.
30022 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30023
30024 2013-11-18 Andreas Schwab <schwab@suse.de>
30025
30026 * locale/programs/locale.c (show_info) [case byte]: Check for
30027 '\377' instead of '\177'.
30028 * locale/C-monetary.c (not_available): Always use "\377".
30029 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30030 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30031 detect unavailable sign_posn locale elements.
30032 * locale/localeconv.c (__localeconv): For grouping and
30033 mon_grouping handle "\177" and "\377" like no grouping.
30034 (INT_ELEM): New macro. Use it to set all numeric members.
30035 * locale/programs/ld-monetary.c (monetary_read)
30036 <tok_mon_grouping>: Normalize single -1 to the empty string.
30037 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30038 Likewise.
30039
30040 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30041
30042 [BZ #16055]
30043 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30044 when we match (nil).
30045 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30046
30047 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30048
30049 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30050 (NO_TEST_INLINE): Update value.
30051 (ERRNO_UNCHANGED): Likewise.
30052 (ERRNO_EDOM): Likewise.
30053 (ERRNO_ERANGE): Likewise.
30054 (IGNORE_RESULT): Likewise.
30055 (check_float_internal): Check signs of NaN results if
30056 TEST_NAN_SIGN used.
30057 (check_complex): Pass TEST_NAN_SIGN flag through to second
30058 check_float_internal call.
30059 (copysign_test_data): Add tests with quiet NaNs as second
30060 argument. Use TEST_NAN_SIGN.
30061 (fabs_test_data): Add test of negative quiet NaN argument. Use
30062 TEST_NAN_SIGN.
30063 (signbit_test_data): Add tests of quiet NaN argument.
30064 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30065
30066 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30067 $ignore_result.
30068 (parse_args): Handle function results specified as IGNORE.
30069 * math/libm-test.inc (IGNORE_RESULT): New macro.
30070 (check_float_internal): Do not check numerical result if flag
30071 IGNORE_RESULT set.
30072 (check_complex): Pass through IGNORE_RESULT to second
30073 check_float_internal call.
30074 (check_int): Do not check numerical result if flag IGNORE_RESULT
30075 set.
30076 (check_long): Likewise.
30077 (check_bool): Likewise.
30078 (check_longlong): Likewise.
30079 (lrint_test_data): Add tests of infinite and NaN arguments.
30080 (lrint_tonearest_test_data): Likewise.
30081 (lrint_towardzero_test_data): Likewise.
30082 (lrint_downward_test_data): Likewise.
30083 (lrint_upward_test_data): Likewise.
30084 (llrint_test_data): Likewise.
30085 (llrint_tonearest_test_data): Likewise.
30086 (llrint_towardzero_test_data): Likewise.
30087 (llrint_downward_test_data): Likewise.
30088 (llrint_upward_test_data): Likewise.
30089 (lround_test_data): Likewise.
30090 (llround_test_data): Likewise.
30091
30092 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30093 (ERRNO_UNCHANGED): Update value.
30094 (ERRNO_EDOM): Likewise.
30095 (ERRNO_ERANGE): Likewise.
30096 (NO_TEST_INLINE_FLOAT): New macro.
30097 (NO_TEST_INLINE_DOUBLE): Likewise.
30098 (enable_test): New function.
30099 (RUN_TEST_f_f): Check enable_test before running test.
30100 (RUN_TEST_2_f): Likewise.
30101 (RUN_TEST_fff_f): Likewise.
30102 (RUN_TEST_c_f): Likewise.
30103 (RUN_TEST_f_f1): Likewise.
30104 (RUN_TEST_fF_f1): Likewise.
30105 (RUN_TEST_fI_f1): Likewise.
30106 (RUN_TEST_ffI_f1): Likewise.
30107 (RUN_TEST_c_c): Likewise.
30108 (RUN_TEST_cc_c): Likewise.
30109 (RUN_TEST_f_i): Likewise.
30110 (RUN_TEST_f_i_tg): Likewise.
30111 (RUN_TEST_ff_i_tg): Likewise.
30112 (RUN_TEST_f_b): Likewise.
30113 (RUN_TEST_f_b_tg): Likewise.
30114 (RUN_TEST_f_l): Likewise.
30115 (RUN_TEST_f_L): Likewise.
30116 (RUN_TEST_fFF_11): Likewise.
30117 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30118 conditionals.
30119 (cosh_test_data): Likewise.
30120 (exp_test_data): Likewise.
30121 (expm1_test_data): Likewise.
30122 (hypot_test_data): Likewise.
30123 (pow_test_data): Likewise.
30124 (sinh_test_data): Likewise.
30125 (tanh_test_data): Likewise.
30126 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30127 flags argument.
30128
30129 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30130 tests with quiet NaN input and output.
30131 (acosh_test_data): Likewise.
30132 (asin_test_data): Likewise.
30133 (asinh_test_data): Likewise.
30134 (atan_test_data): Likewise.
30135 (atanh_test_data): Likewise.
30136 (atan2_test_data): Likewise.
30137 (cbrt_test_data): Likewise.
30138 (cos_test_data): Likewise.
30139 (cosh_test_data): Likewise.
30140 (erf_test_data): Likewise.
30141 (erfc_test_data): Likewise.
30142 (exp_test_data): Likewise.
30143 (exp10_test_data): Likewise.
30144 (exp2_test_data): Likewise.
30145 (expm1_test_data): Likewise.
30146 (hypot_test_data): Likewise.
30147 (j0_test_data): Likewise.
30148 (j1_test_data): Likewise.
30149 (jn_test_data): Likewise.
30150 (lgamma_test_data): Likewise.
30151 (log_test_data): Likewise.
30152 (log10_test_data): Likewise.
30153 (log1p_test_data): Likewise.
30154 (log2_test_data): Likewise.
30155 (pow_test_data): Likewise.
30156 (scalb_test_data): Likewise.
30157 (sin_test_data): Likewise.
30158 (sincos_test_data): Likewise.
30159 (sinh_test_data): Likewise.
30160 (tan_test_data): Likewise.
30161 (tanh_test_data): Likewise.
30162 (tgamma_test_data): Likewise.
30163 (y0_test_data): Likewise.
30164 (y1_test_data): Likewise.
30165 (yn_test_data): Likewise.
30166
30167 [BZ #16167]
30168 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30169 argument being NaN and avoid computations with second argument in
30170 that case.
30171 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30172 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30173 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30174
30175 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30176
30177 * locale/iso-639.def: Add Chitwani Tharu (the).
30178
30179 2013-11-14 Andreas Schwab <schwab@suse.de>
30180
30181 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30182 word instead of empty string.
30183
30184 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30185
30186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30187 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30189 (__fe_nomask_env): Likewise.
30190
30191 2013-11-13 Steve Ellcey <sellcey@mips.com>
30192
30193 * benchtests/bench-timing.h: Include time.h.
30194
30195 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30196
30197 [BZ #15997]
30198 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30199 to 3.4.0 for x32.
30200 * sysdeps/unix/sysv/linux/configure: Regenerated.
30201
30202 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30203
30204 [BZ #16151]
30205 * stdlib/strtod_l.c (round_and_return): Do not consider
30206 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30207 exponent one less than half the least subnormal exponent.
30208 * stdlib/test-strtod-round-data: Add more tests.
30209 * stdlib/tst-strtod-round.c (tests): Regenerated.
30210
30211 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30212
30213 [BZ #14143]
30214 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30215 (__fe_mask_env): Likewise.
30216 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30217 libm_hidden_proto and add function prototype.
30218 (__fe_mask_env): Add function prototype.
30219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30220 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30222 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30224 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30225
30226 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30227
30228 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30229 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30230
30231 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30232
30233 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30234 of htab_find_slot().
30235
30236 2013-11-11 David S. Miller <davem@davemloft.net>
30237
30238 [BZ #16150]
30239 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30240 symbol in the non-vis3 case in static builds.
30241 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30242 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30243 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30244 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30245
30246 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30247
30248 [BZ #387]
30249 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30250 it is empty.
30251
30252 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30253
30254 * benchtests/Makefile: Add bench-strtod.
30255 * benchtests/bench-strtod.c: New file: strtod benchtest
30256
30257 2013-11-11 Andreas Schwab <schwab@suse.de>
30258
30259 [BZ #16153]
30260 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30261 terminating NUL in key length.
30262
30263 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30264
30265 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30266 Add artificial ODP entry for vDSO symbol for PPC64.
30267 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30268 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30269
30270 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30271
30272 [BZ #15374]
30273 * nss/getent.c (services_keys): Recognize services starting with digit.
30274
30275 2013-11-06 David S. Miller <davem@davemloft.net>
30276
30277 [BZ #15985]
30278 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30279 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30280
30281 2013-11-06 Will Newton <will.newton@linaro.org>
30282
30283 * manual/memory.texi (Malloc Examples): Remove register
30284 keyword from examples.
30285
30286 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30287
30288 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30289
30290 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30291
30292 [BZ #6981]
30293 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30294 depending on [__GCC_IEC_559 > 0].
30295 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30296 depending on [__GCC_IEC_559_COMPLEX > 0].
30297
30298 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30299
30300 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30301 to iso-639.def.
30302
30303 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30304
30305 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30306
30307 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30308
30309 [BZ #16112]
30310 * malloc/malloc (malloc_info): Do not handle first bin as
30311 special case.
30312
30313 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30314
30315 * locale/iso-639.def: Add Central Nahuatl (nhn).
30316
30317 2013-11-01 Bruno Haible <bruno@clisp.org>
30318
30319 [BZ #7003]
30320 * manual/math.texi (BSD Random): Specify range upper bound as
30321 in POSIX.
30322
30323 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30324
30325 * locale/iso-639.def: Add Meadow Mari (mhr).
30326
30327 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30328
30329 [BZ #14752], [BZ #15763]
30330 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30331 Validate name.
30332 * rt/tst_shm.c: Add test for escaping directory.
30333
30334 2013-10-31 Andreas Schwab <schwab@suse.de>
30335
30336 [BZ #15917]
30337 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30338 followed by 'x' as part of digit sequence.
30339 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30340
30341 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30342
30343 [BZ #16037]
30344 * configure.ac: allow GNU Make 4.0 and greater.
30345 * configure: Regenerated.
30346
30347 2013-10-30 Will Newton <will.newton@linaro.org>
30348
30349 [BZ #16038]
30350 * malloc/hooks.c (memalign_check): Limit alignment to the
30351 maximum representable power of two.
30352 * malloc/malloc.c (__libc_memalign): Likewise.
30353 * malloc/tst-memalign.c (do_test): Add test for very
30354 large alignment values.
30355 * malloc/tst-posix_memalign.c (do_test): Likewise.
30356
30357 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30358
30359 [BZ #11087]
30360 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30361 (munmap_chunk): Likewise.
30362 (mremap_chunk): Likewise.
30363
30364 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30365
30366 [BZ #15799]
30367 * stdlib/div.c (div): Remove obsolete code.
30368 * stdlib/ldiv.c (ldiv): Likewise.
30369 * stdlib/lldiv.c (lldiv): Likewise.
30370
30371 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30372
30373 [BZ #16071]
30374 * nss/nss_files/files-XXX.c (get_contents_ret): New
30375 enumerator.
30376 (get_contents): New function.
30377 (internal_getent): Use it. Expand size of LINEBUFLEN.
30378
30379 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30380
30381 * configure.in: Moved to ...
30382 * configure.ac: ... here. Change reference to configure.in
30383 to configure.ac.
30384 * sysdeps/arm/preconfigure.ac: ... here.
30385 configure.in to configure.ac.
30386 * sysdeps/gnu/configure.in: Moved to ...
30387 * sysdeps/gnu/configure.ac: ... here.
30388 * sysdeps/i386/configure.in: Moved to ...
30389 * sysdeps/i386/configure.ac: ... here.
30390 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30391 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30392 * sysdeps/mach/configure.in: Moved to ...
30393 * sysdeps/mach/configure.ac: ... here.
30394 * sysdeps/mach/hurd/configure.in: Moved to ...
30395 * sysdeps/mach/hurd/configure.ac: ... here.
30396 * sysdeps/powerpc/configure.in: Moved to ...
30397 * sysdeps/powerpc/configure.ac: ... here.
30398 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30399 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30400 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30401 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30402 * sysdeps/s390/s390-32/configure.in: Moved to ...
30403 * sysdeps/s390/s390-32/configure.ac: ... here.
30404 * sysdeps/s390/s390-64/configure.in: Moved to ...
30405 * sysdeps/s390/s390-64/configure.ac: ... here.
30406 * sysdeps/sh/configure.in: Moved to ...
30407 * sysdeps/sh/configure.ac: ... here.
30408 * sysdeps/sparc/configure.in: Moved to ...
30409 * sysdeps/sparc/configure.ac: ... here.
30410 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30411 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30412 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30413 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30414 * sysdeps/x86_64/configure.in: Moved to ...
30415 * sysdeps/x86_64/configure.ac: ... here.
30416 * sysdeps/x86_64/preconfigure.in: Moved to ...
30417 * sysdeps/x86_64/preconfigure.ac: ... here.
30418 * aclocal.m4: Change reference to configure.in to configure.ac.
30419 * config.h.in: Likewise.
30420 * manual/install.texi: Likewise.
30421 * manual/maint.texi: Likewise.
30422 * Makefile: Likewise.
30423 * malloc/Makefile: Likewise.
30424 * nscd/Makefile: Likewise.
30425 * Makeconfig: Change reference to configure.in and
30426 preconfigure.in to configure.ac and preconfigure.ac
30427 respectively.
30428 * INSTALL: Regenerated.
30429 * configure: Likewise.
30430 * sysdeps/gnu/configure: Likewise.
30431 * sysdeps/i386/configure: Likewise.
30432 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30433 * sysdeps/mach/configure: Likewise.
30434 * sysdeps/mach/hurd/configure: Likewise.
30435 * sysdeps/powerpc/configure: Likewise.
30436 * sysdeps/powerpc/powerpc32/configure: Likewise.
30437 * sysdeps/powerpc/powerpc64/configure: Likewise.
30438 * sysdeps/s390/s390-32/configure: Likewise.
30439 * sysdeps/s390/s390-64/configure: Likewise.
30440 * sysdeps/sh/configure: Likewise.
30441 * sysdeps/sparc/configure: Likewise.
30442 * sysdeps/unix/sysv/linux/configure: Likewise.
30443 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30444 * sysdeps/x86_64/configure: Likewise.
30445 * sysdeps/x86_64/preconfigure: Likewise.
30446
30447 2013-10-29 Andreas Schwab <schwab@suse.de>
30448
30449 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30450
30451 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30452
30453 * benchtests/pow-inputs: Add new inputs.
30454
30455 * benchtests/exp-inputs: Add new inputs.
30456
30457 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30458 conditional check for return value.
30459 (__cos32): Likewise.
30460
30461 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30462
30463 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30464 to provide a boost for large inputs with word alignment.
30465 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30466 implementation based on optimized PPC64 strcpy.
30467 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30468 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30469 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30470 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30471
30472 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30473
30474 [BZ #2801]
30475 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30476
30477 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30478
30479 [BZ #14876]
30480 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30481 * time/tst-strptime.c (day_tests): Add testcase.
30482
30483 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30484
30485 [BZ #14029]
30486 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30487
30488 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30489
30490 [BZ #16074]
30491 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30492 MAP_FAILED on error.
30493
30494 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30495
30496 [BZ #16072]
30497 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30498 heap for large requests.
30499
30500 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30501
30502 [BZ #9954]
30503 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30504 result if the result has no associated interface.
30505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30506 interface for all 127.X.Y.Z addresses.
30507
30508 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30509
30510 * locale/iso-639.def: Add Ligurian (lij)
30511
30512 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30513
30514 [BZ #15825]
30515 * sunrpc/rpc_main.c: Document rpcgen -5.
30516
30517 2013-10-19 Michael Stahl <mstahl@redhat.com>
30518
30519 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30520
30521 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30522
30523 [BZ #10278]
30524 * posix/glob.c: Match only directories when trailing slash is present.
30525 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30526 (main): Add testcase.
30527
30528 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30529
30530 [BZ #15670]
30531 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30532
30533 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30534
30535 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30536 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30537 AUTH_DES and cindex for FIPS 140-2.
30538 (DES Encryption): Add cindex FIPS 46-3.
30539
30540 * locale/locarchive.h (struct locarhandle): Add fname.
30541 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30542 if an optional argument was specified to --list-archive,
30543 otherwise NULL.
30544 * locale/programs/locarchive.c (show_archive_content): Take new
30545 argument fname and pass it via ah.fname to open_archive.
30546 * locale/programs/localedef.h: Update decl.
30547 (open_archive): If AH->fname is non-null, open that file
30548 rather than the default file name, and don't ignore ENOENT.
30549 (create_archive): Set AH.fname to NULL.
30550 (delete_locales_from_archive): Likewise.
30551 (add_locales_to_archive): Likewise.
30552 * locale/programs/locfile.c (write_all_categories): Likewise.
30553
30554 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30555 Aldy Hernandez <aldyh@redhat.com>
30556
30557 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30558 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30559 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30560 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30561 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30562 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30563 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30564 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30565 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30566 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30567 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30568 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30569 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30570 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30571 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30572 Likewise.
30573 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30574 Likewise.
30575 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30576 Likewise.
30577 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30578 Likewise.
30579 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30580 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30581 Likewise.
30582 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30583 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30584 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30585 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30586 Likewise.
30587 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30588 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30589 * sysdeps/powerpc/preconfigure: Likewise.
30590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30591 Likewise.
30592 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30593 Replace contents of file by #include of <fenv_libc.h>.
30594 * sysdeps/powerpc/soft-fp/sfp-machine.h
30595 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30596 and <sys/prctl.h>.
30597 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30598 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30599 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30600 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30601 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30602 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30603 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30604 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30607 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30608 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30610 Allow copysignl PLT reference to be missing.
30611
30612 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30613 Joseph Myers <joseph@codesourcery.com
30614
30615 [BZ #15948]
30616 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30617 single character.
30618 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30619
30620 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30621
30622 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30623 * elf/tst-tls1.c: Likewise.
30624 * elf/tst-tls10.h: Likewise.
30625 * elf/tst-tls14.c: Likewise.
30626 * elf/tst-tls2.c: Likewise.
30627 * elf/tst-tls3.c: Likewise.
30628 * elf/tst-tls4.c: Likewise.
30629 * elf/tst-tls5.c: Likewise.
30630 * elf/tst-tls6.c: Likewise.
30631 * elf/tst-tls7.c: Likewise.
30632 * elf/tst-tls8.c: Likewise.
30633 * elf/tst-tls9.c: Likewise.
30634 * elf/tst-tlsmod1.c: Likewise.
30635 * elf/tst-tlsmod13.c: Likewise.
30636 * elf/tst-tlsmod13a.c: Likewise.
30637 * elf/tst-tlsmod14a.c: Likewise.
30638 * elf/tst-tlsmod16a.c: Likewise.
30639 * elf/tst-tlsmod16b.c: Likewise.
30640 * elf/tst-tlsmod2.c: Likewise.
30641 * elf/tst-tlsmod3.c: Likewise.
30642 * elf/tst-tlsmod4.c: Likewise.
30643 * elf/tst-tlsmod5.c: Likewise.
30644 * elf/tst-tlsmod6.c: Likewise.
30645
30646 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30647
30648 [BZ #12486]
30649 * malloc/malloc.c: remove checks for statistics.
30650
30651 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30652
30653 [BZ #15277]
30654 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30655 * inet/tst-network.c: Add testcase.
30656
30657 2013-10-17 Andreas Schwab <schwab@suse.de>
30658
30659 [BZ #15218]
30660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30661 to determine canonical name.
30662
30663 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30664
30665 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30666 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30667 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30668 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30670 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30671 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30672 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30673 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30674 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30675 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30676 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30677 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30678 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30679 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30680 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30682 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30683 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30684 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30685 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30686 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30687 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30688 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30689 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30690 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30691 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30692 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30693 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30694 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30695 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30696 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30697 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30698 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30699 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30700 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30701 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30702 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30703 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30704 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30705 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30706 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30707 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30708 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30709 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30710 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30711 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30712 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30713 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30714 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30715 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30716 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30717 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30718 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30719 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30720 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30721 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30722 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30723
30724 2013-10-17 Joseph Myers <joseph@codesourcery.com>
30725
30726 [BZ #16041]
30727 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30728 make result into a quiet NaN.
30729
30730 2013-10-16 Joseph Myers <joseph@codesourcery.com>
30731
30732 * soft-fp/adddf3.c: Fix horizontal whitespace.
30733 * soft-fp/addsf3.c: Likewise.
30734 * soft-fp/addtf3.c: Likewise.
30735 * soft-fp/divdf3.c: Likewise.
30736 * soft-fp/divsf3.c: Likewise.
30737 * soft-fp/divtf3.c: Likewise.
30738 * soft-fp/double.h: Likewise.
30739 * soft-fp/eqdf2.c: Likewise.
30740 * soft-fp/eqsf2.c: Likewise.
30741 * soft-fp/eqtf2.c: Likewise.
30742 * soft-fp/extenddftf2.c: Likewise.
30743 * soft-fp/extended.h: Likewise.
30744 * soft-fp/extendsfdf2.c: Likewise.
30745 * soft-fp/extendsftf2.c: Likewise.
30746 * soft-fp/extendxftf2.c: Likewise.
30747 * soft-fp/fixdfdi.c: Likewise.
30748 * soft-fp/fixdfsi.c: Likewise.
30749 * soft-fp/fixdfti.c: Likewise.
30750 * soft-fp/fixsfdi.c: Likewise.
30751 * soft-fp/fixsfsi.c: Likewise.
30752 * soft-fp/fixsfti.c: Likewise.
30753 * soft-fp/fixtfdi.c: Likewise.
30754 * soft-fp/fixtfsi.c: Likewise.
30755 * soft-fp/fixtfti.c: Likewise.
30756 * soft-fp/fixunsdfdi.c: Likewise.
30757 * soft-fp/fixunsdfsi.c: Likewise.
30758 * soft-fp/fixunsdfti.c: Likewise.
30759 * soft-fp/fixunssfdi.c: Likewise.
30760 * soft-fp/fixunssfsi.c: Likewise.
30761 * soft-fp/fixunssfti.c: Likewise.
30762 * soft-fp/fixunstfdi.c: Likewise.
30763 * soft-fp/fixunstfsi.c: Likewise.
30764 * soft-fp/fixunstfti.c: Likewise.
30765 * soft-fp/floatdidf.c: Likewise.
30766 * soft-fp/floatdisf.c: Likewise.
30767 * soft-fp/floatditf.c: Likewise.
30768 * soft-fp/floatsidf.c: Likewise.
30769 * soft-fp/floatsisf.c: Likewise.
30770 * soft-fp/floatsitf.c: Likewise.
30771 * soft-fp/floattidf.c: Likewise.
30772 * soft-fp/floattisf.c: Likewise.
30773 * soft-fp/floattitf.c: Likewise.
30774 * soft-fp/floatundidf.c: Likewise.
30775 * soft-fp/floatundisf.c: Likewise.
30776 * soft-fp/floatunditf.c: Likewise.
30777 * soft-fp/floatunsidf.c: Likewise.
30778 * soft-fp/floatunsisf.c: Likewise.
30779 * soft-fp/floatunsitf.c: Likewise.
30780 * soft-fp/floatuntidf.c: Likewise.
30781 * soft-fp/floatuntisf.c: Likewise.
30782 * soft-fp/floatuntitf.c: Likewise.
30783 * soft-fp/fmadf4.c: Likewise.
30784 * soft-fp/fmasf4.c: Likewise.
30785 * soft-fp/fmatf4.c: Likewise.
30786 * soft-fp/gedf2.c: Likewise.
30787 * soft-fp/gesf2.c: Likewise.
30788 * soft-fp/getf2.c: Likewise.
30789 * soft-fp/ledf2.c: Likewise.
30790 * soft-fp/lesf2.c: Likewise.
30791 * soft-fp/letf2.c: Likewise.
30792 * soft-fp/muldf3.c: Likewise.
30793 * soft-fp/mulsf3.c: Likewise.
30794 * soft-fp/multf3.c: Likewise.
30795 * soft-fp/negdf2.c: Likewise.
30796 * soft-fp/negsf2.c: Likewise.
30797 * soft-fp/negtf2.c: Likewise.
30798 * soft-fp/op-1.h: Likewise.
30799 * soft-fp/op-2.h: Likewise.
30800 * soft-fp/op-4.h: Likewise.
30801 * soft-fp/op-8.h: Likewise.
30802 * soft-fp/op-common.h: Likewise.
30803 * soft-fp/quad.h: Likewise.
30804 * soft-fp/single.h: Likewise.
30805 * soft-fp/soft-fp.h: Likewise.
30806 * soft-fp/sqrtdf2.c: Likewise.
30807 * soft-fp/sqrtsf2.c: Likewise.
30808 * soft-fp/sqrttf2.c: Likewise.
30809 * soft-fp/subdf3.c: Likewise.
30810 * soft-fp/subsf3.c: Likewise.
30811 * soft-fp/subtf3.c: Likewise.
30812 * soft-fp/truncdfsf2.c: Likewise.
30813 * soft-fp/trunctfdf2.c: Likewise.
30814 * soft-fp/trunctfsf2.c: Likewise.
30815 * soft-fp/trunctfxf2.c: Likewise.
30816 * soft-fp/unorddf2.c: Likewise.
30817 * soft-fp/unordsf2.c: Likewise.
30818 * soft-fp/unordtf2.c: Likewise.
30819
30820 2013-10-15 Joseph Myers <joseph@codesourcery.com>
30821
30822 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30823 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30824
30825 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
30826
30827 * elf/dl-libc.c: Clear initfini list after freeing.
30828
30829 2013-10-14 Joseph Myers <joseph@codesourcery.com>
30830
30831 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30832 * soft-fp/addsf3.c: Likewise.
30833 * soft-fp/addtf3.c: Likewise.
30834 * soft-fp/divdf3.c: Likewise.
30835 * soft-fp/divsf3.c: Likewise.
30836 * soft-fp/divtf3.c: Likewise.
30837 * soft-fp/double.h: Likewise.
30838 * soft-fp/eqdf2.c: Likewise.
30839 * soft-fp/eqsf2.c: Likewise.
30840 * soft-fp/eqtf2.c: Likewise.
30841 * soft-fp/extenddftf2.c: Likewise.
30842 * soft-fp/extended.h: Likewise.
30843 * soft-fp/extendsfdf2.c: Likewise.
30844 * soft-fp/extendsftf2.c: Likewise.
30845 * soft-fp/extendxftf2.c: Likewise.
30846 * soft-fp/fixdfdi.c: Likewise.
30847 * soft-fp/fixdfsi.c: Likewise.
30848 * soft-fp/fixdfti.c: Likewise.
30849 * soft-fp/fixsfdi.c: Likewise.
30850 * soft-fp/fixsfsi.c: Likewise.
30851 * soft-fp/fixsfti.c: Likewise.
30852 * soft-fp/fixtfdi.c: Likewise.
30853 * soft-fp/fixtfsi.c: Likewise.
30854 * soft-fp/fixtfti.c: Likewise.
30855 * soft-fp/fixunsdfdi.c: Likewise.
30856 * soft-fp/fixunsdfsi.c: Likewise.
30857 * soft-fp/fixunsdfti.c: Likewise.
30858 * soft-fp/fixunssfdi.c: Likewise.
30859 * soft-fp/fixunssfsi.c: Likewise.
30860 * soft-fp/fixunssfti.c: Likewise.
30861 * soft-fp/fixunstfdi.c: Likewise.
30862 * soft-fp/fixunstfsi.c: Likewise.
30863 * soft-fp/fixunstfti.c: Likewise.
30864 * soft-fp/floatdidf.c: Likewise.
30865 * soft-fp/floatdisf.c: Likewise.
30866 * soft-fp/floatditf.c: Likewise.
30867 * soft-fp/floatsidf.c: Likewise.
30868 * soft-fp/floatsisf.c: Likewise.
30869 * soft-fp/floatsitf.c: Likewise.
30870 * soft-fp/floattidf.c: Likewise.
30871 * soft-fp/floattisf.c: Likewise.
30872 * soft-fp/floattitf.c: Likewise.
30873 * soft-fp/floatundidf.c: Likewise.
30874 * soft-fp/floatundisf.c: Likewise.
30875 * soft-fp/floatunsidf.c: Likewise.
30876 * soft-fp/floatunsisf.c: Likewise.
30877 * soft-fp/floatuntidf.c: Likewise.
30878 * soft-fp/floatuntisf.c: Likewise.
30879 * soft-fp/floatuntitf.c: Likewise.
30880 * soft-fp/fmadf4.c: Likewise.
30881 * soft-fp/fmasf4.c: Likewise.
30882 * soft-fp/fmatf4.c: Likewise.
30883 * soft-fp/gedf2.c: Likewise.
30884 * soft-fp/gesf2.c: Likewise.
30885 * soft-fp/getf2.c: Likewise.
30886 * soft-fp/ledf2.c: Likewise.
30887 * soft-fp/lesf2.c: Likewise.
30888 * soft-fp/letf2.c: Likewise.
30889 * soft-fp/muldf3.c: Likewise.
30890 * soft-fp/mulsf3.c: Likewise.
30891 * soft-fp/multf3.c: Likewise.
30892 * soft-fp/negdf2.c: Likewise.
30893 * soft-fp/negsf2.c: Likewise.
30894 * soft-fp/negtf2.c: Likewise.
30895 * soft-fp/op-1.h: Likewise.
30896 * soft-fp/op-2.h: Likewise.
30897 * soft-fp/op-4.h: Likewise.
30898 * soft-fp/op-8.h: Likewise.
30899 * soft-fp/op-common.h: Likewise.
30900 * soft-fp/quad.h: Likewise.
30901 * soft-fp/single.h: Likewise.
30902 * soft-fp/soft-fp.h: Likewise.
30903 * soft-fp/sqrtdf2.c: Likewise.
30904 * soft-fp/sqrtsf2.c: Likewise.
30905 * soft-fp/sqrttf2.c: Likewise.
30906 * soft-fp/subdf3.c: Likewise.
30907 * soft-fp/subsf3.c: Likewise.
30908 * soft-fp/subtf3.c: Likewise.
30909 * soft-fp/truncdfsf2.c: Likewise.
30910 * soft-fp/trunctfdf2.c: Likewise.
30911 * soft-fp/trunctfsf2.c: Likewise.
30912 * soft-fp/trunctfxf2.c: Likewise.
30913 * soft-fp/unorddf2.c: Likewise.
30914 * soft-fp/unordsf2.c: Likewise.
30915 * soft-fp/unordtf2.c: Likewise.
30916
30917 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
30918
30919 [BZ #15672]
30920 * misc/error.c (error_tail): Fix possible buffer overflow.
30921
30922 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
30923
30924 [BZ #13028]
30925 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
30926 address.
30927
30928 2013-10-14 P. J. McDermott <pj@pehjota.net>
30929
30930 [BZ #832]
30931 * elf/ldd.bash.in (try_trace): New function. Delete previous code
30932 testing pipefail option.
30933
30934 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30935
30936 * soft-fp/double.h: Indent preprocessor directives inside #if.
30937 * soft-fp/extended.h: Likewise.
30938 * soft-fp/op-2.h: Likewise.
30939 * soft-fp/op-4.h: Likewise.
30940 * soft-fp/op-common.h: Likewise.
30941 * soft-fp/quad.h: Likewise.
30942 * soft-fp/single.h: Likewise.
30943 * soft-fp/soft-fp.h: Likewise.
30944
30945 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
30946
30947 * iconv/iconv_prog.c: Fix typos.
30948 * stdio-common/psiginfo-data.h: Likewise.
30949
30950 2013-10-12 Reuben Thomas <rrt@sc3d.org>
30951
30952 [BZ #15764]
30953 * locale/setlocale.c: Fix typo.
30954
30955 2013-10-12 Joseph Myers <joseph@codesourcery.com>
30956
30957 [BZ #16036]
30958 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
30959 signaling NaN arguments.
30960 * soft-fp/unordsf2.c (__unordsf2): Likewise.
30961 * soft-fp/unordtf2.c (__unordtf2): Likewise.
30962
30963 [BZ #14910]
30964 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
30965 unordered operands.
30966 * soft-fp/gesf2.c (__gesf2): Likewise.
30967 * soft-fp/getf2.c (__getf2): Likewise.
30968 * soft-fp/ledf2.c (__ledf2): Likewise.
30969 * soft-fp/lesf2.c (__lesf2): Likewise.
30970 * soft-fp/letf2.c (__letf2): Likewise.
30971
30972 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
30973 * soft-fp/eqsf2.c (__eqsf2): Likewise.
30974 * soft-fp/eqtf2.c (__eqtf2): Likewise.
30975 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
30976 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
30977 * soft-fp/fixdfti.c (__fixdfti): Likewise.
30978 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
30979 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
30980 * soft-fp/fixsfti.c (__fixsfti): Likewise.
30981 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
30982 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
30983 * soft-fp/fixtfti.c (__fixtfti): Likewise.
30984 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
30985 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
30986 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
30987 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
30988 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
30989 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
30990 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
30991 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
30992 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
30993 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
30994 * soft-fp/floatdisf.c (__floatdisf): Likewise.
30995 * soft-fp/floatsisf.c (__floatsisf): Likewise.
30996 * soft-fp/floattidf.c (__floattidf): Likewise.
30997 * soft-fp/floattisf.c (__floattisf): Likewise.
30998 * soft-fp/floattitf.c (__floattitf): Likewise.
30999 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31000 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31001 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31002 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31003 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31004 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31005 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31006 * soft-fp/gesf2.c (__gesf2): Likewise.
31007 * soft-fp/getf2.c (__getf2): Likewise.
31008 * soft-fp/ledf2.c (__ledf2): Likewise.
31009 * soft-fp/lesf2.c (__lesf2): Likewise.
31010 * soft-fp/letf2.c (__letf2): Likewise.
31011
31012 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31013 Undefine and redefine.
31014 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31015 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31016 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31017 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31018 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31019 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31020 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31021 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31022 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31023 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31024 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31025 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31026 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31027 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31028 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31029
31030 [BZ #16032]
31031 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31032 without decrementing exponent if mantissa >= that for the
31033 denominator, not >.
31034 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31035 denominator, not >. Decrement exponent in < case instead of
31036 incrementing in >= case.
31037 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31038 without decrementing exponent if mantissa >= that for the
31039 denominator, not >.
31040
31041 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31042 computing saturated result for unsigned overflow.
31043
31044 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31045 Jeff Law <law@redhat.com>
31046
31047 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31048 (atan2Mp): Add systemtap probe marker.
31049 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31050 (__ieee754_log): Add systemtap probe marker.
31051 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31052 (atanMp): Add systemtap probe marker.
31053 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31054 (tanMp): Add systemtap probe marker.
31055 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31056 (__slowexp): Add systemtap probe marker.
31057 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31058 (__slowpow): Add systemtap probe marker.
31059 * manual/probes.texi: Document probes.
31060
31061 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31062
31063 [BZ #15362]
31064 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31065 written.
31066 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31067 written.
31068 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31069 written to buffer but not flushed.
31070 * libio/iofwrite_u.c: Likewise.
31071 * libio/iopadn.c: Return bytes returned even if EOF was
31072 encountered.
31073 * libio/iowpadn.c: Likewise.
31074 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31075 if _IO_padn does not write the whole buffer.
31076 [!COMPILE_WPRINTF] (PAD): Likewise.
31077
31078 2013-10-10 David S. Miller <davem@davemloft.net>
31079
31080 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31081 directory block.
31082
31083 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31084
31085 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31086 instead of FSF address.
31087 * soft-fp/fixdfti.c: Likewise.
31088 * soft-fp/fixsfti.c: Likewise.
31089 * soft-fp/fixtfti.c: Likewise.
31090 * soft-fp/fixunsdfti.c: Likewise.
31091 * soft-fp/fixunssfti.c: Likewise.
31092 * soft-fp/fixunstfti.c: Likewise.
31093 * soft-fp/floattidf.c: Likewise.
31094 * soft-fp/floattisf.c: Likewise.
31095 * soft-fp/floattitf.c: Likewise.
31096 * soft-fp/floatuntidf.c: Likewise.
31097 * soft-fp/floatuntisf.c: Likewise.
31098 * soft-fp/floatuntitf.c: Likewise.
31099 * soft-fp/trunctfxf2.c: Likewise.
31100
31101 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31102 * soft-fp/fixdfti.c: Likewise.
31103 * soft-fp/fixsfti.c: Likewise.
31104 * soft-fp/fixtfti.c: Likewise.
31105 * soft-fp/fixunsdfti.c: Likewise.
31106 * soft-fp/fixunssfti.c: Likewise.
31107 * soft-fp/fixunstfti.c: Likewise.
31108 * soft-fp/floattidf.c: Likewise.
31109 * soft-fp/floattisf.c: Likewise.
31110 * soft-fp/floattitf.c: Likewise.
31111 * soft-fp/floatuntidf.c: Likewise.
31112 * soft-fp/floatuntisf.c: Likewise.
31113 * soft-fp/floatuntitf.c: Likewise.
31114 * soft-fp/trunctfxf2.c: Likewise.
31115
31116 2013-10-10 David S. Miller <davem@davemloft.net>
31117
31118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31119
31120 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31121
31122 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31123 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31124 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31125 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31126 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31127 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31128 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31129
31130 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31131 for NaNs before doing comparisons on argument.
31132 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31133 Likewise.
31134
31135 2013-10-10 Will Newton <will.newton@linaro.org>
31136
31137 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31138 passed to _int_memalign does not overflow.
31139
31140 2013-10-10 Torvald Riegel <triegel@redhat.com>
31141
31142 * scripts/bench.pl: Add include-sources directive.
31143 * benchtests/README: Update documentation.
31144
31145 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31146
31147 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31148 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31149 instead of FP_INIT_ROUNDMODE.
31150 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31151 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31152
31153 [BZ #16034]
31154 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31155 copy class of input value.
31156 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31157 not handle exceptions.
31158 * soft-fp/negsf2.c (__negsf2): Likewise.
31159 * soft-fp/negtf2.c (__negtf2): Likewise.
31160 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31161
31162 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31163
31164 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31165 semicolon. From Linux kernel.
31166
31167 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31168
31169 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31170
31171 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31172
31173 [BZ #156]
31174 * manual/socket.texi: Added statement about buffer
31175 for gethostbyname2_r.
31176
31177 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31178
31179 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31180 Use .p2align directive instead, throughout.
31181 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31182 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31183 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31184 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31185 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31186 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31187 * sysdeps/x86_64/strchr.S: Likewise.
31188 * sysdeps/x86_64/strrchr.S: Likewise.
31189
31190 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31191
31192 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31193
31194 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31195
31196 * sysdeps/generic/math_private.h (__mpsin1): Remove
31197 declaration.
31198 (__mpcos1): Likewise.
31199 (__mpsin): New argument __range_reduce.
31200 (__mpcos): Likewise.
31201 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31202 (slow): Use __mpsin and __mpcos.
31203 (slow1): Likewise.
31204 (slow2): Likewise.
31205 (sloww): Likewise.
31206 (sloww1): Likewise.
31207 (sloww2): Likewise.
31208 (bsloww): Likewise.
31209 (bsloww1): Likewise.
31210 (bsloww2): Likewise.
31211 (cslow2): Likewise.
31212 (csloww): Likewise.
31213 (csloww1): Likewise.
31214 (csloww2): Likewise.
31215 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31216 range_reduce. Merge in __mpsin1.
31217 (__mpcos): Likewise.
31218 (__mpsin1): Remove.
31219 (__mpcos1): Likewise.
31220
31221 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31222
31223 * locale/loadlocale.c (_nl_intern_locale_data): Use
31224 LOCFILE_ALIGNED_P.
31225 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31226 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31227 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31228 obstack data is appropriately aligned.
31229 (obstack_int32_grow_fast): Likewise.
31230 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31231 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31232 (add_locale_uint32_array): Likewise.
31233
31234 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31235
31236 * benchtests/Makefile: Remove ARGLIST and RET variables.
31237 ($(objpfx)bench-%.c): Pass only function name to the script.
31238 * benchtests/README: Update documentation.
31239 * benchtests/acos-inputs: Add new directives.
31240 * benchtests/acosh-inputs: Likewise.
31241 * benchtests/asin-inputs: Likewise.
31242 * benchtests/asinh-inputs: Likewise.
31243 * benchtests/atan-inputs: Likewise.
31244 * benchtests/atanh-inputs: Likewise.
31245 * benchtests/cos-inputs: Likewise.
31246 * benchtests/cosh-inputs: Likewise.
31247 * benchtests/exp-inputs: Likewise.
31248 * benchtests/log-inputs: Likewise.
31249 * benchtests/pow-inputs: Likewise.
31250 * benchtests/rint-inputs: Likewise.
31251 * benchtests/sin-inputs: Likewise.
31252 * benchtests/sinh-inputs: Likewise.
31253 * benchtests/tan-inputs: Likewise.
31254 * benchtests/tanh-inputs: Likewise.
31255 * scripts/bench.pl: Add support for new directives.
31256
31257 2013-10-07 Alan Modra <amodra@gmail.com>
31258
31259 * README: Fix careless merge.
31260
31261 2013-10-05 Alan Modra <amodra@gmail.com>
31262
31263 * NEWS: Mention powerpc64le support and bugs fixed.
31264 * README: Both big-endian and little-endian powerpc64 supported.
31265
31266 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31267
31268 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31269 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31270 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31271 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31272
31273 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31274
31275 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31276 match prototype.
31277
31278 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31279
31280 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31281 Move -mhard-float appending from
31282 ports/sysdeps/powerpc/powerpc32/Makefile.
31283 [$(with-fp) = yes] (ASFLAGS): Likewise.
31284 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31285 * sysdeps/powerpc/nofpu: Move directory from
31286 ports/sysdeps/powerpc/nofpu.
31287 * sysdeps/powerpc/soft-fp: Move directory from
31288 ports/sysdeps/powerpc/soft-fp.
31289 * sysdeps/powerpc/powerpc32/405: Move directory from
31290 ports/sysdeps/powerpc/powerpc32/405.
31291 * sysdeps/powerpc/powerpc32/440: Move directory from
31292 ports/sysdeps/powerpc/powerpc32/440.
31293 * sysdeps/powerpc/powerpc32/464: Move directory from
31294 ports/sysdeps/powerpc/powerpc32/464.
31295 * sysdeps/powerpc/powerpc32/476: Move directory from
31296 ports/sysdeps/powerpc/powerpc32/476.
31297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31298 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31300 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31302 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31304 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31306 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31307 * README: Update for powerpc-*-linux-gnu software floating point
31308 support in libc.
31309
31310 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31311 case to powerpc/powerpc32*.
31312 * sysdeps/unix/sysv/linux/configure: Regenerated.
31313
31314 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31315 (_FPU_MASK_OM): Define as 0x04.
31316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31318 0x00c10080.
31319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31320 0x0000003c.
31321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31322
31323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31324 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31325 getcontext_e500.
31326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31327 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31328 setcontext_e500.
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31330 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31331 and setcontext_e500.
31332
31333 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31334
31335 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31336
31337 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31338
31339 * manual/threads.texi (Default Thread Attributes): Fix typo.
31340
31341 2013-10-04 Will Newton <will.newton@linaro.org>
31342
31343 * malloc/Makefile: Add tst-memalign.
31344 * malloc/tst-memalign.c: New file.
31345
31346 * malloc/tst-posix_memalign.c: Add comments.
31347 (do_test): Add comments and call free on all potentially
31348 allocated pointers. Add space after cast.
31349
31350 * malloc/tst-pvalloc.c: Add comments.
31351 (do_test): Add comments and call free on all potentially
31352 allocated pointers. Remove duplicate check for NULL pointer.
31353 Add space after cast.
31354
31355 * malloc/tst-valloc.c: Add comments.
31356 (do_test): Add comments and call free on all potentially
31357 allocated pointers. Remove duplicate check for NULL pointer.
31358 Add space after cast.
31359
31360 2013-10-04 Alan Modra <amodra@gmail.com>
31361
31362 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31363 Use stdint types in rather than __attribute__((mode())).
31364 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31365
31366 2013-10-04 Alan Modra <amodra@gmail.com>
31367
31368 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31369 Correct handling of unaligned relocs for little-endian.
31370 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31371
31372 2013-10-04 Alan Modra <amodra@gmail.com>
31373
31374 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31375 * configure: Regenerate.
31376 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31377 * shlib-versions: Likewise.
31378
31379 2013-10-04 Alan Modra <amodra@gmail.com>
31380
31381 * string/tester.c (test_memrchr): Increment reported test cycle.
31382
31383 2013-10-04 Alan Modra <amodra@gmail.com>
31384
31385 * string/test-memcpy.c (do_one_test): When reporting errors, print
31386 string address and don't overrun end of string.
31387
31388 2013-10-04 Alan Modra <amodra@gmail.com>
31389
31390 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31391 insrdi. Make better use of reg selection to speed exit slightly.
31392 Schedule entry path a little better. Remove useless "are we done"
31393 checks on entry to main loop. Handle wrapping around zero address.
31394 Correct main loop count. Handle single left-over word from main
31395 loop inline rather than by using loop_small. Remove extra word
31396 case in loop_small caused by wrong loop count. Add little-endian
31397 support.
31398 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31399 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31400 cache hint.
31401 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31402 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31403 support. Avoid rlwimi.
31404 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31405
31406 2013-10-04 Alan Modra <amodra@gmail.com>
31407
31408 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31409 insrdi. Formatting.
31410 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31411 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31412 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31413 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31414 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31415 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31416
31417 2013-10-04 Alan Modra <amodra@gmail.com>
31418
31419 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31420 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31421 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31422 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31423 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31424 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31425 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31426 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31427 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31428 use of regs. Use power7 mtocrf. Tidy function tails.
31429
31430 2013-10-04 Alan Modra <amodra@gmail.com>
31431
31432 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31433 Formatting. Consistently use rXXX register defines or rN defines.
31434 Use early exit labels that avoid restoring unused non-volatile regs.
31435 Make cr field use more consistent with rWORDn compares. Rename
31436 regs used as shift registers for unaligned loop, using rN defines
31437 for short lifetime/multiple use regs.
31438 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31439 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31440 addi 1,1,64 to pop stack frame. Simplify return value code.
31441 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31442
31443 2013-10-04 Alan Modra <amodra@gmail.com>
31444
31445 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31446 support. Correct typos, formatting. Optimize tail. Use insrdi
31447 rather than rlwimi.
31448 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31449 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31450 little-endian support. Correct typos.
31451 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31452 rather than rlwimi.
31453 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31454 in loop and entry code to keep "and." results.
31455 (strchr): Add little-endian support. Comment. Move cntlzd
31456 earlier in tail.
31457 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31458
31459 2013-10-04 Alan Modra <amodra@gmail.com>
31460
31461 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31462 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31463 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31464 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31465
31466 2013-10-04 Alan Modra <amodra@gmail.com>
31467
31468 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31469 (rTMP): Define as r11.
31470 (strcmp): Add little-endian support. Optimise tail.
31471 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31472 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31473 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31474 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31475 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31476 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31477 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31478
31479 2013-10-04 Alan Modra <amodra@gmail.com>
31480
31481 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31482 little-endian support. Remove unnecessary "are we done" tests.
31483 Handle "s" wrapping around zero and extremely large "size".
31484 Correct main loop count. Handle single left-over word from main
31485 loop inline rather than by using small_loop. Correct comments.
31486 Delete "zero" tail, use "end_max" instead.
31487 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31488
31489 2013-10-04 Alan Modra <amodra@gmail.com>
31490
31491 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31492 support. Don't branch over align.
31493 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31494 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31495 support. Rearrange tmp reg use to suit. Comment.
31496 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31497
31498 2013-10-04 Alan Modra <amodra@gmail.com>
31499
31500 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31501
31502 2013-10-04 Alan Modra <amodra@gmail.com>
31503
31504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31505 conditional form of branch and link when obtaining pc.
31506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31507
31508 2013-10-04 Alan Modra <amodra@gmail.com>
31509
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31511 HIWORD/LOWORD.
31512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31514
31515 2013-10-04 Alan Modra <amodra@gmail.com>
31516
31517 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31518 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31519 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31520 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31521 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31522 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31523 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31524 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31525 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31526 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31527
31528 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31529 Alistair Popple <alistair@ozlabs.au.ibm.com>
31530 Alan Modra <amodra@gmail.com>
31531
31532 [BZ #15723]
31533 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31534 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31535 _dl_hwcap access for little-endian.
31536 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31537 destroy vmx regs when saving unaligned.
31538 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31539 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31540 destroy vmx regs when saving unaligned.
31541
31542 2013-10-04 Alan Modra <amodra@gmail.com>
31543
31544 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31545 Don't use a union to pack hi/low value.
31546
31547 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31548
31549 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31550 for little-endian.
31551 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31552 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31553 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31554 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31555 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31556
31557 2013-10-04 Alan Modra <amodra@gmail.com>
31558
31559 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31560 constants to usual value for .cst8 section, and remove redundant
31561 high address load.
31562 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31563 constant for 0x1p52. Load little-endian words of double from
31564 correct stack offsets.
31565
31566 2013-10-04 Alan Modra <amodra@gmail.com>
31567
31568 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31569 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31570 words of double from correct stack offsets.
31571 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31572 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31573 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31574 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31576 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31577 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31578 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31579 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31580 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31581 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31582 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31583 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31584 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31585 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31586 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31587 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31588
31589 2013-10-04 Alan Modra <amodra@gmail.com>
31590
31591 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31592 64-bit int/double union.
31593 (_FPU_SETCW): Likewise.
31594 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31595 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31596
31597 2013-10-04 Alan Modra <amodra@gmail.com>
31598
31599 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31600 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31601
31602 2013-10-04 Alan Modra <amodra@gmail.com>
31603
31604 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31605 use vector int constants.
31606 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31607
31608 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31609
31610 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31611 array with long long.
31612 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31613 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31614 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31615 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31616 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31617 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31618 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31619 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31620 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31621 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31622 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31623 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31624 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31625
31626 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31627
31628 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31629 (__signbit): Likewise. Correct for little-endian.
31630 (__signbitl): Call __signbit.
31631 (lrint): Correct for little-endian.
31632 (lrintf): Call lrint.
31633
31634 2013-10-04 Alan Modra <amodra@gmail.com>
31635
31636 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31637 union 32-bit int array member with 64-bit int array.
31638 (t515, tm256): Double rather than long double.
31639 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31640
31641 2013-10-04 Alan Modra <amodra@gmail.com>
31642
31643 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31644 Delete.
31645 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31647 version of math_ldbl.h.
31648
31649 2013-10-04 Alan Modra <amodra@gmail.com>
31650
31651 [BZ #15734], [BZ #15735]
31652 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31653 all uses of ieee875 long double macros and unions. Simplify test
31654 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31655 ldbl_extract_mantissa value for ix,iy exponents. Properly
31656 normalize after ldbl_extract_mantissa, and don't add hidden bit
31657 already handled. Don't treat low word of ieee854 mantissa like
31658 low word of IBM long double and mask off bit when testing for
31659 zero.
31660 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31661 all uses of ieee875 long double macros and unions. Simplify tests
31662 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31663 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31664 two1022, instead use their values. Recognise that tests for large
31665 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31666 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31667 Rewrite all uses of ieee875 long double macros and unions. Simplify
31668 test for 0.0L and nan. Correct negation.
31669 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31670 ieee875 long double macros and unions. Correct output for large
31671 magnitude x. Correct absolute value calculation.
31672 (__erfcl): Likewise.
31673 * math/libm-test.inc: Add tests for errors discovered in IBM long
31674 double versions of fmodl, remainderl, erfl and erfcl.
31675
31676 2013-10-04 Alan Modra <amodra@gmail.com>
31677
31678 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31679 all uses of ieee854 long double macros and unions. Simplify tests
31680 for long doubles that are fully specified by the high double.
31681 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31682 Likewise.
31683 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31684 Remove dead code too.
31685 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31686 (__ieee754_ynl): Likewise.
31687 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31688 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31689 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31690 Remove dead code too.
31691 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31692 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31693 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31694 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31695 Simplify.
31696 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31697 Simplify.
31698 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31699 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31700 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31701 Comment on variable precision.
31702 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31703 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31704 Likewise.
31705 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31706 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31707 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31708 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31709 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31710
31711 2013-10-04 Alan Modra <amodra@gmail.com>
31712
31713 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31714 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31715 all uses of ieee854 long double macros and unions.
31716 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31717 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31718 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31719 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31720 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31721 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31722 Likewise.
31723 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31724 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31725 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31726 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31727 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31728 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31729 Simplify sign and nan test too.
31730 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31731 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31732 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31733 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31734 Likewise.
31735 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31736 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31737 Likewise.
31738 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31739 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31740 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31741 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31742 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31743 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31744
31745 2013-10-04 Alan Modra <amodra@gmail.com>
31746
31747 * stdio-common/printf_size.c (__printf_size): Don't use
31748 union ieee854_long_double in fpnum union.
31749 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
31750 signbit macro to retrieve sign from long double.
31751 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31752 retrieve sign from long double.
31753 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31754 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31755 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31756 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31757 * math/test-misc.c (main): Don't use union ieee854_long_double.
31758
31759 2013-10-04 Alan Modra <amodra@gmail.com>
31760
31761 [BZ #15680]
31762 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31763 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31764 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31765 calculation. Remove unnecessary test for denormal exponent.
31766 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31767 Correct handling of denormals. Avoid undefined shift behaviour.
31768 Correct normalisation of low mantissa when low double is denormal.
31769 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31770 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
31771 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31772 Correct normalisation of low mantissa. Test for overflow of high
31773 mantissa and normalise.
31774 (ldbl_nearbyint): Use more readable constant for two52.
31775 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31776 (__mpn_construct_long_double): Fix test for overflow of high
31777 mantissa and correct normalisation. Avoid undefined shift.
31778
31779 2013-10-04 Alan Modra <amodra@gmail.com>
31780
31781 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31782 (union ibm_extended_long_double): Define as an array of ieee754_double.
31783 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31784 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31785 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31786 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31788 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31790 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31791 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31792 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31793 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31794
31795 2013-10-03 Joseph Myers <joseph@codesourcery.com>
31796
31797 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31798 page size instead of calling getpagesize.
31799
31800 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31801 (LOCFILE_ALIGN_MASK): Likewise.
31802 (LOCFILE_ALIGN_UP): Likewise.
31803 (LOCFILE_ALIGNED_P): Likewise.
31804 * locale/programs/ld-collate.c (collate_output): Use the new
31805 macros instead of __alignof__ (int32_t).
31806 * locale/weight.h (findidx): Likewise.
31807
31808 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
31809
31810 [BZ #431]
31811 * manual/string.texi: Fix strncat and wcsncat.
31812
31813 2013-10-03 Brooks Moses <bmoses@google.com>
31814
31815 [BZ #15915]
31816 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31817 * Makerules: ...here, and adjust associated comments.
31818
31819 2013-10-02 Will Newton <will.newton@linaro.org>
31820
31821 * malloc/Makefile: Add tst-pvalloc.
31822 * malloc/tst-pvalloc.c: New file.
31823
31824 2013-10-02 Will Newton <will.newton@linaro.org>
31825
31826 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31827 improve test coverage.
31828
31829 2013-10-02 Will Newton <will.newton@linaro.org>
31830
31831 * malloc/Makefile: Add tst-posix_memalign.
31832 * malloc/tst-posix_memalign.c: New file.
31833
31834 2013-10-01 Eric Blake <eblake@redhat.com>
31835
31836 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31837 Use __THROWNL rather than __THROW on static functions.
31838
31839 2013-09-30 Petr Machata <pmachata@redhat.com>
31840
31841 * elf/elf.h (R_AARCH64_ABS16): New macro.
31842 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31843 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31844 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31845 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31846 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31847 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31848 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31849 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31850 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31851 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31852 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31853 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31854 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31855 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31856 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31857 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31858 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31859 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31860 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31861 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31862 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31863 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31864 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31865 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31866 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31867 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31868 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31869 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31870 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31871 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31872 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31873 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31874 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31875 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31876 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31877 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31878 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31879 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31880 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31881 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31882 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31883 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31884 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31885 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31886 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31887 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31888 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31889 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31890 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31891 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31892 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31893 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31894 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31895 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31896 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31897 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31898 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31899 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31900 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31901 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31902 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31903 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31904 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31905 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31906 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31907 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31908 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
31909 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
31910 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
31911 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
31912 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
31913 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
31914 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
31915 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
31916 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
31917 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
31918 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
31919 (R_AARCH64_TLSDESC_LDR): Likewise.
31920 (R_AARCH64_TLSDESC_ADD): Likewise.
31921 (R_AARCH64_TLSDESC_CALL): Likewise.
31922
31923 2013-09-30 Andreas Schwab <schwab@suse.de>
31924
31925 [BZ #15048]
31926 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
31927 the nss database lookup.
31928 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31930
31931 2013-09-28 Mike Frysinger <vapier@gentoo.org>
31932
31933 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
31934
31935 2013-09-28 P. J. McDermott <pj@pehjota.net>
31936
31937 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
31938 ${Bash-specific parameter/pattern/string} parameter expansion.
31939 * sysdeps/unix/make-syscalls.sh: Likewise.
31940
31941 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31942
31943 * sysdeps/sh/stackguard-macros.h: New file.
31944
31945 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
31946
31947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
31948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
31949 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
31950 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
31951 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31952 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
31953
31954 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31955
31956 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
31957 Fix thread ID register.
31958
31959 2013-09-25 Joseph Myers <joseph@codesourcery.com>
31960
31961 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
31962 [POSIX || UNIX98]: Require rather than permitting all symbols from
31963 <time.h>.
31964 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
31965 element of struct sched_param.
31966 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
31967 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
31968 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
31969 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
31970 constant.
31971
31972 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
31973
31974 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
31975 argument calculation.
31976
31977 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31978
31979 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
31980 Expect macro.
31981 [POSIX] (pthread_attr_t): Do not require type.
31982 [POSIX] (pthread_cond_t): Likewise.
31983 [POSIX] (pthread_condattr_t): Likewise.
31984 [POSIX] (pthread_key_t): Likewise.
31985 [POSIX] (pthread_mutex_t): Likewise.
31986 [POSIX] (pthread_mutexattr_t): Likewise.
31987 [POSIX] (pthread_once_t): Likewise.
31988 [POSIX] (pthread_t): Likewise.
31989 [POSIX-based standards] (pthread_atfork): Expect function.
31990
31991 2013-09-24 Joseph Myers <joseph@codesourcery.com>
31992 Richard Sandiford <richard@codesourcery.com>
31993
31994 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
31995 (swap_endianness_p): New extern variable.
31996 (set_big_endian): New inline function.
31997 (maybe_swap_uint32): Likewise.
31998 (maybe_swap_uint32_array): Likewise.
31999 (maybe_swap_uint32_obstack): Likewise.
32000 * locale/programs/locfile.c: Include <stdbool.h>.
32001 (swap_endianness_p): New variable.
32002 (add_locale_uint32): Call maybe_swap_uint32.
32003 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32004 (write_locale_data): Call maybe_swap_uint32_array.
32005 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32006 maybe_swap_uint32.
32007 (obstack_int32_grow_fast): Likewise.
32008 (output_weightwc): Call maybe_swap_uint32_obstack.
32009 (collate_output): Likewise.
32010 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32011 (OPT_LITTLE_ENDIAN): Likewise.
32012 (options): Add --little-endian and --big-endian options.
32013 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32014 * locale/programs/locarchive.c: Include "locfile.h".
32015 (GET): New macro.
32016 (SET): Likewise.
32017 (INC): Likewise.
32018 (create_archive): Use the new macros to access fields of
32019 structures directly mapped from or written to locale archives.
32020 (oldlocrecentcmp): Likewise.
32021 (enlarge_archive): Likewise.
32022 (insert_name): Likewise.
32023 (add_alias): Likewise.
32024 (add_locale): Likewise.
32025 (delete_locales_from_archive): Likewise.
32026 (show_archive_content): Likewise.
32027 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32028 locale data.
32029
32030 2013-09-24 Roland McGrath <roland@hack.frob.com>
32031
32032 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32033 http://www.gnu.org/doc/freemanuals.texi.
32034 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32035
32036 2013-09-24 Will Newton <will.newton@linaro.org>
32037
32038 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32039 macro.
32040
32041 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32042
32043 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32044 unsigned char.
32045
32046 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32047
32048 * manual/threads.texi (POSIX Threads): Fix a typo.
32049
32050 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32051
32052 [BZ #14547]
32053 * string/tst-strcoll-overflow.c: New test case.
32054 * string/Makefile (xtests): Add tst-strcoll-overflow.
32055 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32056 cache if string sizes may cause integer overflow.
32057
32058 [BZ #14547]
32059 * string/strcoll_l.c (coll_seq): New members rule, idx,
32060 save_idx and back_us.
32061 (get_next_seq_nocache): New function.
32062 (do_compare_nocache): New function.
32063 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32064 when malloc fails.
32065
32066 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32067
32068 [BZ #15754]
32069 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32070 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32071 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32072
32073 [BZ #15754]
32074 * elf/Makefile (tests): Add tst-ptrguard1.
32075 (tests-static): Add tst-ptrguard1-static.
32076 (tst-ptrguard1-ARGS): Define.
32077 (tst-ptrguard1-static-ARGS): Define.
32078 * elf/tst-ptrguard1.c: New file.
32079 * elf/tst-ptrguard1-static.c: New file.
32080 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32081 * sysdeps/i386/stackguard-macros.h: Likewise.
32082 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32083 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32084 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32085 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32086 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32087 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32088
32089 2013-09-23 Hector Marco <hecmargi@upv.es>
32090 Ismael Ripoll <iripoll@disca.upv.es>
32091 Carlos O'Donell <carlos@redhat.com>
32092
32093 [BZ #15754]
32094 * sysdeps/generic/stackguard-macros.h: Define
32095 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32096 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32097 Define __pointer_chk_guard_local.
32098 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32099 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32100
32101 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32102
32103 [BZ #15859]
32104 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32105
32106 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32107
32108 * include/string.h (__ffs): Declare as hidden.
32109 * string/ffs.c (__ffs): Define as hidden.
32110 * sysdeps/i386/ffs.c (__ffs): Likewise.
32111 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32112 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32113 * sysdeps/s390/ffs.c (__ffs): Likewise.
32114 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32115
32116 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32117
32118 * NEWS: Mention malloc probes.
32119
32120 * malloc/arena.c (new_heap): New memory_heap_new probe.
32121 (grow_heap): New memory_heap_more probe.
32122 (shrink_heap): New memory_heap_less probe.
32123 (heap_trim): New memory_heap_free probe.
32124 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32125 (systrim): New memory_sbrk_less probe.
32126 * manual/probes.texi: Document them.
32127
32128 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32129 * manual/probes.texi: Document it.
32130
32131 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32132 (__libc_realloc): Add memory_realloc_retry probe.
32133 (__libc_memalign): Add memory_memalign_retry probe.
32134 (__libc_valloc): Add memory_valloc_retry probe.
32135 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32136 (__libc_calloc): Add memory_calloc_retry probe.
32137 * manual/probes.texi: Document them.
32138
32139 * malloc/arena.c (get_free_list): Add probe
32140 memory_arena_reuse_free_list.
32141 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32142 and memory_arena_reuse.
32143 (arena_get2) [!PER_THREAD]: Likewise.
32144 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32145 memory_arena_reuse_realloc.
32146 * manual/probes.texi: Document them.
32147
32148 * malloc/malloc.c (__libc_free): Add
32149 memory_mallopt_free_dyn_thresholds probe.
32150 (__libc_mallopt): Add multiple memory_mallopt probes.
32151 * manual/probes.texi: Document them.
32152
32153 * malloc/malloc.c: Include stap-probe.h.
32154 (__libc_mallopt): Add memory_mallopt probe.
32155 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32156 * manual/probes.texi: New.
32157 * manual/Makefile (chapters): Add probes.
32158 * manual/threads.texi: Set next node.
32159
32160 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32161
32162 [BZ #15963, #13985]
32163 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32164 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32165 Add `Chinese' to `nan' entry name.
32166
32167 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32168
32169 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32170 (POLYNOMIAL): Likewise.
32171 (TAYLOR_SINCOS): Likewise.
32172 (TAYLOR_SLOW): Likewise.
32173 (__sin): Use TAYLOR_SINCOS.
32174 (__cos): Likewise.
32175 (slow): Use TAYLOR_SLOW.
32176 (sloww): Likewise.
32177 (bsloww): Likewise.
32178 (csloww): Likewise.
32179
32180 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32181
32182 * stdlib/strtod_l.c: Fix buffer overrun.
32183
32184 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32185
32186 * benchtests/Makefile (bench): Add sincos.
32187 * benchtests/bench-sincos.c: New file.
32188
32189 * math/libm-test.inc (cos_test_data): New test inputs.
32190 (sin_test_data): Likewise.
32191
32192 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32193 macro.
32194 (__sin): Use it.
32195 (__cos): Likewise.
32196 (slow1): Likewise.
32197 (slow2): Likewise.
32198 (sloww1): Likewise.
32199 (sloww2): Likewise.
32200 (bsloww1): Likewise.
32201 (bsloww2): Likewise.
32202 (cslow2): Likewise.
32203 (csloww1): Likewise.
32204 (csloww2): Likewise.
32205
32206 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32207 function.
32208 (__sin): Use it.
32209 (__cos): Likewise.
32210
32211 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32212 gotos.
32213 (__cos): Likewise.
32214
32215 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32216
32217 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32218 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32219 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32220 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32221 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32222 * elf/cache.c (print_entry): Handle the new cache flags.
32223
32224 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32225 Aldy Hernandez <aldyh@redhat.com>
32226
32227 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32228 Change condition to [_SOFT_FLOAT].
32229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32241 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32244 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32245 declaration.
32246
32247 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32248
32249 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32250 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32251 (__longjmp): Use LOAD_GP to load saved GPRs.
32252 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32253 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32254 (__sigsetjmp): Use SAVE_GP to save GPRs.
32255
32256 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32257 Do not append -msoft-float.
32258 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32259
32260 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32261
32262 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32263
32264 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32265
32266 [BZ #15966]
32267 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32268 (_FPU_GETCW): Use initial "__" on variable and field names but not
32269 on macro parameter name.
32270 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32271 parentheses around reference to macro parameter.
32272
32273 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32274
32275 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32276 prototype.
32277 (ctype_startup): Use uint32_t in cast and sizeof for
32278 ctype->charnames.
32279
32280 2013-09-11 Jia Liu <proljc@gmail.com>
32281
32282 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32283 __daddr_t_defined.
32284 [__FreeBSD__]: Likewise.
32285
32286 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32287
32288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32289 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32290 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32291 (strchr): Remove __strchr_sse42 ifunc selection.
32292 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32293 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32294
32295 2013-09-11 Will Newton <will.newton@linaro.org>
32296
32297 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32298 parameter to RES. Remove hardcoded 1000 value.
32299 * benchtests/bench-skeleton.c (main): Pass RES parameter
32300 to TIMING_INIT and multiply result by 1000.
32301
32302 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32303
32304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32305
32306 2013-09-11 Andreas Schwab <schwab@suse.de>
32307
32308 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32309 if not defined.
32310 (O_TMPFILE) [__USE_GNU]: Define.
32311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32312 Define.
32313
32314 2013-09-11 Will Newton <will.newton@linaro.org>
32315
32316 [BZ #15857]
32317 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32318 does not overflow.
32319
32320 2013-09-11 Will Newton <will.newton@linaro.org>
32321
32322 [BZ #15856]
32323 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32324 does not overflow.
32325
32326 2013-09-11 Will Newton <will.newton@linaro.org>
32327
32328 [BZ #15855]
32329 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32330 does not overflow.
32331
32332 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32333
32334 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32335 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32336 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32337 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32338 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32339
32340 2013-09-10 Allan McRae <allan@archlinux.org>
32341
32342 [BZ #15748]
32343 * manual/arith.texi (Parsing of Floats): Clarify
32344 cross-reference.
32345
32346 [BZ #15849]
32347 * manual/install.texi (Running make install): Mention
32348 --enable-pt-chown.
32349 * INSTALL: Regenerated.
32350
32351 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32352
32353 * csu/init-first.c (_init): Remove the !SHARED condition around
32354 FPU control word initialization.
32355 * elf/dl-support.c (_dl_fpu_control): New variable.
32356 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32357 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32358 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32359 * math/test-fpucw-static.c: New file.
32360 * math/test-fpucw-ieee.c: New file.
32361 * math/test-fpucw-ieee-static.c: New file.
32362 * math/Makefile (tests): Add `test-fpucw-ieee' and
32363 `$(tests-static)'.
32364 (tests-static): New variable.
32365 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32366 dependency to...
32367 [($(build-shared),yes)]
32368 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32369 ... this.
32370 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32371 New dependency.
32372
32373 2013-09-09 Allan McRae <allan@archlinux.org>
32374
32375 [BZ #15939]
32376 * manual/string.texi (Collation Functions): Fix typo in
32377 strcoll example.
32378 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32379
32380 [BZ #15893]
32381 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32382
32383 [BZ #15892]
32384 * libio/memstream.c (open_memstream): Fix memory leak.
32385 * libio/wmemstream.c (open_wmemstream): Likewise.
32386
32387 [BZ #15895]
32388 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32389
32390 2013-09-09 Will Newton <will.newton@linaro.org>
32391
32392 * malloc/Makefile: Add tst-realloc to tests.
32393 * malloc/tst-realloc.c: New file.
32394
32395 2013-09-09 Allan McRae <allan@archlinux.org>
32396
32397 [BZ #15844]
32398 * COPYING: Update from GNU website to fix FSF address.
32399 * COPYING.LIB: Likewise.
32400
32401 2013-09-06 David S. Miller <davem@davemloft.net>
32402
32403 * po/zh_TW.po: Update Chinese (traditional) translation from
32404 translation project.
32405
32406 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32407 Joseph Myers <joseph@codesourcery.com>
32408
32409 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32410 "localeinfo.h".
32411 (obstack_chunk_alloc): New macro.
32412 (obstack_chunk_free): Likewise.
32413 (record_offset): New function.
32414 (init_locale_data): Likewise.
32415 (align_locale_data): Likewise.
32416 (add_locale_empty): Likewise.
32417 (add_locale_raw_data): Likewise.
32418 (add_locale_raw_obstack): Likewise.
32419 (add_locale_string): Likewise.
32420 (add_locale_wstring): Likewise.
32421 (add_locale_uint32): Likewise.
32422 (add_locale_uint32_array): Likewise.
32423 (add_locale_char): Likewise.
32424 (start_locale_structure): Likewise.
32425 (end_locale_structure): Likewise.
32426 (start_locale_prelude): Likewise.
32427 (end_locale_prelude): Likewise.
32428 (write_locale_data): Take locale_file structure rather than an
32429 iovec.
32430 * locale/programs/locfile.h: Include "obstack.h".
32431 (struct locale_file): Change to store locale file contents instead
32432 of header.
32433 (init_locale_data): New prototype.
32434 (align_locale_data): Likewise.
32435 (add_locale_empty): Likewise.
32436 (add_locale_raw_data): Likewise.
32437 (add_locale_raw_obstack): Likewise.
32438 (add_locale_string): Likewise.
32439 (add_locale_wstring): Likewise.
32440 (add_locale_uint32): Likewise.
32441 (add_locale_uint32_array): Likewise.
32442 (add_locale_char): Likewise.
32443 (start_locale_structure): Likewise.
32444 (end_locale_structure): Likewise.
32445 (start_locale_prelude): Likewise.
32446 (end_locale_prelude): Likewise.
32447 (write_locale_data): Update prototype.
32448 * locale/programs/3level.h (struct TABLE): Remove result field.
32449 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32450 Use new locale_file interface.
32451 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32452 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32453 * locale/programs/ld-address.c (address_output): Use new
32454 locale_file interface.
32455 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32456 NO_ADD_LOCALE.
32457 (collate_finish): Don't call collseq_table_finalize.
32458 (collate_output): Use new locale_file interface.
32459 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32460 in file.
32461 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32462 (TABLE): Move defines earlier in file.
32463 (ELEMENT): Likewise.
32464 (DEFAULT): Likewise.
32465 (wctrans_table_add): Move macro and inline function earlier in
32466 file.
32467 (struct wctype_table): Move type earlier in file.
32468 (add_locale_wctype_table): New static prototype.
32469 (struct locale_ctype_t): Use logical types instead of struct iovec
32470 pointers for members.
32471 (ctype_output): Use new locale_file interface.
32472 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32473 new locale_file interface.
32474 (allocate_arrays): Update for use of new locale_file interface.
32475 * locale/programs/ld-identification.c (identification_output): Use
32476 new locale_file interface.
32477 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32478 * locale/programs/ld-messages.c (messages_output): Likewise.
32479 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32480 * locale/programs/ld-name.c (name_output): Likewise.
32481 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32482 * locale/programs/ld-paper.c (paper_output): Likewise.
32483 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32484 * locale/programs/ld-time.c (time_output): Likewise.
32485
32486 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32487
32488 * benchtests/Makefile: Add memrchr benchmark.
32489 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32490 benchmark as memrchr.
32491 * benchtests/bench-memrchr-ifunc.c: New file.
32492 * benchtests/bench-memrchr.c: New file.
32493
32494 2013-09-06 Will Newton <will.newton@linaro.org>
32495
32496 * benchtests/Makefile (string-bench): Add memcpy.
32497
32498 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32499 Cong Wang <amwang@redhat.com>
32500
32501 [BZ #15850]
32502 * sysdeps/unix/sysv/linux/bits/in.h
32503 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32504 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32505 before __USE_KERNEL_IPV6_DEFS uses.
32506 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32507 IPPROTO_BEETPH.
32508 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32509 sockaddr_in6, or ipv6_mreq.
32510
32511 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32512
32513 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32514 memory access for final bytes in some large inputs.
32515 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32516
32517 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32518
32519 * string/test-memrchr.c: New file.
32520 * string/test-memrchr-ifunc.c: New file.
32521 * string/Makefile: Add new memrchr testcase.
32522
32523 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32524
32525 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32526 fanotify_init returns EPERM.
32527
32528 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32529
32530 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32531 errors.
32532 (top level): Treat second token from macro or constant entries for
32533 allowed headers as allowed.
32534 * include/complex.h: Condition internal declarations on
32535 [!_ISOMAC].
32536 * include/fenv.h: Condition include of <stdbool.h> and internal
32537 declarations on [!_ISOMAC].
32538
32539 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32540
32541 [BZ #15923]
32542 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32543
32544 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32545
32546 * configure.in (--enable-versioning): Remove configure option.
32547 (libc_cv_asm_symver_directive): Remove configure test.
32548 (libc_cv_ld_version_script_option): Likewise.
32549 (VERSIONING): Remove variable and AC_SUBST.
32550 (DO_VERSIONING): Remove AC_DEFINE.
32551 * configure: Regenerated.
32552 * config.h.in (DO_VERSIONING): Remove macro.
32553 * Makerules [$(versioning) = yes]: Change conditionals to
32554 [$(build-shared) = yes].
32555 * config.make.in (versioning): Remove variable.
32556 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32557 [$(build-shared) = yes].
32558 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32559 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32560 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32561 [$(build-shared) = yes].
32562 * extra-lib.mk [$(versioning) = yes]: Likewise.
32563 * hurd/Makefile [$(versioning) = yes]: Likewise.
32564 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32565 [SHARED].
32566 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32567 [SHARED].
32568 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32569 [SHARED && !NO_HIDDEN].
32570 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32571 [SHARED].
32572 [SHARED && DO_VERSIONING]: Likewise..
32573 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32574 [$(build-shared) = yes].
32575 * manual/install.texi (--disable-versioning): Remove
32576 documentation.
32577 * INSTALL: Regenerated.
32578 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32579 to [SHARED].
32580 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32581 [$(build-shared) = yes].
32582 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32583 * sysdeps/i386/i686/multiarch/strstr-c.c
32584 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32585 [SHARED && !NO_HIDDEN].
32586 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32587 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32588 * sysdeps/powerpc/powerpc32/dl-machine.c
32589 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32590 * sysdeps/powerpc/powerpc32/sysdep.h
32591 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32592 to [SHARED && PIC && !NO_HIDDEN].
32593 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32594 conditional to [SHARED].
32595
32596 2013-09-04 Will Newton <will.newton@linaro.org>
32597
32598 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32599 * benchtests/bench-string.h: Include bench-timing.h instead
32600 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32601 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32602 call to HP_TIMING_DIFF_INIT.
32603 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32604 instead of hp-timing.h macros.
32605 * benchtests/bench-memchr.c: Likewise.
32606 * benchtests/bench-memcmp.c: Likewise.
32607 * benchtests/bench-memcpy.c: Likewise.
32608 * benchtests/bench-memmem.c: Likewise.
32609 * benchtests/bench-memmove.c: Likewise.
32610 * benchtests/bench-memset.c: Likewise.
32611 * benchtests/bench-rawmemchr.c: Likewise.
32612 * benchtests/bench-strcasecmp.c: Likewise.
32613 * benchtests/bench-strcasestr.c: Likewise.
32614 * benchtests/bench-strcat.c: Likewise.
32615 * benchtests/bench-strchr.c: Likewise.
32616 * benchtests/bench-strcmp.c: Likewise.
32617 * benchtests/bench-strcpy.c: Likewise.
32618 * benchtests/bench-strcpy_chk.c: Likewise.
32619 * benchtests/bench-strlen.c: Likewise.
32620 * benchtests/bench-strncasecmp.c: Likewise.
32621 * benchtests/bench-strncat.c: Likewise.
32622 * benchtests/bench-strncmp.c: Likewise.
32623 * benchtests/bench-strncpy.c: Likewise.
32624 * benchtests/bench-strnlen.c: Likewise.
32625 * benchtests/bench-strpbrk.c: Likewise.
32626 * benchtests/bench-strrchr.c: Likewise.
32627 * benchtests/bench-strspn.c: Likewise.
32628 * benchtests/bench-strstr.c: Likewise.
32629
32630 2013-09-04 Will Newton <will.newton@linaro.org>
32631
32632 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32633
32634 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32635
32636 [BZ #15427]
32637 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32638 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32639 * math/libm-test.inc (lgamma_test_data): Add more tests.
32640 * sysdeps/i386/fpu/libm-test-ulps: Update.
32641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32642
32643 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32644
32645 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32647 Add ifunc.
32648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32649 Add strcmp-sse2-unaligned
32650 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32651
32652 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32653
32654 * Versions.def (libc): Add GLIBC_2.19.
32655
32656 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32657
32658 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32659 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32660
32661 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32662
32663 [BZ #14155]
32664 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32665 intermediate calculations in recurrence.
32666 (__ieee754_ynf): Likewise.
32667 * math/libm-test.inc (jn_test_data): Do not allow spurious
32668 underflow exception. Add more tests.
32669 (yn_test_data): Add more tests.
32670 * sysdeps/i386/fpu/libm-test-ulps: Update.
32671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32672
32673 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32674
32675 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32676
32677 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32678
32679 * csu/init-first.c: Fix then/than typos.
32680 * locale/programs/ld-collate.c: Likewise.
32681 * locale/programs/linereader.h: Likewise.
32682 * manual/charset.texi: Likewise.
32683 * manual/filesys.texi: Likewise.
32684 * manual/stdio.texi: Likewise.
32685 * manual/string.texi: Likewise.
32686 * stdlib/fmtmsg.c: Likewise.
32687 * sysdeps/i386/stpncpy.S: Likewise.
32688 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32689 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32690 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32691 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32692
32693 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32694
32695 * elf/dl-open.c: Fix typos.
32696 * iconvdata/gbbig5.c: Likewise.
32697 * iconvdata/iso-2022-jp.c: Likewise.
32698 * iconv/gconv_int.h: Likewise.
32699 * iconv/loop.c: Likewise.
32700 * nis/rpcsvc/nis.h: Likewise.
32701 * resolv/ns_name.c: Likewise.
32702 * stdio-common/vfscanf.c: Likewise.
32703 * streams/stropts.h: Likewise.
32704 * sunrpc/rpc_thread.c: Likewise.
32705 * sysdeps/i386/strpbrk.S: Likewise.
32706 * sysdeps/ieee754/k_standard.c: Likewise.
32707 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32708 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32709 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32710 * sysdeps/mach/hurd/profil.c: Likewise.
32711 * sysdeps/s390/dl-procinfo.h: Likewise.
32712 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32713 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32714 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32715 * sysdeps/x86_64/dl-trampoline.S: Likewise.
32716 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32717
32718 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32719
32720 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32722
32723 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32724
32725 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32726 aix specific files.
32727 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32728 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32729 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32730 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32731 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32732 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32733 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32734 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32735
32736 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32737 Roland McGrath <roland@hack.frob.com>
32738
32739 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32740 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32741
32742 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
32743
32744 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32745 __executable_start symbol instead of _start.
32746
32747 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
32748
32749 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32750 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32751 Move macros to...
32752 * sysdeps/gnu/ldsodefs.h: ... this new file.
32753
32754 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32755 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32756 instead of ELFOSABI_LINUX.
32757
32758 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32759 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32760 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32761 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32762 Likewise.
32763 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32764 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32765 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32766 Likewise.
32767 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32768 (ibm_extended_long_double): Add ieee_nan member.
32769 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32770 (do_test): New function.
32771
32772 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32773 TEST_TRUNC.
32774 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32775 functions, renamed from truncdfsf_test, trunctfsf_test,
32776 trunctfdf_test.
32777 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32778 functions.
32779 (do_test): Run all these.
32780
32781 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
32782
32783 * argp/argp-help.c: Fix typos.
32784 * argp/argp-parse.c: Likewise.
32785 * debug/backtracesyms.c: Likewise.
32786 * elf/elf.h: Likewise.
32787 * malloc/malloc.c: Likewise.
32788 * nis/nis_print.c: Likewise.
32789 * resolv/res_comp.c: Likewise.
32790 * stdlib/stdlib.h: Likewise.
32791 * sunrpc/clnt_tcp.c: Likewise.
32792 * sunrpc/clnt_udp.c: Likewise.
32793 * sunrpc/clnt_unix.c: Likewise.
32794 * sysdeps/unix/bsd/ptsname.c: Likewise.
32795 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32796 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32798 Likewise.
32799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32800 Likewise.
32801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32802 Likewise.
32803 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32804
32805 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32806
32807 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32809
32810 2013-08-27 Mike Frysinger <vapier@gentoo.org>
32811
32812 [BZ #15897]
32813 * dlfcn/Makefile (tests): Add bug-dl-leaf.
32814 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32815 ($(objpfx)bug-dl-leaf): New rule.
32816 ($(objpfx)bug-dl-leaf.so): Likewise.
32817 ($(objpfx)bug-dl-leaf.out): Likewise.
32818 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32819 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32820 * dlfcn/bug-dl-leaf.c: New test.
32821 * dlfcn/bug-dl-leaf-lib.c: Likewise.
32822 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32823 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32824 (dlclose): Likewise.
32825 (dlmopen): Likewise.
32826
32827 2013-08-27 Roland McGrath <roland@hack.frob.com>
32828
32829 * include/netdb.h [!_ISOMAC]:
32830 Don't include <tls.h>.
32831 (h_errno, __libc_h_errno): Move declaration and macros out of
32832 [_LIBC_REENTRANT].
32833
32834 * include/resolv.h [_RESOLV_H_]:
32835 Don't include <tls.h>.
32836 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32837 * resolv/res_libc.c: Don't include <tls.h>.
32838 (_res): Use __attribute__ ((nocommon)) in place of
32839 __attribute__ ((section (".bss"))).
32840
32841 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32842 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32843
32844 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32845
32846 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32847 only under [SIOCGIFCONF && SIOCGIFNETMASK].
32848
32849 * resolv/res_mkquery.c: Include <sys/time.h>.
32850
32851 * inet/ifreq.c: Moved to ...
32852 * sysdeps/unix/ifreq.c: ... here.
32853 * inet/ifreq.c: New file, true stub version.
32854
32855 * socket/sa_len.c: New file.
32856 * socket/Makefile (aux): Add it.
32857 * sysdeps/unix/sysv/linux/Makefile
32858 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32859 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32860 and #include <socket/sa_len.c>.
32861 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32862 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32863
32864 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32865 * bits/socket.h: ... here.
32866
32867 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32868 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32869 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32870
32871 2013-08-27 Andreas Schwab <schwab@suse.de>
32872
32873 [BZ #15736]
32874 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32875 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32876 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32877 * string/test-strcasecmp.c (test_main): Run tests in several
32878 locales.
32879 * string/test-strncasecmp.c (test_main): Likewise.
32880
32881 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32882 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32883 to __strcasecmp_nonascii and __strncasecmp_nonascii.
32884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32885 (__strncasecmp_ssse3) [PIC]: Likewise.
32886
32887 2013-08-26 Roland McGrath <roland@hack.frob.com>
32888
32889 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32890
32891 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32892 instead of explicitly declaring xdecrypt.
32893 * nis/nss_nis/nis-publickey.c: Likewise.
32894
32895 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32896
32897 [BZ #15890]
32898 * nscd/aicache.c: Include res_hconf.h.
32899 (addhstaiX): Initialize res_hconf.
32900
32901 2013-08-26 Andreas Schwab <schwab@suse.de>
32902
32903 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32904 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32905
32906 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32907
32908 * nscd/aicache.c (addhstaiX): Fix indentation.
32909
32910 2013-08-25 Mike Frysinger <vapier@gentoo.org>
32911
32912 * configure.ac: Quote $build_pt_chown test.
32913 * configure: Regenerated.
32914
32915 2013-08-23 Joseph Myers <joseph@codesourcery.com>
32916
32917 [BZ #15532]
32918 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
32919 * math/s_cexpf.c (__cexpf): Likewise.
32920 * math/s_cexpl.c (__cexpl): Likewise.
32921 * math/libm-test.inc (cexp_test_data): Correct expected return
32922 value for NaN + i0. Add another test.
32923
32924 2013-08-22 David S. Miller <davem@davemloft.net>
32925
32926 * po/ca.po: Update Catalan translation from translation project.
32927 * po/uk.po: Add Ukrainian translations from translation project.
32928
32929 2013-08-21 Joseph Myers <joseph@codesourcery.com>
32930
32931 [BZ #15797]
32932 * math/s_fdim.c (__fdim): Check for infinite arguments if result
32933 is infinite, not alongside NaN test.
32934 * math/s_fdimf.c (__fdimf): Likewise.
32935 * math/s_fdiml.c (__fdiml): Likewise.
32936 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
32937 errno is unchanged.
32938
32939 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
32940
32941 * argp/argp-help.c: Fix typos.
32942 * crypt/speeds.c: Likewise.
32943 * csu/check_fds.c: Likewise.
32944 * elf/dl-load.c: Likewise.
32945 * elf/dl-open.c: Likewise.
32946 * elf/reldep3.c: Likewise.
32947 * elf/reldep.c: Likewise.
32948 * elf/sprof.c: Likewise.
32949 * iconv/iconv_charmap.c: Likewise.
32950 * iconv/skeleton.c: Likewise.
32951 * iconv/strtab.c: Likewise.
32952 * io/lockf64.c: Likewise.
32953 * libio/libioP.h: Likewise.
32954 * resolv/gai_notify.c: Likewise.
32955 * resolv/ns_name.c: Likewise.
32956 * resolv/ns_samedomain.c: Likewise.
32957 * resolv/res_send.c: Likewise.
32958 * stdlib/random.c: Likewise.
32959 * sunrpc/rpc/xdr.h: Likewise.
32960 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
32961 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32962 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32963 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32964 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32965 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32966 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32968 * sysdeps/mach/hurd/check_fds.c: Likewise.
32969 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32970 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32971 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32972 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32973 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32974 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32975 * sysdeps/pthread/aio_notify.c: Likewise.
32976 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
32977 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
32978 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
32979 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32980 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
32981
32982 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32983
32984 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
32985 version if bit_Slow_SSE4_2 is set.
32986 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32987 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32988
32989 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32990
32991 [BZ #15867]
32992 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
32993 trampoline stack frame information.
32994 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
32995 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
32996 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
32997 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
32998 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
32999 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33000 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33001 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33002 sa_flags value.
33003 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33004 interrupting a syscall and set with option SA_SIGINFO.
33005
33006 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33007
33008 [BZ #15531]
33009 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33010 argument is infinite.
33011 * math/s_cprojf.c (__cprojf): Likewise.
33012 * math/s_cprojl.c (__cprojl): Likewise.
33013 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33014 * math/libm-test.inc (cproj_test_data): Add more tests.
33015
33016 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33017
33018 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33019 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33020 size. Use __ffs to determine corresponding shift.
33021
33022 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33023 Roland McGrath <roland@hack.frob.com>
33024
33025 * Makefile (INSTALL): Remove trailing blank lines from output of
33026 makeinfo.
33027
33028 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33029
33030 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33031 Align 32 bit compat elf_greg to 8 bytes.
33032
33033 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33034
33035 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33036
33037 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33038
33039 * string/strcoll_l.c (coll_seq): New structure.
33040 (get_next_seq_cached): New function.
33041 (get_next_seq): New function.
33042 (do_compare): New function.
33043 (STRCOLL): Use GNU style definition. Simplify implementation
33044 by using get_next_seq, get_next_seq_cached and do_compare.
33045
33046 2013-08-16 Florian Weimer <fweimer@redhat.com>
33047
33048 [BZ #14699]
33049 CVE-2013-4237
33050 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33051 member.
33052 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33053 member.
33054 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33055 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33056 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33057 conditional.
33058 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33059 GETDENTS_64BIT_ALIGNED.
33060 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33061 * manual/filesys.texi (Reading/Closing Directory): Document
33062 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33063 strongly.
33064 * manual/conf.texi (Limits for Files): Add portability note to
33065 NAME_MAX, PATH_MAX.
33066 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33067
33068 2013-08-13 Andreas Schwab <schwab@suse.de>
33069
33070 [BZ #15749]
33071 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33072 of fabs.
33073 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33074 LDBL_MAX_EXP >= 16384]: Add tests for it.
33075
33076 2013-08-12 David S. Miller <davem@davemloft.net>
33077
33078 * version.h (RELEASE): Set to "development".
33079 (VERSION): Set to "2.18.90".
33080 * NEWS: Add 2.19 section.
33081
33082 2013-08-03 David S. Miller <davem@davemloft.net>
33083
33084 * po/ko.po: Update Korean translation from translation project.
33085
33086 2013-08-01 David S. Miller <davem@davemloft.net>
33087
33088 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33089 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33090 Bilka.
33091
33092 2013-07-30 David S. Miller <davem@davemloft.net>
33093
33094 * po/fr.po: Update French translation from translation project.
33095
33096 2013-07-28 David S. Miller <davem@davemloft.net>
33097
33098 * po/cs.po: Update Czech translation from translation project.
33099
33100 * po/sv.po: Update Swedish translation from translation project.
33101
33102 2013-07-27 David S. Miller <davem@davemloft.net>
33103
33104 * po/eo.po: Update Esperanto translation from translation project.
33105
33106 * po/vi.po: Update Vietnamese translation from translation project.
33107
33108 * po/de.po: Update German translation from translation project.
33109
33110 2013-07-26 David S. Miller <davem@davemloft.net>
33111
33112 * po/bg.po: Update Bulgarian translation from translation project.
33113
33114 * po/nl.po: Update Dutch translation from translation project.
33115 * po/pl.po: Update Polish translation from translation project.
33116 * po/ru.po: Update Russian translation from translation project.
33117
33118 2013-07-24 David S. Miller <davem@davemloft.net>
33119
33120 * po/libc.pot: Update.
33121
33122 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33123
33124 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33125 variable page size.
33126 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33127 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33128 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33129
33130 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33131
33132 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33133
33134 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33135 Andreas Schwab <schwab@suse.de>
33136 Roland McGrath <roland@hack.frob.com>
33137 Joseph Myers <joseph@codesourcery.com>
33138 Carlos O'Donell <carlos@redhat.com>
33139
33140 [BZ #15755]
33141 * config.h.in: Define HAVE_PT_CHOWN.
33142 * config.make.in (build-pt-chown): New variable.
33143 * configure.in (--enable-pt_chown): New configure option.
33144 * configure: Regenerate.
33145 * login/Makefile: Include Makeconfig. Build pt_chown only if
33146 build-pt-chown is enabled.
33147 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33148 pt_chown to fix pty ownership.
33149 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33150 CLOSE_ALL_FDS.
33151 * manual/install.texi (Configuring and compiling): Mention
33152 --enable-pt_chown. Add @findex for grantpt.
33153 * INSTALL: Regenerate.
33154
33155 2013-07-20 David S. Miller <davem@davemloft.net>
33156
33157 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33158 difference between 32-bit and 64-bit.
33159
33160 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33161
33162 [BZ #15711]
33163 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33164 Avoid system header dependency with -ffreestanding.
33165 ($(objpfx)bits/syscall%d): Likewise.
33166
33167 2013-07-13 David S. Miller <davem@davemloft.net>
33168
33169 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33170 underflows from atanl/atan2l due to bug 15319.
33171 (casinh_test_data): Likewise.
33172
33173 2013-07-07 David S. Miller <davem@davemloft.net>
33174
33175 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33176
33177 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33178
33179 * sysdeps/i386/fpu/libm-test-ulps: Update.
33180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33181
33182 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33183
33184 * configure.in (--enable-lock-elision): Fix message text.
33185 * INSTALL: Regenerate.
33186 * configure: Regenerate.
33187
33188 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33189
33190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33191
33192 2013-07-03 Andreas Jaeger <aj@suse.de>
33193
33194 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33195 define.
33196 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33197 (ptrace_peeksiginfo_args): Add.
33198 (__ptrace_peeksiginfo_flags): Add.
33199 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33200 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33201 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33202
33203 2013-07-03 Allan McRae <allan@archlinux.org>
33204
33205 * sysdeps/i386/fpu/libm-test-ulps: Update.
33206
33207 2013-07-02 David S. Miller <davem@davemloft.net>
33208
33209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33210
33211 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33212
33213 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33214
33215 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33216
33217 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33219
33220 2013-07-02 Andi Kleen <ak@linux.intel.com>
33221
33222 * config.h.in (ENABLE_LOCK_ELISION): Add.
33223 * configure.in (--enable-lock-elision): Add option.
33224 * manual/install.texi: Document --enable lock elision.
33225 * configure: Regenerate
33226 * INSTALL: Regenerate.
33227
33228 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33229
33230 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33231 SSE4.2 strcasecmp for libc.a.
33232 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33233
33234 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33235
33236 [BZ #13304]
33237 * soft-fp/op-common.h (_FP_FMA): New macro.
33238 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33239 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33240 (_FP_MUL_MEAT_1_imm): ... here.
33241 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33242 (_FP_MUL_MEAT_1_wide): ... here.
33243 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33244 (_FP_MUL_MEAT_1_hard): ... here.
33245 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33246 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33247 (_FP_MUL_MEAT_2_wide): ... here.
33248 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33249 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33250 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33251 (_FP_MUL_MEAT_2_gmp): ... here.
33252 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33253 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33254 (_FP_MUL_MEAT_4_wide): ... here.
33255 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33256 (_FP_MUL_MEAT_4_gmp): ... here.
33257 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33258 (_FP_WFRACBITS_DW_S): Likewise.
33259 (_FP_WFRACXBITS_DW_S): Likewise.
33260 (_FP_HIGHBIT_DW_S): Likewise.
33261 (FP_FMA_S): Likewise.
33262 (_FP_FRAC_HIGH_DW_S): Likewise.
33263 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33264 (_FP_WFRACBITS_DW_D): Likewise.
33265 (_FP_WFRACXBITS_DW_D): Likewise.
33266 (_FP_HIGHBIT_DW_D): Likewise.
33267 (FP_FMA_D): Likewise.
33268 (_FP_FRAC_HIGH_DW_D): Likewise.
33269 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33270 (_FP_WFRACBITS_DW_E): Likewise.
33271 (_FP_WFRACXBITS_DW_E): Likewise.
33272 (_FP_HIGHBIT_DW_E): Likewise.
33273 (FP_FMA_E): Likewise.
33274 (_FP_FRAC_HIGH_DW_E): Likewise.
33275 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33276 (_FP_WFRACBITS_DW_Q): Likewise.
33277 (_FP_WFRACXBITS_DW_Q): Likewise.
33278 (_FP_HIGHBIT_DW_Q): Likewise.
33279 (FP_FMA_Q): Likewise.
33280 (_FP_FRAC_HIGH_DW_Q): Likewise.
33281 * soft-fp/fmasf4.c: New file.
33282 * soft-fp/fmadf4.c: Likewise.
33283 * soft-fp/fmatf4.c: Likewise.
33284
33285 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33286
33287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33288 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33289 Silvermont.
33290 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33291 macro.
33292 (index_Slow_SSE4_2): Likewise.
33293 (index_Prefer_PMINUB_for_stringop): Likewise.
33294 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33295 bit_Slow_SSE4_2 is set.
33296 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33297 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33298
33299 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33300
33301 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33302 rtld_global._dl_hwcap2.
33303 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33304 POWER8.
33305 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33306 POWER8 feature descriptions defined in _dl_hwcap2.
33307 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33308 string handling for POWER8 feature bits.
33309 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33310 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33311 _dl_powerpc_cap_flags.
33312 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33313 * sysdeps/powerpc/rtld-global-offsets.sym
33314 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33315 _dl_hwcap2 in the rtld_global_ro structure.
33316
33317 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33318
33319 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33320 hardware capabilities in support of AT_HWCAP2.
33321 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33322 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33323 GLRO(dl_hwcap2).
33324 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33325 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33326 explicitly the unknown a_type display mechanism is used.
33327 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33328 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33329 struct member.
33330 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33331 to macro prototype for AT_HWCAP2 support.
33332 * sysdeps/i386/dl-procinfo.h: Likewise.
33333 * sysdeps/s390/dl-procinfo.h: Likewise.
33334 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33335 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33336 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33337 return -1 for unknown a_type display fallback.
33338 * sysdeps/sparc/dl-procinfo.h: Likewise.
33339 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33340 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33341
33342 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33343
33344 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33345 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33346
33347 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33348
33349 [BZ #12492]
33350 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33351 mprotect making __stack_prot writable.
33352
33353 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33354 Joseph Myers <joseph@codesourcery.com>
33355
33356 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33357 as being properly aligned.
33358
33359 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33360
33361 * dlfcn/modstatic5.c: New file.
33362 * dlfcn/tststatic5.c: New file.
33363 * dlfcn/Makefile (tests): Add tststatic5.
33364 (tests-static): Likewise.
33365 (modules-names): Add modstatic5.
33366 (tststatic5-ENV): New variable.
33367 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33368
33369 [BZ #15022]
33370 * elf/dl-support.c (_dl_main_map): New variable.
33371 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33372 (_dl_nns, _dl_load_adds): Set to 1.
33373 (_dl_initial_searchlist): Refer to _dl_main_map.
33374 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33375 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33376 call to _dl_get_origin.
33377 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33378 around call_map.
33379 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33380 * dlfcn/modstatic3.c: New file.
33381 * dlfcn/tststatic3.c: New file.
33382 * dlfcn/tststatic4.c: New file.
33383 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33384 (tests-static): Likewise.
33385 (modules-names): Add modstatic3.
33386 (tststatic3-ENV, tststatic4-ENV): New variables.
33387 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33388 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33389
33390 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33391
33392 * configure.in (CC): Require GCC version 4.4 or later.
33393 * configure: Regenerated.
33394 * manual/install.texi (Tools for Compilation): Update GCC version
33395 requirement.
33396 * INSTALL: Regenerated.
33397
33398 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33399
33400 [BZ #15674]
33401 * string/test-memcmp.c (check2): New.
33402 (main): Call check2.
33403
33404 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33405
33406 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33407
33408 [BZ #15022]
33409 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33410 over to...
33411 (dl_open_worker) [!SHARED]: ... here.
33412
33413 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33414
33415 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33416
33417 2013-06-25 Richard Henderson <rth@redhat.com>
33418
33419 * locale/programs/locarchive.c: Include <libc-internal.h>
33420
33421 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33422
33423 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33424 trailing whitespace removed.
33425
33426 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33427
33428 [BZ #10283]
33429 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33430 * locale/programs/locarchive.c: Include libc-mmap.h.
33431 (prepare_address_space): Take two new outputs (the mmap base and len).
33432 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33433 values.
33434 (create_archive): Declare new mmap base and len values for
33435 prepare_address_space, and store the result in ah.
33436 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33437 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33438 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33439 Declare new mmap base and len values for
33440 prepare_address_space, and store the result in new_ah.
33441 (open_archive): Declare new mmap base and len values for
33442 prepare_address_space, and store the result in ah.
33443 (close_archive): If ah->mmap_base is not NULL, use that and
33444 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33445 * sysdeps/generic/libc-mmap.h: New file.
33446
33447 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33448
33449 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33450 (ALIGN_UP): Likewise.
33451 (PTR_ALIGN_DOWN): Likewise.
33452 (PTR_ALIGN_UP): Likewise.
33453
33454 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33455
33456 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33457 entry mapped to PPC_PLATFORM_POWER8.
33458 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33459 POWER8.
33460 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33461 (_dl_string_platform): Add case for exporting platform position for
33462 POWER8.
33463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33464 search path to sysdeps/powerpc/powerpc32/power8 directory.
33465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33466 search path to sysdeps/powerpc/powerpc64/power8 directory.
33467 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33468 power7 directories.
33469 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33470 power7 directories.
33471
33472 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33473
33474 * INSTALL: Regenerate.
33475
33476 * nscd/connections.c (nscd_init): Fix comment.
33477
33478 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33479
33480 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33481
33482 [BZ #15667]
33483 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33484 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33485
33486 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33487
33488 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33489 DL_DST_REQ_STATIC.
33490 (DL_DST_REQ_STATIC): Remove macro.
33491
33492 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33493
33494 [BZ #7006]
33495 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33496 with a shift of 0 bits.
33497
33498 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33499
33500 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33501 $(tststatic-ENV).
33502
33503 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33504
33505 [BZ #15655]
33506 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33507
33508 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33509
33510 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33511 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33512 accepts -fno-tree-loop-distribute-patterns.
33513 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33514 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33515 recursive call.
33516 * string/memset.c (memset): Likewise.
33517 * string/test-memmove.c (simple_memmove): Disable loop transformation
33518 to library calls.
33519 * string/test-memset.c (simple_memset): Likewise.
33520 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33521 * benchtests/bench-memset.c (simple_memset): Likewise.
33522 * configure: Regenerated.
33523
33524 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33525
33526 * math/test-misc.c (main): Ignore fesetround failure when failures
33527 of subsequent rounding tests would be ignored.
33528
33529 [BZ #15654]
33530 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33531 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33532 * math/fegetenv.c (__fegetenv): Return 0.
33533 * math/fegetexcept.c (fegetexcept): Return 0.
33534 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33535 FE_TONEAREST.
33536 * math/feholdexcpt.c (feholdexcept): Return 0.
33537 * math/fesetenv.c (__fesetenv): Return 0.
33538 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33539 argument FE_TONEAREST.
33540 * math/feupdateenv.c (__feupdateenv): Return 0.
33541 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33542
33543 2013-06-18 Roland McGrath <roland@hack.frob.com>
33544
33545 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33546 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33547 ($(objpfx)rtld-%.os rules): Use them.
33548
33549 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33550
33551 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33552 fields.
33553
33554 2013-06-17 Roland McGrath <roland@hack.frob.com>
33555
33556 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33557 length of target pattern, then descending length of dependency pattern.
33558 * configure.in (AWK): Require gawk 3.1.2 or newer.
33559 * manual/install.texi (Tools for Compilation): Say that we do.
33560 * configure: Regenerated.
33561
33562 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33563 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33564 * scripts/sysd-rules.awk: ... this new script.
33565 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33566 than a glob-style pattern.
33567
33568 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33569
33570 * math/test-misc.c (main): Do not treat incorrectly rounded
33571 conversions as failure unless ROUNDING_TESTS passes.
33572
33573 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33574
33575 [BZ #15631]
33576 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33577 restore exception state around main square root computation, then
33578 check for inexactness explicitly.
33579
33580 * math/libm-test.inc (fma_test_data): Add another test.
33581
33582 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33583
33584 * manual/threads.texi (Non-POSIX Extensions): New document
33585 node. Document pthread_getattr_default_np and
33586 pthread_setattr_default_np.
33587
33588 * Versions.def (libpthread): Add GLIBC_2.18.
33589 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33591 Likewise.
33592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33593 Likewise.
33594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33595 Likewise.
33596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33597 Likewise.
33598 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33599 Likewise.
33600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33601 Likewise.
33602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33603 Likewise.
33604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33605 Likewise.
33606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33607 Likewise.
33608
33609 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33610
33611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33612 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33613
33614 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33615 H.J. Lu <hjl.tools@gmail.com>
33616
33617 [BZ #15627]
33618 * sysdeps/x86_64/rtld-memset.c: Remove file.
33619 * sysdeps/x86_64/rtld-memset.S: New file.
33620
33621 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33622
33623 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33624 (test_in_one_mode): Take arguments for whether the rounding mode
33625 is supported for each floating-point type.
33626 (do_test): Pass new arguments to test_in_one_mode using
33627 ROUNDING_TESTS.
33628
33629 2013-06-13 Roland McGrath <roland@hack.frob.com>
33630
33631 * posix/tst-waitid.c (do_test): Distinguish different instances of
33632 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33633 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33634 before entering the kernel for waitpid.
33635
33636 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33637
33638 * NEWS: Fix note on clock function precision. Text by Roland
33639 McGrath.
33640
33641 2013-06-13 Roland McGrath <roland@hack.frob.com>
33642
33643 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33644 it into place only when and if the sanity check passes.
33645
33646 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33647
33648 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33649 output for whether conversion result is exact. Take argument
33650 indicating whether type is IBM long double.
33651 (round_for_all): Change need_exact field to ibm_ld.
33652 * stdlib/tst-strtod-round.c (struct exactness): New type.
33653 (struct test): Change bool ld_ok field to struct exactness exact.
33654 (TEST): Update all definitions for change to field.
33655 (tests): Regenerate array contents.
33656 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33657 field value. Check for IBM long double here.
33658 (do_test): Update calls to test_in_one_mode.
33659
33660 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33661
33662 [BZ #12515]
33663 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33664 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33665
33666 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33667
33668 [BZ #15605]
33669 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33670 generated by the compiler on loop optimizations.
33671 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33672 general definitions.
33673
33674 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33675
33676 * math/bug-nextafter.c: Include <math-tests.h>.
33677 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33678 the relevant type.
33679 * math/bug-nexttoward.c: Include <math-tests.h>.
33680 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33681 the relevant type.
33682 * math/test-misc.c: Include <math-tests.h>.
33683 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33684 the relevant type.
33685
33686 2013-06-12 Andreas Jaeger <aj@suse.de>
33687
33688 * po/ia.po: Update Interlingua translation from translation
33689 project.
33690
33691 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33692
33693 * include/fenv.h: Include stdbool.h.
33694 (struct rm_ctx): New structure.
33695 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33696 Define macro.
33697 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33698 (SET_RESTORE_ROUNDF): Likewise.
33699 (SET_RESTORE_ROUNDL): Likewise.
33700 (SET_RESTORE_ROUND_NOEX): Likewise.
33701 (SET_RESTORE_ROUND_NOEXF): Likewise.
33702 (SET_RESTORE_ROUND_NOEXL): Likewise.
33703 (SET_RESTORE_ROUND_53BIT): Likewise.
33704 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33705 (libc_feresetround_noexf_ctx): Likewise.
33706 (libc_feresetround_noexl_ctx): Likewise.
33707 (libc_feholdsetround_53bit_ctx): Likewise.
33708 (libc_feresetround_53bit_ctx): Likewise.
33709 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33710 (libc_feholdexcept_setround_sse_ctx): New function.
33711 (libc_fesetenv_sse_ctx): Likewise.
33712 (libc_feupdateenv_sse_ctx): Likewise.
33713 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33714 (libc_feholdexcept_setround_387_ctx): Likewise.
33715 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33716 (libc_feholdsetround_387_prec_ctx): Likewise.
33717 (libc_feholdsetround_387_ctx): Likewise.
33718 (libc_feholdsetround_387_53bit_ctx): Likewise.
33719 (libc_feholdsetround_sse_ctx): Likewise.
33720 (libc_feresetround_sse_ctx): Likewise.
33721 (libc_feresetround_387_ctx): Likewise.
33722 (libc_feupdateenv_387_ctx): Likewise.
33723 (libc_feholdexcept_setroundf_ctx): Define macro.
33724 (libc_fesetenvf_ctx): Likewise.
33725 (libc_feupdateenvf_ctx): Likewise.
33726 (libc_feholdsetroundf_ctx): Likewise.
33727 (libc_feresetroundf_ctx): Likewise.
33728 (libc_feholdexcept_setround_ctx): Likewise.
33729 (libc_fesetenv_ctx): Likewise.
33730 (libc_feupdateenv_ctx): Likewise.
33731 (libc_feholdsetround_ctx): Likewise.
33732 (libc_feresetround_ctx): Likewise.
33733 (libc_feholdexcept_setroundl_ctx): Likewise.
33734 (libc_feupdateenvl_ctx): Likewise.
33735 (libc_feholdsetroundl_ctx): Likewise.
33736 (libc_feresetroundl_ctx): Likewise.
33737 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33738 (libc_feresetround_53bit_ctx): Likewise.
33739
33740 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33741
33742 * locale/iso-639.def: Convert to UTF-8.
33743
33744 2013-06-11 Joseph Myers <joseph@codesourcery.com>
33745
33746 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33747 (EXCEPTION_TESTS_double): Likewise.
33748 (EXCEPTION_TESTS_long_double): Likewise.
33749 (EXCEPTION_TESTS): Likewise.
33750 * math/libm-test.inc (test_exceptions): Only test exceptions if
33751 EXCEPTION_TESTS (FLOAT).
33752
33753 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33754
33755 * benchtests/Makefile (string-bench): Add strcpy_chk and
33756 stpcpy_chk.
33757 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33758 * benchtests/bench-stpcpy_chk.c: New file.
33759 * benchtests/bench-strcpy_chk-ifunc.c: New file.
33760 * benchtests/bench-strcpy_chk.c: New file.
33761 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33762 code.
33763 (do_test): Likewise.
33764
33765 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33766
33767 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33768 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33769 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33770 with tabs where appropriate.
33771 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33772 dl-procinfo.h.
33773 [PPC_PLATFORM_PPC440]: Likewise.
33774 [PPC_PLATFORM_PPC464]: Likewise.
33775 [PPC_PLATFORM_PPC476]: Likewise.
33776 (_dl_string_platform): Add support for detecting ppc405, ppc440,
33777 ppc464, and ppc476 platform strings merging from ports/
33778 dl-procinfo.h.
33779
33780 2013-06-11 Andreas Schwab <schwab@suse.de>
33781
33782 [BZ #14991]
33783 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33784 (from_ucs4_idx): Regenerate.
33785 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33786 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33787 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33788 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33789 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33790 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33791 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33792 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33793 from FROM_LOOP and TO_LOOP specific macros.
33794 (BODY): Handle combining characters.
33795 * iconvdata/BIG5HKSCS.irreversible: Update.
33796 * iconvdata/BIG5HKSCS.precomposed: New file.
33797 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33798 characters.
33799 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33800
33801 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33802
33803 * include/sys/time.h: Fix indentation and add copyright header.
33804
33805 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33806 (do_test): Likewise.
33807 * string/test-memchr.c (do_one_test): Likewise.
33808 (do_test): Likewise.
33809 * string/test-memcmp.c (do_one_test): Likewise.
33810 (do_test): Likewise.
33811 * string/test-memcpy.c (do_one_test): Likewise.
33812 (do_test): Likewise.
33813 * string/test-memmem.c (do_one_test): Likewise.
33814 (do_test): Likewise.
33815 (do_random_tests): Likewise.
33816 * string/test-memmove.c (do_one_test): Likewise.
33817 (do_test): Likewise.
33818 * string/test-memset.c (do_one_test): Likewise.
33819 (do_test): Likewise.
33820 * string/test-rawmemchr.c (do_one_test): Likewise.
33821 (do_test): Likewise.
33822 * string/test-strcasecmp.c (do_one_test): Likewise.
33823 (do_test): Likewise.
33824 * string/test-strcasestr.c (do_one_test): Likewise.
33825 (do_test): Likewise.
33826 * string/test-strcat.c (do_one_test): Likewise.
33827 (do_test): Likewise.
33828 * string/test-strchr.c (do_one_test): Likewise.
33829 (do_test): Likewise.
33830 * string/test-strcmp.c (do_one_test): Likewise.
33831 (do_test): Likewise.
33832 * string/test-strcpy.c (do_one_test): Likewise.
33833 (do_test): Likewise.
33834 * string/test-string.h: Likewise.
33835 (test_init): Likewise.
33836 * string/test-strlen.c (do_one_test): Likewise.
33837 (do_test): Likewise.
33838 * string/test-strncasecmp.c (do_one_test): Likewise.
33839 (do_test): Likewise.
33840 * string/test-strncat.c (do_one_test): Likewise.
33841 (do_test): Likewise.
33842 * string/test-strncmp.c (do_one_test): Likewise.
33843 (do_test_limit): Likewise.
33844 (do_test): Likewise.
33845 * string/test-strncpy.c (do_one_test): Likewise.
33846 (do_test): Likewise.
33847 * string/test-strnlen.c (do_one_test): Likewise.
33848 (do_test): Likewise.
33849 * string/test-strpbrk.c (do_one_test): Likewise.
33850 (do_test): Likewise.
33851 * string/test-strrchr.c (do_one_test): Likewise.
33852 (do_test): Likewise.
33853 * string/test-strspn.c (do_one_test): Likewise.
33854 (do_test): Likewise.
33855 * string/test-strstr.c (do_one_test): Likewise.
33856 (do_test): Likewise.
33857
33858 * benchtests/Makefile (string-bench): Add string benchmarks.
33859 * benchtests/bench-bcopy-ifunc.c: New file.
33860 * benchtests/bench-bcopy.c: New file.
33861 * benchtests/bench-bzero-ifunc.c: New file.
33862 * benchtests/bench-bzero.c: New file.
33863 * benchtests/bench-memccpy-ifunc.c: New file.
33864 * benchtests/bench-memccpy.c: New file.
33865 * benchtests/bench-memchr-ifunc.c: New file.
33866 * benchtests/bench-memchr.c: New file.
33867 * benchtests/bench-memcmp-ifunc.c: New file.
33868 * benchtests/bench-memcmp.c: New file.
33869 * benchtests/bench-memmem-ifunc.c: New file.
33870 * benchtests/bench-memmem.c: New file.
33871 * benchtests/bench-memmove-ifunc.c: New file.
33872 * benchtests/bench-memmove.c: New file.
33873 * benchtests/bench-mempcpy-ifunc.c: New file.
33874 * benchtests/bench-mempcpy.c: New file.
33875 * benchtests/bench-memset-ifunc.c: New file.
33876 * benchtests/bench-memset.c: New file.
33877 * benchtests/bench-rawmemchr-ifunc.c: New file.
33878 * benchtests/bench-rawmemchr.c: New file.
33879 * benchtests/bench-stpcpy-ifunc.c: New file.
33880 * benchtests/bench-stpcpy.c: New file.
33881 * benchtests/bench-stpncpy-ifunc.c: New file.
33882 * benchtests/bench-stpncpy.c: New file.
33883 * benchtests/bench-strcasecmp-ifunc.c: New file.
33884 * benchtests/bench-strcasecmp.c: New file.
33885 * benchtests/bench-strcasestr-ifunc.c: New file.
33886 * benchtests/bench-strcasestr.c: New file.
33887 * benchtests/bench-strcat-ifunc.c: New file.
33888 * benchtests/bench-strcat.c: New file.
33889 * benchtests/bench-strchr-ifunc.c: New file.
33890 * benchtests/bench-strchr.c: New file.
33891 * benchtests/bench-strchrnul-ifunc.c: New file.
33892 * benchtests/bench-strchrnul.c: New file.
33893 * benchtests/bench-strcmp-ifunc.c: New file.
33894 * benchtests/bench-strcmp.c: New file.
33895 * benchtests/bench-strcpy-ifunc.c: New file.
33896 * benchtests/bench-strcpy.c: New file.
33897 * benchtests/bench-strcspn-ifunc.c: New file.
33898 * benchtests/bench-strcspn.c: New file.
33899 * benchtests/bench-strlen-ifunc.c: New file.
33900 * benchtests/bench-strlen.c: New file.
33901 * benchtests/bench-strncasecmp-ifunc.c: New file.
33902 * benchtests/bench-strncasecmp.c: New file.
33903 * benchtests/bench-strncat-ifunc.c: New file.
33904 * benchtests/bench-strncat.c: New file.
33905 * benchtests/bench-strncmp-ifunc.c: New file.
33906 * benchtests/bench-strncmp.c: New file.
33907 * benchtests/bench-strncpy-ifunc.c: New file.
33908 * benchtests/bench-strncpy.c: New file.
33909 * benchtests/bench-strnlen-ifunc.c: New file.
33910 * benchtests/bench-strnlen.c: New file.
33911 * benchtests/bench-strpbrk-ifunc.c: New file.
33912 * benchtests/bench-strpbrk.c: New file.
33913 * benchtests/bench-strrchr-ifunc.c: New file.
33914 * benchtests/bench-strrchr.c: New file.
33915 * benchtests/bench-strspn-ifunc.c: New file.
33916 * benchtests/bench-strspn.c: New file.
33917 * benchtests/bench-strstr-ifunc.c: New file.
33918 * benchtests/bench-strstr.c: New file.
33919
33920 * benchtests/Makefile: Disable parallel execution of targets.
33921 (string-bench): Add memcpy.
33922 (benchset): New variable to store a list of benchmark sets.
33923 (bench-func): Renamed from bench.
33924 (bench-set): New target.
33925 (bench): Depend on bench-func and bench-set.
33926 * benchtests/README: Add section on benchmark sets.
33927 * benchtests/bench-memcpy-ifunc.c: New file.
33928 * benchtests/bench-memcpy.c: New file.
33929 * benchtests/bench-string.h: New file.
33930
33931 2013-06-11 Andreas Schwab <schwab@suse.de>
33932
33933 [BZ #15577]
33934 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
33935 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
33936 values in the triple.
33937 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
33938 terminator in the group key.
33939
33940 2013-06-11 Andreas Jaeger <aj@suse.de>
33941
33942 * po/zh_TW.po: Update Chinese (traditional) translation from
33943 translation project.
33944
33945 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33946
33947 * include/time.h (__clock_gettime): Add libc_hidden_proto.
33948 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
33949 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
33950 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33951 (clock_getcpuclockid): Likewise.
33952 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
33953 Add weak_alias and libc_hidden_def.
33954 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
33955 * rt/clock_gettime.c (clock_gettime): Rename to
33956 __clock_gettime. Add weak_alias and libc_hidden_def.
33957 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
33958 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
33959 __clock_nanosleep. Add weak_alias and libc_hidden_def.
33960 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
33961 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
33962 Likewise.
33963 * rt/clock_settime.c (clock_settime): Rename to
33964 __clock_settime. Add weak_alias and libc_hidden_def.
33965 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
33966
33967 2013-06-10 Joseph Myers <joseph@codesourcery.com>
33968
33969 * mach/err_boot.sub: Remove trailing whitespace.
33970 * mach/err_ipc.sub: Likewise.
33971 * mach/err_mach.sub: Likewise.
33972
33973 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
33974 (ROUNDING_TESTS_double): Likewise.
33975 (ROUNDING_TESTS_long_double): Likewise.
33976 (ROUNDING_TESTS): Likewise.
33977 * math/libm-test.inc: Include <math-tests.h>.
33978 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
33979 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33980 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33981 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33982
33983 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33984
33985 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
33986 of assigning.
33987
33988 2013-06-08 Joseph Myers <joseph@codesourcery.com>
33989
33990 * sysdeps/gnu/errlist.awk: Do not generate space at end of
33991 otherwise empty TRANS lines.
33992 * sysdeps/gnu/errlist.c: Regenerated.
33993
33994 * catgets/gencat.c (error_print): Use (void) in function
33995 definition.
33996 * crypt/crypt_util.c (__init_des): Likewise.
33997 * crypt/speeds.c (Stop): Likewise.
33998 (main): Likewise.
33999 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34000 * inet/ruserpass.c (token): Likewise.
34001 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34002 * intl/localealias.c (extend_alias_table): Likewise.
34003 * intl/plural-exp.c (init_germanic_plural): Likewise.
34004 * libio/fcloseall.c (__fcloseall): Likewise.
34005 * libio/genops.c (_IO_flush_all): Likewise.
34006 (_IO_flush_all_linebuffered): Likewise.
34007 (_IO_cleanup): Likewise.
34008 (_IO_iter_begin): Likewise.
34009 (_IO_iter_end): Likewise.
34010 (_IO_list_lock): Likewise.
34011 (_IO_list_unlock): Likewise.
34012 (_IO_list_resetlock): Likewise.
34013 * libio/getchar.c (getchar): Likewise.
34014 * libio/getchar_u.c (getchar_unlocked): Likewise.
34015 * libio/getwchar.c (getwchar): Likewise.
34016 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34017 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34018 * login/getpt.c (__getpt): Likewise.
34019 * login/tst-utmp.c (main): Likewise.
34020 * malloc/hooks.c (__malloc_check_init): Likewise.
34021 * malloc/malloc.c (__malloc_stats): Likewise.
34022 * malloc/mtrace.c (tr_break): Likewise.
34023 (mtrace): Likewise.
34024 (muntrace): Likewise.
34025 * misc/fstab.c (endfsent): Likewise.
34026 * misc/getclktck.c (__getclktck): Likewise.
34027 * misc/getdtsz.c (__getdtablesize): Likewise.
34028 * misc/gethostid.c (gethostid): Likewise.
34029 * misc/getpagesize.c (__getpagesize): Likewise.
34030 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34031 (__get_nprocs): Likewise.
34032 (__get_phys_pages): Likewise.
34033 (__get_avphys_pages): Likewise.
34034 * misc/getttyent.c (getttyent): Likewise.
34035 (setttyent): Likewise.
34036 (endttyent): Likewise.
34037 * misc/getusershell.c (getusershell): Likewise.
34038 (endusershell): Likewise.
34039 (setusershell): Likewise.
34040 (initshells): Likewise.
34041 * misc/hsearch.c (__hdestroy): Likewise.
34042 * misc/sync.c (sync): Likewise.
34043 * misc/syslog.c (closelog_internal): Likewise.
34044 (closelog): Likewise.
34045 * misc/ttyslot.c (ttyslot): Likewise.
34046 * misc/vhangup.c (vhangup): Likewise.
34047 * posix/fork.c (__fork): Likewise.
34048 * posix/getegid.c (__getegid): Likewise.
34049 * posix/geteuid.c (__geteuid): Likewise.
34050 * posix/getgid.c (__getgid): Likewise.
34051 * posix/getpid.c (__getpid): Likewise.
34052 * posix/getppid.c (__getppid): Likewise.
34053 * posix/getuid.c (__getuid): Likewise.
34054 * posix/pause.c (pause): Likewise.
34055 * posix/setpgrp.c (setpgrp): Likewise.
34056 * posix/setsid.c (__setsid): Likewise.
34057 * posix/test-vfork.c (noop): Likewise.
34058 * resolv/gethnamaddr.c (_endhtent): Likewise.
34059 (_gethtent): Likewise.
34060 (ht_endhostent): Likewise.
34061 (gethostent): Likewise.
34062 (dns_service): Likewise.
34063 * stdlib/drand48.c (drand48): Likewise.
34064 * stdlib/lrand48.c (lrand48): Likewise.
34065 * stdlib/mrand48.c (mrand48): Likewise.
34066 * stdlib/rand.c (rand): Likewise.
34067 * stdlib/random.c (__random): Likewise.
34068 * stdlib/setenv.c (clearenv): Likewise.
34069 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34070 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34071 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34072 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34073 (__get_nprocs): Likewise.
34074 (__get_phys_pages): Likewise.
34075 (__get_avphys_pages): Likewise.
34076 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34077 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34078 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34079 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34080 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34081 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34082 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34083 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34084 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34085 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34086 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34087 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34088 * sysdeps/posix/clock.c (clock): Likewise.
34089 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34090 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34091 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34092 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34093 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34094 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34095 (__get_nprocs_conf): Likewise.
34096 (__get_phys_pages): Likewise.
34097 (__get_avphys_pages): Likewise.
34098 * time/clock.c (clock): Likewise.
34099 * time/tzset.c (__tzname_max): Likewise.
34100
34101 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34102
34103 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34104 (__bswap_32): Do not use "register".
34105 * crypt/crypt.c (_ufc_doit_r): Likewise.
34106 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34107 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34108 * gmon/gmon.c (__monstartup): Likewise.
34109 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34110 * hurd/hurdmalloc.c (more_memory): Likewise.
34111 (malloc): Likewise.
34112 (free): Likewise.
34113 (realloc): Likewise.
34114 (malloc_fork_prepare): Likewise.
34115 (malloc_fork_parent): Likewise.
34116 (malloc_fork_child): Likewise.
34117 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34118 (_svcauth_des): Likewise.
34119 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34120 * inet/inet_net.c (inet_network): Likewise.
34121 * inet/inet_netof.c (inet_netof): Likewise.
34122 * inet/rcmd.c (__validuser2_sa): Likewise.
34123 * io/fts.c (fts_open): Likewise.
34124 (fts_load): Likewise.
34125 (fts_close): Likewise.
34126 (fts_read): Likewise.
34127 (fts_children): Likewise.
34128 (fts_build): Likewise.
34129 (fts_stat): Likewise.
34130 (fts_sort): Likewise.
34131 (fts_alloc): Likewise.
34132 (fts_lfree): Likewise.
34133 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34134 (_IO_file_xsgetn): Likewise.
34135 (_IO_file_xsgetn_mmap): Likewise.
34136 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34137 (_IO_cookie_write): Likewise.
34138 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34139 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34140 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34141 * malloc/obstack.c (_obstack_begin): Likewise.
34142 (_obstack_begin_1): Likewise.
34143 (_obstack_newchunk): Likewise.
34144 (_obstack_allocated_p): Likewise.
34145 (obstack_free): Likewise.
34146 (_obstack_memory_used): Likewise.
34147 * misc/getttyent.c (getttynam): Likewise.
34148 (getttyent): Likewise.
34149 (skip): Likewise.
34150 (value): Likewise.
34151 * misc/getusershell.c (initshells): Likewise.
34152 * misc/syslog.c (__vsyslog_chk): Likewise.
34153 * misc/ttyslot.c (ttyslot): Likewise.
34154 * nis/nis_hash.c (__nis_hash): Likewise.
34155 * posix/fnmatch_loop.c (FCT): Likewise.
34156 * posix/getconf.c (print_all): Likewise.
34157 (main): Likewise.
34158 * posix/getopt.c (exchange): Likewise.
34159 * posix/glob.c (globfree): Likewise.
34160 (prefix_array): Likewise.
34161 (__glob_pattern_type): Likewise.
34162 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34163 (NS_GET32): Likewise.
34164 (NS_PUT16): Likewise.
34165 (NS_PUT32): Likewise.
34166 * resolv/gethnamaddr.c (getanswer): Likewise.
34167 (gethostbyname2): Likewise.
34168 (gethostbyaddr): Likewise.
34169 (_gethtent): Likewise.
34170 (_gethtbyname2): Likewise.
34171 (_gethtbyaddr): Likewise.
34172 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34173 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34174 * resolv/res_init.c (__res_vinit): Likewise.
34175 (net_mask): Likewise.
34176 * resolv/res_mkquery.c (outchar): Likewise.
34177 (PRINT): Likewise.
34178 * stdio-common/printf_fp.c (outchar): Likewise.
34179 (PRINT): Likewise.
34180 * stdio-common/printf_fphex.c (outchar): Likewise.
34181 (PRINT): Likewise.
34182 * stdio-common/printf_size.c (outchar): Likewise.
34183 (PRINT): Likewise.
34184 * stdio-common/test_rdwr.c (main): Likewise.
34185 * stdio-common/tfformat.c (matches): Likewise.
34186 * stdio-common/vfprintf.c (outchar): Likewise.
34187 (printf_unknown): Likewise.
34188 (buffered_vfprintf): Likewise.
34189 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34190 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34191 (ReadFile): Likewise.
34192 * stdlib/qsort.c (SWAP): Likewise.
34193 (_quicksort): Likewise.
34194 * stdlib/setenv.c (__add_to_environ): Likewise.
34195 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34196 * stdlib/strtol_l.c (__strtol_l): Likewise.
34197 * stdlib/tst-strtod.c (main): Likewise.
34198 * stdlib/tst-strtol.c (main): Likewise.
34199 * stdlib/tst-strtoll.c (main): Likewise.
34200 * string/bits/string2.h (__strcmp_cc): Likewise.
34201 (__strcmp_cg): Likewise.
34202 (__strcspn_c1): Likewise.
34203 (__strcspn_c2): Likewise.
34204 (__strcspn_c3): Likewise.
34205 (__strspn_c1): Likewise.
34206 (__strspn_c2): Likewise.
34207 (__strspn_c3): Likewise.
34208 (__strsep_1c): Likewise.
34209 (__strsep_2c): Likewise.
34210 (__strsep_3c): Likewise.
34211 * string/memccpy.c (__memccpy): Likewise.
34212 * string/stpcpy.c (__stpcpy): Likewise.
34213 * string/strcmp.c (strcmp): Likewise.
34214 * string/strrchr.c (strrchr): Likewise.
34215 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34216 Likewise.
34217 * sysdeps/mach/hurd/getcwd.c
34218 (_hurd_canonicalize_directory_name_internal): Likewise.
34219 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34220 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34221 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34222 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34223 Likewise, in both definitions.
34224 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34225 definitions.
34226 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34227 64] (__bswap_64): Likewise.
34228 * time/test_time.c (main): Likewise.
34229 * time/tzfile.c (__tzfile_read): Likewise.
34230 (__tzfile_compute): Likewise.
34231 * time/tzset.c (__tzset_parse_tz): Likewise.
34232 (tzset_internal): Likewise.
34233 (compute_change): Likewise.
34234 * wcsmbs/wcscat.c (__wcscat): Likewise.
34235 * wcsmbs/wcschr.c (wcschr): Likewise.
34236 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34237 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34238 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34239 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34240 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34241 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34242 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34243 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34244 * wcsmbs/wmemset.c (wmemset): Likewise.
34245
34246 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34247
34248 * scripts/config.guess: Update to version 2013-05-16.
34249 * scripts/config.sub: Update to version 2013-04-24.
34250 * scripts/install-sh: Update to version 2011-11-20.07.
34251 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34252 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34253
34254 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34255
34256 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34257 * elf/sln.c: Likewise.
34258 * hurd/hurd/ioctl.h: Likewise.
34259 * hurd/hurdmalloc.c: Likewise.
34260 * hurd/xattr.c: Likewise.
34261 * include/shlib-compat.h: Likewise.
34262 * inet/ruserpass.c: Likewise.
34263 * libio/iofgets_u.c: Likewise.
34264 * libio/iofgetws_u.c: Likewise.
34265 * locale/programs/ld-identification.c: Likewise.
34266 * locale/programs/ld-time.c: Likewise.
34267 * mach/msg-destroy.c: Likewise.
34268 * nss/nss_files/files-netgrp.c: Likewise.
34269 * resolv/res_data.c: Likewise.
34270 * soft-fp/op-1.h: Likewise.
34271 * soft-fp/op-2.h: Likewise.
34272 * soft-fp/op-4.h: Likewise.
34273 * soft-fp/op-common.h: Likewise.
34274 * stdio-common/printf_fphex.c: Likewise.
34275 * stdlib/strtod_l.c: Likewise.
34276 * sunrpc/rpc/clnt.h: Likewise.
34277 * sysdeps/generic/framestate.c: Likewise.
34278 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34279 * sysdeps/i386/bsd-setjmp.S: Likewise.
34280 * sysdeps/i386/__longjmp.S: Likewise.
34281 * sysdeps/i386/setjmp.S: Likewise.
34282 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34283 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34284 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34285 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34286 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34287 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34288 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34289 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34290 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34291 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34292 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34293 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34294 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34295 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34296 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34297 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34298 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34299 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34300 * sysdeps/ieee754/support.c: Likewise.
34301 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34302 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34303 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34304 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34305 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34306 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34307 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34308 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34309 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34310 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34311 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34312 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34313 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34314 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34315 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34316 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34317 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34319
34320 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34321
34322 * posix/transbug.c: Remove executable mode.
34323
34324 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34325
34326 * crypt/speeds.c: Remove trailing whitespace.
34327 * dlfcn/default.c: Likewise.
34328 * elf/ifuncdep2.c: Likewise.
34329 * elf/ifuncmain1.c: Likewise.
34330 * elf/ifuncmain1vis.c: Likewise.
34331 * elf/testobj.h: Likewise.
34332 * elf/tst-stackguard1.c: Likewise.
34333 * gmon/sys/gmon.h: Likewise.
34334 * hurd/hurdmsg.c: Likewise.
34335 * hurd/new-fd.c: Likewise.
34336 * hurd/ports-get.c: Likewise.
34337 * iconvdata/ibm1008_420.c: Likewise.
34338 * inet/tst-getni1.c: Likewise.
34339 * inet/tst-getni2.c: Likewise.
34340 * libio/ioungetc.c: Likewise.
34341 * libio/wfiledoalloc.c: Likewise.
34342 * manual/libm-err-tab.pl: Likewise.
34343 * math/w_dremf.c: Likewise.
34344 * misc/ftruncate.c: Likewise.
34345 * posix/bug-glob2.c: Likewise.
34346 * posix/tst-pcre.c: Likewise.
34347 * posix/wait4.c: Likewise.
34348 * resolv/README: Likewise.
34349 * resolv/res_debug.h: Likewise.
34350 * resolv/tst-inet_ntop.c: Likewise.
34351 * setjmp/bug269-setjmp.c: Likewise.
34352 * soft-fp/extended.h: Likewise.
34353 * soft-fp/op-1.h: Likewise.
34354 * soft-fp/op-2.h: Likewise.
34355 * soft-fp/op-4.h: Likewise.
34356 * soft-fp/op-8.h: Likewise.
34357 * soft-fp/testit.c: Likewise.
34358 * stdio-common/bug16.c: Likewise.
34359 * stdlib/random.c: Likewise.
34360 * sunrpc/rpcsvc/rquota.x: Likewise.
34361 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34362 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34363 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34364 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34365 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34366 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34367 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34368 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34369 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34370 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34371 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34372 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34373 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34374 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34375 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34376 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34377 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34378 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34379 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34380 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34381 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34382 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34383 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34384 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34385 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34386 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34387 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34388 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34389 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34390 * sysdeps/ieee754/s_lib_version.c: Likewise.
34391 * sysdeps/mach/hurd/check_fds.c: Likewise.
34392 * sysdeps/mach/hurd/getsockname.c: Likewise.
34393 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34394 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34395 * sysdeps/powerpc/bits/link.h: Likewise.
34396 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34397 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34398 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34399 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34400 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34401 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34402 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34403 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34404 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34405 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34406 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34407 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34408 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34409 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34410 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34411 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34412 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34413 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34414 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34415 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34416 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34417 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34418 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34419 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34420 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34421 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34422 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34423 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34424 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34425 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34426 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34427 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34428 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34429 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34430 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34431 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34432 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34433 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34434 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34435 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34436 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34437 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34438 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34439 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34440 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34441 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34442 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34443 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34444 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34445 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34448 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34449 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34450 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34451 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34452 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34453 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34454 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34455 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34456 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34457 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34458 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34459 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34460 * sysdeps/powerpc/sysdep.h: Likewise.
34461 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34462 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34463 * sysdeps/sh/dl-trampoline.S: Likewise.
34464 * sysdeps/sh/memset.S: Likewise.
34465 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34466 * sysdeps/sh/strlen.S: Likewise.
34467 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34468 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34469 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34470 * sysdeps/sparc/sparc32/rem.S: Likewise.
34471 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34472 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34473 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34474 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34475 * sysdeps/sparc/sparc32/urem.S: Likewise.
34476 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34477 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34478 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34479 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34480 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34481 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34482 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34483 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34484 * sysdeps/unix/bsd/times.c: Likewise.
34485 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34486 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34490 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34491 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34492 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34493 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34494 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34495 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34496 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34497 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34498 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34499 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34500 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34501 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34502 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34503 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34504 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34505 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34506 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34507 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34508 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34509 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34510 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34511 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34512 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34513 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34514 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34515 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34516 * sysdeps/x86_64/strcspn.S: Likewise.
34517
34518 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34519
34520 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34521 generated file. Regenerate properly from gen-translit.pl.
34522 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34523 locale/C-translit.h.
34524
34525 2013-06-05 Andreas Schwab <schwab@suse.de>
34526
34527 [BZ #15100]
34528 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34529 week as 6 instead of -1.
34530 * time/tst-strptime.c (day_tests): Add test case.
34531
34532 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34533
34534 * sysdeps/generic/math_private.h
34535 (libc_feholdexcept_setround_53bit): Replace with
34536 libc_feholdsetround_53bit.
34537 (libc_feupdateenv_53bit): Replace with
34538 libc_feresetround_53bit.
34539 (SET_RESTORE_ROUND_53BIT): Adjust.
34540
34541 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34542
34543 * string/test-strchrnul.c: Add copyright header.
34544
34545 * posix/tst-getaddrinfo4.c: Increase test timeout.
34546
34547 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34548
34549 [BZ #15536]
34550 * math/libm-test.inc (MAX_EXP): Remove
34551 (MIN_EXP): Define.
34552 (ulp): Use MIN_EXP - MANT_DIG.
34553 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34554
34555 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34556
34557 * po/be.po: Revert last change.
34558 * po/zh_CN.po: Likewise.
34559 * po/header.pot: Likewise.
34560
34561 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34562
34563 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34564 link-libc-deps to empty as target-specific variable.
34565 * Makerules (link-libc-args): New variable.
34566 (libc-for-link): Likewise.
34567 (link-libc-deps): Likewise.
34568 (lib%.so): Depend on $(link-libc-deps). Link with
34569 $(link-libc-args).
34570 (build-module): Link with $(link-libc-args).
34571 (build-module-asneeded): Likewise.
34572 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34573 list of objects.
34574 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34575 target-specific variable.
34576 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34577 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34578 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34579 libc.
34580 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34581 libc and ld.so.
34582 ($(objpfx)libpcprofile.so): Likewise.
34583 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34584 libc_nonshared.a.
34585 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34586 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34587 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34588 $(link-libc-deps).
34589 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34590 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34591 * login/Makefile ($(objpfx)libutil.so): Likewise.
34592 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34593 * math/Makefile ($(objpfx)libm.so): Likewise.
34594 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34595 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34596 variable instead of depending directly on libc.
34597 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34598 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34599 $(link-libc-deps).
34600 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34601 libc.
34602 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34603 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34604 ($(objpfx)libanl.so): Likewise.
34605 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34606 ld.so.
34607 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34608 $(link-libc-deps).
34609 * sysdeps/i386/fpu/Makefile: Remove file.
34610 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34611 ($(objpfx)libm.so): Remove dependency on ld.so.
34612
34613 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34614
34615 [BZ # 15553]
34616 * nis/yp_xdr.c (XDRMAXNAME): Define.
34617 (XDRMAXRECORD): Define.
34618 (xdr_domainname): Use XDRMAXNAME.
34619 (xdr_mapname): Likewise.
34620 (xdr_peername): Likewise.
34621 (xdr_keydat): Use XDRMAXRECORD.
34622 (xdr_valdat): Likewise.
34623
34624 2013-05-30 Jeff Law <law@redhat.com>
34625
34626 [BZ #14256]
34627 * manual/errno.texi (ESTALE): Update to account for more than
34628 just NFS file systems.
34629 * sysdeps/gnu/errlist.c: Regenerated.
34630
34631 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34632
34633 [BZ #15465]
34634 * elf/Makefile (tests): Add tst-null-argv.
34635 (modules-names): Add tst-null-argv-lib.
34636 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34637 (tst-null-argv-ENV): Set environment for tst-null-argv.
34638 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34639 (RTLD_PROGNAME): New macro.
34640 * elf/tst-null-argv.c: New test case.
34641 * elf/tst-null-argv-lib.c: Library for test case.
34642 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34643 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34644 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34645 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34646 * elf/dl-init.c (call_init): Likewise.
34647 (_dl_init): Likewise.
34648 * elf/dl-load.c (print_search_path): Likewise.
34649 (_dl_map_object): Likewise.
34650 * elf/dl-lookup.c (do_lookup_x): Likewise.
34651 (add_dependency): Likewise.
34652 (_dl_lookup_symbol_x): Likewise.
34653 (_dl_debug_bindings): Likewise.
34654 * elf/dl-open.c (_dl_show_scope): Likewise.
34655 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34656 * elf/dl-version.c (match_symbol): Likewise.
34657 (_dl_check_map_versions): Likewise.
34658 * elf/rtld.c (dl_main): Likewise.
34659 (print_unresolved): Use RTLD_PROGNAME.
34660 (print_missing_version): Likewise.
34661 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34662 (elf_machine_rela): Likewise.
34663 * sysdeps/powerpc/powerpc32/dl-machine.c
34664 (__process_machine_rela): Likewise.
34665 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34666 Likewise.
34667 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34668 Likewise.
34669 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34670 Likewise.
34671 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34673 Likewise.
34674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34675 Likewise.
34676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34677
34678 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34679
34680 * po/be.po: Add descriptive title.
34681 * po/zh_CN.po: Likewise.
34682 * po/header.pot: Likewise.
34683
34684 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34685
34686 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34687 error message.
34688 (enlarge_archive): Likewise.
34689
34690 2013-05-28 Ben North <ben@redfrontdoor.org>
34691
34692 * manual/arith.texi (frexp): It is the magnitude of the return
34693 value which lies in [0.5, 1), not the return value itself.
34694
34695 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34696
34697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34698
34699 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
34700
34701 * stdio-common/bug26.c (main): Correct fscanf template.
34702
34703 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34704 declare _dl_skip_args.
34705
34706 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34707 Don't declare.
34708
34709 * manual/platform.texi: Add missing @end deftypefun.
34710
34711 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34712
34713 [BZ #15529]
34714 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34715 bit of mantissa of 2^16382.
34716 * math/libm-test.inc (hypot_test_data): Add more tests.
34717
34718 * math/libm-test.inc: Add drem and pow10 to list of tested
34719 functions.
34720 (pow10_test): New function.
34721 (drem_test): Likewise.
34722 (drem_test_tonearest): Likewise.
34723 (drem_test_towardzero): Likewise.
34724 (drem_test_downward): Likewise.
34725 (drem_test_upward): Likewise.
34726 (main): Call the new functions.
34727
34728 * math/libm-test.inc (finite_test_data): Remove.
34729 (finite_test): Run tests from isfinite_test_data.
34730 (gamma_test_data): Remove.
34731 (gamma_test): Run tests from lgamma_test_data.
34732 * sysdeps/i386/fpu/libm-test-ulps: Update.
34733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34734
34735 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34736
34737 * manual/platform.texi: Add PowerPC PPR function set documentation.
34738 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34739 implementation.
34740
34741 2013-05-24 Carlos O'Donell <carlos@redhat.com>
34742
34743 * math/libm-test.inc (MAX_EXP): Define.
34744 (ULPDIFF): Define.
34745 (ulp): New function.
34746 (check_float_internal): Use ULPDIFF.
34747 (cpow_test): Disable failing test.
34748 (check_ulp): Test ulp() implemetnation.
34749 (main): Call check_ulp before starting tests.
34750
34751 2013-05-24 Joseph Myers <joseph@codesourcery.com>
34752
34753 * math/gen-libm-test.pl (generate_testfile): Do not handle
34754 START_DATA and END_DATA.
34755 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34756 END_DATA.
34757 (acos_tonearest_test_data): Likewise.
34758 (acos_towardzero_test_data): Likewise.
34759 (acos_downward_test_data): Likewise.
34760 (acos_upward_test_data): Likewise.
34761 (acosh_test_data): Likewise.
34762 (asin_test_data): Likewise.
34763 (asin_tonearest_test_data): Likewise.
34764 (asin_towardzero_test_data): Likewise.
34765 (asin_downward_test_data): Likewise.
34766 (asin_upward_test_data): Likewise.
34767 (asinh_test_data): Likewise.
34768 (atan_test_data): Likewise.
34769 (atanh_test_data): Likewise.
34770 (atan2_test_data): Likewise.
34771 (cabs_test_data): Likewise.
34772 (cacos_test_data): Likewise.
34773 (cacosh_test_data): Likewise.
34774 (carg_test_data): Likewise.
34775 (casin_test_data): Likewise.
34776 (casinh_test_data): Likewise.
34777 (catan_test_data): Likewise.
34778 (catanh_test_data): Likewise.
34779 (cbrt_test_data): Likewise.
34780 (ccos_test_data): Likewise.
34781 (ccosh_test_data): Likewise.
34782 (ceil_test_data): Likewise.
34783 (cexp_test_data): Likewise.
34784 (cimag_test_data): Likewise.
34785 (clog_test_data): Likewise.
34786 (clog10_test_data): Likewise.
34787 (conj_test_data): Likewise.
34788 (copysign_test_data): Likewise.
34789 (cos_test_data): Likewise.
34790 (cos_tonearest_test_data): Likewise.
34791 (cos_towardzero_test_data): Likewise.
34792 (cos_downward_test_data): Likewise.
34793 (cos_upward_test_data): Likewise.
34794 (cosh_test_data): Likewise.
34795 (cosh_tonearest_test_data): Likewise.
34796 (cosh_towardzero_test_data): Likewise.
34797 (cosh_downward_test_data): Likewise.
34798 (cosh_upward_test_data): Likewise.
34799 (cpow_test_data): Likewise.
34800 (cproj_test_data): Likewise.
34801 (creal_test_data): Likewise.
34802 (csin_test_data): Likewise.
34803 (csinh_test_data): Likewise.
34804 (csqrt_test_data): Likewise.
34805 (ctan_test_data): Likewise.
34806 (ctan_tonearest_test_data): Likewise.
34807 (ctan_towardzero_test_data): Likewise.
34808 (ctan_downward_test_data): Likewise.
34809 (ctan_upward_test_data): Likewise.
34810 (ctanh_test_data): Likewise.
34811 (ctanh_tonearest_test_data): Likewise.
34812 (ctanh_towardzero_test_data): Likewise.
34813 (ctanh_downward_test_data): Likewise.
34814 (ctanh_upward_test_data): Likewise.
34815 (erf_test_data): Likewise.
34816 (erfc_test_data): Likewise.
34817 (exp_test_data): Likewise.
34818 (exp_tonearest_test_data): Likewise.
34819 (exp_towardzero_test_data): Likewise.
34820 (exp_downward_test_data): Likewise.
34821 (exp_upward_test_data): Likewise.
34822 (exp10_test_data): Likewise.
34823 (exp2_test_data): Likewise.
34824 (expm1_test_data): Likewise.
34825 (fabs_test_data): Likewise.
34826 (fdim_test_data): Likewise.
34827 (finite_test_data): Likewise.
34828 (floor_test_data): Likewise.
34829 (fma_test_data): Likewise.
34830 (fma_towardzero_test_data): Likewise.
34831 (fma_downward_test_data): Likewise.
34832 (fma_upward_test_data): Likewise.
34833 (fmax_test_data): Likewise.
34834 (fmin_test_data): Likewise.
34835 (fmod_test_data): Likewise.
34836 (fpclassify_test_data): Likewise.
34837 (frexp_test_data): Likewise.
34838 (gamma_test_data): Likewise.
34839 (hypot_test_data): Likewise.
34840 (ilogb_test_data): Likewise.
34841 (isfinite_test_data): Likewise.
34842 (isgreater_test_data): Likewise.
34843 (isgreaterequal_test_data): Likewise.
34844 (isinf_test_data): Likewise.
34845 (isless_test_data): Likewise.
34846 (islessequal_test_data): Likewise.
34847 (islessgreater_test_data): Likewise.
34848 (isnan_test_data): Likewise.
34849 (isnormal_test_data): Likewise.
34850 (issignaling_test_data): Likewise.
34851 (isunordered_test_data): Likewise.
34852 (j0_test_data): Likewise.
34853 (j1_test_data): Likewise.
34854 (jn_test_data): Likewise.
34855 (ldexp_test_data): Likewise.
34856 (lgamma_test_data): Likewise.
34857 (lrint_test_data): Likewise.
34858 (lrint_tonearest_test_data): Likewise.
34859 (lrint_towardzero_test_data): Likewise.
34860 (lrint_downward_test_data): Likewise.
34861 (lrint_upward_test_data): Likewise.
34862 (llrint_test_data): Likewise.
34863 (llrint_tonearest_test_data): Likewise.
34864 (llrint_towardzero_test_data): Likewise.
34865 (llrint_downward_test_data): Likewise.
34866 (llrint_upward_test_data): Likewise.
34867 (log_test_data): Likewise.
34868 (log10_test_data): Likewise.
34869 (log1p_test_data): Likewise.
34870 (log2_test_data): Likewise.
34871 (logb_test_data): Likewise.
34872 (logb_downward_test_data): Likewise.
34873 (lround_test_data): Likewise.
34874 (llround_test_data): Likewise.
34875 (modf_test_data): Likewise.
34876 (nearbyint_test_data): Likewise.
34877 (nextafter_test_data): Likewise.
34878 (nexttoward_test_data): Likewise.
34879 (pow_test_data): Likewise.
34880 (pow_tonearest_test_data): Likewise.
34881 (pow_towardzero_test_data): Likewise.
34882 (pow_downward_test_data): Likewise.
34883 (pow_upward_test_data): Likewise.
34884 (remainder_test_data): Likewise.
34885 (remainder_tonearest_test_data): Likewise.
34886 (remainder_towardzero_test_data): Likewise.
34887 (remainder_downward_test_data): Likewise.
34888 (remainder_upward_test_data): Likewise.
34889 (remquo_test_data): Likewise.
34890 (rint_test_data): Likewise.
34891 (rint_tonearest_test_data): Likewise.
34892 (rint_towardzero_test_data): Likewise.
34893 (rint_downward_test_data): Likewise.
34894 (rint_upward_test_data): Likewise.
34895 (round_test_data): Likewise.
34896 (scalb_test_data): Likewise.
34897 (scalbn_test_data): Likewise.
34898 (scalbln_test_data): Likewise.
34899 (signbit_test_data): Likewise.
34900 (sin_test_data): Likewise.
34901 (sin_tonearest_test_data): Likewise.
34902 (sin_towardzero_test_data): Likewise.
34903 (sin_downward_test_data): Likewise.
34904 (sin_upward_test_data): Likewise.
34905 (sincos_test_data): Likewise.
34906 (sinh_test_data): Likewise.
34907 (sinh_tonearest_test_data): Likewise.
34908 (sinh_towardzero_test_data): Likewise.
34909 (sinh_downward_test_data): Likewise.
34910 (sinh_upward_test_data): Likewise.
34911 (sqrt_test_data): Likewise.
34912 (tan_test_data): Likewise.
34913 (tan_tonearest_test_data): Likewise.
34914 (tan_towardzero_test_data): Likewise.
34915 (tan_downward_test_data): Likewise.
34916 (tan_upward_test_data): Likewise.
34917 (tanh_test_data): Likewise.
34918 (tgamma_test_data): Likewise.
34919 (trunc_test_data): Likewise.
34920 (y0_test_data): Likewise.
34921 (y1_test_data): Likewise.
34922 (yn_test_data): Likewise.
34923 (significand_test_data): Likewise.
34924
34925 * math/gen-libm-test.pl (@functions): Remove variable.
34926 (generate_testfile): Don't handle START and END lines.
34927 * math/libm-test.inc (START): New macro.
34928 (END): Likewise.
34929 (END_COMPLEX): Likewise.
34930 (acos_test): Use END macro without arguments.
34931 (acos_test_tonearest): Likewise.
34932 (acos_test_towardzero): Likewise.
34933 (acos_test_downward): Likewise.
34934 (acos_test_upward): Likewise.
34935 (acosh_test): Likewise.
34936 (asin_test): Likewise.
34937 (asin_test_tonearest): Likewise.
34938 (asin_test_towardzero): Likewise.
34939 (asin_test_downward): Likewise.
34940 (asin_test_upward): Likewise.
34941 (asinh_test): Likewise.
34942 (atan_test): Likewise.
34943 (atanh_test): Likewise.
34944 (atan2_test): Likewise.
34945 (cabs_test): Likewise.
34946 (cacos_test): Use END_COMPLEX macro without arguments.
34947 (cacosh_test): Likewise.
34948 (carg_test): Use END macro without arguments.
34949 (casin_test): Use END_COMPLEX macro without arguments.
34950 (casinh_test): Likewise.
34951 (catan_test): Likewise.
34952 (catanh_test): Likewise.
34953 (cbrt_test): Use END macro without arguments.
34954 (ccos_test): Use END_COMPLEX macro without arguments.
34955 (ccosh_test): Likewise.
34956 (ceil_test): Use END macro without arguments.
34957 (cexp_test): Use END_COMPLEX macro without arguments.
34958 (cimag_test): Use END macro without arguments.
34959 (clog_test): Use END_COMPLEX macro without arguments.
34960 (clog10_test): Likewise.
34961 (conj_test): Likewise.
34962 (copysign_test): Use END macro without arguments.
34963 (cos_test): Likewise.
34964 (cos_test_tonearest): Likewise.
34965 (cos_test_towardzero): Likewise.
34966 (cos_test_downward): Likewise.
34967 (cos_test_upward): Likewise.
34968 (cosh_test): Likewise.
34969 (cosh_test_tonearest): Likewise.
34970 (cosh_test_towardzero): Likewise.
34971 (cosh_test_downward): Likewise.
34972 (cosh_test_upward): Likewise.
34973 (cpow_test): Use END_COMPLEX macro without arguments.
34974 (cproj_test): Likewise.
34975 (creal_test): Use END macro without arguments.
34976 (csin_test): Use END_COMPLEX macro without arguments.
34977 (csinh_test): Likewise.
34978 (csqrt_test): Likewise.
34979 (ctan_test): Likewise.
34980 (ctan_test_tonearest): Likewise.
34981 (ctan_test_towardzero): Likewise.
34982 (ctan_test_downward): Likewise.
34983 (ctan_test_upward): Likewise.
34984 (ctanh_test): Likewise.
34985 (ctanh_test_tonearest): Likewise.
34986 (ctanh_test_towardzero): Likewise.
34987 (ctanh_test_downward): Likewise.
34988 (ctanh_test_upward): Likewise.
34989 (erf_test): Use END macro without arguments.
34990 (erfc_test): Likewise.
34991 (exp_test): Likewise.
34992 (exp_test_tonearest): Likewise.
34993 (exp_test_towardzero): Likewise.
34994 (exp_test_downward): Likewise.
34995 (exp_test_upward): Likewise.
34996 (exp10_test): Likewise.
34997 (exp2_test): Likewise.
34998 (expm1_test): Likewise.
34999 (fabs_test): Likewise.
35000 (fdim_test): Likewise.
35001 (finite_test): Likewise.
35002 (floor_test): Likewise.
35003 (fma_test): Likewise.
35004 (fma_test_towardzero): Likewise.
35005 (fma_test_downward): Likewise.
35006 (fma_test_upward): Likewise.
35007 (fmax_test): Likewise.
35008 (fmin_test): Likewise.
35009 (fmod_test): Likewise.
35010 (fpclassify_test): Likewise.
35011 (frexp_test): Likewise.
35012 (gamma_test): Likewise.
35013 (hypot_test): Likewise.
35014 (ilogb_test): Likewise.
35015 (isfinite_test): Likewise.
35016 (isgreater_test): Likewise.
35017 (isgreaterequal_test): Likewise.
35018 (isinf_test): Likewise.
35019 (isless_test): Likewise.
35020 (islessequal_test): Likewise.
35021 (islessgreater_test): Likewise.
35022 (isnan_test): Likewise.
35023 (isnormal_test): Likewise.
35024 (issignaling_test): Likewise.
35025 (isunordered_test): Likewise.
35026 (j0_test): Likewise.
35027 (j1_test): Likewise.
35028 (jn_test): Likewise.
35029 (ldexp_test): Likewise.
35030 (lgamma_test): Likewise.
35031 (lrint_test): Likewise.
35032 (lrint_test_tonearest): Likewise.
35033 (lrint_test_towardzero): Likewise.
35034 (lrint_test_downward): Likewise.
35035 (lrint_test_upward): Likewise.
35036 (llrint_test): Likewise.
35037 (llrint_test_tonearest): Likewise.
35038 (llrint_test_towardzero): Likewise.
35039 (llrint_test_downward): Likewise.
35040 (llrint_test_upward): Likewise.
35041 (log_test): Likewise.
35042 (log10_test): Likewise.
35043 (log1p_test): Likewise.
35044 (log2_test): Likewise.
35045 (logb_test): Likewise.
35046 (logb_test_downward): Likewise.
35047 (lround_test): Likewise.
35048 (llround_test): Likewise.
35049 (modf_test): Likewise.
35050 (nearbyint_test): Likewise.
35051 (nextafter_test): Likewise.
35052 (nexttoward_test): Likewise.
35053 (pow_test): Likewise.
35054 (pow_test_tonearest): Likewise.
35055 (pow_test_towardzero): Likewise.
35056 (pow_test_downward): Likewise.
35057 (pow_test_upward): Likewise.
35058 (remainder_test): Likewise.
35059 (remainder_test_tonearest): Likewise.
35060 (remainder_test_towardzero): Likewise.
35061 (remainder_test_downward): Likewise.
35062 (remainder_test_upward): Likewise.
35063 (remquo_test): Likewise.
35064 (rint_test): Likewise.
35065 (rint_test_tonearest): Likewise.
35066 (rint_test_towardzero): Likewise.
35067 (rint_test_downward): Likewise.
35068 (rint_test_upward): Likewise.
35069 (round_test): Likewise.
35070 (scalb_test): Likewise.
35071 (scalbn_test): Likewise.
35072 (scalbln_test): Likewise.
35073 (signbit_test): Likewise.
35074 (sin_test): Likewise.
35075 (sin_test_tonearest): Likewise.
35076 (sin_test_towardzero): Likewise.
35077 (sin_test_downward): Likewise.
35078 (sin_test_upward): Likewise.
35079 (sincos_test): Likewise.
35080 (sinh_test): Likewise.
35081 (sinh_test_tonearest): Likewise.
35082 (sinh_test_towardzero): Likewise.
35083 (sinh_test_downward): Likewise.
35084 (sinh_test_upward): Likewise.
35085 (sqrt_test): Likewise.
35086 (tan_test): Likewise.
35087 (tan_test_tonearest): Likewise.
35088 (tan_test_towardzero): Likewise.
35089 (tan_test_downward): Likewise.
35090 (tan_test_upward): Likewise.
35091 (tanh_test): Likewise.
35092 (tgamma_test): Likewise.
35093 (trunc_test): Likewise.
35094 (y0_test): Likewise.
35095 (y1_test): Likewise.
35096 (yn_test): Likewise.
35097 (significand_test): Likewise.
35098
35099 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35100
35101 [BZ #15381]
35102 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35103
35104 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35105
35106 [BZ #14894]
35107 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35108 __ppc_mdoio and __ppc_mdoom.
35109 * manual/platform.texi: Document new functions __ppc_yield,
35110 __ppc_mdoio and __ppc_mdoom.
35111
35112 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35113
35114 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35115 (main): Mention "tls" pseudo-hwcap is legacy.
35116 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35117
35118 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35119
35120 * math/gen-libm-test.pl (parse_args): Output only string of
35121 arguments as text for test name, not full call or descriptions of
35122 tests for extra outputs.
35123 (generate_testfile): Do not pass function name to parse_args.
35124 Generate this_func variable from START.
35125 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35126 field to arg_str.
35127 (struct test_ff_f_data): Likewise.
35128 (test_ff_f_data_nexttoward): Likewise.
35129 (struct test_fi_f_data): Likewise.
35130 (struct test_fl_f_data): Likewise.
35131 (struct test_if_f_data): Likewise.
35132 (struct test_fff_f_data): Likewise.
35133 (struct test_c_f_data): Likewise.
35134 (struct test_f_f1_data): Likewise. Remove field extra_name.
35135 (struct test_fF_f1_data): Likewise.
35136 (struct test_ffI_f1_data): Likewise.
35137 (struct test_c_c_data): Rename test_name field to arg_str.
35138 (struct test_cc_c_data): Likewise.
35139 (struct test_f_i_data): Likewise.
35140 (struct test_ff_i_data): Likewise.
35141 (struct test_f_l_data): Likewise.
35142 (struct test_f_L_data): Likewise.
35143 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35144 and extra2_name.
35145 (COMMON_TEST_SETUP): New macro.
35146 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35147 (COMMON_TEST_CLEANUP): Likewise.
35148 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35149 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35150 macros.
35151 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35152 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35153 macros.
35154 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35155 (RUN_TEST_fff_f): Take argument string. Call new setup and
35156 cleanup macros.
35157 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35158 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35159 macros.
35160 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35161 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35162 macros.
35163 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35164 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35165 cleanup macros.
35166 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35167 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35168 cleanup macros.
35169 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35170 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35171 cleanup macros.
35172 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35173 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35174 macros.
35175 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35176 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35177 macros.
35178 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35179 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35180 macros.
35181 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35182 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35183 cleanup macros.
35184 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35185 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35186 cleanup macros.
35187 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35188 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35189 macros.
35190 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35191 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35192 cleanup macros.
35193 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35194 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35195 macros.
35196 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35197 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35198 macros.
35199 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35200 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35201 cleanup macros.
35202 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35203
35204 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35205
35206 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35207 to _sifields.sigfault.
35208 (si_addr_lsb): Define new macro.
35209 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35210 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35211 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35212
35213 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35214
35215 [BZ #15441]
35216 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35217 returns -1.
35218 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35219 null return -1.
35220 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35221 loading the domain.
35222
35223 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35224
35225 * math/gen-libm-test.pl (parse_args): Do not include expected
35226 result in test name.
35227 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35228 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35229 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35230 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35231 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35233
35234 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35235
35236 * benchtests/Makefile: Sort function entries.
35237
35238 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35239 tanh, asinh, acosh, atanh.
35240 * benchtests/acos-inputs: New file.
35241 * benchtests/acosh-inputs: New file.
35242 * benchtests/asin-inputs: New file.
35243 * benchtests/asinh-inputs: New file.
35244 * benchtests/atanh-inputs: New file.
35245 * benchtests/cosh-inputs: New file.
35246 * benchtests/log-inputs: New file.
35247 * benchtests/sinh-inputs: New file.
35248 * benchtests/tanh-inputs: New file.
35249
35250 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35251
35252 [BZ #15339]
35253 * posix/tst-getaddrinfo4.c: New test.
35254 * posix/Makefile (tests): Add it.
35255
35256 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35257
35258 [BZ #15339]
35259 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35260 when no services were used.
35261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35262 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35263
35264 2013-05-21 Andreas Schwab <schwab@suse.de>
35265
35266 [BZ #15014]
35267 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35268 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35269 successful.
35270 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35271 redundant variable declarations and reallocation of buffer when
35272 parsing as IPv6 address. Always set NSS status when called from
35273 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35274 buffer too small. Correct computation of needed size.
35275 * nss/Makefile (tests): Add test-digits-dots.
35276 * nss/test-digits-dots.c: New test.
35277
35278 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35279
35280 * benchtests/Makefile: Remove instructions for adding
35281 benchmark tests.
35282 * benchtests/README: New file to explain how to execute and
35283 enhance the benchmark tests.
35284
35285 2013-05-21 Andreas Schwab <schwab@suse.de>
35286
35287 [BZ #15493]
35288 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35289 * setjmp/tst-sigsetjmp.c: New test.
35290
35291 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35292
35293 * sysdeps/x86_64/memset.S (memset): New implementation.
35294 (__bzero): Likewise.
35295 (__memset_tail): New function.
35296
35297 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35298
35299 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35300 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35301 __memcpy_sse2_unaligned ifunc selection.
35302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35303 Add memcpy-sse2-unaligned.S.
35304 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35305 Add: __memcpy_sse2_unaligned.
35306
35307 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35308
35309 [BZ #15490]
35310 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35311 math_force_eval before restoring floating-point envrionment.
35312 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35313 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35314 Likewise.
35315 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35316 <math_private.h>.
35317 (__nearbyintl): Use math_force_eval before restoring
35318 floating-point environment.
35319 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35320
35321 * math/gen-libm-test.pl (special_functions): Remove.
35322 (parse_args): Don't handle TEST_extra. Handle functions with no
35323 return value.
35324 * math/libm-test.inc (struct test_sincos_data): Replace with
35325 struct test_fFF_11_data.
35326 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35327 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35328 (sincos_test_data): Change element type to struct
35329 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35330 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35331 RUN_TEST_LOOP_sincos.
35332 * math/README.libm-test: Don't mention special handling of
35333 individual functions.
35334 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35335 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35336 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35337 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35338 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35340
35341 * math/gen-libm-test.pl (get_variable): Remove function.
35342 (parse_args): Don't show pointer parameters to call in test
35343 names. Use "extra output N" in test names for extra outputs
35344 rather than naming variables.
35345
35346 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35347
35348 [BZ #15488]
35349 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35350 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35351 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35352 double tests.
35353 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35354 disable.
35355 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35356 check_long_double.
35357
35358 * math/gen-libm-test.pl (@tests): Remove variable.
35359 ($count): Likewise.
35360 (new_test): Remove function.
35361 (show_exceptions): New function.
35362 (special_functions): Use show_exceptions instead of new_test.
35363 (parse_args): Likewise.
35364 (generate_testfile): Pass only function name in generated call to
35365 print_max_error or print_complex_max_error.
35366 (get_ulps): Do not handle complex tests specially.
35367 (output_test): Rename to ...
35368 (get_all_ulps_for_test): ... this. Return a string rather than
35369 printing to a file. Require ulps to be present.
35370 (output_ulps): Generate arrays rather than #defines.
35371 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35372 (struct ulp_data): New type.
35373 (BUILD_COMPLEX_ULP): Remove macro.
35374 (compare_ulp_data): New function.
35375 (find_ulps): Likewise.
35376 (find_test_ulps): Likewise.
35377 (find_function_ulps): Likewise.
35378 (find_complex_function_ulps): Likewise.
35379 (print_max_error): Determine allowed ulps using
35380 find_function_ulps.
35381 (print_complex_max_error): Determine allowed ulps using
35382 find_complex_function_ulps.
35383 (check_float_internal): Determine max ulps using find_test_ulps.
35384 (check_float): Do not take max_ulp parameter. Update call to
35385 check_float_internal.
35386 (check_complex): Likewise.
35387 (check_int): Do not take max_ulp parameter.
35388 (check_long): Likewise.
35389 (check_bool): Likewise.
35390 (check_longlong): Likewise.
35391 (struct test_f_f_data): Remove max_ulp field.
35392 (struct test_ff_f_data): Likewise.
35393 (struct test_ff_f_data_nexttoward): Likewise.
35394 (struct test_fi_f_data): Likewise.
35395 (struct test_fl_f_data): Likewise.
35396 (struct test_if_f_data): Likewise.
35397 (struct test_fff_f_data): Likewise.
35398 (struct test_c_f_data): Likewise.
35399 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35400 (struct test_fF_f1_data): Likewise.
35401 (struct test_ffI_f1_data): Likewise.
35402 (struct test_c_c_data): Remove max_ulp field.
35403 (struct test_cc_c_data): Likewise.
35404 (struct test_f_i_data): Likewise.
35405 (struct test_ff_i_data): Likewise.
35406 (struct test_f_l_data): Likewise.
35407 (struct test_f_L_data): Likewise.
35408 (struct test_sincos_data): Likewise.
35409 (RUN_TEST_f_f): Do not handle ulps.
35410 (RUN_TEST_LOOP_f_f): Likewise.
35411 (RUN_TEST_2_f): Likewise.
35412 (RUN_TEST_LOOP_2_f): Likewise.
35413 (RUN_TEST_fff_f): Likewise.
35414 (RUN_TEST_LOOP_fff_f): Likewise.
35415 (RUN_TEST_c_f): Likewise.
35416 (RUN_TEST_LOOP_c_f): Likewise.
35417 (RUN_TEST_f_f1): Likewise.
35418 (RUN_TEST_LOOP_f_f1): Likewise.
35419 (RUN_TEST_fF_f1): Likewise.
35420 (RUN_TEST_LOOP_fF_f1): Likewise.
35421 (RUN_TEST_fI_f1): Likewise.
35422 (RUN_TEST_LOOP_fI_f1): Likewise.
35423 (RUN_TEST_ffI_f1): Likewise.
35424 (RUN_TEST_LOOP_ffI_f1): Likewise.
35425 (RUN_TEST_c_c): Likewise.
35426 (RUN_TEST_LOOP_c_c): Likewise.
35427 (RUN_TEST_cc_c): Likewise.
35428 (RUN_TEST_LOOP_cc_c): Likewise.
35429 (RUN_TEST_f_i): Likewise.
35430 (RUN_TEST_LOOP_f_i): Likewise.
35431 (RUN_TEST_f_i_tg): Likewise.
35432 (RUN_TEST_LOOP_f_i_tg): Likewise.
35433 (RUN_TEST_ff_i_tg): Likewise.
35434 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35435 (RUN_TEST_f_b): Likewise.
35436 (RUN_TEST_LOOP_f_b): Likewise.
35437 (RUN_TEST_f_b_tg): Likewise.
35438 (RUN_TEST_LOOP_f_b_tg): Likewise.
35439 (RUN_TEST_f_l): Likewise.
35440 (RUN_TEST_LOOP_f_l): Likewise.
35441 (RUN_TEST_f_L): Likewise.
35442 (RUN_TEST_LOOP_f_L): Likewise.
35443 (RUN_TEST_sincos): Likewise.
35444 (RUN_TEST_LOOP_sincos): Likewise.
35445
35446 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35447
35448 [BZ #15480]
35449 [BZ #15485]
35450 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35451 main case of finite arguments, set rounding mode to FE_TONEAREST
35452 and discard exceptions.
35453 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35454 exceptions.
35455 (remainder_tonearest_test_data): New variable.
35456 (remainder_test_tonearest): New function.
35457 (remainder_towardzero_test_data): New variable.
35458 (remainder_test_towardzero): New function.
35459 (remainder_downward_test_data): New variable.
35460 (remainder_test_downward): New function.
35461 (remainder_upward_test_data): New variable.
35462 (remainder_test_upward): New function.
35463 (main): Call the new test functions.
35464
35465 * math/libm-test.inc (struct test_f_f1_data): Remove field
35466 extra_init.
35467 (struct test_fF_f1_data): Likewise.
35468 (struct test_ffI_f1_data): Likewise.
35469 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35470 based on value of EXTRA_EXPECTED.
35471 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35472 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35473 EXTRA_VAR based on value of EXTRA_EXPECTED.
35474 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35475 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35476 EXTRA_VAR based on value of EXTRA_EXPECTED.
35477 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35478 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35479 EXTRA_VAR based on value of EXTRA_EXPECTED.
35480 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35481 * math/gen-libm-test.pl (parse_args): Don't output initializers
35482 for extra output values.
35483
35484 * math/libm-test.inc (check_int): Expect result to be exactly
35485 equal to expected value and do not handle ulps.
35486 (check_long): Likewise.
35487 (check_longlong): Likewise.
35488
35489 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35490 exceptions.
35491 (cimag_test_data): Likewise.
35492 (conj_test_data): Likewise.
35493 (copysign_test_data): Likewise.
35494 (cproj_test_data): Likewise.
35495 (creal_test_data): Likewise.
35496 (fabs_test_data): Likewise.
35497 (fdim_test_data): Likewise.
35498 (finite_test_data): Likewise.
35499 (floor_test_data): Likewise.
35500 (fmax_test_data): Likewise.
35501 (fmin_test_data): Likewise.
35502 (fmod_test_data): Likewise.
35503 (fpclassify_test_data): Likewise.
35504 (frexp_test_data): Likewise.
35505 (ilogb_test_data): Likewise.
35506 (isfinite_test_data): Likewise.
35507 (isgreater_test_data): Likewise.
35508 (isgreaterequal_test_data): Likewise.
35509 (isinf_test_data): Likewise.
35510 (isless_test_data): Likewise.
35511 (islessequal_test_data): Likewise.
35512 (islessgreater_test_data): Likewise.
35513 (isnan_test_data): Likewise.
35514 (isnormal_test_data): Likewise.
35515 (issignaling_test_data): Likewise.
35516 (isunordered_test_data): Likewise.
35517 (ldexp_test_data): Likewise.
35518 (lrint_test_data): Likewise.
35519 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35520 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35521 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35522 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35523 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35524 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35525 test input.
35526 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35527 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35528 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35529 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35530 that test input.
35531 (lrint_downward_test_data): Test for "inexact" exceptions.
35532 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35533 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35534 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35535 test input.
35536 (lrint_upward_test_data): Test for "inexact" exceptions.
35537 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35538 test input.
35539 (llrint_test_data): Test for "inexact" exceptions.
35540 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35541 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35542 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35543 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35544 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35545 (llrint_downward_test_data): Test for "inexact" exceptions.
35546 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35547 (llrint_upward_test_data): Test for "inexact" exceptions.
35548 (logb_test_data): Likewise.
35549 (logb_downward_test_data): Likewise.
35550 (nextafter_test_data): Likewise.
35551 (nexttoward_test_data): Likewise.
35552 (remainder_test_data): Likewise.
35553 (remquo_test_data): Likewise.
35554 (scalbn_test_data): Likewise.
35555 (scalbln_test_data): Likewise.
35556 (signbit_test_data): Likewise.
35557 (sqrt_test_data): Likewise.
35558 (significand_test_data): Likewise.
35559
35560 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35561
35562 [BZ #15424]
35563 * benchtests/bench-modf.c (struct args): Mark arg0 as
35564 volatile.
35565 * scripts/bench.pl: Mark members of struct args as volatile.
35566
35567 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35568
35569 [BZ # 15497]
35570 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35571 negative infinity on POWER6 or lower.
35572 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35573
35574 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35575
35576 [BZ #15442]
35577 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35578 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35579 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35580 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35581 (_FP_SETQNAN): New macro.
35582 (_FP_SETQNAN_SEMIRAW): Likewise.
35583 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35584 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35585 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35586 (FP_EXTEND): Use _FP_FRAC_SNANP.
35587 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35588 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35589 into account.
35590 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35591 New macro.
35592 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35593 Likewise.
35594
35595 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35596
35597 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35598 with DIVIDE_BY_ZERO_EXCEPTION.
35599 (gamma_test_data): Likewise.
35600 (lgamma_test_data): Likewise.
35601 (log_test_data): Likewise.
35602 (log10_test_data): Likewise.
35603 (log2_test_data): Likewise.
35604 (tgamma_test_data): Likewise.
35605
35606 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35607 (acos_test_tonearest): Likewise.
35608 (acos_test_towardzero): Likewise.
35609 (acos_test_downward): Likewise.
35610 (acos_test_upward): Likewise.
35611 (acosh_test): Likewise.
35612 (asin_test): Likewise.
35613 (asin_test_tonearest): Likewise.
35614 (asin_test_towardzero): Likewise.
35615 (asin_test_downward): Likewise.
35616 (asin_test_upward): Likewise.
35617 (asinh_test): Likewise.
35618 (atan_test): Likewise.
35619 (atanh_test): Likewise.
35620 (atan2_test): Likewise.
35621 (cabs_test): Likewise.
35622 (cacos_test): Likewise.
35623 (cacosh_test): Likewise.
35624 (casin_test): Likewise.
35625 (casinh_test): Likewise.
35626 (catan_test): Likewise.
35627 (catanh_test): Likewise.
35628 (cbrt_test): Likewise.
35629 (ccos_test): Likewise.
35630 (ccosh_test): Likewise.
35631 (cexp_test): Likewise.
35632 (clog_test): Likewise.
35633 (clog10_test): Likewise.
35634 (cos_test): Likewise.
35635 (cos_test_tonearest): Likewise.
35636 (cos_test_towardzero): Likewise.
35637 (cos_test_downward): Likewise.
35638 (cos_test_upward): Likewise.
35639 (cosh_test): Likewise.
35640 (cosh_test_tonearest): Likewise.
35641 (cosh_test_towardzero): Likewise.
35642 (cosh_test_downward): Likewise.
35643 (cosh_test_upward): Likewise.
35644 (cpow_test): Likewise.
35645 (csin_test): Likewise.
35646 (csinh_test): Likewise.
35647 (csqrt_test): Likewise.
35648 (ctan_test): Likewise.
35649 (ctan_test_tonearest): Likewise.
35650 (ctan_test_towardzero): Likewise.
35651 (ctan_test_downward): Likewise.
35652 (ctan_test_upward): Likewise.
35653 (ctanh_test): Likewise.
35654 (ctanh_test_tonearest): Likewise.
35655 (ctanh_test_towardzero): Likewise.
35656 (ctanh_test_downward): Likewise.
35657 (ctanh_test_upward): Likewise.
35658 (erf_test): Likewise.
35659 (erfc_test): Likewise.
35660 (exp_test): Likewise.
35661 (exp_test_tonearest): Likewise.
35662 (exp_test_towardzero): Likewise.
35663 (exp_test_downward): Likewise.
35664 (exp_test_upward): Likewise.
35665 (exp10_test): Likewise.
35666 (exp2_test): Likewise.
35667 (expm1_test): Likewise.
35668 (fmod_test): Likewise.
35669 (gamma_test): Likewise.
35670 (hypot_test): Likewise.
35671 (j0_test): Likewise.
35672 (j1_test): Likewise.
35673 (jn_test): Likewise.
35674 (lgamma_test): Likewise.
35675 (log_test): Likewise.
35676 (log10_test): Likewise.
35677 (log1p_test): Likewise.
35678 (log2_test): Likewise.
35679 (logb_test_downward): Likewise.
35680 (pow_test): Likewise.
35681 (pow_test_tonearest): Likewise.
35682 (pow_test_towardzero): Likewise.
35683 (pow_test_downward): Likewise.
35684 (pow_test_upward): Likewise.
35685 (remainder_test): Likewise.
35686 (remquo_test): Likewise.
35687 (sin_test): Likewise.
35688 (sin_test_tonearest): Likewise.
35689 (sin_test_towardzero): Likewise.
35690 (sin_test_downward): Likewise.
35691 (sin_test_upward): Likewise.
35692 (sincos_test): Likewise.
35693 (sinh_test): Likewise.
35694 (sinh_test_tonearest): Likewise.
35695 (sinh_test_towardzero): Likewise.
35696 (sinh_test_downward): Likewise.
35697 (sinh_test_upward): Likewise.
35698 (sqrt_test): Likewise.
35699 (tan_test): Likewise.
35700 (tan_test_tonearest): Likewise.
35701 (tan_test_towardzero): Likewise.
35702 (tan_test_downward): Likewise.
35703 (tan_test_upward): Likewise.
35704 (tanh_test): Likewise.
35705 (tgamma_test): Likewise.
35706 (y0_test): Likewise.
35707 (y1_test): Likewise.
35708 (yn_test): Likewise.
35709
35710 * math/gen-libm-test.pl (adjust_arg): Remove function.
35711 (special_function): Remove argument $in_func. Only handle
35712 generating output for tables of tests, not inside functions.
35713 (parse_args): Likewise.
35714 (generate_testfile): Remove variable $in_func. Update call to
35715 parse_args.
35716 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35717 (MINUS_ZERO_INIT): Rename macro to minus_zero.
35718 (PLUS_INFTY_INIT): Rename macro to plus_infty.
35719 (MINUS_INFTY_INIT): Rename macro to minus_infty.
35720 (QNAN_VALUE_INIT): Rename macro to qnan_value.
35721 (MAX_VALUE_INIT): Rename macro to max_value.
35722 (MIN_VALUE_INIT): Rename macro to min_value.
35723 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35724 (plus_zero): Remove variable.
35725 (minus_zero): Likewise.
35726 (plus_infty): Likewise.
35727 (minus_infty): Likewise.
35728 (qnan_value): Likewise.
35729 (max_value): Likewise.
35730 (min_value): Likewise.
35731 (min_subnorm_value): Likewise.
35732
35733 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35734
35735 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35736 uint64_t or uint32_t usage.
35737 * crypt/sha256-block.c: Likewise.
35738 * crypt/sha256-crypt.c: Likewise.
35739 * crypt/sha256.c: Likewise.
35740 * crypt/sha512-block.c: Likewise.
35741 * crypt/sha512-crypt.c: Likewise.
35742 * crypt/sha512.c: Likewise.
35743 * debug/backtrace-tst.c: Likewise.
35744 * debug/pcprofiledump.c: Likewise.
35745 * elf/cache.c: Likewise.
35746 * elf/dl-cache.c: Likewise.
35747 * elf/dl-misc.c: Likewise.
35748 * elf/dl-profile.c: Likewise.
35749 * elf/dl-support.c: Likewise.
35750 * elf/ldconfig.c: Likewise.
35751 * elf/sprof.c: Likewise.
35752 * iconv/dummy-repertoire.c: Likewise.
35753 * iconv/iconv_charmap.c: Likewise.
35754 * iconv/skeleton.c: Likewise.
35755 * iconvdata/8bit-generic.c: Likewise.
35756 * iconvdata/cp737.h: Likewise.
35757 * iconvdata/cp775.h: Likewise.
35758 * iconvdata/ibm1008.h: Likewise.
35759 * iconvdata/ibm1025.h: Likewise.
35760 * iconvdata/ibm1046.h: Likewise.
35761 * iconvdata/ibm1097.h: Likewise.
35762 * iconvdata/ibm1112.h: Likewise.
35763 * iconvdata/ibm1122.h: Likewise.
35764 * iconvdata/ibm1123.h: Likewise.
35765 * iconvdata/ibm1124.h: Likewise.
35766 * iconvdata/ibm1129.h: Likewise.
35767 * iconvdata/ibm1130.h: Likewise.
35768 * iconvdata/ibm1132.h: Likewise.
35769 * iconvdata/ibm1133.h: Likewise.
35770 * iconvdata/ibm1137.h: Likewise.
35771 * iconvdata/ibm1140.h: Likewise.
35772 * iconvdata/ibm1141.h: Likewise.
35773 * iconvdata/ibm1142.h: Likewise.
35774 * iconvdata/ibm1143.h: Likewise.
35775 * iconvdata/ibm1144.h: Likewise.
35776 * iconvdata/ibm1145.h: Likewise.
35777 * iconvdata/ibm1146.h: Likewise.
35778 * iconvdata/ibm1147.h: Likewise.
35779 * iconvdata/ibm1148.h: Likewise.
35780 * iconvdata/ibm1149.h: Likewise.
35781 * iconvdata/ibm1153.h: Likewise.
35782 * iconvdata/ibm1154.h: Likewise.
35783 * iconvdata/ibm1155.h: Likewise.
35784 * iconvdata/ibm1156.h: Likewise.
35785 * iconvdata/ibm1157.h: Likewise.
35786 * iconvdata/ibm1158.h: Likewise.
35787 * iconvdata/ibm1160.h: Likewise.
35788 * iconvdata/ibm1161.h: Likewise.
35789 * iconvdata/ibm1162.h: Likewise.
35790 * iconvdata/ibm1163.h: Likewise.
35791 * iconvdata/ibm1164.h: Likewise.
35792 * iconvdata/ibm1166.h: Likewise.
35793 * iconvdata/ibm1167.h: Likewise.
35794 * iconvdata/ibm12712.h: Likewise.
35795 * iconvdata/ibm1390.h: Likewise.
35796 * iconvdata/ibm1399.h: Likewise.
35797 * iconvdata/ibm16804.h: Likewise.
35798 * iconvdata/ibm4517.h: Likewise.
35799 * iconvdata/ibm4899.h: Likewise.
35800 * iconvdata/ibm4909.h: Likewise.
35801 * iconvdata/ibm4971.h: Likewise.
35802 * iconvdata/ibm5347.h: Likewise.
35803 * iconvdata/ibm803.h: Likewise.
35804 * iconvdata/ibm856.h: Likewise.
35805 * iconvdata/ibm901.h: Likewise.
35806 * iconvdata/ibm902.h: Likewise.
35807 * iconvdata/ibm9030.h: Likewise.
35808 * iconvdata/ibm9066.h: Likewise.
35809 * iconvdata/ibm921.h: Likewise.
35810 * iconvdata/ibm922.h: Likewise.
35811 * iconvdata/ibm9448.h: Likewise.
35812 * iconvdata/isiri-3342.h: Likewise.
35813 * iconvdata/jis0201.h: Likewise.
35814 * include/link.h: Likewise.
35815 * include/netdb.h: Likewise.
35816 * inet/check_native.c: Likewise.
35817 * inet/check_pf.c: Likewise.
35818 * inet/getipv4sourcefilter.c: Likewise.
35819 * inet/getnameinfo.c: Likewise.
35820 * inet/getsourcefilter.c: Likewise.
35821 * inet/htonl.c: Likewise.
35822 * inet/setipv4sourcefilter.c: Likewise.
35823 * inet/setsourcefilter.c: Likewise.
35824 * inet/test-inet6_opt.c: Likewise.
35825 * inet/tst-network.c: Likewise.
35826 * locale/C-collate.c: Likewise.
35827 * locale/C-ctype.c: Likewise.
35828 * locale/C-time.c: Likewise.
35829 * locale/C-translit.h: Likewise.
35830 * locale/loadarchive.c: Likewise.
35831 * locale/programs/3level.h: Likewise.
35832 * locale/programs/charmap.c: Likewise.
35833 * locale/programs/charmap.h: Likewise.
35834 * locale/programs/ld-address.c: Likewise.
35835 * locale/programs/ld-collate.c: Likewise.
35836 * locale/programs/ld-ctype.c: Likewise.
35837 * locale/programs/ld-identification.c: Likewise.
35838 * locale/programs/ld-measurement.c: Likewise.
35839 * locale/programs/ld-messages.c: Likewise.
35840 * locale/programs/ld-monetary.c: Likewise.
35841 * locale/programs/ld-name.c: Likewise.
35842 * locale/programs/ld-numeric.c: Likewise.
35843 * locale/programs/ld-paper.c: Likewise.
35844 * locale/programs/ld-telephone.c: Likewise.
35845 * locale/programs/ld-time.c: Likewise.
35846 * locale/programs/linereader.c: Likewise.
35847 * locale/programs/locale.c: Likewise.
35848 * locale/programs/locarchive.c: Likewise.
35849 * locale/programs/locfile.h: Likewise.
35850 * locale/programs/repertoire.c: Likewise.
35851 * locale/programs/simple-hash.c: Likewise.
35852 * locale/programs/simple-hash.h: Likewise.
35853 * malloc/memusage.c: Likewise.
35854 * malloc/memusagestat.c: Likewise.
35855 * nis/nis_defaults.c: Likewise.
35856 * nis/nis_hash.c: Likewise.
35857 * nis/nis_print.c: Likewise.
35858 * nis/nis_xdr.c: Likewise.
35859 * nscd/connections.c: Likewise.
35860 * nscd/hstcache.c: Likewise.
35861 * nscd/nscd_gethst_r.c: Likewise.
35862 * nscd/nscd_getserv_r.c: Likewise.
35863 * nscd/nscd_helper.c: Likewise.
35864 * nscd/servicescache.c: Likewise.
35865 * nss/makedb.c: Likewise.
35866 * nss/nss_db/db-XXX.c: Likewise.
35867 * nss/nss_db/db-initgroups.c: Likewise.
35868 * nss/nss_db/db-netgrp.c: Likewise.
35869 * nss/nss_files/files-network.c: Likewise.
35870 * nss/nss_files/files-parse.c: Likewise.
35871 * posix/bug-regex5.c: Likewise.
35872 * posix/fnmatch_loop.c: Likewise.
35873 * posix/regcomp.c: Likewise.
35874 * posix/regexec.c: Likewise.
35875 * posix/tst-rfc3484-2.c: Likewise.
35876 * posix/tst-rfc3484-3.c: Likewise.
35877 * posix/tst-rfc3484.c: Likewise.
35878 * resolv/nss_dns/dns-canon.c: Likewise.
35879 * resolv/nss_dns/dns-network.c: Likewise.
35880 * resolv/res_init.c: Likewise.
35881 * resolv/res_mkquery.c: Likewise.
35882 * resolv/tst-aton.c: Likewise.
35883 * stdlib/cxa_atexit.c: Likewise.
35884 * stdlib/cxa_finalize.c: Likewise.
35885 * stdlib/gen-fpioconst.c: Likewise.
35886 * stdlib/strtol_l.c: Likewise.
35887 * string/tst-endian.c: Likewise.
35888 * sunrpc/auth_des.c: Likewise.
35889 * sunrpc/clnt_udp.c: Likewise.
35890 * sunrpc/rtime.c: Likewise.
35891 * sunrpc/svcauth_des.c: Likewise.
35892 * sunrpc/xdr.c: Likewise.
35893 * sunrpc/xdr_intXX_t.c: Likewise.
35894 * sunrpc/xdr_rec.c: Likewise.
35895 * sysdeps/generic/ldconfig.h: Likewise.
35896 * sysdeps/generic/ldsodefs.h: Likewise.
35897 * sysdeps/generic/memusage.h: Likewise.
35898 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35899 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35900 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35901 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35902 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35904 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35908 * sysdeps/posix/getaddrinfo.c: Likewise.
35909 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35910 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35911 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35912 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35913 * sysdeps/powerpc/test-gettimebase.c: Likewise.
35914 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35915 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
35916 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
35917 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35918 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
35919 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35920 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35921 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
35922 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
35923 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
35924 * sysdeps/x86_64/dl-tls.h: Likewise.
35925 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
35926 * time/alt_digit.c: Likewise.
35927 * time/era.c: Likewise.
35928 * wcsmbs/tst-c16c32-1.c: Likewise.
35929
35930 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35931
35932 * math/libm-test.inc (struct test_sincos_data): New type.
35933 (RUN_TEST_LOOP_sincos): New macro.
35934 (sincos_test_data): New variable.
35935 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
35936
35937 2013-05-16 Richard Henderson <rth@redhat.com>
35938
35939 * math/atest-exp2.c (LIMB64): New macro.
35940 (CONSTSZ): New macro.
35941 (mp_exp1, mp_exp_m1, mp_log2): New variables.
35942 (hexdig): Move ...
35943 (print_mpn_fp): ... to function scope.
35944 (read_mpn_hex): Remove.
35945 (get_log2): Remove.
35946 (exp2_mpn): Use mp_log2.
35947 (main): Use mp_exp1.
35948
35949 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35950
35951 * math/libm-test.inc: Remove comment about not testing "inexact"
35952 exceptions.
35953 (INEXACT_EXCEPTION): New macro.
35954 (NO_INEXACT_EXCEPTION): Likewise.
35955 (INVALID_EXCEPTION_OK): Update value.
35956 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35957 (OVERFLOW_EXCEPTION_OK): Likewise.
35958 (UNDERFLOW_EXCEPTION_OK): Likewise.
35959 (IGNORE_ZERO_INF_SIGN): Likewise.
35960 (ERRNO_UNCHANGED): Likewise.
35961 (ERRNO_EDOM): Likewise.
35962 (ERRNO_ERANGE): Likewise.
35963 (test_exceptions): Handle testing "inexact" exceptions.
35964 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
35965 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
35966 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
35967 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
35968 INEXACT_EXCEPTION.
35969 (rint_towardzero_test_data): Likewise.
35970 (rint_downward_test_data): Likewise.
35971 (rint_upward_test_data): Likewise.
35972
35973 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
35974 with OVERFLOW_EXCEPTION.
35975 (exp10_test_data): Likewise.
35976 (exp2_test_data): Likewise.
35977 (expm1_test_data): Likewise.
35978 (lgamma_test_data): Likewise.
35979 (pow_test_data): Likewise.
35980 (tgamma_test_data): Likewise.
35981 (yn_test_data): Remove duplicate test of overflow.
35982
35983 * math/libm-test.inc (struct test_cc_c_data): New type.
35984 (RUN_TEST_LOOP_cc_c): New macro.
35985 (cpow_test_data): New variable.
35986 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
35987
35988 * math/libm-test.inc (struct test_f_L_data): New type.
35989 (RUN_TEST_LOOP_f_L): New macro.
35990 (llrint_test_data): New variable.
35991 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
35992 (llrint_tonearest_test_data): New variable.
35993 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
35994 (llrint_towardzero_test_data): New variable.
35995 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
35996 (llrint_downward_test_data): New variable.
35997 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
35998 (llrint_upward_test_data): New variable.
35999 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36000 (llround_test_data): New variable.
36001 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36002
36003 2013-05-13 Peter Collingbourne <pcc@google.com>
36004
36005 * math/atest-exp2.c (get_log2): Remove const attribute.
36006
36007 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36008
36009 * math/libm-test.inc (struct test_f_l_data): New type.
36010 (RUN_TEST_LOOP_f_l): New macro.
36011 (lrint_test_data): New variable.
36012 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36013 (lrint_tonearest_test_data): New variable.
36014 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36015 (lrint_towardzero_test_data): New variable.
36016 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36017 (lrint_downward_test_data): New variable.
36018 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36019 (lrint_upward_test_data): New variable.
36020 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36021 (lround_test_data): New variable.
36022 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36023
36024 2013-05-15 Peter Collingbourne <pcc@google.com>
36025
36026 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36027 (EXTRACT_WORDS64) Use where appropriate.
36028 (INSERT_WORDS64) Likewise.
36029
36030 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36031 constraints with x constraints.
36032 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36033
36034 * malloc/obstack.c (_obstack_compat): Add initializer.
36035
36036 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36037
36038 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36039 si_trapno and add si_addr_lsb to _sifields.sigfault.
36040 (si_trapno): Remove macro.
36041 (si_addr_lsb): Define new macro.
36042 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36043
36044 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36045
36046 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36047 instead of TEST_f_l.
36048 (llrint_test_tonearest): Likewise.
36049 (llrint_test_towardzero): Likewise.
36050 (llrint_test_downward): Likewise.
36051 (llrint_test_upward): Likewise.
36052 (llround_test): Likewise.
36053
36054 * math/libm-test.inc (struct test_f_i_data): Add comment.
36055 (RUN_TEST_LOOP_f_b): New macro.
36056 (RUN_TEST_LOOP_f_b_tg): Likewise.
36057 (finite_test_data): New variable.
36058 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36059 (isfinite_test_data): New variable.
36060 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36061 (isinf_test_data): New variable.
36062 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36063 (isnan_test_data): New variable.
36064 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36065 (isnormal_test_data): New variable.
36066 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36067 (issignaling_test_data): New variable.
36068 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36069 (signbit_test_data): New variable.
36070 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36071
36072 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36073 with INVALID_EXCEPTION.
36074 (acosh_test_data): Likewise.
36075 (asin_test_data): Likewise.
36076 (atanh_test_data): Likewise.
36077 (fmod_test_data): Likewise.
36078 (log_test_data): Likewise.
36079 (log10_test_data): Likewise.
36080 (log2_test_data): Likewise.
36081 (pow_test_data): Likewise.
36082 (sqrt_test_data): Likewise.
36083 (y0_test_data): Likewise.
36084 (y1_test_data): Likewise.
36085 (yn_test_data): Likewise.
36086
36087 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36088 function contents.
36089
36090 * math/libm-test.inc (struct test_ff_i_data): New type.
36091 (RUN_TEST_LOOP_ff_i_tg): New macro.
36092 (isgreater_test_data): New variable.
36093 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36094 (isgreaterequal_test_data): New variable.
36095 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36096 (isless_test_data): New variable.
36097 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36098 (islessequal_test_data): New variable.
36099 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36100 (islessgreater_test_data): New variable.
36101 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36102 (isunordered_test_data): New variable.
36103 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36104
36105 2013-05-14 David S. Miller <davem@davemloft.net>
36106
36107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36108
36109 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36110
36111 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36112
36113 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36114 extra_test to int.
36115 (struct test_f_i_data): Change type of max_ulp to int.
36116
36117 * math/libm-test.inc (test_ffI_f1_data): New type.
36118 (RUN_TEST_LOOP_ffI_f1): New macro.
36119 (remquo_test_data): New variable.
36120 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36121
36122 * setjmp/tst-setjmp-fp.c: New file.
36123 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36124 (link-libm): New variable.
36125 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36126
36127 * math/libm-test.inc (struct test_f_i_data): New type.
36128 (RUN_TEST_LOOP_f_i): New macro.
36129 (RUN_TEST_LOOP_f_i_tg): Likewise.
36130 (fpclassify_test_data): New variable.
36131 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36132 (ilogb_test_data): New variable.
36133 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36134
36135 * math/libm-test.inc (scalbln_test): Correct function name in END
36136 call.
36137
36138 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36139 (RUN_TEST_LOOP_fI_f1): New macro.
36140 (frexp_test_data): New variable.
36141 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36142
36143 * math/libm-test.inc (struct test_fF_f1_data): New type.
36144 (RUN_TEST_LOOP_fF_f1): New macro.
36145 (modf_test_data): New variable.
36146 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36147
36148 * math/libm-test.inc (struct test_f_f1_data): New type.
36149 (RUN_TEST_LOOP_f_f1): New macro.
36150 (gamma_test_data): New variable.
36151 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36152 (lgamma_test_data): New variable.
36153 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36154
36155 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36156
36157 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36158 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36159 (main): Comment "tls" pseudo-hwcap.
36160
36161 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36162
36163 * math/libm-test.inc (struct test_fl_f_data): New type.
36164 (RUN_TEST_LOOP_fl_f): New variable.
36165 (scalbln_test_data): New variable.
36166 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36167
36168 * math/libm-test.inc (struct test_fi_f_data): New type.
36169 (RUN_TEST_LOOP_fi_f): New macro.
36170 (ldexp_test_data): New variable.
36171 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36172 (scalbn_test_data): New variable.
36173 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36174
36175 * math/libm-test.inc (struct test_c_f_data): New type.
36176 (RUN_TEST_LOOP_c_f): New macro.
36177 (cabs_test_data): New variable.
36178 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36179 (carg_test_data): New variable.
36180 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36181 (cimag_test_data): New variable.
36182 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36183 (creal_test_data): New variable.
36184 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36185
36186 * math/libm-test.inc (struct test_if_f_data): New type.
36187 (RUN_TEST_LOOP_if_f): New macro.
36188 (jn_test_data): New variable.
36189 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36190 (yn_test_data): New variable.
36191 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36192
36193 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36194
36195 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36196
36197 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36198 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36199
36200 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36201
36202 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36203 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36204 (bench-deps): Add bench-timing.h.
36205 * benchtests-bench-skeleton.c: Include bench-timing.h.
36206 (main): Use TIMING_* macros instead of clock_gettime.
36207 * benchtests/bench-timing.h: New file.
36208
36209 [BZ #14582]
36210 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36211 Renamed from _LIB_VERSION.
36212 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36213
36214 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36215
36216 * math/libm-test.inc (struct test_fff_f_data): New type.
36217 (RUN_TEST_LOOP_fff_f): New macro.
36218 (fma_test_data): New variable.
36219 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36220 (fma_towardzero_test_data): New variable.
36221 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36222 (fma_downward_test_data): New variable.
36223 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36224 (fma_upward_test_data): New variable.
36225 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36226
36227 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36228 (struct test_c_c_data): New type.
36229 (RUN_TEST_LOOP_c_c): New macro.
36230 (cacos_test_data): New variable.
36231 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36232 (cacosh_test_data): New variable.
36233 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36234 (casin_test_data): New variable.
36235 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36236 (casinh_test_data): New variable.
36237 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36238 (catan_test_data): New variable.
36239 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36240 (catanh_test_data): New variable.
36241 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36242 (ccos_test_data): New variable.
36243 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36244 (ccosh_test_data): New variable.
36245 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36246 (cexp_test_data): New variable.
36247 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36248 (clog_test_data): New variable.
36249 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36250 (clog10_test_data): New variable.
36251 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36252 (conj_test_data): New variable.
36253 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36254 (cproj_test_data): New variable.
36255 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36256 (csin_test_data): New variable.
36257 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36258 (csinh_test_data): New variable.
36259 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36260 (csqrt_test_data): New variable.
36261 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36262 (ctan_test_data): New variable.
36263 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36264 (ctan_tonearest_test_data): New variable.
36265 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36266 (ctan_towardzero_test_data): New variable.
36267 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36268 (ctan_downward_test_data): New variable.
36269 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36270 (ctan_upward_test_data): New variable.
36271 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36272 (ctanh_test_data): New variable.
36273 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36274 (ctanh_tonearest_test_data): New variable.
36275 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36276 (ctanh_towardzero_test_data): New variable.
36277 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36278 (ctanh_downward_test_data): New variable.
36279 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36280 (ctanh_upward_test_data): New variable.
36281 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36282 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36283 of BUILD_COMPLEX.
36284
36285 * math/libm-test.inc (struct test_ff_f_data): New type.
36286 (struct test_ff_f_data_nexttoward): Likewise.
36287 (RUN_TEST_LOOP_2_f): New macro.
36288 (RUN_TEST_LOOP_ff_f): Likewise.
36289 (atan2_test_data): New variable.
36290 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36291 (copysign_test_data): New variable.
36292 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36293 (fdim_test_data): New variable.
36294 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36295 (fmax_test_data): New variable.
36296 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36297 (fmin_test_data): New variable.
36298 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36299 (fmod_test_data): New variable.
36300 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36301 (hypot_test_data): New variable.
36302 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36303 (nextafter_test_data): New variable.
36304 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36305 (nexttoward_test_data): New variable.
36306 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36307 (pow_test_data): New variable.
36308 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36309 (pow_tonearest_test_data): New variable.
36310 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36311 (pow_towardzero_test_data): New variable.
36312 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36313 (pow_downward_test_data): New variable.
36314 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36315 (pow_upward_test_data): New variable.
36316 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36317 (remainder_test_data): New variable.
36318 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36319 (scalb_test_data): New variable.
36320 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36321 * sysdeps/i386/fpu/libm-test-ulps: Update.
36322
36323 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36324
36325 * math/libm-test.inc (fma_test): Use max_value instead of local
36326 variable fltmax.
36327 (nextafter_test): Likewise.
36328
36329 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36330 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36331 (acos_downward_test_data): New variable.
36332 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36333 (acos_upward_test_data): New variable.
36334 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36335 (acosh_test_data): New variable.
36336 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36337 (asin_test_data): New variable.
36338 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36339 (asin_tonearest_test_data): New variable.
36340 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36341 (asin_towardzero_test_data): New variable.
36342 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36343 (asin_downward_test_data): New variable.
36344 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36345 (asin_upward_test_data): New variable.
36346 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36347 (asinh_test_data): New variable.
36348 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36349 (atan_test_data): New variable.
36350 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36351 (atanh_test_data): New variable.
36352 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36353 (cbrt_test_data): New variable.
36354 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36355 (ceil_test_data): New variable.
36356 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36357 (cos_test_data): New variable.
36358 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36359 (cos_tonearest_test_data): New variable.
36360 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36361 (cos_towardzero_test_data): New variable.
36362 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36363 (cos_downward_test_data): New variable.
36364 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36365 (cos_upward_test_data): New variable.
36366 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36367 (cosh_test_data): New variable.
36368 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36369 (cosh_tonearest_test_data): New variable.
36370 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36371 (cosh_towardzero_test_data): New variable.
36372 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36373 (cosh_downward_test_data): New variable.
36374 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36375 (cosh_upward_test_data): New variable.
36376 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36377 (erf_test_data): New variable.
36378 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36379 (erfc_test_data): New variable.
36380 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36381 (exp_test_data): New variable.
36382 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36383 (exp_tonearest_test_data): New variable.
36384 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36385 (exp_towardzero_test_data): New variable.
36386 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36387 (exp_downward_test_data): New variable.
36388 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36389 (exp_upward_test_data): New variable.
36390 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36391 (exp10_test_data): New variable.
36392 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36393 (exp2_test_data): New variable.
36394 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36395 (expm1_test_data): New variable.
36396 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36397 (fabs_test_data): New variable.
36398 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36399 (floor_test_data): New variable.
36400 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36401 (j0_test_data): New variable.
36402 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36403 (j1_test_data): New variable.
36404 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36405 (log_test_data): New variable.
36406 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36407 (log10_test_data): New variable.
36408 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36409 (log1p_test_data): New variable.
36410 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36411 (log2_test_data): New variable.
36412 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36413 (logb_test_data): New variable.
36414 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36415 (logb_downward_test_data): New variable.
36416 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36417 (nearbyint_test_data): New variable.
36418 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36419 (rint_test_data): New variable.
36420 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36421 (rint_tonearest_test_data): New variable.
36422 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36423 (rint_towardzero_test_data): New variable.
36424 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36425 (rint_downward_test_data): New variable.
36426 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36427 (rint_upward_test_data): New variable.
36428 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36429 (round_test_data): New variable.
36430 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36431 (sin_test_data): New variable.
36432 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36433 (sin_tonearest_test_data): New variable.
36434 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36435 (sin_towardzero_test_data): New variable.
36436 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36437 (sin_downward_test_data): New variable.
36438 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36439 (sin_upward_test_data): New variable.
36440 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36441 (sinh_test_data): New variable.
36442 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36443 (sinh_tonearest_test_data): New variable.
36444 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36445 (sinh_towardzero_test_data): New variable.
36446 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36447 (sinh_downward_test_data): New variable.
36448 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36449 (sinh_upward_test_data): New variable.
36450 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36451 (sqrt_test_data): New variable.
36452 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36453 (tan_test_data): New variable.
36454 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36455 (tan_tonearest_test_data): New variable.
36456 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36457 (tan_towardzero_test_data): New variable.
36458 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36459 (tan_downward_test_data): New variable.
36460 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36461 (tan_upward_test_data): New variable.
36462 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36463 (tanh_test_data): New variable.
36464 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36465 (tgamma_test_data): New variable.
36466 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36467 (trunc_test_data): New variable.
36468 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36469 (y0_test_data): New variable.
36470 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36471 (y1_test_data): New variable.
36472 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36473 (significand_test_data): New variable.
36474 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36475
36476 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36477
36478 [BZ #12387]
36479 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36480
36481 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36482
36483 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36484
36485 2013-05-10 Andreas Jaeger <aj@suse.de>
36486
36487 [BZ #15448]
36488 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36489 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36490
36491 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36492
36493 * math/gen-libm-test.pl (adjust_arg): New function.
36494 (special_functions): Handle generating output in both functions
36495 and arrays.
36496 (parse_args): Likewise.
36497 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36498 $in_func argument to parse_args.
36499 * math/libm-test.inc (struct test_f_f_data): New type.
36500 (IF_ROUND_INIT_): New macro.
36501 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36502 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36503 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36504 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36505 (ROUND_RESTORE_): Likewise.
36506 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36507 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36508 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36509 (ROUND_RESTORE_FE_UPWARD): Likewise.
36510 (RUN_TEST_LOOP_f_f): New macro.
36511 (acos_test_data): New variable.
36512 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36513 (acos_tonearest_test_data): New variable.
36514 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36515
36516 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36517
36518 * benchtests/bench-skeleton.c (startup): Fix coding style.
36519
36520 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36521
36522 [BZ #6809]
36523 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36524 negative infinity argument.
36525 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36526 negative infinity argument.
36527 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36528 negative infinity argument.
36529 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36530 domain errors.
36531
36532 2013-05-10 Florian Weimer <fweimer@redhat.com>
36533
36534 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36535 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36536 * iconv/iconv_prog.c (main): Likewise.
36537 * locale/programs/charmap-dir.c (charmap_readdir)
36538 (fopen_uncompressed): Likewise.
36539 * locale/programs/locfile.c (siblings_uncached)
36540 (write_locale_data): Use lstat64 instead of lstat.
36541 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36542 stat.
36543
36544 2013-05-10 Andreas Jaeger <aj@suse.de>
36545
36546 [BZ #15395]
36547 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36548 localization.
36549 Include <locale.h>.
36550
36551 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36552
36553 * elf/dl-close.c (_dl_close_worker): Add comments.
36554
36555 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36556
36557 [BZ #15359]
36558 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36559 high part of pi/2.
36560 (__ieee754_rem_pio2l): Update comments.
36561
36562 [BZ #15429]
36563 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36564 high part of pi/2.
36565 (__ieee754_rem_pio2l): Update comments.
36566
36567 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36568 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36569
36570 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36571 M_PI_4l.
36572
36573 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36574 (M_PI_34_LOG10El): Likewise.
36575 (M_PI2_LOG10El): Likewise.
36576 (M_PI4_LOG10El): Likewise.
36577 (M_PI_LOG10El): Likewise.
36578
36579 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36580
36581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36582
36583 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36584
36585 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36586 (MINUS_ZERO_INIT): Likewise.
36587 (PLUS_INFTY_INIT): Likewise.
36588 (MINUS_INFTY_INIT): Likewise.
36589 (QNAN_VALUE_INIT): Likewise.
36590 (MAX_VALUE_INIT): Likewise.
36591 (MIN_VALUE_INIT): Likewise.
36592 (MIN_SUBNORM_VALUE_INIT): Likewise.
36593 (plus_zero): Initialize with PLUS_ZERO_INIT.
36594 (minus_zero): Initialize with MINUS_ZERO_INIT.
36595 (plus_infty): Initialize with PLUS_INFTY_INIT.
36596 (minus_infty): Initialize with MINUS_INFTY_INIT.
36597 (qnan_value): Initialize with QNAN_VALUE_INIT.
36598 (max_value): Initialize with MAX_VALUE_INIT.
36599 (min_value): Initialize with MIN_VALUE_INIT.
36600 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36601
36602 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36603 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36604 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36605 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36606
36607 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36608 (RUN_TEST_2_f): Likewise.
36609 (RUN_TEST_ff_f): Likewise.
36610 (RUN_TEST_fi_f): Likewise.
36611 (RUN_TEST_fl_f): Likewise.
36612 (RUN_TEST_fff_f): Likewise.
36613 (RUN_TEST_c_f): Likewise.
36614 (RUN_TEST_f_f1): Likewise.
36615 (RUN_TEST_fF_f1): Likewise.
36616 (RUN_TEST_fI_f1): Likewise.
36617 (RUN_TEST_ffI_f1): Likewise.
36618 (RUN_TEST_c_c): Likewise.
36619 (RUN_TEST_cc_c): Likewise.
36620 (RUN_TEST_f_i): Likewise.
36621 (RUN_TEST_f_i_tg): Likewise.
36622 (RUN_TEST_ff_i_tg): Likewise.
36623 (RUN_TEST_f_b): Likewise.
36624 (RUN_TEST_f_b_tg): Likewise.
36625 (RUN_TEST_f_l): Likewise.
36626 (RUN_TEST_f_L): Likewise.
36627 (RUN_TEST_sincos): Likewise.
36628 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36629 whether to show exceptions. Do not include ");\n" in return
36630 value.
36631 (special_functions): Output call to RUN_TEST_sincos instead of
36632 check_float calls. Update calls to new_test.
36633 (parse_args): Output call to single RUN_TEST_* macro instead of
36634 check_* calls and other assignments. Update calls to new_test.
36635
36636 [BZ #2546]
36637 [BZ #2560]
36638 [BZ #5159]
36639 [BZ #15426]
36640 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36641 input to result for tgamma overflow.
36642 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36643 (gamma_coeff): New variable.
36644 (NCOEFF): New macro.
36645 (gamma_positive): New function.
36646 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36647 underflow here. Use gamma_positive instead of exp (lgamma) for
36648 other arguments.
36649 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36650 (gamma_coeff): New variable.
36651 (NCOEFF): New macro.
36652 (gammaf_positive): New function.
36653 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36654 underflow here. Use gamma_positive instead of exp (lgamma) for
36655 other arguments.
36656 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36657 (gamma_coeff): New variable.
36658 (NCOEFF): New macro.
36659 (gammal_positive): New function.
36660 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36661 underflow here. Use gamma_positive instead of exp (lgamma) for
36662 other arguments.
36663 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36664 (gamma_coeff): New variable.
36665 (NCOEFF): New macro.
36666 (gammal_positive): New function.
36667 (__ieee754_gammal_r): Handle positive infinity, overflow and
36668 underflow here. Handle NaN the same as positive infinity. Remove
36669 check x < 0xffffffff for negative integers. Use gamma_positive
36670 instead of exp (lgamma) for other arguments.
36671 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36672 (gamma_coeff): New variable.
36673 (NCOEFF): New macro.
36674 (gammal_positive): New function.
36675 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36676 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36677 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36678 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36679 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36680 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36681 * sysdeps/generic/math_private.h (__gamma_productf): New
36682 prototype.
36683 (__gamma_product): Likewise.
36684 (__gamma_productl): Likewise.
36685 * math/Makefile (libm-calls): Add gamma_product.
36686 * math/libm-test.inc (tgamma_test): Add more tests.
36687 * sysdeps/i386/fpu/libm-test-ulps: Update.
36688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36689
36690 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36691
36692 * benchtests/bench-skeleton.c (main): Preheat CPU.
36693
36694 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36695
36696 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36697
36698 2013-05-07 Roland McGrath <roland@hack.frob.com>
36699
36700 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36701 and _dl_skip_args_internal.
36702
36703 2013-05-07 Carlos O'Donell <carlos@redhat.com>
36704
36705 * manual/message.texi (Message Translation): Talk about users.
36706 Message to key mapping impacts design.
36707
36708 2013-05-06 Roland McGrath <roland@hack.frob.com>
36709
36710 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36711
36712 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36713
36714 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36715 * sysdeps/wordsize-64/glob64.c: ... here.
36716
36717 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36718 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36719 New macros.
36720
36721 * debug/getlogin_r_chk.c: Moved to ...
36722 * login/getlogin_r_chk.c: ... here.
36723 * debug/Makefile (routines): Move getlogin_r_chk to ...
36724 * login/Makefile (routines): ... here.
36725 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36726 * login/Versions (libc: GLIBC_2.4): ... here.
36727
36728 * io/poll.c (__poll): Renamed from poll.
36729 Add libc_hidden_def.
36730 (poll): Define as weak alias.
36731
36732 * debug/ptsname_r_chk.c: Moved to ...
36733 * login/ptsname_r_chk.c: ... here.
36734 * debug/Makefile (routines): Move ptsname_r_chk to ...
36735 * login/Makefile (routines): ... here.
36736 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36737 * login/Versions (libc: GLIBC_2.4): ... here.
36738
36739 * posix/getlogin.c: Moved to ...
36740 * login/getlogin.c: ... here.
36741 * posix/getlogin_r.c: Moved to ...
36742 * login/getlogin_r.c: ... here.
36743 * posix/getlogin_r.c: Moved to ...
36744 * login/getlogin_r.c: ... here.
36745 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36746 * login/Makefile (routines): ... here.
36747 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36748 * login/Versions (libc: GLIBC_2.0): ... here.
36749
36750 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36751 (setrlimit): Define as weak alias.
36752
36753 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36754 Call __ names for open, ftruncate, and close.
36755 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36756 (truncate): Define as weak alias.
36757
36758 2013-05-06 Joseph Myers <joseph@codesourcery.com>
36759
36760 * math/gen-libm-test.pl (parse_args): Initialize x before each
36761 test of frexp, modf and remquo.
36762
36763 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36764 test signgam value.
36765
36766 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36767
36768 [BZ #15418]
36769 [BZ #15419]
36770 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36771 internal tests.
36772 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36773
36774 2013-05-06 Roland McGrath <roland@hack.frob.com>
36775
36776 * elf/dl-writev.h: New file.
36777 * elf/dl-misc.c: Include it.
36778 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36779 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36780
36781 2013-05-04 Joseph Myers <joseph@codesourcery.com>
36782
36783 * math/libm-test.inc (noXFails): Remove variable.
36784 (noXPasses): Likewise.
36785 (BUILD_COMPLEX_INT): Remove macro.
36786 (print_screen): Remove xfail argument.
36787 (print_screen_max_error): Likewise.
36788 (update_stats): Likewise.
36789 (print_max_error): Likewise. Update calls to other affected
36790 functions.
36791 (print_complex_max_error): Likewise.
36792 (test_single_exception): Update calls to print_screen.
36793 (test_single_errno): Likewise.
36794 (check_float_internal): Remove xfail argument. Update calls to
36795 other affected functions.
36796 (check_float): Likewise.
36797 (check_complex): Likewise.
36798 (check_int): Likewise.
36799 (check_long): Likewise.
36800 (check_bool): Likewise.
36801 (check_longlong): Likewise.
36802 (main): Don't print noXFails and noXPasses.
36803 * math/gen-libm-test.pl (top level): Don't mention expected
36804 failure handling in comment.
36805 (new_test): Don't handle expected failures.
36806 (parse_args): Don't mention expected failure handling in comment.
36807 (generate_testfile): Don't handle expected failures.
36808 (parse_ulps): Likewise.
36809 (print_ulps_file): Likewise.
36810 (get_failure): Remove function.
36811 (output_test): Don't handle expected failures.
36812 * make/README.libm-test: Don't mention expected failure handling.
36813
36814 * math/libm-test.inc (plus_zero): Make const. Add initializer.
36815 (minus_zero): Likewise.
36816 (plus_infty): Likewise.
36817 (minus_infty): Likewise.
36818 (qnan_value): Likewise.
36819 (max_value): Likewise.
36820 (min_value): Likewise.
36821 (min_subnorm_value): Likewise.
36822 (initialize): Do not initialize those variables dynamically.
36823
36824 2013-05-03 Roland McGrath <roland@hack.frob.com>
36825
36826 * io/open.c (__open_2): Moved to ...
36827 * io/open_2.c: ... this new file.
36828 * io/open64.c (__open64_2): Moved to ...
36829 * io/open64_2.c: ... this new file.
36830 * io/openat.c (__openat_2): Moved to ...
36831 * io/openat_2.c: ... this new file.
36832 * io/openat64.c (__openat64_2): Moved to ...
36833 * io/openat64_2.c: ... this new file.
36834 * io/Makefile (routines): Add them.
36835 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36836 * sysdeps/unix/sysv/linux/open_2.c: File removed.
36837 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36838 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36839 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36840 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36841 (__openat64): Add hidden_ver.
36842 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36843 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36844
36845 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36846 Separately conditionalize setting of GLRO(dl_sysinfo) so
36847 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36848 as well, but the actual setting is only under [NEED_DL_SYSINFO].
36849
36850 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36851
36852 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36853 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36854 definition.
36855 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36856 * sysdeps/unix/sysv/linux/powerpc/init-first.c
36857 (_libc_vdso_platform_setup): Add __vdso_time initialization.
36858 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36859 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36860
36861 2013-05-03 Joseph Myers <joseph@codesourcery.com>
36862
36863 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36864 test signgam value.
36865
36866 * math/libm-test.inc (hypot_test): Do not use
36867 IGNORE_ZERO_INF_SIGN.
36868
36869 2013-05-03 Andreas Jaeger <aj@suse.de>
36870
36871 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36872 Linux 3.9.
36873 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36874 (PF_MAX): Adjust for VSOCK change.
36875
36876 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36877
36878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36879
36880 2013-05-02 Carlos O'Donell <carlos@redhat.com>
36881
36882 [BZ #15264]
36883 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36884 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36885 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36886
36887 2013-05-02 David S. Miller <davem@davemloft.net>
36888
36889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36890
36891 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
36892
36893 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36894
36895 2013-05-01 Roland McGrath <roland@hack.frob.com>
36896
36897 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36898
36899 2013-05-01 Richard Smith <richard@metafoo.co.uk>
36900
36901 [BZ #14952]
36902 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36903 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36904 Use __attribute__ ((__gnu_inline__)).
36905 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36906 Don't use __attribute__ ((__gnu_inline__)).
36907
36908 2013-05-01 Joseph Myers <joseph@codesourcery.com>
36909
36910 [BZ #15423]
36911 * math/s_catan.c (__catan): Handle small real or imaginary part of
36912 input specially to avoid spurious underflow.
36913 * math/s_catanf.c (__catanf): Likewise.
36914 * math/s_catanh.c (__catanh): Likewise.
36915 * math/s_catanhf.c (__catanhf): Likewise.
36916 * math/s_catanhl.c (__catanhl): Likewise.
36917 * math/s_catanl.c (__catanl): Likewise.
36918 * math/libm-test.inc (catan_test): Add more tests.
36919 (catanh_test): Likewise.
36920 * sysdeps/i386/fpu/libm-test-ulps: Update.
36921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36922
36923 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36924
36925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36926
36927 2013-04-30 Joseph Myers <joseph@codesourcery.com>
36928
36929 [BZ #15416]
36930 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
36931 accurately for denominator in atan2.
36932 * math/s_catanf.c (__catanf): Likewise.
36933 * math/s_catanh.c (__catanh): Likewise.
36934 * math/s_catanhf.c (__catanhf): Likewise.
36935 * math/s_catanhl.c (__catanhl): Likewise.
36936 * math/s_catanl.c (__catanl): Likewise.
36937 * math/libm-test.inc (catan_test): Add more tests.
36938 (catanh_test): Likewise.
36939 * sysdeps/i386/fpu/libm-test-ulps: Update.
36940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36941
36942 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36943
36944 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
36945
36946 * benchtests/Makefile (bench): Remove slow benchmarks.
36947 * benchtests/atan-inputs: Add slow benchmark inputs.
36948 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
36949 (BENCH_FUNC): Accept variant offset.
36950 (VARIANT): Define.
36951 * benchtests/bench-skeleton.c (main): Run benchmark for each
36952 variant.
36953 * benchtests/cos-inputs: Add slow benchmark inputs.
36954 * benchtests/exp-inputs: Likewise.
36955 * benchtests/pow-inputs: Likewise.
36956 * benchtests/sin-inputs: Likewise.
36957 * benchtests/slowatan-inputs: Remove.
36958 * benchtests/slowatan.c: Remove.
36959 * benchtests/slowcos-inputs: Remove.
36960 * benchtests/slowcos.c: Remove.
36961 * benchtests/slowexp-inputs: Remove.
36962 * benchtests/slowexp.c: Remove.
36963 * benchtests/slowpow-inputs: Remove.
36964 * benchtests/slowpow.c: Remove.
36965 * benchtests/slowsin-inputs: Remove.
36966 * benchtests/slowsin.c: Remove.
36967 * benchtests/slowtan-inputs: Remove.
36968 * benchtests/slowtan.c: Remove.
36969 * benchtests/tan-inputs: Add slow benchmark inputs.
36970 * scripts/bench.pl: Parse comments and directives.
36971
36972 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
36973 in CPPFLAGS.
36974 ($(objpfx)bench-%.c): Remove *-ITER.
36975 * benchtests/bench-modf.c: Remove definition of ITER.
36976 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
36977 (main): Loop for DURATION seconds instead of fixed number of
36978 iterations.
36979 * scripts/bench.pl: Don't expect iterations in parameters.
36980
36981 2013-04-29 Roland McGrath <roland@hack.frob.com>
36982
36983 * io/fchdir.c (__fchdir): Renamed from fchdir.
36984 (fchdir): Define as weak alias.
36985
36986 2013-04-29 Joseph Myers <joseph@codesourcery.com>
36987
36988 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
36989 (ERRNO_EDOM): Likewise.
36990 (ERRNO_ERANGE): Likewise.
36991 (noErrnoTests): New variable.
36992 (init_max_error): Set errno to 0.
36993 (test_single_errno): New function.
36994 (test_errno): Likewise.
36995 (check_float_internal): Call test_errno. Set errno to 0.
36996 (check_complex): Refer to errno tests in comment.
36997 (check_int): Call test_errno. Set errno to 0.
36998 (check_long): Likewise.
36999 (check_bool): Likewise.
37000 (check_longlong): Likewise.
37001 (cos_test): Use ERRNO_* flags for errno tests instead of
37002 check_int.
37003 (expm1_test): Likewise.
37004 (fmod_test): Likewise.
37005 (ilogb_test): Likewise.
37006 (lgamma_test): Likewise.
37007 (pow_test): Likewise.
37008 (remainder_test): Likewise.
37009 (sin_test): Likewise.
37010 (tan_test): Likewise.
37011 (yn_test): Likewise.
37012 (initialize): Set errno to 0.
37013 (main): Print number of errno tests.
37014 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37015
37016 2013-04-29 Andreas Jaeger <aj@suse.de>
37017
37018 [BZ #15084]
37019 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37020 and RES_USEVC.
37021
37022 [BZ #15085]
37023 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37024 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37025 unimplemented.
37026
37027 [BZ #15380]
37028 * stdlib/random.c (__initstate): Return NULL if
37029 __initstate fails.
37030
37031 [BZ #15086]
37032 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37033 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37034 RES_SNGLKUPREOP.
37035
37036 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37037
37038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37039
37040 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37041
37042 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37043 of individual tests.
37044 (casin_test): Likewise.
37045 (casinh_test): Likewise.
37046
37047 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37048
37049 [BZ #15409]
37050 * math/s_catan.c (__catan): Handle arguments with large real or
37051 imaginary part separately without squaring.
37052 * math/s_catanf.c (__catanf): Likewise.
37053 * math/s_catanh.c (__catanh): Likewise.
37054 * math/s_catanhf.c (__catanhf): Likewise.
37055 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37056 and redefine.
37057 (__catanhl): Handle arguments with large real or imaginary part
37058 separately without squaring.
37059 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37060 and redefine.
37061 (__catanl): Handle arguments with large real or imaginary part
37062 separately without squaring.
37063 * math/libm-test.inc (catan_test): Add more tests.
37064 (catanh_test): Likewise.
37065 * sysdeps/i386/fpu/libm-test-ulps: Update.
37066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37067
37068 2013-04-27 Andreas Jaeger <aj@suse.de>
37069
37070 [BZ #15007]
37071 * stdlib/stdlib.h: Update guards for qecvt.
37072 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37073 <stdlib.h>.
37074
37075 2013-04-27 Allan McRae <allan@archlinux.org>
37076
37077 * sysdeps/i386/fpu/libm-test-ulps: Update.
37078
37079 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37080
37081 [BZ #15406]
37082 * math/s_catan.c: Include <float.h>.
37083 (__catan): Ensure underflow exception occurs for underflowed
37084 result.
37085 * math/s_catanf.c: Include <float.h>.
37086 (__catanf): Ensure underflow exception occurs for underflowed
37087 result.
37088 * math/s_catanh.c: Include <float.h>.
37089 (__catanh): Ensure underflow exception occurs for underflowed
37090 result.
37091 * math/s_catanhf.c: Include <float.h>.
37092 (__catanhf): Ensure underflow exception occurs for underflowed
37093 result.
37094 * math/s_catanhl.c: Include <float.h>.
37095 (__catanhl): Ensure underflow exception occurs for underflowed
37096 result.
37097 * math/s_catanl.c: Include <float.h>.
37098 (__catanl): Ensure underflow exception occurs for underflowed
37099 result.
37100 * math/libm-test.inc (catan_test): Add more tests.
37101 (catanh_test): Likewise.
37102
37103 [BZ #15405]
37104 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37105 underflowed result.
37106 * math/s_ccoshf.c (__ccoshf): Likewise.
37107 * math/s_ccoshl.c (__ccoshl): Likewise.
37108 * math/s_csin.c (__csin): Likewise.
37109 * math/s_csinf.c (__csinf): Likewise.
37110 * math/s_csinh.c (__csinh): Likewise.
37111 * math/s_csinhf.c (__csinhf): Likewise.
37112 * math/s_csinhl.c (__csinhl): Likewise.
37113 * math/s_csinl.c (__csinl): Likewise.
37114 * math/libm-test.inc (ccos_test): Add more tests.
37115 (ccosh_test): Likewise.
37116 (csin_test): Likewise.
37117 (csinh_test): Likewise.
37118
37119 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37120
37121 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37122 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37123 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37124 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37125 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37126 powerpc/power5+/fpu folders.
37127 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37128
37129
37130 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37131
37132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37133
37134 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37135
37136 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37137 additions to variable.
37138 [$(config-machine) = x86_64] (modules-names): Likewise.
37139 ($(objpfx)tst-audit3): Remove dependency.
37140 ($(objpfx)tst-audit3.out): Likewise.
37141 ($(objpfx)tst-audit4): Likewise.
37142 ($(objpfx)tst-audit4.out): Likewise.
37143 ($(objpfx)tst-audit5): Likewise.
37144 ($(objpfx)tst-audit5.out): Likewise.
37145 ($(objpfx)tst-audit6): Likewise.
37146 ($(objpfx)tst-audit6.out): Likewise.
37147 ($(objpfx)tst-audit7): Likewise.
37148 ($(objpfx)tst-audit7.out): Likewise.
37149 (tst-audit3-ENV): Remove variable.
37150 (tst-audit4-ENV): Likewise.
37151 (tst-audit5-ENV): Likewise.
37152 (tst-audit6-ENV): Likewise.
37153 (tst-audit7-ENV): Likewise.
37154 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37155 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37156 addition to variable.
37157 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37158 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37159 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37160 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37161 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37162 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37163 tst-audit3, tst-audit4 and tst-audit5.
37164 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37165 tst-audit6 and tst-audit7.
37166 [$(subdir) = elf] (modules-names): Add audit modules for those
37167 tests.
37168 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37169 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37170 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37171 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37172 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37173 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37174 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37175 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37176 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37177 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37178 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37179 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37180 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37181 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37182 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37183 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37184 Likewise.
37185 [$(subdir) = elf && $(config-cflags-avx) = yes]
37186 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37187 [$(subdir) = elf && $(config-cflags-avx) = yes]
37188 (CFLAGS-tst-auditmod4a.c): Likewise.
37189 [$(subdir) = elf && $(config-cflags-avx) = yes]
37190 (CFLAGS-tst-auditmod4b.c): Likewise.
37191 [$(subdir) = elf && $(config-cflags-avx) = yes]
37192 (CFLAGS-tst-auditmod6b.c): Likewise.
37193 [$(subdir) = elf && $(config-cflags-avx) = yes]
37194 (CFLAGS-tst-auditmod6c.c): Likewise.
37195 [$(subdir) = elf && $(config-cflags-avx) = yes]
37196 (CFLAGS-tst-auditmod7b.c): Likewise.
37197 * elf/tst-audit3.c: Move to ...
37198 * sysdeps/x86_64/tst-audit3.c: ... here.
37199 * elf/tst-audit4.c: Move to ...
37200 * sysdeps/x86_64/tst-audit4.c: ... here.
37201 * elf/tst-audit5.c: Move to ...
37202 * sysdeps/x86_64/tst-audit5.c: ... here.
37203 * elf/tst-audit6.c: Move to ...
37204 * sysdeps/x86_64/tst-audit6.c: ... here.
37205 * elf/tst-audit7.c: Move to ...
37206 * sysdeps/x86_64/tst-audit7.c: ... here.
37207 * elf/tst-auditmod3a.c: Move to ...
37208 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37209 * elf/tst-auditmod3b.c: Move to ...
37210 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37211 * elf/tst-auditmod4a.c: Move to ...
37212 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37213 * elf/tst-auditmod4b.c: Move to ...
37214 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37215 * elf/tst-auditmod5a.c: Move to ...
37216 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37217 * elf/tst-auditmod5b.c: Move to ...
37218 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37219 * elf/tst-auditmod6a.c: Move to ...
37220 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37221 * elf/tst-auditmod6b.c: Move to ...
37222 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37223 * elf/tst-auditmod6c.c: Move to ...
37224 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37225 * elf/tst-auditmod7a.c: Move to ...
37226 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37227 * elf/tst-auditmod7b.c: Move to ...
37228 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37229
37230 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37231
37232 [BZ #15366]
37233 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37234 define unconditionally.
37235 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37236 define unconditionally.
37237 (INT8_C, INT16_C, etc.): Likewise.
37238
37239 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37240
37241 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37242 __ehdr_start with hidden visibility.
37243
37244 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37245
37246 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37247
37248 * math/libm-test.inc (cos_test): Use accurate hex constants.
37249 (sincost_test): Likewise.
37250
37251 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37252
37253 * math/libm-test.inc (catan_test): Add more tests.
37254 (catanh_test): Likewise.
37255
37256 * math/s_catanf.c (__catanf): Use suffixed floating-point
37257 constants.
37258 * math/s_catanhf.c (__catanhf): Likewise.
37259 * math/s_catanhl.c (__catanhl): Likewise.
37260 * math/s_catanl.c (__catanl): Likewise.
37261
37262 [BZ #15394]
37263 * math/s_catan.c (__catan): Calculate imaginary part of result
37264 with log1p not log unless computing log of number close to 0.
37265 * math/s_catanf.c (__catanf): Likewise.
37266 * math/s_catanl.c (__catanl): Likewise.
37267 * math/s_catanh.c (__catanh): Calculate real part of result with
37268 log1p not log unless computing log of number close to 0.
37269 * math/s_catanhf.c (__catanhf): Likewise.
37270 * math/s_catanhl.c (__catanhl): Likewise.
37271 * math/libm-test.inc (catan_test): Add more tests.
37272 (catanh_test): Likewise.
37273 * sysdeps/i386/fpu/libm-test-ulps: Update.
37274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37275
37276 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37277
37278 * benchtests/Makefile: Mention files in which fast and slow
37279 paths of math functions are implemented.
37280
37281 2013-04-23 Roland McGrath <roland@hack.frob.com>
37282
37283 * sysdeps/posix/timespec_get.c: New file.
37284
37285 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37286
37287 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37288 POWER.
37289 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37290 for POWER.
37291 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37292 powerpc/power5/fpu folders.
37293 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37294 * benchtests/Makefile: Add modf testcase.
37295 * benchtests/bench-modf.c: New file: Benchmark test for mo
37296
37297 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37298
37299 [BZ #14888]
37300 * time/Makefile (tests): Add tst-strptime-whitespace.
37301 * time/strptime_l.c (get_number): Use ISSPACE.
37302 (__strptime_internal): Likewise.
37303 * time/tst-strptime-whitespace.c: New test case.
37304
37305 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37306
37307 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37308 member.
37309 (_nss_files_init): Set it here.
37310
37311 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37312
37313 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37314 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37315 unsigned.
37316
37317 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37318
37319 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37320
37321 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37322
37323 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37324 size just once.
37325
37326 2013-04-21 David S. Miller <davem@davemloft.net>
37327
37328 * po/ru.po: Update Russion translation from translation project.
37329
37330 2013-04-17 Adam Conrad <adconrad@0c3.net>
37331
37332 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37333 and setfsgid.
37334
37335 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37336
37337 * configure.in: Remove i386 configure warning. Remove i386 case.
37338 * configure: Regenerate.
37339 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37340 Add example to error message.
37341 * sysdeps/i386/configure: Regenerate.
37342
37343 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37344
37345 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37346 slowtan.
37347 * benchtests/cos-inputs: New file.
37348 * benchtests/slowcos-inputs: New file.
37349 * benchtests/slowcos.c: New file.
37350 * benchtests/slowtan-inputs: New file.
37351 * benchtests/slowtan.c: New file.
37352 * benchtests/tan-inputs: New file.
37353
37354 2013-04-16 Roland McGrath <roland@hack.frob.com>
37355
37356 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37357 considered kosher.
37358
37359 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37360
37361 * benchtests/Makefile: Include cppflags-iterator.mk to add
37362 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37363
37364 * Makefile.in (bench-clean): New target.
37365 * benchtests/Makefile (bench-clean): Likewise.
37366
37367 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37368
37369 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37370
37371 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37372
37373 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37374
37375 2013-04-15 Andreas Schwab <schwab@suse.de>
37376
37377 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37378 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37379 * nscd/pwdcache.c (cache_addpw): Likewise.
37380 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37381 more than recsize.
37382
37383 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37384
37385 * benchtests/Makefile (bench): Write all output to
37386 bench-out.tmp together.
37387
37388 2013-04-15 Andreas Schwab <schwab@suse.de>
37389
37390 * nscd/nscd.c (main): Don't fork again after closing files.
37391
37392 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37393
37394 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37395
37396 * benchtests/Rules (bench-deps): Collect dependencies into a
37397 single variable. Add Makefile to dependencies.
37398 ($(objpfx)bench-%.c): Depend on bench-deps.
37399
37400 2013-04-12 Roland McGrath <roland@hack.frob.com>
37401 Xavier Roche <roche+kml2@exalead.com>
37402
37403 [BZ #15361]
37404 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37405 just that it's a file descriptor.
37406 * manual/llio.texi (Synchronizing AIO Operations): Update description
37407 for EBADF error from aio_fsync.
37408
37409 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37410
37411 * Rules (bench): Move target definition...
37412 * benchtests/Makefile: ... here.
37413
37414 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37415
37416 * math/libm-test.inc (cos_test): Fix PI/2 test.
37417 (sincos_test): Likewise.
37418 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37419 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37420
37421 2013-04-11 Andreas Schwab <schwab@suse.de>
37422
37423 [BZ #13988]
37424 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37425 accept exponent character only when digits were seen.
37426 * stdio-common/Makefile (tests): Add bug26.
37427 * stdio-common/bug26.c: New file.
37428
37429 [BZ #14293]
37430 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37431 non-freeable.
37432
37433 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37434
37435 * Makeconfig (rtld-prefix): Define built linker prefix.
37436 * Rules (run-bench): Use it.
37437 * math/Makefile (run-regen-ulps): Likewise.
37438
37439 * Rules (bench): Remove eval.
37440
37441 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37442 Roland McGrath <roland@hack.frob.com>
37443 Ondrej Bilka <neleai@seznam.cz>
37444
37445 [BZ #15346]
37446 * time/getdate.c: Include ctype.h and alloca.h.
37447 (__getdate_r): Trim leading and trailing spaces of input.
37448 * time/tst-getdate.c (tests): Add tests with leading and
37449 trailing spaces.
37450
37451 2013-04-08 Roland McGrath <roland@hack.frob.com>
37452
37453 [BZ #14280]
37454 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37455 when computing value.
37456
37457 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37458
37459 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37460 Use testrun.sh to run libm tests.
37461
37462 [BZ #15309]
37463 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37464
37465 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37466
37467 [BZ #15264]
37468 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37469
37470 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37471
37472 * Makefile.in (regen-ulps): New target.
37473 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37474 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37475 [ifneq (no,$(PERL)] (regen-ulps): New target.
37476 [ifeq (no,$(PERL)] (regen-ulps): New target.
37477 * math/libm-test.inc (ulps_file_name): Define.
37478 (output_dir): New variable.
37479 (options): Add "output-dir" option.
37480 (parse_opt): Handle 'o' case.
37481 (main): If output_dir is non-NULL use it as a prefix
37482 otherwise use "".
37483 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37484
37485 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37486
37487 [BZ #10060, #10062]
37488 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37489 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37490 fail configure if __sync_val_compare_and_swap is not inlined.
37491 * sysdeps/i386/configure: Regenerate.
37492 * configure.in: Build for i686 when configured for i386.
37493 * configure: Regenerate.
37494 * README: Remove i386 reference.
37495
37496 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37497
37498 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37499 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37500
37501 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37502
37503 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37504 (lmsnanval): New variables.
37505 (F): Add conversion tests.
37506 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37507 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37508
37509 * stdio-common/tstdiomisc.c (F): Properly collect individual
37510 tests' results.
37511
37512 [BZ #14686, #15336]
37513 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37514 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37515 Instead, use input NaN values or generate a qNaN by arithmetic
37516 operation. Also fix bugs to comply with the standard.
37517 * math/libm-test.inc (remainder_test): Add more tests.
37518
37519 [BZ #15335, #15342]
37520 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37521 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37522 input NaN values or generate a qNaN by arithmetic operation.
37523
37524 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37525 unreachable code.
37526
37527 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37528 definitions.
37529
37530 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37531
37532 [BZ #14478]
37533 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37534 underflowed result.
37535 * math/s_cexpf.c (__cexpf): Likewise.
37536 * math/s_cexpl.c (__cexpl): Likewise.
37537 * math/libm-test.inc (cexp_test): Add more tests.
37538
37539 2013-04-03 Andreas Schwab <schwab@suse.de>
37540
37541 [BZ #15330]
37542 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37543 order arrays from heap if bigger than alloca cutoff.
37544
37545 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37546
37547 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37548 (SNAN_TESTS_double): Refer to GCC PR56831.
37549 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37550 GCC PR56828.
37551
37552 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37553
37554 * Rules (bench): Move bench.out after the run is complete.
37555
37556 * Rules (bench): Echo currently running benchmark.
37557
37558 * benchtests/Makefile (bench): Add atan and slowatan.
37559 * benchtests/atan-inputs: New file.
37560 * benchtests/slowatan-inputs: New file.
37561 * benchtests/slowatan.c: New file.
37562
37563 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37564 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37565 its value.
37566
37567 [BZ #15305]
37568 * sysdeps/unix/sysv/linux/kernel-features.h
37569 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37570 __ASSUME_XFS_RESTRICTED_CHOWN.
37571 * sysdeps/unix/sysv/linux/pathconf.c
37572 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37573 Save and restore errno.
37574
37575 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37576
37577 [BZ #15327]
37578 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37579 arguments using __kernel_casinh.
37580 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37581 arguments using __kernel_casinhf.
37582 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37583 arguments using __kernel_casinhl.
37584 * math/libm-test.inc (cacosh_test): Add more tests.
37585 * sysdeps/i386/fpu/libm-test-ulps: Update.
37586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37587
37588 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37589
37590 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37592
37593 * bench/Makefile (bench): Add sin and slowsin.
37594 * benchtests/sin-inputs: New file.
37595 * benchtests/slowsin-inputs: New file.
37596 * benchtests/slowsin.c: New file.
37597
37598 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37599 (bench): Add slowexp and slowpow.
37600 (exp-ITER): Increase iterations.
37601 (pow-ITER): Likewise.
37602 * benchtests/exp-inputs: Change input.
37603 * benchtests/pow-inputs: Likewise.
37604 * benchtests/slowexp-inputs: New file.
37605 * benchtests/slowexp.c: New file.
37606 * benchtests/slowpow-inputs: New file.
37607 * benchtests/slowpow.c: New file.
37608
37609 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37610
37611 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37612 instructions.
37613 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37614 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37615 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37616 * benchtests/Makefile: Add rint benchtest.
37617 * benchtests/rint-inputs: Input for rint benchtest.
37618
37619 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37620
37621 * Versions.def (libm): Add GLIBC_2.18.
37622 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37623 hidden libm prototypes.
37624 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37625 * math/Makefile (libm-calls): Add s_issignaling.
37626 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37627 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37628 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37629 declaration.
37630 * math/math.h [__USE_GNU] (issignaling): New macro.
37631 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37632 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37634 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37635 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37636 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37637 * manual/arith.texi (issignaling): New section.
37638 * manual/libm-err-tab.pl (@all_functions): Update comment.
37639 * math/gen-libm-test.pl (parse_args): Apply special handling for
37640 issignaling.
37641 * math/libm-test.inc (print_float, issignaling_test): New
37642 functions.
37643 (check_float_internal): Add issignaling checks.
37644 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37645 default definition.
37646 * sysdeps/powerpc/math-tests.h: New file.
37647 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37648 tests.
37649 * math/test-snan.c (TEST_FUNC): Likewise.
37650
37651 2013-03-30 David S. Miller <davem@davemloft.net>
37652
37653 * po/de.po: Update from translation team.
37654
37655 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37656
37657 [BZ #10357]
37658 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37659 imaginary part less than 1.0 and real part less than 0.5
37660 specially.
37661 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37662 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37663 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37664 (cacos_test): Add more tests.
37665 (casin_test): Likewise.
37666 (casinh_test): Likewise.
37667 * sysdeps/i386/fpu/libm-test-ulps: Update.
37668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37669
37670 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37671
37672 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37673 ONE with its value.
37674
37675 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37676 (__pow_mp): Replace ONE and MONE with their values.
37677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37678 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37679 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37680 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37681 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37682 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37683
37684 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37685
37686 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37687 (__pow_mp): Replace ZERO and MZERO with their values.
37688 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37689 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37690 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37692 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37693 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37694 (__sqr): Likewise.
37695
37696 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37697
37698 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37699
37700 2013-03-28 Roland McGrath <roland@hack.frob.com>
37701
37702 * include/stdlib.h [!SHARED] (__call_tls_dtors):
37703 Declare with __attribute__ ((weak)).
37704 * stdlib/exit.c (__libc_atexit) [!SHARED]:
37705 Call __call_tls_dtors only if it's not NULL.
37706
37707 2013-03-28 Roland McGrath <roland@hack.frob.com>
37708
37709 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37710 didn't do it already, then set _dl_phdr and _dl_phnum based on the
37711 magic __ehdr_start linker symbol if it's defined.
37712 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37713 them up here if it was already done.
37714
37715 * elf/dl-support.c (_dl_phdr): Make pointer to const.
37716 (_dl_aux_init): Use const in cast when setting it.
37717 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37718 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37719 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37720
37721 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37722 Declare them here.
37723 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37724 * csu/libc-tls.c: Nor here.
37725 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37726
37727 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37728 (__libc_message): Never call vsyslog.
37729
37730 2013-03-28 Alan Modra <amodra@gmail.com>
37731
37732 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37733 Define as empty.
37734 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37735 Likewise.
37736
37737 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37738
37739 [BZ #15214]
37740 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37741 underflow.
37742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37743
37744 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37745
37746 [BZ #15304]
37747 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37748 Don't add gid passed as argument.
37749
37750 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37751
37752 2013-03-27 Joseph Myers <joseph@codesourcery.com>
37753
37754 [BZ #15307]
37755 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37756 imaginary part between 1.0 and 1.5 and real part less than 0.5
37757 specially.
37758 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37759 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37760 * math/libm-test.inc (cacos_test): Add more tests.
37761 (casin_test): Likewise.
37762 (casinh_test): Likewise.
37763 * sysdeps/i386/fpu/libm-test-ulps: Update.
37764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37765
37766 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37767
37768 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37769 constants.
37770 (norm): Likewise.
37771 (denorm): Likewise.
37772 (__dbl_mp): Likewise.
37773 (add_magnitudes): Likewise.
37774 (sub_magnitudes): Likewise.
37775 (__add): Likewise.
37776 (__sub): Likewise.
37777 (__mul): Likewise.
37778 (__sqr): Likewise.
37779 (__inv): Likewise.
37780 (__dvd): Likewise.
37781
37782 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37783 commented code.
37784 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37785 (__dubcos): Likewise.
37786 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37787 (__ieee754_acos): Likewise.
37788 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37789 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37790 (__exp1): Likewise.
37791 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37793 (log1): Likewise.
37794 (my_log2): Likewise.
37795 (checkint): Likewise.
37796 * sysdeps/ieee754/dbl-64/e_remainder.c
37797 (__ieee754_remainder): Likewise.
37798 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37799 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37800 (bsloww): Likewise.
37801 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37802
37803 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37804 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37805 MANTISSA_STORE_T to store computations on mantissa. Use
37806 macros for rounding and division.
37807 (denorm): Likewise.
37808 (__dbl_mp): Likewise.
37809 (add_magnitudes): Likewise.
37810 (sub_magnitudes): Likewise.
37811 (__mul): Likewise.
37812 (__sqr): Likewise.
37813 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
37814 powers of two in terms of TWOPOW macro.
37815 (mp_no): Make type of mantissa as MANTISSA_T.
37816 [!RADIXI]: Define RADIXI.
37817 [!TWO52]: Define TWO52.
37818 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37819
37820 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37821
37822 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37823 llroundl symbol when building for PPC32.
37824
37825 2013-03-24 Mark H Weaver <mhw@netris.org>
37826
37827 * manual/arith.texi (Normalization Functions): Fix prototypes for
37828 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37829
37830 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37831
37832 [BZ #13889]
37833 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37834 high value to check if expl overflow.
37835 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37836 to check for underflow and overflow.
37837 * math/libm-test.inc: Add exp test.
37838
37839 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
37840
37841 [BZ #11120]
37842 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37843 with NOT_IN_libc.
37844
37845 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37846
37847 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37848 symbol.
37849
37850 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
37851
37852 * math/gen-libm-test.pl (parse_args, special_functions): Properly
37853 wrap blocks consisting of several statements.
37854
37855 * sysdeps/generic/math-tests.h: New file.
37856 * sysdeps/i386/fpu/math-tests.h: Likewise.
37857 * math/test-snan.c: Include it.
37858 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37859
37860 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37861
37862 [BZ #15285]
37863 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37864 (__ieee754_j0l): Do not improve calculations using cos of twice
37865 input for inputs above LDBL_MAX / 2.0L.
37866 (__ieee754_y0l): Likewise.
37867 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37868 (__ieee754_j1l): Do not improve calculations using cos of twice
37869 input for inputs above LDBL_MAX / 2.0L.
37870 (__ieee754_y1l): Likewise.
37871 * math/libm-test.inc (j0_test): Add another test.
37872 (j1_test): Likewise.
37873 (y0_test): Likewise.
37874 (y1_test): Likewise.
37875 * sysdeps/i386/fpu/libm-test-ulps: Update.
37876
37877 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37878
37879 * Rules ($(objpfx)bench-%.c): Include code from a C source
37880 file.
37881
37882 2013-03-21 Joseph Myers <joseph@codesourcery.com>
37883
37884 [BZ #15287]
37885 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37886 imaginary part 1.0 and real part less than 0.5 specially.
37887 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37888 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37889 * math/libm-test.inc (cacos_test): Add more tests.
37890 (casin_test): Likewise.
37891 (casinh_test): Likewise.
37892 * sysdeps/i386/fpu/libm-test-ulps: Update.
37893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37894
37895 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37896
37897 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37898 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37899
37900 2013-03-20 Joseph Myers <joseph@codesourcery.com>
37901
37902 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37903 * config.make.in (config-cflags-sse4): Remove variable.
37904 (config-cflags-avx): Likewise.
37905 (config-cflags-sse2avx): Likewise.
37906 (config-cflags-novzeroupper): Likewise.
37907 (config-asflags-i686): Likewise.
37908 (have-mfma4): Likewise.
37909 (have-as-vis3): Likewise.
37910 (MIG): Likewise.
37911 * configure.in (MIG): Do not AC_SUBST.
37912 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
37913 (libc_cv_cc_sse4): Do not AC_SUBST.
37914 (libc_cv_cc_avx): Likewise.
37915 (libc_cv_cc_sse2avx): Likewise.
37916 (libc_cv_cc_novzeroupper): Likewise.
37917 (libc_cv_cc_fma4): Likewise.
37918 (libc_cv_as_i686): Likewise.
37919 (libc_cv_sparc_as_vis3): Likewise.
37920 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
37921 LIBC_CONFIG_VAR.
37922 (config-asflags-i686): Likewise.
37923 (config-cflags-avx): Likewise.
37924 (config-cflags-sse2avx): Likewise.
37925 (have-mfma4): Likewise.
37926 (config-cflags-novzeroupper): Likewise.
37927 * sysdeps/mach/configure.in (MIG): Likewise.
37928 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
37929 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
37930 LIBC_CONFIG_VAR.
37931 (config-cflags-avx): Likewise.
37932 (config-cflags-sse2avx): Likewise.
37933 (have-mfma4): Likewise.
37934 (config-cflags-novzeroupper): Likewise.
37935 * configure: Regenerated.
37936 * sysdeps/i386/configure: Likewise.
37937 * sysdeps/mach/configure: Likewise.
37938 * sysdeps/sparc/configure: Likewise.
37939 * sysdeps/x86_64/configure: Likewise.
37940
37941 2013-03-20 Roland McGrath <roland@hack.frob.com>
37942
37943 [BZ #14812]
37944 * locale/programs/localedef.c (options): Put N_ translation marker
37945 on argument names, not just descriptions.
37946
37947 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37948
37949 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
37950
37951 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
37952
37953 [BZ #14176]
37954 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
37955
37956 2013-03-19 Roland McGrath <roland@hack.frob.com>
37957
37958 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
37959 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
37960 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
37961 [!BEFORE_ABORT] (before_abort): New function.
37962 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
37963 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
37964 (writev_for_fatal): New function.
37965 (WRITEV_FOR_FATAL): New macro; call that.
37966 (backtrace_and_maps): New function.
37967 (BEFORE_ABORT): New macro; call that.
37968 (struct str_list): Type removed.
37969 (__libc_message, __libc_fatal): Functions removed.
37970 Include <sysdeps/posix/libc_fatal.c> instead.
37971
37972 2013-03-19 Joseph Myers <joseph@codesourcery.com>
37973
37974 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
37975 constants.
37976 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
37977 double constants.
37978
37979 2013-03-19 Andreas Schwab <schwab@suse.de>
37980
37981 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
37982 * sysdeps/gnu/configure: Regenerate.
37983
37984 * configure.in: Substitute libc_cv_rtlddir.
37985 * configure: Regenerate.
37986 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
37987 * Makeconfig (rtlddir, inst_rtlddir): New variables.
37988 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
37989 * elf/Makefile (install-others, CFLAGS-interp.c)
37990 (ldso_install, common-ldd-rewrite): Likewise.
37991 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
37992 $(inst_slibdir)/$(rtld-installed-name).
37993 * scripts/rellns-sh: Add -p option.
37994 * Makerules (make-shlib-link): Use rellns-sh to get relative name
37995 for source.
37996
37997 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37998
37999 * manual/nptl.texi: Renamed to ...
38000 * manual/threads.texi: ... this.
38001 * manual/Makefile (chapters): Update.
38002
38003 2013-03-18 Roland McGrath <roland@hack.frob.com>
38004
38005 [BZ #14812]
38006 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38007 on argument names, not just descriptions.
38008 * malloc/memusagestat.c (options): Likewise.
38009 * nss/getent.c (options): Likewise.
38010
38011 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38012
38013 [BZ #14812]
38014 * iconv/iconv_prog.c (options): Put N_ translation marker
38015 on argument names, not just descriptions.
38016 * iconv/iconvconfig.c (options): Likewise.
38017
38018 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38019
38020 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38021 implementation which is faster on all x86_64 architectures.
38022 Tested on AMD, Intel Nehalem, SNB, IVB.
38023 * sysdeps/x86_64/strnlen.S: Likewise.
38024
38025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38026 Remove all multiarch strlen and strnlen versions.
38027 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38028 Remove strlen and strnlen related parts.
38029
38030 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38031 Inline strlen part.
38032 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38033
38034 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38035 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38036 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38037 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38038 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38039 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38040
38041 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38042
38043 * manual/memory.texi (Malloc Tunable Parameters):
38044 Sort parameters alphabetically. Add comments for missing entries.
38045
38046 2013-03-17 David S. Miller <davem@davemloft.net>
38047
38048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38049
38050 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38051
38052 [BZ #15283]
38053 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38054 for arguments at most half maximum finite value.
38055 * math/libm-test.inc (j0_test): Add more tests.
38056 (j1_test): Likewise.
38057 (y0_test): Likewise.
38058 (y1_test): Likewise.
38059 * sysdeps/i386/fpu/libm-test-ulps: Update.
38060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38061
38062 [BZ #14155]
38063 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38064 1 / x and functions P and Q for arguments above 0x1p256L.
38065 (__ieee754_y0l): Likewise.
38066 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38067 (__ieee754_y1l): Likewise.
38068 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38069 (j1_test): Likewise.
38070 (y0_test): Likewise.
38071 (y1_test): Likewise.
38072
38073 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38074
38075 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38076 variable.
38077
38078 2013-03-15 Roland McGrath <roland@hack.frob.com>
38079
38080 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38081 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38082 zero since it's initialized to EXEC_PAGESIZE.
38083
38084 * sysdeps/unix/sysv/linux/ldsodefs.h
38085 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38086 * sysdeps/generic/ldsodefs.h: ... here.
38087
38088 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38089
38090 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38091
38092 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38093 math/test-snan.c.
38094 * math/test-snan.c: Renamed from
38095 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38096 * math/Makefile (tests): Add test-snan.
38097 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38098 test-powerpc-snan.
38099
38100 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38101 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38102 functions.
38103 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38104 __builtin_nan family of functions.
38105 * math/libm-test.inc (initialize): Initialize qnan_value with
38106 __builtin_nan family of functions.
38107 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38108 Remove variables.
38109 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38110 Remove functions.
38111 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38112 storage class. Initialize qNaN_var and sNaN_var with
38113 __builtin_nan and __builtin_nans families of functions,
38114 respectively.
38115
38116 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38117 (sqrt_test): Remove duplicate test with qNaN input.
38118 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38119 (round_test, signbit_test, significand_test): Note missing +/-Inf
38120 as well as qNaN tests.
38121
38122 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38123 qNaN_var. Fix a few strings, too.
38124 * math/libm-test.inc (nan_value): Rename to qnan_value.
38125 * math/gen-libm-test.pl (%beautify): Adjust to that.
38126 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38127 * math/test-misc.c (main): Likewise.
38128 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38129 to __qnan_bytes, and __qnan_union, respectively.
38130 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38131 Likewise.
38132 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38133 and lqnanval, respectively.
38134 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38135 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38136 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38137 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38138
38139 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38140 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38141 doubles.
38142
38143 * math/test-misc.c (main): Fix copy'n'pastos.
38144 * misc/tst-efgcvt.c (special): Likewise.
38145
38146 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38147 Remove declarations.
38148
38149 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38150
38151 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38152 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38153 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38154 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38155
38156 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38157
38158 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38159 macro to return vdso values correctly in IFUNC implementations.
38160 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38161 Optimization by using IFUNC.
38162
38163 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38164 Richard Henderson <rth@redhat.com>
38165 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38166
38167 * Makefile.in (bench): New target.
38168 * NEWS: Mention the benchmark framework.
38169 * Rules (bench): Likewise.
38170 (binaries-bench): Generate binaries for functions to
38171 benchmark.
38172 * benchtests/Makefile: New makefile for benchmark tests.
38173 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38174 programs.
38175 * benchtests/exp-inputs: New input file for EXP function.
38176 * benchtests/pow-inputs: New input file for POW function.
38177 * scripts/bench.pl: New script to generate source files for
38178 benchmark programs.
38179
38180 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38181
38182 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38183 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38184 computations on mantissa. Use macros for rounding and
38185 division.
38186 (denorm): Likewise.
38187 (__dbl_mp): Likewise.
38188 (add_magnitudes): Likewise.
38189 (sub_magnitudes): Likewise.
38190 (__mul): Likewise.
38191 (__sqr): Likewise.
38192 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38193 powers of two in terms of TWOPOW macro.
38194 (mp_no): Make type of mantissa as MANTISSA_T.
38195 [!RADIXI]: Define RADIXI.
38196 [!TWO52]: Define TWO52.
38197 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38198
38199 * manual/nptl.texi (cindex): Modify threads to pthreads.
38200
38201 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38202
38203 * sysdeps/x86_64/preconfigure: Regenerated.
38204
38205 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38206
38207 [BZ #14155]
38208 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38209 0x1p28 and above.
38210 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38211 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38212 0x1p28 and above.
38213 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38214 * math/libm-test.inc (j0_test): Do not allow one spurious
38215 underflow exception.
38216 (y1_test): Likewise.
38217
38218 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38219
38220 * manual/Makefile (chapters): Add nptl.
38221 * manual/debug.texi (Debugging Support): Add link to Threads
38222 chapter.
38223 * manual/nptl.texi: New file.
38224
38225 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38226
38227 2013-03-14 Petr Baudis <pasky@ucw.cz>
38228
38229 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38230 for non-NULL pointer before the memory validity test. Pointed
38231 out by Holger Brunck <holger.brunck@keymile.com>.
38232
38233 2013-03-13 Andreas Schwab <schwab@suse.de>
38234
38235 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38236 instead of .os.
38237
38238 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38239
38240 * timezone/zic.c: Update from tzcode 2013b.
38241
38242 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38243
38244 * manual/install.texi (Configuring and compiling):
38245 Mention i686 and i586.
38246 * INSTALL: Regenerate.
38247
38248 2013-03-12 Roland McGrath <roland@hack.frob.com>
38249
38250 * sysdeps/init_array/elf-init.c: New file.
38251 * csu/elf-init.c
38252 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38253 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38254
38255 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38256 __gmon_start__ as global, but as static with a .preinit_array pointer.
38257 * sysdeps/init_array/gmon-start.c: New file. Use that.
38258 * sysdeps/init_array/crti.S: New file, empty except for comments.
38259 * sysdeps/init_array/crtn.S: Likewise.
38260
38261 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38262
38263 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38264 definining bcopy.
38265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38266 Remove Prefer_SSE_for_memop.
38267 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38268 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38269 HAS_PREFER_SSE_FOR_MEMOP.
38270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38271 memset-x86-64.
38272 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38273 Remove bzero, memset ifunc support.
38274 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38275 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38276 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38277 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38278
38279 2013-03-11 Andreas Schwab <schwab@suse.de>
38280
38281 [BZ #15234]
38282 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38283 by SHLIB_COMPAT.
38284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38285 (GLIBC_2.16): Remove pthread_atfork.
38286
38287 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38288
38289 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38290 (ptestcases.h): Likewise.
38291
38292 2013-03-08 Roland McGrath <roland@hack.frob.com>
38293
38294 * Makeconfig ($(common-objpfx)config.status): Depend on
38295 sysdeps/*/preconfigure{,.in} too.
38296
38297 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38298
38299 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38300 (__free_hook): Use void * instead of __malloc_ptr_t.
38301 (__malloc_hook): Likewise.
38302 (__realloc_hook): Likewise.
38303 (__memalign_hook): Likewise.
38304 (__after_morecore_hook): Likewise.
38305 * malloc/arena.c (save_malloc_hook): Likewise.
38306 (save_free_hook): Likewise.
38307 * malloc/hooks.c (malloc_hook_ini): Likewise.
38308 (realloc_hook_ini): Likewise.
38309 (memalign_hook_ini): Likewise.
38310 * malloc/malloc.c (malloc_hook_ini): Likewise.
38311 (realloc_hook_ini): Likewise.
38312 (memalign_hook_ini): Likewise.
38313 (__free_hook): Likewise.
38314 (__malloc_hook): Likewise.
38315 (__realloc_hook): Likewise.
38316 (__memalign_hook): Likewise.
38317 (__libc_malloc): Likewise.
38318 (__libc_free): Likewise.
38319 (__libc_realloc): Likewise.
38320 (__libc_memalign): Likewise.
38321 (__libc_valloc): Likewise.
38322 (__libc_pvalloc): Likewise.
38323 (__libc_calloc): Likewise.
38324 (__posix_memalign): Likewise.
38325 * malloc/morecore.c (__sbrk): Likewise.
38326 (__default_morecore): Likewise.
38327
38328 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38329
38330 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38331 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38332 __malloc_ptrdiff_t.
38333
38334 * malloc/malloc.h (__malloc_size_t): Remove macro.
38335 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38336 __malloc_size_t.
38337 (old_memalign_hook): Likewise.
38338 (old_realloc_hook): Likewise.
38339 (struct hdr): Likewise.
38340 (flood): Likewise.
38341 (mallochook): Likewise.
38342 (memalignhook): Likewise.
38343 (reallochook): Likewise.
38344 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38345 (tr_old_realloc_hook): Likewise.
38346 (tr_old_memalign_hook): Likewise.
38347 (tr_mallochook): Likewise.
38348 (tr_reallochook): Likewise.
38349 (tr_memalignhook): Likewise.
38350
38351 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38352
38353 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38354 default_ldbl_pack and using as default implementation.
38355 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38356 implementation.
38357 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38358 redundant definition.
38359 (ldbl_insert_mantissa): Likewise.
38360 (ldbl_canonicalize): Likewise.
38361 (ldbl_nearbyint): Likewise.
38362 (ldbl_pack): Rename to ldbl_pack_ppc.
38363 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38364 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38365 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38366
38367 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38368
38369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38370 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38371 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38372 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38374 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38375 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38376 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38377
38378 2013-03-07 Andreas Jaeger <aj@suse.de>
38379
38380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38381 bits/mman-linux.h.
38382
38383 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38384
38385 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38386 Include mpa.h and declare __MPEXP.
38387 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38388 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38389 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38390 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38391 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38392 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38393 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38394
38395 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38396 (__slowpow): Use long double EXPL and LOGL functions to
38397 compute POW.
38398 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38399 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38400 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38401 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38402 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38403 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38404
38405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38406 intermediate variable to calculate exponent.
38407 (__sqr): Likewise.
38408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38409 Likewise.
38410 (__sqr): Likewise.
38411
38412 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38413 [!NO__SQR]: Define __sqr.
38414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38415 and NO__SQR. Remove all code except __mul and __sqr. Include
38416 sysdeps/ieee754/dbl-64/mpa.c.
38417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38418
38419 [BZ #12723]
38420 * posix/Makefile (tests): Add tst-pathconf.
38421 * posix/tst-pathconf.c: New test case.
38422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38423 _PC_PIPE_BUF.
38424 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38425
38426 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38427
38428 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38429
38430 2013-03-06 Andreas Jaeger <aj@suse.de>
38431
38432 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38433 definition via __MAP_ANONYMOUS.
38434
38435 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38436 it's not part of Linux headers.
38437
38438 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38439 (MAP_HUGE_MASK): Define.
38440
38441 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38442 Define.
38443 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38444 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38445 Define.
38446 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38447 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38448 Define.
38449 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38450 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38451 Define.
38452 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38453
38454 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38455 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38456 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38457 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38458 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38459 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38460
38461 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38462 Handle f2fs.
38463
38464 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38465 Handle f2fs and efivarfs.
38466
38467 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38468 f2fs.
38469
38470 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38471 (EFIVARFS_MAGIC): Add.
38472 (F2FS_LINK_MAX): Add.
38473
38474 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38475
38476 * stdio-common/vfprintf.c: Replace __builtin_expect with
38477 __glibc_unlikely.
38478
38479 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38480
38481 [BZ #13550]
38482 * sysdeps/generic/bp-sym.h: Remove file.
38483 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38484 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38485 <bp-sym.h> and <bp-asm.h>.
38486 (__longjmp): Don't use BP_SYM.
38487 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38488 and <bp-asm.h>.
38489 (memcpy): Don't use BP_SYM.
38490 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38491 <bp-sym.h> and <bp-asm.h>.
38492 (memcpy): Don't use BP_SYM.
38493 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38494 <bp-asm.h>.
38495 (memcpy): Don't use BP_SYM.
38496 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38497 <bp-asm.h>.
38498 (memset): Don't use BP_SYM.
38499 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38500 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38501 (__bzero): Don't use BP_SYM.
38502 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38503 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38504 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38505 <bp-sym.h> and <bp-asm.h>.
38506 (memcmp): Don't use BP_SYM. Remove comment about bounded
38507 pointers.
38508 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38509 <bp-sym.h> and <bp-asm.h>.
38510 (memcpy): Don't use BP_SYM.
38511 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38512 <bp-sym.h> and <bp-asm.h>.
38513 (memset): Don't use BP_SYM.
38514 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38515 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38516 (__bzero): Don't use BP_SYM.
38517 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38518 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38519 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38520 <bp-sym.h> and <bp-asm.h>.
38521 (strncmp): Don't use BP_SYM. Remove comment about bounded
38522 pointers.
38523 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38524 <bp-sym.h> and <bp-asm.h>.
38525 (memcpy): Don't use BP_SYM.
38526 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38527 <bp-sym.h> and <bp-asm.h>.
38528 (memset): Don't use BP_SYM.
38529 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38530 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38531 (__bzero): Don't use BP_SYM.
38532 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38533 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38534 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38535 <bp-sym.h> and <bp-asm.h>.
38536 (__memchr): Don't use BP_SYM.
38537 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38538 <bp-sym.h> and <bp-asm.h>.
38539 (memcmp): Don't use BP_SYM. Remove comment about bounded
38540 pointers.
38541 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38542 <bp-sym.h> and <bp-asm.h>.
38543 (memcpy): Don't use BP_SYM.
38544 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38545 <bp-sym.h> and <bp-asm.h>.
38546 (__mempcpy): Don't use BP_SYM.
38547 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38548 <bp-sym.h> and <bp-asm.h>.
38549 (__memrchr): Don't use BP_SYM.
38550 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38551 <bp-sym.h> and <bp-asm.h>.
38552 (memset): Don't use BP_SYM.
38553 (__bzero): Likewise.
38554 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38555 <bp-sym.h> and <bp-asm.h>.
38556 (__rawmemchr): Don't use BP_SYM.
38557 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38558 <bp-sym.h> and <bp-asm.h>.
38559 (__STRCMP): Don't use BP_SYM.
38560 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38561 <bp-sym.h> and <bp-asm.h>.
38562 (strchr): Don't use BP_SYM.
38563 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38564 <bp-sym.h> and <bp-asm.h>.
38565 (__strchrnul): Don't use BP_SYM.
38566 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38567 <bp-sym.h> and <bp-asm.h>.
38568 (strlen): Don't use BP_SYM.
38569 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38570 <bp-sym.h> and <bp-asm.h>.
38571 (strncmp): Don't use BP_SYM. Remove comment about bounded
38572 pointers.
38573 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38574 <bp-sym.h> and <bp-asm.h>.
38575 (__strnlen): Don't use BP_SYM.
38576 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38577 <bp-sym.h> and <bp-asm.h>.
38578 (__GI__setjmp): Don't use BP_SYM.
38579 (_setjmp): Likewise.
38580 (__sigsetjmp): Likewise.
38581 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38582 (L(start_addresses)): Don't use BP_SYM.
38583 (_start): Likewise.
38584 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38585 <bp-asm.h>.
38586 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38587 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38588 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38589 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38590 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38591 <bp-asm.h>.
38592 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38593 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38594 about bounded pointers.
38595 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38596 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38597 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38598 <bp-asm.h>.
38599 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38600 about bounded pointers. Remove GKM FIXME comments.
38601 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38602 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38603 <bp-asm.h>.
38604 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38605 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38606 Remove GKM FIXME comments.
38607 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38608 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38609 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38610 <bp-asm.h>.
38611 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38612 about bounded pointers. Remove GKM FIXME comment.
38613 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38614 and <bp-asm.h>.
38615 (strncmp): Don't use BP_SYM. Remove comment about bounded
38616 pointers.
38617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38618 <bp-sym.h> and <bp-asm.h>.
38619 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38621 <bp-sym.h> and <bp-asm.h>.
38622 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38623 comment.
38624
38625 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38626
38627 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38628 call free(NULL).
38629
38630 2013-03-05 David S. Miller <davem@davemloft.net>
38631
38632 * po/es.po: Update from translation team.
38633
38634 2013-03-05 Andreas Jaeger <aj@suse.de>
38635
38636 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38637 <bits/mman-linux.h>.
38638 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38639 is fine.
38640 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38641 <bits/mman-linux.h> to end of file.
38642 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38643 is fine.
38644 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38645 <bits/mman-linux.h> to end of file.
38646 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38647 is fine.
38648 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38649 <bits/mman-linux.h> to end of file.
38650
38651 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38652 (MCL_CURRENT, MCL_FUTURE): Define here.
38653
38654 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38655
38656 [BZ #15232]
38657 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38658 attribute_hidden.
38659 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38660
38661 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38662
38663 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38664 fourth parameter needed for rt_sigprocmask syscall.
38665 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38666 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38667 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38668 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38669 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38670 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38671
38672 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38673
38674 [BZ #13550]
38675 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38676 comment about bounded pointers.
38677 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38678 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38679
38680 2013-03-04 Andreas Jaeger <aj@suse.de>
38681
38682 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38683 common definitions.
38684
38685 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38686 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38687 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38688 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38689 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38691
38692 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38693
38694 [BZ #15055]
38695 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38696 __ieee754_sqrl instead of __sqrl.
38697
38698 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38699
38700 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38701 * sysdeps/powerpc/fpu_control.h: ... here.
38702 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38703 * sysdeps/powerpc/bits/fenvinline.h: ... here.
38704 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38705 * sysdeps/powerpc/bits/mathinline.h: ... here.
38706
38707 2013-03-01 Roland McGrath <roland@hack.frob.com>
38708
38709 * elf/dl-hwcaps.c (_dl_important_hwcaps):
38710 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38711 to just [NEED_DL_SYSINFO_DSO].
38712 * elf/dl-support.c: Likewise.
38713 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38714 * elf/rtld.c (dl_main): Likewise.
38715 * elf/setup-vdso.h (setup_vdso): Likewise.
38716 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38717 * sysdeps/unix/sysv/linux/dl-sysdep.c
38718 (_dl_discover_osversion): Likewise.
38719
38720 2013-03-01 Carlos O'Donell <carlos@redhat.com>
38721
38722 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38723 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38724
38725 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
38726
38727 * NEWS: Mention libm performance improvements and non-x86 PI
38728 futex support.
38729
38730 * csu/libc-start.c (__pthread_initialize_minimal): Change
38731 function arguments.
38732 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38733
38734 2013-02-28 Joseph Myers <joseph@codesourcery.com>
38735
38736 [BZ #13550]
38737 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38738 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38739 <bp-sym.h> and <bp-asm.h>.
38740 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38741 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38742 and <bp-asm.h>.
38743 (memcpy): Don't use BP_SYM.
38744 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38745 <bp-asm.h>.
38746 (__mpn_add_n): Don't use BP_SYM.
38747 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38748 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38749 and <bp-asm.h>.
38750 (__mpn_addmul_1): Don't use BP_SYM.
38751 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38752 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38753 <bp-sym.h>.
38754 (_setjmp): Don't use BP_SYM.
38755 (__novmx_setjmp): Likewise.
38756 (__GI__setjmp): Likewise.
38757 (__vmx_setjmp): Likewise.
38758 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38759 <bp-sym.h>.
38760 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38761 (__bzero): Don't use BP_SYM.
38762 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38763 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38764 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38765 <bp-sym.h> and <bp-asm.h>.
38766 (memcpy): Don't use BP_SYM.
38767 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38768 <bp-sym.h> and <bp-asm.h>.
38769 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38770 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38771 <bp-sym.h> and <bp-asm.h>.
38772 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38773 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38774 <bp-asm.h>.
38775 (__mpn_lshift): Don't use BP_SYM.
38776 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38777 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38778 <bp-asm.h>.
38779 (memset): Don't use BP_SYM.
38780 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38781 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38782 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38783 <bp-asm.h>.
38784 (__mpn_mul_1): Don't use BP_SYM.
38785 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38786 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38787 <bp-sym.h> and <bp-asm.h>.
38788 (memcmp): Don't use BP_SYM.
38789 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38790 <bp-sym.h> and <bp-asm.h>.
38791 (memcpy): Don't use BP_SYM.
38792 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38793 <bp-sym.h> and <bp-asm.h>.
38794 (memset): Don't use BP_SYM.
38795 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38796 <bp-sym.h> and <bp-asm.h>.
38797 (strncmp): Don't use BP_SYM.
38798 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38799 <bp-sym.h> and <bp-asm.h>.
38800 (memcpy): Don't use BP_SYM.
38801 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38802 <bp-sym.h> and <bp-asm.h>.
38803 (memset): Don't use BP_SYM.
38804 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38805 <bp-sym.h> and <bp-asm.h>.
38806 (__memchr): Don't use BP_SYM.
38807 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38808 <bp-sym.h> and <bp-asm.h>.
38809 (memcmp): Don't use BP_SYM.
38810 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38811 <bp-sym.h> and <bp-asm.h>.
38812 (memcpy): Don't use BP_SYM.
38813 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38814 <bp-sym.h> and <bp-asm.h>.
38815 (__mempcpy): Don't use BP_SYM.
38816 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38817 <bp-sym.h> and <bp-asm.h>.
38818 (__memrchr): Don't use BP_SYM.
38819 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38820 <bp-sym.h> and <bp-asm.h>.
38821 (memset): Don't use BP_SYM.
38822 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38823 <bp-sym.h> and <bp-asm.h>.
38824 (__rawmemchr): Don't use BP_SYM.
38825 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38826 <bp-sym.h> and <bp-asm.h>.
38827 (__STRCMP): Don't use BP_SYM.
38828 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38829 <bp-sym.h> and <bp-asm.h>.
38830 (strchr): Don't use BP_SYM.
38831 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38832 <bp-sym.h> and <bp-asm.h>.
38833 (__strchrnul): Don't use BP_SYM.
38834 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38835 <bp-sym.h> and <bp-asm.h>.
38836 (strlen): Don't use BP_SYM.
38837 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38838 <bp-sym.h> and <bp-asm.h>.
38839 (strncmp): Don't use BP_SYM.
38840 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38841 <bp-sym.h> and <bp-asm.h>.
38842 (__strnlen): Don't use BP_SYM.
38843 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38844 <bp-asm.h>.
38845 (__mpn_rshift): Don't use BP_SYM.
38846 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38847 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38848 <bp-sym.h> and <bp-asm.h>.
38849 (__sigsetjmp): Don't use BP_SYM.
38850 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38851 (L(start_addresses)): Don't use BP_SYM.
38852 (_start): Likewise.
38853 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38854 <bp-asm.h>.
38855 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38856 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38857 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38858 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38859 <bp-asm.h>.
38860 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38861 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38862 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38863 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38864 <bp-asm.h>.
38865 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38866 comments.
38867 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38868 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38869 <bp-asm.h>.
38870 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
38871 FIXME comments.
38872 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38873 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38874 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38875 <bp-asm.h>.
38876 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
38877 comment.
38878 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38879 and <bp-asm.h>.
38880 (strncmp): Don't use BP_SYM,
38881 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38882 <bp-asm.h>.
38883 (__mpn_sub_n): Don't use BP_SYM.
38884 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38885 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38886 and <bp-asm.h>.
38887 (__mpn_submul_1): Don't use BP_SYM.
38888 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38890 <bp-sym.h> and <bp-asm.h>.
38891 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38893 <bp-sym.h> and <bp-asm.h>.
38894 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38895 comment.
38896
38897 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38898
38899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38900 Use ZK to minimize writes to Z.
38901 (sub_magnitudes): Simplify code a bit.
38902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38903 Use ZK to minimize writes to Z.
38904 (sub_magnitudes): Simplify code a bit.
38905
38906 2013-02-27 Roland McGrath <roland@hack.frob.com>
38907
38908 * csu/gmon-start.c: Add special exception to license text.
38909
38910 2013-02-27 Richard Henderson <rth@redhat.com>
38911
38912 * scripts/config.guess: Update from config.git.
38913 * scripts/config.sub: Likewise.
38914
38915 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
38916
38917 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
38918
38919 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
38920
38921 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
38922
38923 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
38924
38925 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
38926
38927 2013-02-26 Roland McGrath <roland@hack.frob.com>
38928
38929 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
38930 [$(build-shared = yes].
38931
38932 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38933
38934 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
38935 (__mul): Reduce iterations for calculating mantissa.
38936
38937 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
38938 MPTWO.
38939 (__mpranred): Likewise.
38940
38941 [BZ #15160]
38942 * malloc/memusagestat.c (main): Draw graphs for heap and stack
38943 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
38944
38945 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
38946
38947 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
38948 Define __attribute__.
38949
38950 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38951
38952 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
38953 unused.
38954 * posix/regex_internal.h (__attribute): Remove.
38955 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
38956 (re_string_context_at): Likewise.
38957 (bitset_not): Use __attribute__ and mark function as possibly
38958 unused.
38959 (bitset_merge): Likewise.
38960 (bitset_mask): Likewise.
38961 (re_string_char_size_at): Likewise.
38962 (re_string_wchar_at): Likewise.
38963 (re_string_elem_size_at): Likewise.
38964
38965 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38966
38967 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
38968 code.
38969 (cc32): Likewise.
38970
38971 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
38972 (__acr): Likewise.
38973 (__cpy): Likewise.
38974 (norm): Likewise.
38975 (denorm): Likewise.
38976 (__dbl_mp): Likewise.
38977 (add_magnitudes): Likewise.
38978 (sub_magnitudes): Likewise.
38979 (__mul): Likewise.
38980 (__inv): Likewise.
38981
38982 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
38983 style.
38984
38985 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
38986 style.
38987
38988 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
38989 code.
38990
38991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
38992 up changes with default code.
38993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
38994 Likewise.
38995
38996 2013-02-24 Allan McRae <allan@archlinux.org>
38997
38998 * manual/socket.texi (The Internet Namespace): Order menu items
38999 to match that in the file.
39000
39001 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39002 node listing of the info page menu.
39003
39004 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39005
39006 [BZ #13550]
39007 * sysdeps/i386/bp-asm.h: Remove file.
39008 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39009 (PARMS): Do not use macros from bp-asm.h.
39010 (S1): Likewise.
39011 (S2): Likewise.
39012 (SIZE): Likewise.
39013 (__mpn_add_n): Do not use BP_SYM
39014 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39015 "bp-asm.h".
39016 (PARMS): Do not use macros from bp-asm.h.
39017 (S1): Likewise.
39018 (SIZE): Likewise.
39019 (__mpn_addmul_1): Do not use BP_SYM
39020 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39021 "bp-asm.h".
39022 (PARMS): Do not use macros from bp-asm.h.
39023 (SIGMSK): Likewise.
39024 (_setjmp): Likewise. Do not use BP_SYM.
39025 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39026 "bp-asm.h".
39027 (PARMS): Do not use macros from bp-asm.h.
39028 (SIGMSK): Likewise.
39029 (setjmp): Likewise. Do not use BP_SYM.
39030 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39031 "bp-asm.h".
39032 (PARMS): Do not use macros from bp-asm.h.
39033 (__frexp): Do not use BP_SYM.
39034 (frexp): Likewise.
39035 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39036 "bp-asm.h".
39037 (PARMS): Do not use macros from bp-asm.h.
39038 (__frexpf): Do not use BP_SYM.
39039 (frexpf): Likewise.
39040 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39041 "bp-asm.h".
39042 (PARMS): Do not use macros from bp-asm.h.
39043 (__frexpl): Do not use BP_SYM.
39044 (frexpl): Likewise.
39045 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39046 "bp-asm.h".
39047 (PARMS): Do not use macros from bp-asm.h.
39048 (__remquo): Do not use BP_SYM.
39049 (remquo): Likewise.
39050 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39051 "bp-asm.h".
39052 (PARMS): Do not use macros from bp-asm.h.
39053 (__remquof): Do not use BP_SYM.
39054 (remquof): Likewise.
39055 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39056 "bp-asm.h".
39057 (PARMS): Do not use macros from bp-asm.h.
39058 (__remquol): Do not use BP_SYM.
39059 (remquol): Likewise.
39060 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39061 "bp-asm.h".
39062 (PARMS): Do not use macros from bp-asm.h.
39063 (DEST): Likewise.
39064 (SRC): Likewise.
39065 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39066 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39067 "bp-asm.h".
39068 (PARMS): Do not use macros from bp-asm.h.
39069 (strlen): Do not use BP_SYM.
39070 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39071 "bp-asm.h".
39072 (PARMS): Do not use macros from bp-asm.h.
39073 (S1): Likewise.
39074 (S2): Likewise.
39075 (SIZE): Likewise.
39076 (__mpn_add_n): Do not use BP_SYM.
39077 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39078 "bp-asm.h".
39079 (PARMS): Do not use macros from bp-asm.h.
39080 (S1): Likewise.
39081 (SIZE): Likewise.
39082 (__mpn_addmul_1): Do not use BP_SYM.
39083 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39084 weak_alias.
39085 (bzero): Likewise.
39086 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39087 "bp-asm.h".
39088 (PARMS): Do not use macros from bp-asm.h.
39089 (S): Likewise.
39090 (SIZE): Likewise.
39091 (__mpn_lshift): Do not use BP_SYM.
39092 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39093 "bp-asm.h".
39094 (PARMS): Do not use macros from bp-asm.h.
39095 (DEST): Likewise.
39096 (SRC): Likewise.
39097 (LEN): Likewise.
39098 (memcpy): Likewise. Do not use BP_SYM.
39099 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39100 libc_hidden_def and weak_alias.
39101 (mempcpy): Do not use BP_SYM in weak_alias.
39102 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39103 "bp-asm.h".
39104 (PARMS): Do not use macros from bp-asm.h.
39105 (DEST): Likewise.
39106 (LEN): Likewise.
39107 [!BZERO_P] (CHR): Likewise.
39108 (memset): Likewise. Do not use BP_SYM.
39109 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39110 "bp-asm.h".
39111 (PARMS): Do not use macros from bp-asm.h.
39112 (S1): Likewise.
39113 (SIZE): Likewise.
39114 (__mpn_mul_1): Do not use BP_SYM.
39115 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39116 "bp-asm.h".
39117 (PARMS): Do not use macros from bp-asm.h.
39118 (S): Likewise.
39119 (SIZE): Likewise.
39120 (__mpn_rshift): Do not use BP_SYM.
39121 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39122 "bp-asm.h".
39123 (PARMS): Do not use macros from bp-asm.h.
39124 (STR): Likewise.
39125 (CHR): Likewise.
39126 (strchr): Likewise. Do not use BP_SYM.
39127 (index): Do not use BP_SYM in weak_alias.
39128 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39129 "bp-asm.h".
39130 (PARMS): Do not use macros from bp-asm.h.
39131 (DEST): Likewise.
39132 (SRC): Likewise.
39133 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39134 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39135 "bp-asm.h".
39136 (PARMS): Do not use macros from bp-asm.h.
39137 (strlen): Do not use BP_SYM.
39138 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39139 "bp-asm.h".
39140 (PARMS): Do not use macros from bp-asm.h.
39141 (S1): Likewise.
39142 (S2): Likewise.
39143 (SIZE): Likewise.
39144 (__mpn_sub_n): Do not use BP_SYM.
39145 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39146 "bp-asm.h".
39147 (PARMS): Do not use macros from bp-asm.h.
39148 (S1): Likewise.
39149 (SIZE): Likewise.
39150 (__mpn_submul_1): Do not use BP_SYM.
39151 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39152 "bp-asm.h".
39153 (PARMS): Do not use macros from bp-asm.h.
39154 (S1): Likewise.
39155 (S2): Likewise.
39156 (SIZE): Likewise.
39157 (__mpn_add_n): Do not use BP_SYM.
39158 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39159 weak_alias.
39160 (bzero): Likewise.
39161 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39162 "bp-asm.h".
39163 (PARMS): Do not use macros from bp-asm.h.
39164 (BLK2): Likewise.
39165 (LEN): Likewise.
39166 (memcmp): Do not use BP_SYM.
39167 (bcmp): Do not use BP_SYM in weak_alias.
39168 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39169 "bp-asm.h".
39170 (PARMS): Do not use macros from bp-asm.h.
39171 (DEST): Likewise.
39172 (SRC): Likewise.
39173 (LEN): Likewise.
39174 (memcpy): Likewise. Do not use BP_SYM.
39175 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39176 "bp-asm.h".
39177 (PARMS): Do not use macros from bp-asm.h.
39178 (DEST): Likewise.
39179 (SRC): Likewise.
39180 (LEN): Likewise.
39181 (memmove): Likewise. Do not use BP_SYM.
39182 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39183 "bp-asm.h".
39184 (PARMS): Do not use macros from bp-asm.h.
39185 (DEST): Likewise.
39186 (SRC): Likewise.
39187 (LEN): Likewise.
39188 (__mempcpy): Likewise. Do not use BP_SYM.
39189 (mempcpy): Do not use BP_SYM in weak_alias.
39190 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39191 "bp-asm.h".
39192 (PARMS): Do not use macros from bp-asm.h.
39193 (DEST): Likewise.
39194 (LEN): Likewise.
39195 [!BZERO_P] (CHR): Likewise.
39196 (memset): Likewise. Do not use BP_SYM.
39197 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39198 "bp-asm.h".
39199 (PARMS): Do not use macros from bp-asm.h.
39200 (STR2): Likewise.
39201 (strcmp): Do not use BP_SYM.
39202 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39203 "bp-asm.h".
39204 (PARMS): Do not use macros from bp-asm.h.
39205 (STR): Likewise.
39206 (DELIM): Likewise.
39207 [USE_AS_STRTOK_R] (SAVE): Likewise.
39208 (FUNCTION): Likewise. Do not use BP_SYM.
39209 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39210 aliases.
39211 (strtok_r): Likewise.
39212 (__GI___strtok_r): Likewise.
39213 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39214 (PARMS): Do not use macros from bp-asm.h.
39215 (S): Likewise.
39216 (SIZE): Likewise.
39217 (__mpn_lshift): Do not use BP_SYM.
39218 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39219 (PARMS): Do not use macros from bp-asm.h.
39220 (STR): Likewise.
39221 (CHR): Likewise.
39222 (__memchr): Do not use BP_SYM.
39223 (memchr): Do not use BP_SYM in weak_alias.
39224 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39225 (PARMS): Do not use macros from bp-asm.h.
39226 (BLK2): Likewise.
39227 (LEN): Likewise.
39228 (memcmp): Do not use BP_SYM.
39229 (bcmp): Do not use BP_SYM in weak_alias.
39230 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39231 (PARMS): Do not use macros from bp-asm.h.
39232 (S1): Likewise.
39233 (SIZE): Likewise.
39234 (__mpn_mul_1): Do not use BP_SYM.
39235 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39236 "bp-asm.h".
39237 (PARMS): Do not use macros from bp-asm.h.
39238 (STR): Likewise.
39239 (CHR): Likewise.
39240 (__rawmemchr): Do not use BP_SYM.
39241 (rawmemchr): Do not use BP_SYM in weak_alias.
39242 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39243 (PARMS): Do not use macros from bp-asm.h.
39244 (S): Likewise.
39245 (SIZE): Likewise.
39246 (__mpn_rshift): Do not use BP_SYM.
39247 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39248 (PARMS): Do not use macros from bp-asm.h.
39249 (SIGMSK): Likewise.
39250 (__sigsetjmp): Likewise. Do not use BP_SYM.
39251 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39252 (_start): Do not use BP_SYM.
39253 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39254 (PARMS): Do not use macros from bp-asm.h.
39255 (DEST): Likewise.
39256 (SRC): Likewise.
39257 (__stpcpy): Likewise. Do not use BP_SYM.
39258 (stpcpy): Do not use BP_SYM in weak_alias.
39259 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39260 "bp-asm.h".
39261 (PARMS): Do not use macros from bp-asm.h.
39262 (DEST): Likewise.
39263 (SRC): Likewise.
39264 (LEN): Likewise.
39265 (__stpncpy): Likewise. Do not use BP_SYM.
39266 (stpncpy): Do not use BP_SYM in weak_alias.
39267 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39268 (PARMS): Do not use macros from bp-asm.h.
39269 (STR): Likewise.
39270 (CHR): Likewise.
39271 (strchr): Likewise. Do not use BP_SYM.
39272 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39273 "bp-asm.h".
39274 (PARMS): Do not use macros from bp-asm.h.
39275 (STR): Likewise.
39276 (CHR): Likewise.
39277 (__strchrnul): Likewise. Do not use BP_SYM.
39278 (strchrnul): Do not use BP_SYM in weak_alias.
39279 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39280 "bp-asm.h".
39281 (PARMS): Do not use macros from bp-asm.h.
39282 (STOP): Likewise.
39283 (strcspn): Do not use BP_SYM.
39284 * sysdeps/i386/strpbrk.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 (STOP): Likewise.
39289 (strpbrk): Likewise. Do not use BP_SYM.
39290 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39291 "bp-asm.h".
39292 (PARMS): Do not use macros from bp-asm.h.
39293 (STR): Likewise.
39294 (CHR): Likewise.
39295 (strrchr): Likewise. Do not use BP_SYM.
39296 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39297 (PARMS): Do not use macros from bp-asm.h.
39298 (SKIP): Likewise.
39299 (strspn): Do not use BP_SYM.
39300 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39301 (PARMS): Do not use macros from bp-asm.h.
39302 (STR): Likewise.
39303 (DELIM): Likewise.
39304 (SAVE): Likewise.
39305 (FUNCTION): Likewise. Do not use BP_SYM.
39306 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39307 aliases.
39308 (strtok_r): Likewise.
39309 (__GI___strtok_r): Likewise.
39310 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39311 (PARMS): Do not use macros from bp-asm.h.
39312 (S1): Likewise.
39313 (S2): Likewise.
39314 (SIZE): Likewise.
39315 (__mpn_sub_n): Do not use BP_SYM.
39316 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39317 "bp-asm.h".
39318 (PARMS): Do not use macros from bp-asm.h.
39319 (S1): Likewise.
39320 (SIZE): Likewise.
39321 (__mpn_submul_1): Do not use BP_SYM.
39322 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39323 <bp-sym.h>.
39324 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39325 and <bp-asm.h>.
39326 (PARMS): Do not use macros from bp-asm.h.
39327 (FLAGS): Likewise.
39328 (PTID): Likewise.
39329 (TLS): Likewise.
39330 (CTID): Likewise.
39331 (__clone): Do not use BP_SYM.
39332 (clone): Do not use BP_SYM in weak_alias.
39333 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39334 and <bp-asm.h>.
39335 (PARMS): Do not use macros from bp-asm.h.
39336 (LEN): Likewise.
39337 (__mmap64): Do not use BP_SYM.
39338 (mmap64): Do not use BP_SYM in weak_alias.
39339 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39340 <bp-sym.h> and <bp-asm.h>.
39341 (PARMS): Do not use macros from bp-asm.h.
39342 (__posix_fadvise64_l64): Do not use BP_SYM.
39343 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39344 (PARMS): Do not use macros from bp-asm.h.
39345 (NSOPS): Likewise.
39346 (semtimedop): Do not use BP_SYM.
39347 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39348 and <bp-asm.h>.
39349
39350 2013-02-21 Allan McRae <allan@archlinux.org>
39351
39352 * manual/message.texi (Charset conversion in gettext):
39353 Move @end statement to beginning of line.
39354
39355 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39356
39357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39358 static.
39359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39360 Likewise.
39361
39362 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39363 (denorm): Likewise.
39364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39366
39367 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39368
39369 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39370 tail-call to the resolved function if pltexit isn't needed.
39371
39372 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39373
39374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39375 or Y being zero as being unlikely.
39376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39377 Likewise.
39378
39379 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39380
39381 * manual/nss.texi (System Databases and Name Service Switch):
39382 Remove frobnicate @pxref.
39383
39384 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39385
39386 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39387 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39388
39389 2013-02-20 Petr Machata <pmachata@redhat.com>
39390
39391 * elf/elf.h (R_ARM_TARGET1): New macro.
39392 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39393 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39394 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39395 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39396 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39397 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39398 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39399 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39400 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39401 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39402 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39403 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39404 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39405 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39406 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39407 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39408 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39409 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39410 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39411 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39412 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39413 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39414 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39415 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39416 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39417 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39418 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39419 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39420 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39421 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39422 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39423 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39424 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39425 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39426 (R_ARM_THM_GOT_BREL12): Likewise.
39427 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39428 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39429 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39430 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39431 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39432 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39433 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39434 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39435 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39436
39437 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39438
39439 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39440 __attribute_used__ to __attribute__ ((unused)).
39441
39442 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39443
39444 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39445 powerpc mpa.c.
39446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39447 comment formatting.
39448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39449
39450 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39451
39452 [BZ #13550]
39453 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39454 Remove macro.
39455 (ENTER): Remove both macro definitions.
39456 (LEAVE): Likewise.
39457 (CHECK_BOUNDS_LOW): Likewise.
39458 (CHECK_BOUNDS_HIGH): Likewise.
39459 (CHECK_BOUNDS_BOTH): Likewise.
39460 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39461 (RETURN_BOUNDED_POINTER): Likewise.
39462 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39463 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39464 (POP_ERRNO_LOCATION_RETURN): Likewise.
39465 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39466 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39467 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39468 macros.
39469 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39470 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39471 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39472 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39473 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39474 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39475 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39476 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39477 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39478 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39479 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39480 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39481 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39482 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39483 removed macros.
39484 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39485 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39486 macros.
39487 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39488 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39489 * sysdeps/i386/i586/memset.S (memset): Likewise.
39490 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39491 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39492 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39493 macros.
39494 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39495 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39496 Change uses of L(2) to L(out).
39497 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39498 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39499 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39500 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39501 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39502 removed macros.
39503 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39504 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39505 macros.
39506 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39507 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39508 (RETURN): Do not use macro LEAVE.
39509 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39510 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39511 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39512 * sysdeps/i386/i686/memset.S (memset): Likewise.
39513 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39514 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39515 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39516 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39517 Likewise.
39518 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39519 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39520 L(1_2) and L(1_3) into L(1).
39521 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39522 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39523 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39524 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39525 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39526 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39527 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39528 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39529 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39530 macros.
39531 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39532 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39533 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39534 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39535 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39536 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39537 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39538 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39539 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39540 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39541 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39542 * sysdeps/i386/strspn.S (strspn): Likewise.
39543 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39544 conditional code.
39545 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39546 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39547 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39548 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39549 L(1_3) into L(1_1).
39550 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39551 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39552 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39553 macros.
39554 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39555
39556 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39557
39558 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39559 macro.
39560
39561 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39562
39563 * math/atest-exp.c (exp_mpn): Remove ROUND.
39564 * math/atest-exp2.c (exp_mpn): Likewise.
39565 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39566
39567 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39568 * stdlib/tst-tls-atexit-lib.c: Likewise.
39569 * stdlib/tst-tls-atexit.c: Likewise.
39570
39571 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39572
39573 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39574 and __attribute_alloc_size__.
39575
39576 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39577
39578 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39579 __attribute_alloc_size__.
39580 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39581 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39582
39583 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39584
39585 * include/programs/xmalloc.h: New file.
39586 * catgets/gencat.c: Include it.
39587 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39588 * elf/pldd.c: Likewise.
39589 * iconv/iconv_charmap.c: Likewise.
39590 * iconv/iconvconfig.c: Likewise.
39591 * iconv/strtab.c: Likewise.
39592 * locale/programs/locale.c: Likewise.
39593 * locale/programs/localedef.h: Likewise.
39594 * locale/programs/simple-hash.c: Likewise.
39595 * nscd/nscd.h: Likewise.
39596 * nss/makedb.c: Likewise.
39597 * sysdeps/generic/ldconfig.h: Likewise.
39598
39599 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39600
39601 * Versions.def: Add GLIBC_2.18.
39602 * include/link.h (struct link_map): New member l_tls_dtor_count.
39603 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39604 (__call_tls_dtors): Likewise.
39605 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39606 __cxa_thread_atexit_impl.
39607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39608 Likewise.
39609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39610 Likewise.
39611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39612 Likewise.
39613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39614 Likewise.
39615 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39617 Likewise.
39618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39619 Likewise.
39620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39622 Likewise.
39623 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39624 (tests): Add test case tst-tls-atexit.
39625 (modules-names): Add shared library for tst-tls-atexit.
39626 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39627 (GLIBC_PRIVATE): Add __call_tls_dtors.
39628 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39629 for libstdc++.
39630 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39631 * stdlib/tst-tls-atexit.c: New test case.
39632 * stdlib/tst-tls-atexit-lib.c: New test case.
39633
39634 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39635
39636 * elf/Versions (ld): Add _dl_find_dso_for_object.
39637 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39638 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39639 (dl_open_worker): Use _dl_find_dso_for_object.
39640 * elf/dl-sym.c (do_sym): Likewise.
39641 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39642
39643 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39644
39645 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39646 Syntactic changes only.
39647 (_dl_runtime_profile): Do a tail-call to the resolved function.
39648
39649 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39650
39651 [BZ #13550]
39652 * sysdeps/x86_64/bp-asm.h: Remove file.
39653 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39654 <bp-sym.h> and <bp-asm.h>.
39655 (__clone): Do not use BP_SYM.
39656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39657 <bp-sym.h> and <bp-asm.h>.
39658 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39659 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39660 "bp-asm.h".
39661 (_setjmp): Do not use BP_SYM.
39662 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39663 "bp-asm.h".
39664 (setjmp): Do not use BP_SYM.
39665 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39666 libc_hidden_def.
39667 (mempcpy): Do not use BP_SYM in weak_alias.
39668 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39669 "bp-asm.h".
39670 (strchr): Do not use BP_SYM.
39671 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39672 "bp-asm.h".
39673 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39674 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39675 (_start): Do not use BP_SYM.
39676 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39677 "bp-asm.h".
39678 (strcat): Do not use BP_SYM.
39679 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39680 "bp-asm.h".
39681 (STRCMP): Do not use BP_SYM.
39682 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39683 "bp-asm.h".
39684 (STRCPY): Do not use BP_SYM.
39685 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39686 "bp-asm.h".
39687 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39688 "bp-asm.h".
39689 (FUNCTION): Do not use BP_SYM.
39690 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39691 weak_alias.
39692 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39693
39694 2013-02-17 Andreas Jaeger <aj@suse.de>
39695
39696 * time/Versions: Sort entries.
39697 * string/Versions: Likewise.
39698 * resolv/Versions: Likewise.
39699 * posix/Versions: Likewise.
39700 * iconv/Versions: Likewise.
39701 * elf/Versions: Likewise.
39702 * wcsmbs/Versions: Likewise.
39703
39704 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39705
39706 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39707 loop termination condition.
39708
39709 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39710 variable to calculate EZ.
39711 (__sqr): Likewise.
39712
39713 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39714 the lower precision input.
39715
39716 2013-02-15 Joseph Myers <joseph@codesourcery.com>
39717
39718 [BZ #13550]
39719 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39720 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39721 (run-via-rtld-prefix): Do not handle %-bp tests.
39722 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39723 (all-object-suffixes): Remove .ob.
39724 (bppfx): Remove variable.
39725 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39726 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39727 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39728 [$(build-bounded) = yes] (libtype.ob): Likewise.
39729 * Makerules (elide-routines.ob): Remove variable.
39730 (do-tests-clean): Do not handle *-bp.out.
39731 (common-mostlyclean): Do not handle *-bp and *-bp.out.
39732 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39733 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39734 (tests): Do not include $(tests-bp.out).
39735 (xtests): Do not include $(xtests-bp.out).
39736 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39737 [$(build-bounded) = yes] ($(addprefix
39738 $(objpfx),$(binaries-bounded))): Remove rule.
39739 ($(objpfx)%-bp.out): Remove rule.
39740 * config.make.in (build-bounded): Remove variable.
39741 * crypt/Makefile [$(build-bounded) = yes]
39742 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39743 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39744 append to variable.
39745 [$(build-bounded) = yes] (install-lib): Likewise.
39746 [$(build-bounded) = yes] (generated): Likewise.
39747 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39748 Remove rule.
39749 * intl/Makefile [$(build-bounded) = yes]
39750 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39751 * math/Makefile [$(build-bounded) = yes]
39752 ($(tests:%=$(objpfx)%-bp): Likewise.
39753 * misc/Makefile [$(build-bounded) = yes]
39754 ($(objpfx)tst-tsearch-bp): Likewise.
39755 * nptl/Makeconfig (bounded-thread-library): Remove variable.
39756 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39757 Remove dependency.
39758 * string/Makefile (o-objects.ob): Remove variable.
39759 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39760 (CFLAGS-.ob): Remove variable.
39761 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39762 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39763 both definitions of variable.
39764 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39765 (ASFLAGS-.ob): Remove variable.
39766
39767 2013-02-14 Joseph Myers <joseph@codesourcery.com>
39768
39769 [BZ #13550]
39770 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39771 Remove __BOUNDED_POINTERS__ from condition.
39772 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39773 * string/bits/string2.h [!__NO_STRING_INLINES &&
39774 !__BOUNDED_POINTERS__]: Likewise.
39775 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39776 Likewise.
39777 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39778 Remove conditional code.
39779 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39780 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39781 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39782 condition.
39783
39784 [BZ #13550]
39785 * csu/libc-start.c: Do not include <bp-sym.h>.
39786 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39787 * elf/dl-open.c: Do not include <bp-sym.h>.
39788 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39789 * math/fegetenv.c: Do not include <bp-sym.h>.
39790 (fegetenv): Do not use BP_SYM in versioned symbols.
39791 * nptl/sysdeps/pthread/bits/libc-lockP.h
39792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39793 <bp-sym.h>.
39794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39795 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39797 (__pthread_mutex_destroy): Likewise.
39798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39799 (__pthread_mutex_lock): Likewise.
39800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39801 (__pthread_mutex_trylock): Likewise.
39802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39803 (__pthread_mutex_unlock): Likewise.
39804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39805 (__pthread_mutexattr_init): Likewise.
39806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39807 (__pthread_mutexattr_destroy): Likewise.
39808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39809 (__pthread_mutexattr_settype): Likewise.
39810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39811 (__pthread_rwlock_init): Likewise.
39812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39813 (__pthread_rwlock_destroy): Likewise.
39814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39815 (__pthread_rwlock_rdlock): Likewise.
39816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39817 (__pthread_rwlock_tryrdlock): Likewise.
39818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39819 (__pthread_rwlock_wrlock): Likewise.
39820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39821 (__pthread_rwlock_trywrlock): Likewise.
39822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39823 (__pthread_rwlock_unlock): Likewise.
39824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39825 (__pthread_key_create): Likewise.
39826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39827 (__pthread_setspecific): Likewise.
39828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39829 (__pthread_getspecific): Likewise.
39830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39831 Likewise.
39832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39833 (_pthread_cleanup_push_defer): Likewise.
39834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39835 (_pthread_cleanup_pop_restore): Likewise.
39836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39837 (pthread_setcancelstate): Likewise.
39838 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39839 <bp-sym.h>.
39840 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39841 (memchr): Do not use BP_SYM in weak_alias.
39842 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39843 (fegetenv): Do not use BP_SYM in versioned symbols.
39844 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39845 (fesetenv): Do not use BP_SYM in versioned symbols.
39846 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39847 (feupdateenv): Do not use BP_SYM in versioned symbols.
39848 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39849 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39850 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39851 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39852 (open64): Do not use BP_SYM in weak_alias.
39853 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39854 (fegetenv): Do not use BP_SYM in versioned symbols.
39855 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39856 (fesetenv): Do not use BP_SYM in versioned symbols.
39857 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39858 (feupdateenv): Do not use BP_SYM in versioned symbols.
39859 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39860 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39861 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39862 (feraiseexcept): Do not use BP_SYM in versioned symbols.
39863 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39864 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39865 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39866 <bp-sym.h>.
39867 (__libc_start_main): Do not use BP_SYM.
39868
39869 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
39870
39871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39872 redundant return line.
39873 (norm): Likewise.
39874 (denorm): Likewise.
39875 (dbl_mp): Likewise.
39876 (sub_magnitudes): Likewise.
39877 (__add): Likewise.
39878 (__sub): Likewise.
39879 (__mul): Likewise.
39880 (__inv): Likewise.
39881 (__dvd): Likewise.
39882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39883 (norm): Likewise.
39884 (denorm): Likewise.
39885 (dbl_mp): Likewise.
39886 (sub_magnitudes): Likewise.
39887 (__add): Likewise.
39888 (__sub): Likewise.
39889 (__mul): Likewise.
39890 (__inv): Likewise.
39891 (__dvd): Likewise.
39892
39893 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39894 instead of __mul.
39895 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39896 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39897 (cc32): Likewise.
39898
39899 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39900 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39901 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39902 of __mul for squares.
39903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39904 function
39905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39906 Likewise.
39907 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39908 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39909
39910 2013-02-13 Joseph Myers <joseph@codesourcery.com>
39911
39912 [BZ #13550]
39913 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
39914 code.
39915 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
39916 prototype or function definition. Rename ubp_* variables and
39917 parameters. Remove argv definitions conditional on
39918 [__BOUNDED_POINTERS__].
39919 * debug/backtrace.c (__backtrace): Do not use __unbounded.
39920 * elf/dl-runtime.c (_dl_fixup): Likewise.
39921 * include/set-hooks.h (RUN_HOOK): Likewise.
39922 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
39923 definition.
39924 * string/strcpy.c (strcpy): Do not use __unbounded.
39925 * sysdeps/generic/frame.h (struct layout): Likewise.
39926 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
39927 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
39928 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
39929 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
39930 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
39931 (__backtrace): Likewise.
39932 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
39933 use __ptrvalue.
39934 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
39935 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39936 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
39937 Likewise.
39938 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
39939 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
39940 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39941 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39942 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
39943 Do not use __unbounded.
39944 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
39945 Rename __unboundedrlimits parameter to rlimits in prototype.
39946 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
39947 Do not use __unbounded.
39948 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
39949 not use __ptrvalue.
39950 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39951 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
39952 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39953 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
39954 __ptrvalue or __unbounded.
39955 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
39956 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
39957 use __unbounded.
39958 (__new_msgctl): Do not use __ptrvalue.
39959 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
39960 __unbounded.
39961 (__libc_msgrcv): Do not use __ptrvalue.
39962 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
39963 startup_info): Do not use __unbounded.
39964 (__libc_start_main): Likewise. Rename ubp_* variables and
39965 parameters. Remove argv definitions conditional on
39966 [__BOUNDED_POINTERS__].
39967 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
39968 __ptrvalue.
39969 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
39970 use __unbounded.
39971 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
39972 or __ptrvalue.
39973 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
39974 use __unbounded.
39975 (__new_shmctl): Do not use __ptrvalue.
39976 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
39977 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
39978 Likewise.
39979 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
39980 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
39981 (__libc_sigaction): Likewise.
39982 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
39983 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
39984 Likewise.
39985 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39986
39987 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
39988
39989 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
39990
39991 * string/mempcpy.c: Implement by calling memcpy.
39992
39993 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
39994
39995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
39996
39997 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
39998 evaluation.
39999
40000 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40001 values in the mantissa.
40002
40003 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40004 minimize writes to Z.
40005 (sub_magnitudes): Simplify code a bit.
40006
40007 2013-02-12 Roland McGrath <roland@hack.frob.com>
40008
40009 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40010 from the message. The linker prefixes all warnings with that already.
40011
40012 2013-02-12 Andreas Schwab <schwab@suse.de>
40013
40014 [BZ #15078]
40015 * posix/regexec.c (extend_buffers): Add parameter min_len.
40016 (check_matching): Pass minimum needed length.
40017 (clean_state_log_if_needed): Likewise.
40018 (get_subexp): Likewise.
40019 * posix/Makefile (tests): Add bug-regex34.
40020 (bug-regex34-ENV): Define.
40021 * posix/bug-regex34.c: New file.
40022
40023 [BZ #11561]
40024 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40025 elements compare against the byte sequence of it, not its name.
40026 * posix/Makefile (tests): Add bug-regex35.
40027 (bug-regex35-ENV): Define.
40028 * posix/bug-regex35.c: New file.
40029
40030 2013-02-11 Tom de Vries <tom@codesourcery.com>
40031
40032 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40033 comment.
40034 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40035 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40036 (CHECK_EOL): Add undef.
40037
40038 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40039
40040 * bits/stdlib-bsearch.h: New file.
40041 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40042 * stdlib/stdlib.h: Likewise.
40043
40044 2013-02-11 Roland McGrath <roland@hack.frob.com>
40045
40046 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40047 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40048 declaration.
40049 * manual/search.texi (Array Search Function): Add missing const in
40050 lfind prototype.
40051 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40052 declaration to use rlim_t.
40053 (Basic Scheduling Functions): Remove erroneous const from
40054 sched_getparam prototype. Remove erroneous * from
40055 sched_get_priority_max and sched_get_priority_min prototypes.
40056 (Resource Usage): Fix summary @comment on vtimes to refer to
40057 sys/vtimes.h rather than vtimes.h.
40058 Add missing *s in vtimes prototype.
40059 (Limits on Resources): Fix ulimit prototype to return long int.
40060 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40061 prototypes to use long int rather than double.
40062 (BSD Random): Fix initstate and setstate to use char *, not void *.
40063 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40064 prototype to make second argument 'struct aiocb64 *const[]'.
40065 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40066 (Status of AIO Operations): Remove erroneous const in aio_return and
40067 aio_return64 prototypes.
40068 (Synchronizing I/O): Fix sync prototype to return void.
40069 * manual/startup.texi (Suboptions): Remove an erroneous const in
40070 getsubopt prototype.
40071 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40072 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40073 use size_t rather than int.
40074 (Scanning All Users): Likewise for getpwent_r.
40075 (Setting Groups): Add missing const to setgroups prototype.
40076 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40077 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40078 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40079 'const void *' rather than 'const char *'.
40080 (Host Address Functions): Likewise for inet_ntop.
40081 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40082 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40083 ssize_t for return value.
40084 (Sending Data): Likewise for send, sendto, sendmsg.
40085 (Socket Option Functions): Add a missing const in setsockopt prototype.
40086 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40087 use wchar_t for the argument.
40088 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40089 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40090 take no arguments.
40091 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40092 double/float/long double for second argument.
40093 Fix return types of significand, significandf, significandl.
40094 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40095 argument in fchmod prototype.
40096 (File Owner): Use uid_t and gid_t in fchown prototype.
40097 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40098 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40099 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40100 use 'const struct dirent **' as argument types to CMP function pointer
40101 argument.
40102 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40103 (File Times): Fix summary magic @comment for struct utimbuf and utime
40104 to refer to utime.h, not time.h.
40105 * manual/string.texi (Argz Functions): Add missing const in
40106 argz_extract and argz_next prototypes.
40107 (Finding Tokens in a String): Likewise for basename.
40108 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40109 (Copying and Concatenation): Fix typo in wmemmove prototype.
40110 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40111 (Signal Stack): Remove erroneous const in sigstack prototype.
40112 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40113 prototype.
40114 (Simple Calendar Time): Likewise for stime.
40115 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40116 prototype.
40117 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40118 say sys/sysctl.h instead.
40119 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40120 and vsyslog prototypes.
40121
40122 2013-02-11 Tom de Vries <tom@codesourcery.com>
40123
40124 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40125 Remove.
40126
40127 2013-02-11 Roland McGrath <roland@hack.frob.com>
40128
40129 * misc/sys/mman.h: Fix typo in mremap comment.
40130
40131 2013-02-08 Roland McGrath <roland@hack.frob.com>
40132
40133 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40134 the '\0' terminator.
40135
40136 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40137
40138 [BZ #13550]
40139 * debug/segfault.c: Don't include <bp-checks.h>.
40140 * sysdeps/generic/bp-checks.h: Remove file.
40141 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40142 (__GETDENTS): Don't use CHECK_N.
40143 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40144 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40145 (__getgroups): Don't use CHECK_N.
40146 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40147 (setgroups): Don't use CHECK_N.
40148 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40149 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40150 (__libc_msgrcv): Don't use CHECK_N.
40151 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40152 (__libc_msgsnd): Don't use CHECK_N.
40153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40154 <bp-checks.h>.
40155 (__libc_pread): Don't use CHECK_N.
40156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40157 include <bp-checks.h>.
40158 (__libc_pread64): Don't use CHECK_N.
40159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40160 include <bp-checks.h>.
40161 (__libc_pwrite): Don't use CHECK_N.
40162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40163 include <bp-checks.h>.
40164 (__libc_pwrite64): Don't use CHECK_N.
40165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40166 <bp-checks.h>.
40167 (__libc_pread): Don't use CHECK_N.
40168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40169 include <bp-checks.h>.
40170 (__libc_pread64): Don't use CHECK_N.
40171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40172 include <bp-checks.h>.
40173 (__libc_pwrite): Don't use CHECK_N.
40174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40175 include <bp-checks.h>.
40176 (__libc_pwrite64): Don't use CHECK_N.
40177 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40178 (do_pread): Don't use CHECK_N.
40179 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40180 (do_pread64): Don't use CHECK_N.
40181 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40182 (do_pwrite): Don't use CHECK_N.
40183 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40184 (do_pwrite64): Don't use CHECK_N.
40185 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40186 (__libc_readv): Don't use CHECK_N.
40187 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40188 (semop): Don't use CHECK_N.
40189 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40190 <bp-checks.h>.
40191 (semtimedop): Don't use CHECK_N.
40192 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40193 (__libc_pread): Don't use CHECK_N.
40194 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40195 <bp-checks.h>.
40196 (__libc_pread64): Don't use CHECK_N.
40197 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40198 <bp-checks.h>.
40199 (__libc_pwrite): Don't use CHECK_N.
40200 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40201 <bp-checks.h>.
40202 (__libc_pwrite64): Don't use CHECK_N.
40203 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40204 <bp-checks.h>.
40205 (__libc_msgrcv): Don't use CHECK_N.
40206 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40207 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40208 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40209 (__libc_writev): Don't use CHECK_N.
40210
40211 2013-02-08 Roland McGrath <roland@hack.frob.com>
40212
40213 * string/strcpy.c: Removed unused variable.
40214
40215 * Makeconfig (+sysdep-includes): Define with := rather than =.
40216 Use an existing include/ subdir of each sysdeps dir before it.
40217
40218 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40219
40220 * nscd/connection.c (register_traced_file): Comment function.
40221 [HAVE_INOTIFY] (union __inev): Define.
40222 [HAVE_INOTIFY] (inotify_check_files): New function.
40223 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40224 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40225 clear_db_cache.
40226 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40227
40228 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40229
40230 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40231 loaded if not already and that a failure is permanent.
40232
40233 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40234
40235 [BZ #15006]
40236 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40237 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40238
40239 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40240
40241 [BZ #13550]
40242 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40243 (CHECK_1_NULL_OK): Likewise.
40244 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40245 (__fxstat): Do not use CHECK_1.
40246 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40247 <bp-checks.h>.
40248 (___fxstat64): Do not use CHECK_1.
40249 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40250 <bp-checks.h>.
40251 (__fxstatat): Do not use CHECK_1.
40252 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40253 <bp-checks.h>.
40254 (__fxstatat64): Do not use CHECK_1.
40255 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40256 <bp-checks.h>.
40257 (__fxstat): Do not use CHECK_1.
40258 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40259 <bp-checks.h>.
40260 (__fxstatat): Do not use CHECK_1.
40261 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40262 <bp-checks.h>.
40263 (__getresgid): Do not use CHECK_1.
40264 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40265 <bp-checks.h>.
40266 (__getresuid): Do not use CHECK_1.
40267 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40268 <bp-checks.h>.
40269 (__lxstat): Do not use CHECK_1.
40270 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40271 <bp-checks.h>.
40272 (__old_msgctl): Do not use CHECK_1.
40273 (__new_msgctl): Likewise.
40274 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40275 <bp-checks.h>.
40276 (__new_setrlimit): Do not use CHECK_1.
40277 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40278 <bp-checks.h>.
40279 (__old_shmctl): Do not use CHECK_1.
40280 (__new_shmctl): Likewise.
40281 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40282 <bp-checks.h>.
40283 (__xstat): Do not use CHECK_1.
40284 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40285 (__lxstat): Do not use CHECK_1.
40286 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40287 <bp-checks.h>.
40288 (___lxstat64): Do not use CHECK_1.
40289 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40290 (__old_msgctl): Do not use CHECK_1.
40291 (__new_msgctl): Likewise.
40292 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40293 <bp-checks.h>.
40294 (__gettimeofday): Do not use CHECK_1.
40295 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40296 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40297 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40298 <bp-checks.h>.
40299 (__gettimeofday): Do not use CHECK_1.
40300 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40301 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40302 (__new_shmctl): Do not use CHECK_1.
40303 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40304 <bp-checks.h>.
40305 (do_sigtimedwait): Do not use CHECK_1.
40306 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40307 <bp-checks.h>.
40308 (do_sigwaitinfo): Do not use CHECK_1.
40309 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40310 <bp-checks.h>.
40311 (msgctl): Do not use CHECK_1.
40312 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40313 <bp-checks.h>.
40314 (shmctl): Do not use CHECK_1.
40315 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40316 (ustat): Do not use CHECK_1.
40317 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40318 <bp-checks.h>.
40319 (__fxstat): Do not use CHECK_1.
40320 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40321 <bp-checks.h>.
40322 (__fxstatat): Do not use CHECK_1.
40323 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40324 <bp-checks.h>.
40325 (__lxstat): Do not use CHECK_1.
40326 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40327 <bp-checks.h>.
40328 (__xstat): Do not use CHECK_1.
40329 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40330 (__xstat): Do not use CHECK_1.
40331 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40332 (___xstat64): Do not use CHECK_1.
40333
40334 [BZ #13550]
40335 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40336 definitions.
40337 (CHECK_BOUNDS_HIGH): Likewise.
40338 * string/strcpy.c: Do not include <bp-checks.h>.
40339 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40340
40341 2013-02-07 Roland McGrath <roland@hack.frob.com>
40342
40343 * nscd/nscd-client.h (__nscd_drop_map_ref):
40344 Add __attribute__ ((unused)).
40345 * nis/nss-nisplus.h (niserr2nss): Likewise.
40346
40347 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40348 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40349
40350 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40351 Remove inline keyword.
40352 * include/rounding-mode.h (round_away): Likewise.
40353 * libio/wfileops.c (adjust_wide_data): Likewise.
40354 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40355 (__m128i_strloadu_tolower): Likewise.
40356 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40357 (__m128i_strloadu_tolower): Likewise.
40358 * time/mktime.c (ydhms_diff): Likewise.
40359 * locale/elem-hash.h (elem_hash): Likewise.
40360 * locale/setlocale.c (setdata): Likewise.
40361 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40362 (re_string_wchar_at): Likewise.
40363 (bitset_not, bitset_merge, bitset_mask): Likewise.
40364 [!(__GNUC__ > 3)] (inline): Remove macro.
40365 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40366 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40367 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40368 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40369 * string/memcmp.c (memcmp_bytes): Likewise.
40370 * locale/programs/locarchive.c (compute_hashval): Likewise.
40371 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40372 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40373 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40374 * nss/getent.c (print_rpc, print_protocols): Likewise.
40375 (print_passwd, print_group, print_aliases): Likewise.
40376 * nis/nss-nisplus.h (niserr2nss): Likewise.
40377 * nscd/connections.c (restart_p): Likewise.
40378 Change return type to bool.
40379
40380 2013-02-05 Roland McGrath <roland@hack.frob.com>
40381
40382 * Makeconfig (all-Depend-files): Add existing
40383 $(sorted-subdirs:=/Depend) files.
40384 (all-subdirs): Remove nss.
40385 * sysdeps/unix/inet/Subdirs: Add it here instead.
40386 * hesiod/Depend: New file.
40387
40388 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40389 instead of calling alloca.
40390
40391 * io/lseek.c (__lseek): Rename to __libc_lseek.
40392 Define __lseek as an alias.
40393
40394 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40395
40396 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40397
40398 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40399 else clause and remove check for non-standard endianness.
40400
40401 2013-02-04 David S. Miller <davem@davemloft.net>
40402
40403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40404
40405 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40406
40407 [BZ #13550]
40408 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40409 (__ubp_memchr): Remove prototype.
40410 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40411 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40412 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40413 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40414 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40415 Remove alias.
40416 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40417 (__ubp_memchr): Likewise.
40418 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40419 (__ubp_memchr): Likewise.
40420 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40421 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40422 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40423 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40424 CHECK_STRING.
40425 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40426 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40427 (__getcwd): Do not use CHECK_STRING.
40428 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40429 <bp-checks.h>.
40430 (__real_chown): Do not use CHECK_STRING.
40431 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40432 <bp-checks.h>.
40433 (fchownat): Do not use CHECK_STRING.
40434 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40435 CHECK_STRING.
40436 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40437 <bp-checks.h>.
40438 (__lchown): Do not use CHECK_STRING.
40439 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40440 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40441 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40442 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40444 include <bp-checks.h>.
40445 (truncate64): Do not use CHECK_STRING.
40446 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40447 <bp-checks.h>.
40448 (__real_chown): Do not use CHECK_STRING.
40449 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40450 <bp-checks.h>.
40451 (__lchown): Do not use CHECK_STRING.
40452 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40453 <bp-checks.h>.
40454 (__chown): Do not use CHECK_STRING.
40455 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40456 <bp-checks.h>.
40457 (truncate64): Do not use CHECK_STRING.
40458 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40459 Likewise.
40460 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40461 (__xmknod): Do not use CHECK_STRING.
40462 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40463 <bp-checks.h>.
40464 (__xmknodat): Do not use CHECK_STRING.
40465 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40466 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40467
40468 2013-02-04 Andreas Schwab <schwab@suse.de>
40469
40470 [BZ #14142]
40471 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40472 * include/netdb.h: Likewise for h_errno.
40473 * elf/tst-stackguard1.c: Include <tls.h>.
40474
40475 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40476
40477 * elf/link.h (struct link_map): Extend the l_addr comment.
40478 * include/link.h (struct link_map): Likewise.
40479
40480 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40481
40482 [BZ #13550]
40483 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40484 (BOUNDED_1): Remove macro.
40485 * debug/backtrace.c: Don't include <bp-checks.h>.
40486 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40487 (__backtrace): Likewise.
40488 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40489 <bp-checks.h>.
40490 (__backtrace): Don't use BOUNDED_1.
40491 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40492 <bp-checks.h>.
40493 (__backtrace): Don't use BOUNDED_1.
40494 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40495 (__backtrace): Don't use BOUNDED_1.
40496 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40497 (shmat): Don't use BOUNDED_N.
40498
40499 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40500
40501 [BZ #13550]
40502 * sysdeps/generic/bp-start.h: Remove file.
40503 * csu/libc-start.c: Don't include <bp-start.h>.
40504 (LIBC_START_MAIN): Set up __environ directly instead of using
40505 INIT_ARGV_and_ENVIRON.
40506 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40507 <bp-start.h>.
40508
40509 [BZ #13550]
40510 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40511 definitions.
40512 (CHECK_FCNTL): Likewise.
40513 (CHECK_N_PAGES): Likewise.
40514
40515 [BZ #13550]
40516 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40517 definitions.
40518 (CHECK_SIGSET_NULL_OK): Likewise.
40519 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40520 <bp-checks.h>.
40521 (sigpending): Don't use CHECK_SIGSET.
40522 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40523 <bp-checks.h>.
40524 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40525 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40526 <bp-checks.h>.
40527 (do_sigsuspend): Don't use CHECK_SIGSET.
40528 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40529 use CHECK_SIGSET.
40530 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40531 (do_sigwait): Don't use CHECK_SIGSET.
40532 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40533 use CHECK_SIGSET.
40534 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40535 include <bp-checks.h>.
40536 (sigpending): Don't use CHECK_SIGSET.
40537 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40538 include <bp-checks.h>.
40539 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40540 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40541 <bp-checks.h>.
40542 (sigpending): Don't use CHECK_SIGSET.
40543 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40544 <bp-checks.h>.
40545 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40546
40547 [BZ #13550]
40548 * sysdeps/generic/bp-semctl.h: Remove file.
40549 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40550 <bp-checks.h> and <bp-semctl.h>.
40551 (__old_semctl): Don't use CHECK_SEMCTL.
40552 (__new_semctl): Likewise.
40553 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40554 and <bp-semctl.h>.
40555 (__old_semctl): Don't use CHECK_SEMCTL.
40556 (__new_semctl): Likewise.
40557 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40558 <bp-checks.h> and <bp-semctl.h>.
40559 (__old_semctl): Don't use CHECK_SEMCTL.
40560 (__new_semctl): Likewise.
40561 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40562 <bp-checks.h> and <bp-semctl.h>.
40563 (semctl): Don't use CHECK_SEMCTL.
40564
40565 [BZ #13550]
40566 * Makerules (elide-bp-thunks): Remove variable.
40567 (elide-routines.oS): Don't use $(elide-bp-thunks).
40568 (elide-routines.os): Likewise.
40569 (elide-routines.o): Likewise.
40570 (elide-routines.op): Likewise.
40571 (elide-routines.og): Likewise.
40572 (objects): Don't use $(bp-thunks).
40573 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40574 include.
40575 (common-generated): Do not add s-proto-bp.d.
40576 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40577 (int): Likewise.
40578 (typ): Likewise.
40579 Do not generate makefile rules for bounded-pointer thunks.
40580 * sysdeps/generic/bp-thunks.h: Remove file.
40581 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40582 * sysdeps/unix/s-proto-bp.S: Likewise.
40583
40584 [BZ #15062]
40585 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40586 parts of result separately when argument is not close to line from
40587 -i to i and one part of argument is small.
40588 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40589 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40590 * math/libm-test.inc (cacos_test): Add more tests.
40591 (casin_test): Likewise.
40592 (casinh_test): Likewise.
40593 * sysdeps/i386/fpu/libm-test-ulps: Update.
40594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40595
40596 2013-01-31 David S. Miller <davem@davemloft.net>
40597
40598 * po/de.po: Update from translation team.
40599
40600 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40601
40602 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40603
40604 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40605
40606 * configure.in (_AC_PROG_CC_C89): New definition.
40607 * configure: Regenerate.
40608
40609 * configure.in (AC_PROG_CPP): New definition.
40610 * configure: Regenerate.
40611
40612 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40613
40614 * debug/tst-backtrace.h: New file.
40615 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40616 (ret): Remove variable.
40617 (x): Likewise.
40618 (FAIL): Remove macro.
40619 (NO_INLINE): Likewise.
40620 (fn1): Use match function instead of strstr.
40621 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40622 (ret): Remove variable.
40623 (x): Likewise.
40624 (FAIL): Remove macro.
40625 (NO_INLINE): Likewise.
40626 (fn): Use match function instead of strstr.
40627 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40628 (ret): Remove variable.
40629 (x): Likewise.
40630 (FAIL): Remove macro.
40631 (NO_INLINE): Likewise.
40632 (handle_signal): Use match function instead of strstr.
40633 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40634 (ret): Remove variable.
40635 (x): Likewise.
40636 (FAIL): Remove macro.
40637 (NO_INLINE): Likewise.
40638 (handle_signal): Use match function instead of strstr.
40639
40640 2013-01-23 Roland McGrath <roland@hack.frob.com>
40641
40642 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40643
40644 2013-01-23 David S. Miller <davem@davemloft.net>
40645
40646 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40647 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40648 argument of CAS if possible.
40649 * sysdeps/sparc/sparc64/bits/atomic.h
40650 (__arch_compare_and_exchange_val_32_acq): Likewise.
40651 (__arch_compare_and_exchange_val_64_acq): Likewise.
40652
40653 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40654
40655 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40656 * sysdeps/posix/ulimit.c: ... this.
40657 Include <limits.h>.
40658 * sysdeps/unix/bsd/ulimit.c: Remove file.
40659
40660 2013-01-23 Adam Conrad <adconrad@0c3.net>
40661
40662 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40663 (LDFLAGS-tst-array5): Likewise.
40664
40665 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40666
40667 [BZ #15036]
40668 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40669 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40670 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40671 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40672
40673 2013-01-21 David S. Miller <davem@davemloft.net>
40674
40675 * sysdeps/sparc/backtrace.c: New file.
40676 * sysdeps/sparc/sparc32/backtrace.h: New file.
40677 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40678 * sysdeps/sparc/sparc64/backtrace.h: New file.
40679 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40680 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40681 -funwind-tables.
40682
40683 2013-01-21 Andreas Schwab <schwab@suse.de>
40684
40685 [BZ #15020]
40686 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40687 closed its stdout.
40688
40689 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40690
40691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40692 "mpa2.h".
40693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40694
40695 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40696 Mark Mitchell <mark@codesourcery.com>
40697 Tom de Vries <tom@codesourcery.com>
40698 Paul Pluzhnikov <ppluzhnikov@google.com>
40699
40700 * debug/tst-backtrace2.c: New file.
40701 * debug/tst-backtrace3.c: Likewise.
40702 * debug/tst-backtrace4.c: Likewise.
40703 * debug/tst-backtrace5.c: Likewise.
40704 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40705 (CFLAGS-tst-backtrace3.c): Likewise.
40706 (CFLAGS-tst-backtrace4.c): Likewise.
40707 (CFLAGS-tst-backtrace5.c): Likewise.
40708 (LDFLAGS-tst-backtrace2): Likewise.
40709 (LDFLAGS-tst-backtrace3): Likewise.
40710 (LDFLAGS-tst-backtrace4): Likewise.
40711 (LDFLAGS-tst-backtrace5): Likewise.
40712 (tests): Add new tests tst-backtrace2, tst-backtrace3,
40713 tst-backtrace4 and tst-backtrace5.
40714
40715 2013-01-18 Anton Blanchard <anton@samba.org>
40716 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40717
40718 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40719 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40720 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40721 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40723 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40724 "+r" and remove output regs list as redundant. Add explicit inline
40725 asm to specify register of return val to work around compiler codegen
40726 bug. Remove (int) cast on return value. Add return type parameter to
40727 use in macro so that this macro does not truncate return value for
40728 64-bit values.
40729 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40730 pass to INTERNAL_VSYSCALL_NCS.
40731 (INLINE_VSYSCALL): Add 'long int' as return type to
40732 INTERNAL_VSYSCALL_NCS macro invocation.
40733 (INTERNAL_VSYSCALL): Add 'long int' as return type to
40734 INTERNAL_VSYSCALL_NCS macro invocation.
40735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40736
40737 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
40738
40739 [BZ #14496]
40740 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40741 Fix application of SIMD FP exception mask.
40742
40743 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40744 mp_no from a power of two.
40745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40746 __mpexp_twomm1. Use __pow_mp.
40747
40748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40749 multiplication.
40750
40751 2013-01-17 David S. Miller <davem@davemloft.net>
40752
40753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40754
40755 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40756
40757 [BZ #15023]
40758 * include/complex.h: Condition contents on [!_COMPLEX_H].
40759 (__kernel_casinhf): New prototype.
40760 (__kernel_casinh): Likewise.
40761 (__kernel_casinhl): Likewise.
40762 * math/Makefile (libm_calls): Add k_casinh.
40763 * math/k_casinh.c: New file.
40764 * math/k_casinhf.c: Likewise.
40765 * math/k_casinhl.c: Likewise.
40766 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40767 finite nonzero arguments.
40768 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40769 finite nonzero arguments.
40770 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40771 finite nonzero arguments.
40772 * math/s_casinh.c: Do not include <float.h>.
40773 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40774 * math/s_casinhf.c: Do not include <float.h>.
40775 (__casinhf): Move code for finite nonzero arguments to
40776 k_casinhf.c.
40777 * math/s_casinhl.c: Do not include <float.h>.
40778 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40779 redefine.
40780 (__casinhl): Move code for finite nonzero arguments to
40781 k_casinhl.c.
40782 * math/libm-test.inc (cacos_test): Add more tests.
40783 * sysdeps/i386/fpu/libm-test-ulps: Update.
40784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40785
40786 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
40787
40788 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40789 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40790 [!HAVE_MREMAP]: Remove [defined linux] case.
40791 * malloc/arena.c: Do not include <malloc-sysdep.h>.
40792
40793 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
40794
40795 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40796
40797 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
40798
40799 * elf/elf.h (R_386_SIZE32): New relocation.
40800 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40801 R_386_SIZE32.
40802 (elf_machine_rela): Likewise.
40803 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40804 R_X86_64_SIZE64 and R_X86_64_SIZE32.
40805
40806 2013-01-17 Joseph Myers <joseph@codesourcery.com>
40807
40808 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40809 (FP_FAST_FMA): Do not define.
40810 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40811 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40812 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40813 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40814 !_SOFT_FLOAT]: Likewise.
40815 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40816 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40817 value.
40818 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40819 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40820 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40821 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40822 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40823 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40824 file.
40825
40826 2013-01-16 Andreas Schwab <schwab@suse.de>
40827
40828 [BZ #14327]
40829 * include/stdlib.h (__mktemp): Add declaration.
40830 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40831 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40832
40833 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40834
40835 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40836 definitions.
40837 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40838 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40839 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40840 definitions here.
40841 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40842 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40843 definitions.
40844 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40845 and ONE.
40846 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40847 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40848 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40849 definitions.
40850 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40851 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40852 definitions.
40853 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40854
40855 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40856
40857 2013-01-15 David S. Miller <davem@davemloft.net>
40858
40859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40860 trunc{,f} to libm-sysdep_routes.
40861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40863 file.
40864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40866 file.
40867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40868 file.
40869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40871 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40872 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40873 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40874 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40875 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40876 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40877
40878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40879 nearbyint{,f} to libm-sysdep_routes.
40880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40882 New file.
40883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40884 file.
40885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40886 New file.
40887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40888 file.
40889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40891 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40892 file.
40893 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40894 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40895 file.
40896 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40897 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40898 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40899
40900 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40901 libc_feholdexcept and libc_fesetenv.
40902
40903 2013-01-15 Mike Frysinger <vapier@gentoo.org>
40904
40905 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40906
40907 2013-01-14 David S. Miller <davem@davemloft.net>
40908
40909 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
40910 (SPARC_ASM_VIS2_IFUNC): Likewise.
40911 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
40912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
40913 use of 'siam' instruction.
40914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
40915 Likewise.
40916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
40917 Likewise.
40918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
40919 Likewise.
40920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
40921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
40922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
40923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
40924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
40925 file.
40926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
40927 file.
40928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
40929 file.
40930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
40931 file.
40932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
40933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
40934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
40935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
40936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
40937 new VIS2 routines.
40938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40941 Likewise.
40942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
40947 routines to libm-sysdep_routines.
40948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40949
40950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40951 fdim/fdimf to libm-sysdep_routines.
40952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
40953 file.
40954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
40955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
40956 file.
40957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
40958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
40959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
40960 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
40961 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
40962 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
40963 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
40964
40965 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40966
40967 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
40968 to optimize copies.
40969
40970 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
40971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40973
40974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
40975 local variable MPTWO.
40976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
40977 Likewise.
40978
40979 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40980
40981 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
40982 GLOB_NOESCAPE.
40983
40984 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40985
40986 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
40987
40988 2013-01-13 Mike Frysinger <vapier@gentoo.org>
40989
40990 * manual/pattern.texi (glob_t): Document gl_flags.
40991 (glob64_t): Likewise.
40992
40993 2013-01-11 David S. Miller <davem@davemloft.net>
40994
40995 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
40996 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
40997 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
40998 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
40999 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41000 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41001 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41002 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41003 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41004 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41005 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41006 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41007 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41008
41009 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41010 sparc V9 rather than using V8 code.
41011 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41012 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41013
41014 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41015 Move to...
41016 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41017 Here.
41018
41019 2013-01-11 Roland McGrath <roland@hack.frob.com>
41020
41021 [BZ #14941]
41022 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41023 not in the main loop.
41024 * configure: Regenerated.
41025
41026 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41027
41028 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41029 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41030 to just #else.
41031 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41032 [!__GLIBC_HAVE_LONG_LONG] case.
41033 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41034 condition to just #else.
41035 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41036 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41037 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41038 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41039 unconditional.
41040 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41041 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41042 #elif condition to just #else.
41043 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41044 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41045 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41046 #elif condition to just #else.
41047
41048 2013-01-11 Steve Ellcey <sellcey@mips.com>
41049
41050 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41051 (EF_MIPS_ARCH_64): Fix value.
41052 (EF_MIPS_ARCH_32R2): New.
41053 (EF_MIPS_ARCH_64R2): New.
41054
41055 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41056
41057 * Makeconfig (+link-pie-before-libc): New.
41058 (+link-pie-after-libc): Likewise.
41059 (+link-pie-tests): Likewise.
41060 (+link-pie): Rewritten.
41061 (link-before-libc): Remove $(config-LDFLAGS).
41062 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41063 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41064 (config-LDFLAGS): Renamed to ...
41065 (rtld-LDFLAGS): This.
41066 (rtld-tests-LDFLAGS): New macro.
41067 (link-libc-rpath-link): Likewise.
41068 (link-libc-tests-rpath-link): Likewise.
41069 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41070 (link-libc): Prepand $(link-libc-rpath-link).
41071 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41072 (test-program-prefix): New macro.
41073 (test-via-rtld-prefix): Likewise.
41074 (test-program-cmd): Likewise.
41075 (host-test-program-cmd): Likewise.
41076 * Makefile ($(common-objpfx)testrun.sh): Replace
41077 $(run-program-prefix) with $(test-program-prefix).
41078 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41079 $(rtld-LDFLAGS).
41080 ($(common-objpfx)shlib.lds): Likewise.
41081 (build-module-helper): Likewise.
41082 ($(common-objpfx)format.lds): Likewise.
41083 * Rules (binaries-pie-tests): New.
41084 (binaries-pie-notests): Likewise.
41085 (binaries-pie): Rewritten.
41086 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41087 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41088 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41089 (make-test-out): Replace $(host-built-program-cmd) with
41090 $(host-test-program-cmd).
41091 * config.make.in (build-hardcoded-path-in-tests): New variable.
41092 * configure.in (--enable-hardcoded-path-in-tests): New configure
41093 option.
41094 (hardcoded_path_in_tests): New AC_SUBST.
41095 * configure: Regenerated.
41096 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41097 $(built-program-cmd) with $(test-program-cmd).
41098 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41099 (test_program_cmd): This.
41100 * elf/Makefile ($(objpfx)order.out): Run test with
41101 $(test-program-prefix).
41102 ($(objpfx)order2.out): Likewise.
41103 ($(objpfx)tst-initorder.out): Likewise.
41104 ($(objpfx)tst-initorder2.out): Likewise.
41105 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41106 $(test-program-cmd).
41107 ($(objpfx)tst-array1-static.out): Likewise.
41108 ($(objpfx)tst-array2.out): Likewise.
41109 ($(objpfx)tst-array3.out): Likewise.
41110 ($(objpfx)tst-array4.out): Likewise.
41111 ($(objpfx)tst-array5.out): Likewise.
41112 ($(objpfx)tst-array5-static.out): Likewise.
41113 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41114 $(test-program-cmd).
41115 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41116 $(run-program-prefix) with $(test-program-prefix).
41117 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41118 (test_program_prefix): This.
41119 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41120 $(run-program-prefix) with $(test-program-prefix).
41121 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41122 (test_program_prefix): This.
41123 * iconvdata/tst-tables.sh: Likewise.
41124 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41125 $(run-program-prefix) with $(test-program-prefix).
41126 ($(objpfx)tst-translit.out): Likewise.
41127 ($(objpfx)tst-gettext2.out): Likewise.
41128 ($(objpfx)tst-gettext4.out): Likewise.
41129 ($(objpfx)tst-gettext6.out): Likewise.
41130 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41131 (test_program_prefix): This.
41132 * intl/tst-gettext2.sh: Likewise.
41133 * intl/tst-gettext4.sh Likewise.
41134 * intl/tst-gettext6.sh: Likewise.
41135 * intl/tst-translit.sh: Likewise.
41136 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41137 with $(test-program-cmd).
41138 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41139 $(run-program-prefix) with $(test-program-prefix).
41140 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41141 (test_program_prefix): This.
41142 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41143 $(run-program-prefix) with $(test-program-prefix).
41144 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41145 (test_program_prefix): This.
41146 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41147 * posix/Makefile ($(objpfx)globtest.out): Replace
41148 $(run-via-rtld-prefix) and $(test-wrapper) with
41149 $(test-program-prefix) and $(test-via-rtld-prefix).
41150 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41151 $(test-program-prefix).
41152 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41153 $(host-test-program-cmd).
41154 (tst-spawn-ARGS): Likewise.
41155 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41156 $(test-program-prefix).
41157 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41158 (test_via_rtld_prefix): This.
41159 (test_wrapper): Renamed to ...
41160 (test_program_prefix): This.
41161 (run_program_prefix): Replaced by test_program_prefix.
41162 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41163 (test_program_prefix): This.
41164 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41165 with $(host-test-program-cmd).
41166 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41167 $(run-program-prefix) with $(test-program-prefix).
41168 ($(objpfx)tst-printf.out): Likewise.
41169 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41170 $(test-program-cmd).
41171 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41172 (test_program_prefix): This.
41173 * stdio-common/tst-unbputc.sh: Likewise.
41174 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41175 $(run-program-prefix) with $(test-program-prefix).
41176 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41177 (test_program_prefix): This.
41178 * string/Makefile ($(objpfx)tst-svc.out): Replace
41179 $(built-program-cmd) with $(test-program-cmd).
41180
41181 2013-01-11 Andreas Jaeger <aj@suse.de>
41182
41183 [BZ #15003]
41184 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41185 value. Sync with Linux 3.7.
41186
41187 2013-01-10 David S. Miller <davem@davemloft.net>
41188
41189 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41190 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41191 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41192
41193 2013-01-10 Roland McGrath <roland@hack.frob.com>
41194
41195 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41196 never set.
41197 * configure: Regenerated.
41198
41199 2013-01-10 David S. Miller <davem@davemloft.net>
41200
41201 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41202 sparc V9 rather than using V8 code.
41203 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41204 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41205
41206 2013-01-10 Roland McGrath <roland@hack.frob.com>
41207
41208 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41209 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41210 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41211 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41212 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41213 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41214 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41215 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41216 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41217 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41218 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41219 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41220 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41221 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41222 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41223 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41224 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41225 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41226 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41227 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41228 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41229 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41230 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41231 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41232 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41233 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41234 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41235
41236 2013-01-10 David S. Miller <davem@davemloft.net>
41237
41238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41239
41240 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41241
41242 * posix/Makefile (tests-static): New variable.
41243 (tests): Add $(tests-static).
41244 (tst-exec-static-ARGS): New variable.
41245 (tst-spawn-static-ARGS): Likewise.
41246 * posix/tst-exec-static.c: New file.
41247 * posix/tst-spawn-static.c: Likewise.
41248 * posix/tst-exec.c: Support run directly.
41249 * posix/tst-spawn.c: Likewise.
41250
41251 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41252
41253 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41254 long.
41255 * math/bits/mathcalls.h (llrint): Likewise.
41256 (llround): Likewise.
41257 * stdlib/stdlib.h (struct drand48_data): Likewise.
41258 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41259 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41260 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41261 Likewise.
41262 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41263 Likewise.
41264 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41265 (elf_greg_t): Likewise.
41266 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41267 (__jmp_buf): Likewise.
41268 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41269 definitions.
41270 (llrint): Likewise, for all definitions.
41271 (llrintl): Likewise.
41272
41273 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41274 Remove [__GNUC__] condition.
41275 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41276 condition to just [__USE_ISOC99].
41277 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41278
41279 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41280
41281 [BZ #14200]
41282 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41283 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41284 defined.
41285 (_POSIX_V6_ILP32_OFF32): Likewise.
41286 (_XBS5_ILP32_OFF32): Likewise.
41287 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41288 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41289
41290 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41291
41292 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41293
41294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41295 doubles __mpexp_twomm1. Adjust usage.
41296 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41297 Remove.
41298
41299 2013-01-10 Andreas Schwab <schwab@suse.de>
41300
41301 [BZ #14964]
41302 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41303 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41304
41305 2013-01-09 David S. Miller <davem@davemloft.net>
41306
41307 [BZ #15003]
41308 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41309 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41310 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41311 (TCP_FASTOPEN): Define.
41312 (tcp_repair_opt): New structure.
41313 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41314 enum values.
41315 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41316 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41317 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41318 (tcp_cookie_transactions): New structure.
41319
41320 2013-01-09 Anton Blanchard <anton@samba.org>
41321
41322 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41323 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41325 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41326
41327 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41328
41329 * include/features.h (__USE_ANSI): Remove.
41330
41331 2013-01-09 Roland McGrath <roland@hack.frob.com>
41332
41333 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41334
41335 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41336
41337 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41338
41339 * sysdeps/s390/fpu/libm-test-ulps: Update.
41340
41341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41342
41343 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41344 (__acr): Likewise.
41345 (__cpy): Likewise.
41346 (norm): Likewise.
41347 (denorm): Likewise.
41348 (__mp_dbl): Likewise.
41349 (__dbl_mp): Likewise.
41350 (add_magnitudes): Likewise.
41351 (sub_magnitudes): Likewise.
41352 (__add): Likewise.
41353 (__sub): Likewise.
41354 (__mul): Likewise.
41355 (__inv): Likewise.
41356 (__dvd): Likewise.
41357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41358 (__acr): Likewise.
41359 (__cpy): Likewise.
41360 (norm): Likewise.
41361 (denorm): Likewise.
41362 (__mp_dbl): Likewise.
41363 (__dbl_mp): Likewise.
41364 (add_magnitudes): Likewise.
41365 (sub_magnitudes): Likewise.
41366 (__add): Likewise.
41367 (__sub): Likewise.
41368 (__mul): Likewise.
41369 (__inv): Likewise.
41370 (__dvd): Likewise.
41371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41372 (__acr): Likewise.
41373 (__cpy): Likewise.
41374 (norm): Likewise.
41375 (denorm): Likewise.
41376 (__mp_dbl): Likewise.
41377 (__dbl_mp): Likewise.
41378 (add_magnitudes): Likewise.
41379 (sub_magnitudes): Likewise.
41380 (__add): Likewise.
41381 (__sub): Likewise.
41382 (__mul): Likewise.
41383 (__inv): Likewise.
41384 (__dvd): Likewise.
41385
41386 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41387
41388 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41389 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41390 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41391 2 && __USE_EXTERN_INLINES]: Likewise.
41392
41393 2013-01-08 Andreas Jaeger <aj@suse.de>
41394
41395 [BZ# 14985]
41396 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41397 Remove.
41398 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41399 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41400
41401 2013-01-07 Anton Blanchard <anton@samba.org>
41402
41403 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41404 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41405 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41406 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41407 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41408 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41409 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41410 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41412 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41413 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41414 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41415 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41416 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41417 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41418 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41419 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41420 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41421 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41422 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41423 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41424 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41425 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41426 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41427 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41428 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41429 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41430 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41431 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41432 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41433 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41435 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41436 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41438 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41439 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41440 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41441 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41442 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41443 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41444 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41445 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41446
41447 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41448
41449 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41450 (__MALLOC_PMT): Likewise.
41451 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41452 [__GNUC__], only on [_LIBC].
41453 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41454 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41455 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41456 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41457 forward declaration.
41458 (realloc_hook_ini): Likewise.
41459 (memalign_hook_ini): Likewise.
41460 (__libc_memalign): Do not use __MALLOC_PMT in variable
41461 declaration.
41462 (__libc_valloc): Likewise.
41463 (__libc_pvalloc): Likewise.
41464 (__libc_calloc): Likewise.
41465 (__posix_memalign): Likewise.
41466
41467 [BZ #14996]
41468 * math/s_casinh.c: Include <float.h>.
41469 (__casinh): Do not do computation with squaring and square root
41470 for large arguments.
41471 * math/s_casinhf.c: Include <float.h>.
41472 (__casinhf): Do not do computation with squaring and square root
41473 for large arguments.
41474 * math/s_casinhl.c: Include <float.h>.
41475 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41476 (__casinhl): Do not do computation with squaring and square root
41477 for large arguments.
41478 * math/libm-test.inc (casin_test): Add more tests.
41479 (casinh_test): Likewise.
41480 * sysdeps/i386/fpu/libm-test-ulps: Update.
41481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41482
41483 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41484
41485 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41486 (__x86_64_raw_data_cache_size): Likewise.
41487 (__x86_64_data_cache_size_half): Likewise.
41488 (__x86_64_raw_data_cache_size_half): Likewise.
41489 (__x86_64_shared_cache_size): Likewise.
41490 (__x86_64_raw_shared_cache_size): Likewise.
41491 (__x86_64_shared_cache_size_half): Likewise.
41492 (__x86_64_raw_shared_cache_size_half): Likewise.
41493 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41494 to ...
41495 (__x86_data_cache_size): This.
41496 (__x86_64_raw_data_cache_size): Renamed to ...
41497 (__x86_raw_data_cache_size): This.
41498 (__x86_64_data_cache_size_half): Renamed to ...
41499 (__x86_data_cache_size_half): This.
41500 (__x86_64_raw_data_cache_size_half): Renamed to ...
41501 (__x86_raw_data_cache_size_half): This.
41502 (__x86_64_shared_cache_size): Renamed to ...
41503 (__x86_shared_cache_size): This.
41504 (__x86_64_raw_shared_cache_size): Renamed to ...
41505 (__x86_raw_shared_cache_size): This.
41506 (__x86_64_shared_cache_size_half): Renamed to ...
41507 (__x86_shared_cache_size_half): This.
41508 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41509 (__x86_raw_shared_cache_size_half): This.
41510 * sysdeps/x86_64/memcpy.S: Updated.
41511 * sysdeps/x86_64/memset.S: Likewise.
41512 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41513 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41514 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41515
41516 2013-01-04 David S. Miller <davem@davemloft.net>
41517
41518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41519
41520 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41521
41522 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41523 1 to avoid redefinition warning.
41524 (__USE_GNU): Don't define.
41525 (init_signaling_nan): Protoize.
41526
41527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41528
41529 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41530
41531 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41533 (__cpymn): Likewise.
41534 (norm): Remove commented code.
41535 (denorm): Likewise.
41536 (__mp_dbl): Likewise.
41537 (__inv): Likewise.
41538 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41539 (__cpymn): Likewise.
41540 (norm): Remove commented code.
41541 (denorm): Likewise.
41542 (__mp_dbl): Likewise.
41543 (__inv): Likewise.
41544
41545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41546 mp_no value for 1.0 and 2.0.
41547 (norm): Use RADIXI instead of radixi.d.
41548 (denorm): Likewise.
41549 (__mul): Use 0.0 instead of zero.d.
41550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41551 mp_no value for 1.0 and 2.0.
41552 (norm): Use RADIXI instead of radixi.d.
41553 (denorm): Likewise.
41554 (__mul): Use 0.0 instead of zero.d.
41555
41556 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41557
41558 [BZ #14994]
41559 * math/s_casinh.c (__casinh): Reduce finite argument to first
41560 quadrant then set signs of results at the end.
41561 * math/s_casinhf.c (__casinhf): Likewise.
41562 * math/s_casinhl.c (__casinhl): Likewise.
41563 * math/libm-test.inc (casin_test): Add more tests.
41564 (casinh_test): Likewise.
41565 * sysdeps/i386/fpu/libm-test-ulps: Update.
41566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41567
41568 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41569
41570 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41571
41572 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41573
41574 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41575 declarations.
41576 (denorm): Likewise.
41577 (__mp_dbl): Likewise.
41578 (__inv): Likewise.
41579
41580 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41581 and adjust the header comment.
41582
41583 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41584 variable name from declaration.
41585
41586 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41587
41588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41589 Initialize COMMON_CPUID_INDEX_7 element.
41590 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41591 (CPUID_RTM): Likewise.
41592 (HAS_RTM): Likewise.
41593 (COMMON_CPUID_INDEX_7): New enum.
41594
41595 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41596
41597 [BZ #14981]
41598 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41599 size is zero, record memory as freed.
41600
41601 2013-01-03 Andreas Jaeger <aj@suse.de>
41602
41603 * po/ia.po: Add new Interlingua translation.
41604
41605 2012-01-03 Allan McRae <allan@archlinux.org>
41606
41607 * locale/programs/localedef.c: Fix description of '--posix' flag.
41608
41609 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41610
41611 * NEWS: Update dates in second copyright notice.
41612 * README: Update copyright dates in example.
41613 * manual/libc.texinfo: Update copyright dates.
41614 * scripts/test-installation.pl: Update copyright date in --version
41615 output.
41616
41617 * hurd/ctty-input.c: Fix copyright notice formatting.
41618 * hurd/ctty-output.c: Likewise.
41619 * hurd/dtable.c: Likewise.
41620 * hurd/hurd-raise.c: Likewise.
41621 * hurd/hurdprio.c: Likewise.
41622 * hurd/msgportdemux.c: Likewise.
41623 * misc/sys/file.h: Likewise.
41624 * misc/sys/ioctl.h: Likewise.
41625 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41626 * sysdeps/mach/hurd/chdir.c: Likewise.
41627 * sysdeps/mach/hurd/fchdir.c: Likewise.
41628 * sysdeps/mach/hurd/rename.c: Likewise.
41629 * sysdeps/mach/hurd/rmdir.c: Likewise.
41630 * sysdeps/mach/hurd/seekdir.c: Likewise.
41631 * sysdeps/mach/hurd/setsid.c: Likewise.
41632 * sysdeps/posix/wait3.c: Likewise.
41633
41634 * All files with FSF copyright notices: Update copyright dates
41635 using scripts/update-copyrights.
41636 * intl/plural.c: Regenerated.
41637 * locale/programs/charmap-kw.h: Likewise.
41638 * locale/programs/locfile-kw.h: Likewise.
41639
41640 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41641
41642 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41643 four values.
41644
41645 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41646 calculation loop and add branch prediction.
41647
41648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41649 check access beyond bounds of m1np.
41650
41651 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41652 MPTWO.
41653 (__inv): Remove local variable MPTWO to use the global
41654 constant.
41655 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41656 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41657 variable MPTWO.
41658 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41659 MP3HALFS static const.
41660
41661 2013-01-01 David S. Miller <davem@davemloft.net>
41662
41663 * po/ca.po: Update from translation team.
41664
41665 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41666
41667 * scripts/update-copyrights: New file.
41668 * Makeconfig: Reformat copyright notice.
41669 * ctype/ctype.h: Likewise.
41670 * debug/swprintf_chk.c: Likewise.
41671 * elf/dl-cache.c: Likewise.
41672 * elf/dl-debug.c: Likewise.
41673 * elf/dl-object.c: Likewise.
41674 * grp/initgroups.c: Likewise.
41675 * hurd/Makefile: Likewise.
41676 * hurd/hurd/signal.h: Likewise.
41677 * hurd/hurdfault.c: Likewise.
41678 * hurd/hurdioctl.c: Likewise.
41679 * hurd/hurdlookup.c: Likewise.
41680 * hurd/intr-msg.c: Likewise.
41681 * iconv/gconv_open.c: Likewise.
41682 * libio/swprintf.c: Likewise.
41683 * locale/lc-ctype.c: Likewise.
41684 * locale/nl_langinfo.c: Likewise.
41685 * mach/Machrules: Likewise.
41686 * mach/Makefile: Likewise.
41687 * malloc/obstack.h: Likewise.
41688 * manual/Makefile: Likewise.
41689 * manual/tsort.awk: Likewise.
41690 * misc/bits/stab.def: Likewise.
41691 * nis/nis_print_group_entry.c: Likewise.
41692 * nis/nis_table.c: Likewise.
41693 * nis/nss_compat/compat-pwd.c: Likewise.
41694 * nis/nss_compat/compat-spwd.c: Likewise.
41695 * po/Makefile: Likewise.
41696 * posix/fnmatch.c: Likewise.
41697 * posix/regex.h: Likewise.
41698 * resolv/Makefile: Likewise.
41699 * resolv/nss_dns/dns-network.c: Likewise.
41700 * resolv/res_hconf.c: Likewise.
41701 * scripts/gen-sorted.awk: Likewise.
41702 * soft-fp/soft-fp.h: Likewise.
41703 * stdio-common/printf.h: Likewise.
41704 * stdlib/monetary.h: Likewise.
41705 * stdlib/random.c: Likewise.
41706 * stdlib/random_r.c: Likewise.
41707 * sysdeps/generic/Makefile: Likewise.
41708 * sysdeps/gnu/Makefile: Likewise.
41709 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41711 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41716 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41717 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41719 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41720 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41721 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41722 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41723 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41724 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41725 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41727 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41728 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41729 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41730 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41731 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41732 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41733 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41734 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41735 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41737 * sysdeps/mach/hurd/errnos.awk: Likewise.
41738 * sysdeps/mach/hurd/fork.c: Likewise.
41739 * sysdeps/mach/hurd/getcwd.c: Likewise.
41740 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41741 * sysdeps/mach/hurd/mmap.c: Likewise.
41742 * sysdeps/mach/hurd/utimes.c: Likewise.
41743 * sysdeps/mach/hurd/xmknod.c: Likewise.
41744 * sysdeps/posix/profil.c: Likewise.
41745 * sysdeps/posix/readdir_r.c: Likewise.
41746 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41747 * sysdeps/powerpc/bits/setjmp.h: Likewise.
41748 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41749 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41751 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41752 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41753 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41755 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41756 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41757 * sysdeps/pthread/lio_listio.c: Likewise.
41758 * sysdeps/sparc/dl-procinfo.h: Likewise.
41759 * sysdeps/unix/i386/sysdep.S: Likewise.
41760 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41761 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41762 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41763 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41765 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41766 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41767 * sysdeps/unix/sysv/linux/speed.c: Likewise.
41768 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41769 * sysdeps/wordsize-32/divdi3.c: Likewise.
41770 * time/sys/time.h: Likewise.
41771 * wcsmbs/Makefile: Likewise.
41772
41773 2013-01-01 David S. Miller <davem@davemloft.net>
41774
41775 * po/fr.po: Update from translation team.
41776
41777 * catgets/gencat.c: Update copyright year.
41778 * csu/version.c: Likewise.
41779 * debug/catchsegv.sh: Likewise.
41780 * debug/pcprofiledump.c: Likewise.
41781 * debug/xtrace.sh: Likewise.
41782 * elf/ldconfig.c: Likewise.
41783 * elf/ldd.bash.in: Likewise.
41784 * elf/pldd.c: Likewise.
41785 * elf/sotruss.ksh: Likewise.
41786 * elf/sprof.c: Likewise.
41787 * iconv/iconv_prog.c: Likewise.
41788 * iconv/iconvconfig.c: Likewise.
41789 * locale/programs/locale.c: Likewise.
41790 * locale/programs/localedef.c: Likewise.
41791 * login/programs/pt_chown.c: Likewise.
41792 * malloc/memusage.sh: Likewise.
41793 * malloc/memusagestat.c: Likewise.
41794 * malloc/mtrace.pl: Likewise.
41795 * nscd/nscd.c: Likewise.
41796 * nss/getent.c: Likewise.
41797 * nss/makedb.c: Likewise.
41798 * posix/getconf.c: Likewise.
41799
41800 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41801
41802 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41803 numbers.
41804
41805 2012-12-30 Mike Frysinger <vapier@gentoo.org>
41806
41807 * math/bits/mathcalls.h (modf): Use __nonnull.
41808
41809 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41810
41811 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41812 (split): Use macro CN instead of the bare value.
41813 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41814 could be used.
41815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41816 instead of the bare value.
41817 (power1): Likewise.
41818
41819 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41820
41821 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41822 __ATAN_TWOM.
41823 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41824
41825 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41826 their values.
41827 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41828 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41829 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41830 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41831
41832 2012-12-28 Andreas Jaeger <aj@suse.de>
41833
41834 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
41835 values are from Linux 3.7.
41836
41837 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41838 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
41839
41840 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41841
41842 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41843 TRUE case.
41844
41845 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41846 (norm): Likewise.
41847 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41848 variables with preprocessor constants.
41849 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41850 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41851 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41852
41853 2012-12-27 Bruno Haible <bruno@clisp.org>
41854
41855 [BZ #14317]
41856 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41857 only if needed.
41858
41859 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41860
41861 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41862 and use variable directly.
41863 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41864
41865 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41866 MPONE.
41867 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41868 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41869 variable MPONE.
41870 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41872 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41873 include directive. Remove local variable MPONE.
41874 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41875 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41876 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41877
41878 2012-12-25 David S. Miller <davem@davemloft.net>
41879
41880 * version.h (RELEASE): Set to "development".
41881 (VERSION): Set to "2.17.90".
41882 * NEWS: Add 2.18 section.
41883
41884 2012-12-21 David S. Miller <davem@davemloft.net>
41885
41886 * po/hr.po: Update from translation team.
41887
41888 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41889
41890 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41891
41892 2012-12-19 Steve Ellcey <sellcey@mips.com>
41893
41894 * NEWS: Mention new memcpy for MIPS.
41895
41896 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
41897
41898 * manual/contrib.texi (Contributors): Spelling correction.
41899
41900 2012-12-15 David S. Miller <davem@davemloft.net>
41901
41902 * po/ru.po: Update from translation team.
41903
41904 2012-12-13 David S. Miller <davem@davemloft.net>
41905
41906 * NEWS: Mention IFUNC testsuite enhancements.
41907
41908 * po/pl.po: Update from translation team.
41909 * po/bg.po: Likewise.
41910
41911 * manual/contrib.texi (Contributors): Update entries for Hongjiu
41912 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
41913
41914 2012-12-11 David S. Miller <davem@davemloft.net>
41915
41916 * po/sv.po: Update from translation team.
41917
41918 * po/vi.po: Update from translation team.
41919
41920 * po/cs.po: Update from translation team.
41921
41922 * po/de.po: Update from translation team.
41923 * po/eo.po: Likewise.
41924 * po/nl.po: Likewise.
41925
41926 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41927
41928 [BZ #14246]
41929 * manual/argp.texi (Argp Helper Functions): Move node to follow
41930 Argp Parsing State.
41931
41932 [BZ #14872]
41933 * manual/conf.texi (Limits on File System Capacity): Mention if
41934 terminating null is included in the max size.
41935
41936 2012-12-10 Andreas Jaeger <aj@suse.de>
41937
41938 * po/cs.po: Update from translation team.
41939
41940 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
41941
41942 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
41943 void pointer and cast to uintptr_t.
41944 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
41945 path.
41946 * sysdeps/s390/s390-64/memcpy.S: Likewise.
41947 * sysdeps/s390/s390-64/memset.S: Likewise.
41948
41949 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
41950
41951 [BZ #14833]
41952 * menual/message.texi (Message Translation): Fix typos.
41953 (Helper programs for gettext): Likewise.
41954
41955 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
41956
41957 [BZ #14898]
41958 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
41959 Change to -1.
41960
41961 2012-12-07 David S. Miller <davem@davemloft.net>
41962
41963 * po/libc.pot: Update.
41964
41965 2012-12-07 Richard Henderson <rth@redhat.com>
41966
41967 [BZ #10114]
41968 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
41969 normal/normal case to before the switch.
41970 (_FP_DIV): Likewise.
41971
41972 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
41973 Mike Frysinger <vapier@gentoo.org>
41974
41975 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
41976 check for __NR_fadvise64_64.
41977
41978 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
41979
41980 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
41981 0, not just to plain "0" as a statement.
41982 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
41983 with cw.
41984
41985 2012-12-06 Joseph Myers <joseph@codesourcery.com>
41986
41987 * NEWS: Use sourceware.org in Bugzilla URL.
41988
41989 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41990
41991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41992 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41993
41994 * stdio-common/tst-put-error.c (do_test): Add newline to the
41995 padded test to ensure flush.
41996
41997 2012-12-05 Jeff Law <law@redhat.com>
41998
41999 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42000
42001 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42002
42003 * README: Don't refer to ports add-on as distributed separately.
42004 Mention AArch64 in list of systems supported in the ports add-on.
42005
42006 * LICENSES: Add more non-FSF copyright and license notices.
42007
42008 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42009 ((unused)).
42010
42011 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42012
42013 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42014 10000 as width of padded output.
42015
42016 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42017
42018 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42019
42020 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42021 variable LX with __attribute__ ((unused)).
42022 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42023 Likewise.
42024 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42025 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42026 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42027 with __attribute__ ((unused)).
42028
42029 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42030
42031 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42032
42033 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42034
42035 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42036 (CFLAGS-nldbl-acos.c): New variable.
42037 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42038 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42039 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42040 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42041 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42042 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42043 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42044 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42045 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42046 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42047 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42048 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42049 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42050 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42051 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42052 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42053 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42054 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42055 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42056 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42057 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42058 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42059 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42060 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42061 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42062 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42063 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42064 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42065 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42066 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42067 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42068 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42069 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42070 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42071 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42072 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42073 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42074 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42075 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42076 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42077 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42078 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42079 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42080 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42081 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42082 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42083 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42084 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42085 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42086 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42087 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42088 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42089 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42090 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42091 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42092 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42093 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42094 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42095 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42096 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42097 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42098 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42099 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42100 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42101 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42102 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42103 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42104 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42105 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42106 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42107 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42108 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42109 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42110 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42111 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42112 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42113 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42114 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42115 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42116 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42117 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42118 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42119 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42120 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42121 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42122 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42123 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42124 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42125 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42126 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42127 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42128 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42129 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42130 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42131 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42132 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42133 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42134
42135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42136 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42137
42138 [BZ #14914]
42139 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42140 whole low double instead of just low 47 bits when splitting values
42141 into two parts.
42142
42143 2012-12-03 Allan McRae <allan@archlinux.org>
42144
42145 * manual/stdio.texi (Predefined Printf Handlers): Remove
42146 @hsep and @vsep usage.
42147
42148 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42149
42150 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42151 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42152
42153 2012-12-03 Jeff Law <law@redhat.com>
42154
42155 * time/sys/time.h (settimeofday): Do not mark TV argument
42156 as __nonnull.
42157
42158 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42159
42160 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42161 when currently writing and seek to current position when not.
42162 * libio/Makefile (tests): Remove bug-fclose1.
42163 * libio/bug-fclose1.c: Delete.
42164
42165 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42166
42167 * manual/arith.texi (feenableexcept): Fix typo.
42168 (fedisableexcept): Likewise.
42169
42170 2012-11-30 Roland McGrath <roland@hack.frob.com>
42171
42172 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42173 second, differently-typed declaration, rather than a cast.
42174
42175 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42176
42177 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42178 * include/rpc/svc.h: ... here.
42179
42180 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42181
42182 [BZ #13013]
42183 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42184 depending n and resplen2 to catch cases where answer
42185 equals answerp2.
42186
42187 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42188
42189 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42190 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42191
42192 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42193
42194 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42195
42196 2012-11-29 Roland McGrath <roland@hack.frob.com>
42197
42198 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42199
42200 2012-11-28 Jeff Law <law@redhat.com>
42201
42202 [BZ #13761]
42203 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42204 dataset_temporary. Track alloca usage into alloca_used.
42205 If dataset is large allocate and release it via malloc/free.
42206
42207 2012-06-04 Florian Weimer <fweimer@redhat.com>
42208
42209 [BZ #14197]
42210 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42211
42212 2012-11-28 David S. Miller <davem@davemloft.net>
42213
42214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42215
42216 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42217
42218 [BZ #14803]
42219 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42220 of pi/2 rounded to nearest to 64 bits.
42221 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42222 nearest to 64 bits.
42223 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42224 bits.
42225
42226 2012-11-28 Jeff Law <law@redhat.com>
42227 Martin Osvald <mosvald@redhat.com>
42228
42229 [BZ #14889]
42230 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42231 * sunrpc/svc.c: Include time.h.
42232 (__svc_accept_failed): New function.
42233 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42234 any reason other than EINTR, call __svc_accept_failed.
42235 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42236 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42237
42238 2012-11-28 Andreas Schwab <schwab@suse.de>
42239
42240 * scripts/abilist.awk: Also handle indirect functions in .opd
42241 section.
42242
42243 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42244
42245 [BZ #13881]
42246 * sysdeps/x86/fpu/powl_helper.c: New file.
42247 * sysdeps/x86/fpu/Makefile: Likewise.
42248 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42249 (p3): New object.
42250 (__ieee754_powl): Use __powl_helper for finite arguments except
42251 integer exponents below 8.
42252 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42253 (p3): New object.
42254 (__ieee754_powl): Use __powl_helper for finite arguments except
42255 integer exponents below 8.
42256 * math/libm-test.inc (pow_test): Add more tests and enable some
42257 previously disabled tests.
42258 * sysdeps/i386/fpu/libm-test-ulps: Update.
42259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42260
42261 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42262 Carlos O'Donell <carlos_odonell@mentor.com>
42263
42264 * nss/makedb.c (is_prime): Assert that input is odd and greater
42265 than 4. Note that fact in a comment too.
42266 (next_prime): Add 4 to input.
42267
42268 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42269
42270 [BZ #11741]
42271 * libio/Makefile (tests): Add test case tst-fwrite-error.
42272 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42273 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42274 * libio/tst-fwrite-error.c: New test case.
42275
42276 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42277
42278 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42279 before casting to void *.
42280 * include/libc-internal.h (__pointer_type): New macro.
42281 (__integer_if_pointer_type_sub): Likewise.
42282 (__integer_if_pointer_type): Likewise.
42283 (cast_to_integer): Likewise.
42284 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42285 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42286 before casting to atomic64_t.
42287 (atomic_exchange_acq): Likewise.
42288 (__arch_exchange_and_add_body): Likewise.
42289 (__arch_add_body): Likewise.
42290 (atomic_add_negative): Likewise.
42291 (atomic_add_zero): Likewise.
42292
42293 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42294
42295 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42296 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42297 (add_fdes): Likewise.
42298 (linear_search_fdes): Likewise.
42299 (binary_search_unencoded_fdes): Likewise.
42300
42301 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42302
42303 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42304
42305 2012-11-24 Adam Conrad <adconrad@0c3.net>
42306
42307 * configure.in: Autodetect C++ header directories.
42308 * configure: Regenerated.
42309
42310 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42311
42312 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42313
42314 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42315
42316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42317
42318 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42319
42320 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42321 LDBL_MANT_DIG == 106]: Disable some tests.
42322 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42323 Likewise.
42324 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42325 Likewise.
42326
42327 [BZ #14871]
42328 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42329 input for small inputs. Return +/- pi/2 for large inputs.
42330 * math/libm-test.inc (atan_test): Add more tests.
42331
42332 * sysdeps/generic/unwind-dw2-fde-glibc.c
42333 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42334 __attribute__ ((unused)).
42335
42336 [BZ #14645]
42337 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42338 x * y if x and y are nonzero and z is zero.
42339
42340 [BZ #14811]
42341 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42342 nonzero exponents with absolute value below 0x1p-117 to +/-
42343 0x1p-117.
42344
42345 [BZ #14869]
42346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42347 up arguments below 2**-450, not just those below 2**-500.
42348 * math/libm-test.inc (hypot_test): Add another test.
42349
42350 [BZ #14868]
42351 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42352 Return a+b for ratio over 2**120, not 2**60.
42353 * math/libm-test.inc (hypot_test): Add another test.
42354
42355 * math/libm-test.inc (clog_test): Use
42356 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42357 (clog10_test): Likewise.
42358
42359 [BZ #6778]
42360 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42361
42362 2012-11-22 Andreas Schwab <schwab@suse.de>
42363
42364 * sysdeps/i386/fpu/libm-test-ulps: Update.
42365
42366 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42367
42368 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42369 printf output with newline.
42370
42371 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42372
42373 [BZ #14865]
42374 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42375 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42376 -z nodlopen, -z initfirst and -z execstack support.
42377 * configure: Regenerated.
42378
42379 * elf/elf.h (DF_1_NODIRECT): New macro.
42380 (DF_1_IGNMULDEF): Likewise.
42381 (DF_1_NOKSYMS): Likewise.
42382 (DF_1_NOHDR): Likewise.
42383 (DF_1_EDITED): Likewise.
42384 (DF_1_NORELOC): Likewise.
42385 (DF_1_SYMINTPOSE): Likewise.
42386 (DF_1_GLOBAUDIT): Likewise.
42387 (DF_1_SINGLETON): Likewise.
42388 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42389 DT_1_SUPPORTED_MASK bits.
42390 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42391
42392 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42393
42394 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42395
42396 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42397
42398 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42399 macro.
42400
42401 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42402 (sendmmsg): Move declarations...
42403 * socket/sys/socket.h: ... here.
42404 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42405 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42406 include it from...
42407 * socket/recvmmsg.c: ... this new file.
42408 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42409 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42410 definition of __sendmmsg hidden.
42411 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42412 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42413 Move ENOSYS stub into and include it from...
42414 * socket/sendmmsg.c: ... this new file.
42415 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42416 (sysdep_routines): Move recvmmsg and sendmmsg...
42417 * socket/Makefile (routines): ... here.
42418 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42419 (GLIBC_PRIVATE): Add __sendmmsg.
42420 * include/sys/socket.h (__sendmmsg): Add declarations.
42421 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42422 sendmmsg.
42423
42424 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42425
42426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42427 variable I1 with __attribute__ ((unused)).
42428 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42429
42430 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42431
42432 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42433 DUMMY variables with __attribute__ ((unused)).
42434
42435 * bits/byteswap.h: Include <bits/types.h>.
42436 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42437
42438 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42439
42440 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42441 string_t. Do not manually set errno.
42442 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42443 length with __strnlen. Make sure to both set errno and return it on
42444 failure.
42445
42446 2012-11-19 David S. Miller <davem@davemloft.net>
42447
42448 With help from Joseph Myers.
42449 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42450 very large arguments properly.
42451 * math/libm-test.inc (atan_test): New tests.
42452 (atan2_test): New tests.
42453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42455
42456 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42457
42458 [BZ #14856]
42459 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42460 Define to 3.
42461
42462 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42463 [POSIX] (EADDRNOTAVAIL): Likewise.
42464 [POSIX] (EAFNOSUPPORT): Likewise.
42465 [POSIX] (EALREADY): Likewise.
42466 [POSIX] (ECONNABORTED): Likewise.
42467 [POSIX] (ECONNREFUSED): Likewise.
42468 [POSIX] (ECONNRESET): Likewise.
42469 [POSIX] (EDESTADDRREQ): Likewise.
42470 [POSIX] (EDQUOT): Likewise.
42471 [POSIX] (EHOSTUNREACH): Likewise.
42472 [POSIX] (EIDRM): Likewise.
42473 [POSIX] (EISCONN): Likewise.
42474 [POSIX] (ELOOP): Likewise.
42475 [POSIX] (EMULTIHOP): Likewise.
42476 [POSIX] (ENETDOWN): Likewise.
42477 [POSIX] (ENETUNREACH): Likewise.
42478 [POSIX] (ENOBUFS): Likewise.
42479 [POSIX] (ENODATA): Likewise.
42480 [POSIX] (ENOLINK): Likewise.
42481 [POSIX] (ENOMSG): Likewise.
42482 [POSIX] (ENOPROTOOPT): Likewise.
42483 [POSIX] (ENOSR): Likewise.
42484 [POSIX] (ENOSTR): Likewise.
42485 [POSIX] (ENOTCONN): Likewise.
42486 [POSIX] (ENOTSOCK): Likewise.
42487 [POSIX] (EOPNOTSUPP): Likewise.
42488 [POSIX] (EOVERFLOW): Likewise.
42489 [POSIX] (EPROTO): Likewise.
42490 [POSIX] (EPROTONOSUPPORT): Likewise.
42491 [POSIX] (EPROTOTYPE): Likewise.
42492 [POSIX] (ESTALE): Likewise.
42493 [POSIX] (ETIME): Likewise.
42494 [POSIX] (ETXTBSY): Likewise.
42495 [POSIX] (EWOULDBLOCK): Likewise.
42496 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42497 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42498 [POSIX] (SEEK_CUR): Likewise.
42499 [POSIX] (SEEK_END): Likewise.
42500 [POSIX || UNIX98] (mode_t): Do not require.
42501 [POSIX] (off_t): Likewise.
42502 [POSIX] (pid_t): Likewise.
42503 [POSIX] (sys/stat.h): Do not allow header.
42504 [POSIX] (unistd.h): Likewise.
42505 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42506 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42507 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42508 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42509 require.
42510 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42511 sigevent): Specify elements.
42512 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42513 entry.
42514 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42515 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42516
42517 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42518 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42519 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42520 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42521 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42522 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42523 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42524 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42525 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42526 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42527 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42528 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42529 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42530 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42531 Likewise.
42532 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42533 Likewise.
42534 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42535 Likewise.
42536 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42537 Likewise.
42538 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42539 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42540 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42541 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42542 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42543 Specify lower bound on value.
42544 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42545 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42546 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42547 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42548 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42549 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42550 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42551 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42552 value.
42553 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42554 as optional.
42555 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42556 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42557 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42558 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42559 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42560 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42561 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42562 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42563 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42564 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42565 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42566 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42567 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42568 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42569 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42570 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42571 entry.
42572 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42573 optional.
42574 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42575 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42576 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42577 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42578 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42579 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42580 Likewise.
42581 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42582 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42583 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42584 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42585 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42586 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42587 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42588 as optional.
42589 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42590 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42591 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42592 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42593 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42594 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42595 specify as optional.
42596 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42597 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42598 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42599 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42600 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42601 [XPG3] (NL_LANGMAX): Likewise.
42602 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42603 [POSIX || XPG3] (NL_NMAX): Likewise.
42604 [POSIX || XPG3] (NL_SETMAX): Likewise.
42605 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42606 [XPG3] (NZERO): Likewise.
42607 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42608 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42609 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42610 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42611 (REG_ERANGE): Expect.
42612 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42613 optional-constant.
42614 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42615 Use (void) in prototype.
42616 [POSIX] (*_t): Allow.
42617 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42618 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42619 (WRDE_BADVAL): Expect.
42620
42621 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42622 expect.
42623 [XPG3 || XPG4] (O_RSYNC): Likewise.
42624 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42625 Likewise.
42626 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42627 [XPG3 || XPG4] (sigqueue): Likewise.
42628 [XPG3 || XPG4] (sigtimedwait): Likewise.
42629 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42630 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42631 [XPG3 || XPG4] (vsnprintf): Likewise.
42632 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42633 Likewise.
42634 [XPG3 || XPG4] (blksize_t): Likewise.
42635 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42636 Likewise.
42637 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42638 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42639 [XPG3 || XPG4] (struct itimerspec): Likewise.
42640 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42641 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42642 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42643 [XPG3 || XPG4] (clockid_t): Likewise.
42644 [XPG3 || XPG4] (timer_t): Likewise.
42645 [XPG3 || XPG4] (clock_getres): Likewise.
42646 [XPG3 || XPG4] (clock_gettime): Likewise.
42647 [XPG3 || XPG4] (clock_settime): Likewise.
42648 [XPG3 || XPG4] (nanosleep): Likewise.
42649 [XPG3 || XPG4] (timer_create): Likewise.
42650 [XPG3 || XPG4] (timer_delete): Likewise.
42651 [XPG3 || XPG4] (timer_gettime): Likewise.
42652 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42653 [XPG3 || XPG4] (timer_settime): Likewise.
42654 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42655 [XPG3 || XPG4] (getlogin_r): Likewise.
42656 [XPG3 || XPG4] (pread): Likewise.
42657 [XPG3 || XPG4] (pthread_atfork): Likewise.
42658 [XPG3 || XPG4] (pwrite): Likewise.
42659
42660 [BZ #14835]
42661 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42662 <bits/siginfo.h>.
42663
42664 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42665
42666 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42667 finalizing MALLSTREAM.
42668
42669 * sysdeps/mach/hurd/syncfs.c: New file.
42670
42671 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42672
42673 [BZ #14719]
42674 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42675 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42676 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42677 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42678 (_nss_dns_gethostbyname4_r): Likewise.
42679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42680 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42681
42682 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42683
42684 [BZ #13763]
42685 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42686
42687 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42688
42689 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42690 * elf/cache.c (print_entry): Print ",AArch64" for
42691 FLAG_AARCH64_LIB64
42692
42693 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42694 * elf/cache.c (print_entry): Print ",hard-float" for
42695 FLAG_ARM_LIBHF.
42696
42697 2012-11-18 David S. Miller <davem@davemloft.net>
42698
42699 With help from Joseph Myers.
42700 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42701 cutoff to 2**-13.
42702 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42703 cutoff to 2**-25.
42704 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42705 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42706 small.
42707 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42708 * math/libm-test.inc (y0_test): New tests.
42709 (y1_test): New tests.
42710 * sysdeps/i386/fpu/libm-test-ulps: Update.
42711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42713
42714 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
42715
42716 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42717 64-bit targets.
42718 * configure: Regenerated.
42719
42720 2012-11-17 David S. Miller <davem@davemloft.net>
42721
42722 [BZ #14811]
42723 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42724 nonzero exponents with absolute value below 0x1p-128 to +/-
42725 0x1p-128.
42726
42727 2012-11-17 Joseph Myers <joseph@codesourcery.com>
42728
42729 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42730
42731 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42732
42733 * posix/getconf-speclist.c: New file.
42734 * posix/posix-envs.def: Likewise.
42735 * posix/confstr.c (START_ENV_GROUP): New macro.
42736 (END_ENV_GROUP): Likewise.
42737 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42738 (KNOWN_PRESENT_ENV_STRING): Likewise.
42739 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42740 (UNKNOWN_ENVIRONMENT): Likewise.
42741 (confstr): Include posix-envs.def instead of handling
42742 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42743 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42744 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42745 (END_ENV_GROUP): Likewise.
42746 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42747 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42748 (UNKNOWN_ENVIRONMENT): Likewise.
42749 (__sysconf): Include posix-envs.def instead of handling associated
42750 cases directly here.
42751 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42752 preprocessing getconf-speclist.c rather than running getconf or
42753 generating empty file.
42754
42755 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
42756
42757 * scripts/check-local-headers.sh: Ignore 'mach' headers.
42758
42759 2012-11-16 Andrej Lajovic <natrij@gmail.com>
42760
42761 [BZ #14672]
42762 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42763
42764 2012-11-16 David S. Miller <davem@davemloft.net>
42765
42766 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42767 smaller than LDBL_EPSILON/2.0L, just return xm1.
42768
42769 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
42770
42771 * elf/tst-array1.c (init): Set constructor priority to 1000.
42772 (fini): Set destructor priority to 1000.
42773 * elf/tst-array2dep.c: Likewise.
42774
42775 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42776
42777 [BZ #11741]
42778 * libio/fileops.c (_IO_new_file_write): Correctly return error.
42779 (_IO_new_file_xsputn): Also return EOF if none of the input
42780 data was written when overflow failed.
42781 * libio/iopadn.c (_IO_padn): Likewise.
42782 * libio/iowpadn.c (_IO_wpadn): Likewise.
42783 * stdio-common/tst-put-error.c: Add copyright notice.
42784 (do_test): Add case for printing padded string.
42785 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42786 _IO_padn returned error.
42787 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42788 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42789 return EOF.
42790
42791 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42792
42793 * libio/libioP.h: Add comment note that the references to C++
42794 bits are now obsolete.
42795
42796 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42797
42798 * math/libm-test.inc (check_complex): Use asprintf.
42799
42800 2012-11-14 Joseph Myers <joseph@codesourcery.com>
42801
42802 * debug/pcprofiledump.c (print_version): Update copyright year.
42803 * malloc/memusagestat.c (print_version): Likewise.
42804
42805 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
42806
42807 [BZ #14831]
42808 * elf/Makefile (tests): Add tst-audit8.
42809 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42810 ($(objpfx)tst-audit8.out): New target.
42811 (tst-audit8-ENV): New variable.
42812 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42813 audit if l_reloc_result is NULL.
42814 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42815 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42816 * elf/tst-audit8.c: New file.
42817
42818 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42819
42820 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42821 * misc/Makefile (CFLAGS-select.c): Define.
42822 * posix/Makefile (CFLAGS-pause.c): Define.
42823
42824 2012-11-13 David S. Miller <davem@davemloft.net>
42825
42826 * crypt/Makefile: Move test targets after toplevel Rules
42827 inclusion. Grab any necessary sysdep routines when linking.
42828 * crypt/md5.c (md5_process_block): Remove define, we will always
42829 name it __md5_process_block.
42830 (md5_finish_ctx): Update md5_process_block call.
42831 (md5_stream): Likewise.
42832 (md5_process_bytes): Likewise.
42833 (md5_process_block): Rename to __md5_process_block and move to ...
42834 * crypt/md5-block.c: ... here.
42835 * crypt/sha256.c (sha256_process_block): Move to ...
42836 * crypt/sha256-block.c: ... here.
42837 * crypt/sha512.c (sha512_process_block): Move to ...
42838 * crypt/sha512-block.c: ... here.
42839 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42840 path.
42841 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42842 * sysdeps/sparc/sparc64/multiarch/Makefile
42843 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42844 crypt subdir.
42845 (localedef-aux): Add md5 crypto assembler when in locale subdir.
42846 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42847 multiarch changes.
42848 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42849 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42850 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42851 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42852 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42853 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42854 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42855 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42856 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42857 file.
42858 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42859 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42860 file.
42861 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42862
42863 2012-11-13 Joseph Myers <joseph@codesourcery.com>
42864
42865 * timezone/tzselect.ksh: Update from tzcode git revision
42866 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42867 * timezone/zdump.c: Likewise.
42868 * timezone/zic.c: Likewise.
42869 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42870 in TZVERSION setting, not $(PKGVERSION).
42871 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
42872 REPORT_BUGS_TO settings.
42873
42874 [BZ #14838]
42875 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42876 macro.
42877
42878 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42879
42880 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42881 detection to immediately after _FP_ROUND().
42882 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42883 bits are 0.
42884
42885 2012-11-11 David S. Miller <davem@davemloft.net>
42886
42887 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42888 inttypes.h
42889 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42890 __close rather than their public counterparts.
42891
42892 2012-11-10 Joseph Myers <joseph@codesourcery.com>
42893
42894 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42895 file.
42896 [UNIX98] (sem_timedwait): Do not expect.
42897 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42898 [XPG4 || UNIX98] (sockatmark): Do not expect.
42899 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42900 (clock_getcpuclockid): Do not expect.
42901 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42902 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42903 Do not expect.
42904 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42905 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42906 [UNIX98] (vwscanf): Likewise.
42907 [UNIX98] (vswscanf): Likewise.
42908
42909 2012-11-09 Joseph Myers <joseph@codesourcery.com>
42910
42911 * timezone/version.h: Remove file.
42912 * timezone/README: Do not refer to version.h.
42913 * timezone/Makefile ($(objpfx)zic.o): New dependency on
42914 $(objpfx)version.h.
42915 ($(objpfx)zdump.o): Likewise.
42916 ($(objpfx)version.h): New target.
42917
42918 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
42919 2012i.
42920 * timezone/README: Don't mention modification to tzselect.ksh.
42921 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
42922 work on unmodified tzselect.ksh. Substitute version numbers in
42923 tzselect.ksh.
42924
42925 * Makefile (format-me): Remove.
42926 (INSTALL): Adjust indentation. Use commands directly instead of
42927 using $(format-me).
42928
42929 * aclocal.m4 (ACX_PKGVERSION): New macro.
42930 (ACX_BUGURL): Likewise.
42931 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
42932 (PKGVERSION): New AC_DEFINE_UNQUOTED.
42933 (REPORT_BUGS_TO): Likewise.
42934 * configure: Regenerated.
42935 * config.h.in (PKGVERSION): New macro.
42936 (REPORT_BUGS_TO): Likewise.
42937 * config.make.in (PKGVERSION): New variable.
42938 (PKGVERSION_TEXI): Likewise.
42939 (REPORT_BUGS_TO): Likewise.
42940 (REPORT_BUGS_TEXI): Likewise.
42941 * Makefile (format-me): Use -I$(common-objpfx)manual.
42942 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
42943 ($(common-objpfx)manual/%): New target.
42944 (manual/%): Remove target.
42945 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
42946 (print_version): Use PKGVERSION.
42947 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
42948 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
42949 and REPORT_BUGS_TO.
42950 ($(objpfx)xtrace): Likewise.
42951 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
42952 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
42953 (print_version): Use PKGVERSION.
42954 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
42955 (do_version): Use PKGVERSION.
42956 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
42957 REPORT_BUGS_TO.
42958 (common-ldd-rewrite): Likewise.
42959 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
42960 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
42961 (print_version): Use PKGVERSION.
42962 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
42963 * elf/pldd.c (argp_program_bug_address): Remove variable.
42964 (more_help): New function.
42965 (argp): Use more_help.
42966 (print_version): Use PKGVERSION.
42967 * elf/sln.c (main): Use PKGVERSION.
42968 (usage): Use REPORT_BUGS_TO.
42969 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
42970 (top level): Use PKGVERSION.
42971 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
42972 (print_version): Use PKGVERSION.
42973 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
42974 (print_version): Use PKGVERSION.
42975 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
42976 (print_version): Use PKGVERSION.
42977 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
42978 (print_version): Use PKGVERSION.
42979 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
42980 (print_version): Use PKGVERSION.
42981 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
42982 (print_version): Use PKGVERSION.
42983 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
42984 and BUGURL.
42985 ($(objpfx)memusage): Likewise.
42986 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
42987 (do_version): Use PKGVERSION.
42988 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
42989 (print_version): Use PKGVERSION.
42990 * malloc/mtrace.pl ($PACKAGE): Remove variable.
42991 ($PKGVERSION): New variable.
42992 ($REPORT_BUGS_TO): Likewise.
42993 (usage): Use $REPORT_BUGS_TO.
42994 (top level): Use $PKGVERSION.
42995 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
42996 ($(objpfx)pkgvers.texi): New rule.
42997 ($(objpfx)stamp-pkgvers): Likewise.
42998 * manual/install.texi: Include pkgvers.texi.
42999 (--with-pkgversion): Document new configure option.
43000 (--with-bugurl): Likewise.
43001 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43002 than necessarily for this particular distribution. Use
43003 REPORT_BUGS_TO for where to report bugs.
43004 * INSTALL: Regenerated.
43005 * manual/libc.texinfo: Include pkgvers.texi.
43006 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43007 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43008 (print_version): Use PKGVERSION.
43009 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43010 (print_version): Use PKGVERSION.
43011 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43012 (print_version): Use PKGVERSION.
43013 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43014 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43015 macro.
43016 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43017 (print_version): Use PKGVERSION.
43018 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43019 (print_version): Use PKGVERSION.
43020 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43021 and PKGVERSION.
43022
43023 * timezone/checktab.awk: Update from tzcode 2012i.
43024 * timezone/ialloc.c: Likewise.
43025 * timezone/private.h: Likewise.
43026 * timezone/scheck.c: Likewise.
43027 * timezone/tzfile.h: Likewise.
43028 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43029 (TZVERSION): Hardcode tzcode version number.
43030 * timezone/zdump.c: Update from tzcode 2012i.
43031 * timezone/zic.c: Likewise.
43032 * timezone/version.h: New file.
43033 * timezone/README: Describe version.h. Update upstream location.
43034
43035 [BZ #14824]
43036 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43037 (mktemp): Enable declaration.
43038 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43039 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43040 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43042 Likewise.
43043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43044 Likewise.
43045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43046 Likewise.
43047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43048 Likewise.
43049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43050 Likewise.
43051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43052 Likewise.
43053
43054 [BZ #14821]
43055 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43056 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43057 for copies of such integer values.
43058 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43059 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43060
43061 2012-11-09 Andreas Jaeger <aj@suse.de>
43062
43063 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43064 definitions and declarations that are provided by
43065 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43066
43067 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43068
43069 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43070 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43071 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43072 definition.
43073
43074 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43075
43076 * elf/elf.h: Update comment before AArch64 relocations.
43077
43078 2012-11-07 David S. Miller <davem@davemloft.net>
43079
43080 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43081 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43082 (__start_context): Declare.
43083 (__makecontext_ret): Delete.
43084 (__makecontext): Hook up __start_context instead of
43085 __makecontext_ret.
43086 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43087 (sysdep_routines): Add __start_context when in stdlib.
43088
43089 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43090
43091 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43092 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43093 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43094 hardcoded "nm".
43095 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43096 (READELF): New variable. Use it instead of hardcoded "readelf".
43097
43098 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43099
43100 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43101 * sysdeps/x86/Makefile: Here.
43102 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43103 * sysdeps/x86/tst-xmmymm.sh: This.
43104
43105 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43106
43107 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43108 expectations.
43109 [UNIX98] (pthread_barrier_t): Do not expect.
43110 [UNIX98] (pthread_barrierattr_t): Likewise.
43111 [UNIX98] (pthread_spinlock_t): Likewise.
43112 [UNIX98] (pthread_barrier_destroy): Likewise.
43113 [UNIX98] (pthread_barrier_init): Likewise.
43114 [UNIX98] (pthread_barrier_wait): Likewise.
43115 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43116 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43117 [UNIX98] (pthread_barrierattr_init): Likewise.
43118 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43119 [UNIX98] (pthread_getcpuclockid): Likewise.
43120 [UNIX98] (pthread_mutex_timedlock): Likewise.
43121 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43122 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43123 [UNIX98] (pthread_sigmask): Likewise.
43124 [UNIX98] (pthread_spin_destroy): Likewise.
43125 [UNIX98] (pthread_spin_init): Likewise.
43126 [UNIX98] (pthread_spin_lock): Likewise.
43127 [UNIX98] (pthread_spin_trylock): Likewise.
43128 [UNIX98] (pthread_spin_unlock): Likewise.
43129 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43130 Do not expect.
43131 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43132 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43133 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43134 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43135 [XPG3 || XPG4] (pthread_key_t): Likewise.
43136 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43137 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43138 [XPG3 || XPG4] (pthread_once_t): Likewise.
43139 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43140 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43141 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43142 [XPG3 || XPG4] (pthread_t): Likewise.
43143
43144 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43145 not expect.
43146 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43147
43148 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43149 Change function return type to int.
43150
43151 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43152 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43153 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43154 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43155 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43156 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43157 [!POSIX] (posix_madvise): Likewise.
43158 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43159 && !UNIX98].
43160 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43161 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43162 (mode_t): Likewise.
43163 (posix_mem_offset): Likewise.
43164 (posix_typed_mem_get_info): Likewise.
43165 (posix_typed_mem_open): Likewise.
43166
43167 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43168 Change condition to [XOPEN2K8].
43169
43170 * conform/conformtest.pl: Preprocess allow-header data with -x c
43171 instead of from stdin.
43172 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43173 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43174 [C99-based standards] (cerfc): Likewise.
43175 [C99-based standards] (cexp2): Likewise.
43176 [C99-based standards] (cexpm1): Likewise.
43177 [C99-based standards] (clog10): Likewise.
43178 [C99-based standards] (clog1p): Likewise.
43179 [C99-based standards] (clog2): Likewise.
43180 [C99-based standards] (clgamma): Likewise.
43181 [C99-based standards] (ctgamma): Likewise.
43182 [C99-based standards] (cerff): Likewise.
43183 [C99-based standards] (cerfcf): Likewise.
43184 [C99-based standards] (cexp2f): Likewise.
43185 [C99-based standards] (cexpm1f): Likewise.
43186 [C99-based standards] (clog10f): Likewise.
43187 [C99-based standards] (clog1pf): Likewise.
43188 [C99-based standards] (clog2f): Likewise.
43189 [C99-based standards] (clgammaf): Likewise.
43190 [C99-based standards] (ctgammaf): Likewise.
43191 [C99-based standards] (cerfl): Likewise.
43192 [C99-based standards] (cerfcl): Likewise.
43193 [C99-based standards] (cexp2l): Likewise.
43194 [C99-based standards] (cexpm1l): Likewise.
43195 [C99-based standards] (clog10l): Likewise.
43196 [C99-based standards] (clog1pl): Likewise.
43197 [C99-based standards] (clog2l): Likewise.
43198 [C99-based standards] (clgammal): Likewise.
43199 [C99-based standards] (ctgammal): Likewise.
43200 * conform/data/inttypes.h-data [C99-based standards]: Include
43201 stdint.h-data. Remove all expectations for stdint.h contents.
43202 [C99-based standards] (PRI*): Do not allow.
43203 [C99-based standards] (SCN*): Likewise.
43204 [C99-based standards] (*_t): Likewise.
43205 [C99-based-standards] (PRId8): Expect macro.
43206 [C99-based-standards] (PRIi8): Likewise.
43207 [C99-based-standards] (PRIo8): Likewise.
43208 [C99-based-standards] (PRIu8): Likewise.
43209 [C99-based-standards] (PRIx8): Likewise.
43210 [C99-based-standards] (PRIX8): Likewise.
43211 [C99-based-standards] (SCNd8): Likewise.
43212 [C99-based-standards] (SCNi8): Likewise.
43213 [C99-based-standards] (SCNo8): Likewise.
43214 [C99-based-standards] (SCNu8): Likewise.
43215 [C99-based-standards] (SCNx8): Likewise.
43216 [C99-based-standards] (PRIdLEAST8): Likewise.
43217 [C99-based-standards] (PRIiLEAST8): Likewise.
43218 [C99-based-standards] (PRIoLEAST8): Likewise.
43219 [C99-based-standards] (PRIuLEAST8): Likewise.
43220 [C99-based-standards] (PRIxLEAST8): Likewise.
43221 [C99-based-standards] (PRIXLEAST8): Likewise.
43222 [C99-based-standards] (SCNdLEAST8): Likewise.
43223 [C99-based-standards] (SCNiLEAST8): Likewise.
43224 [C99-based-standards] (SCNoLEAST8): Likewise.
43225 [C99-based-standards] (SCNuLEAST8): Likewise.
43226 [C99-based-standards] (SCNxLEAST8): Likewise.
43227 [C99-based-standards] (PRIdFAST8): Likewise.
43228 [C99-based-standards] (PRIiFAST8): Likewise.
43229 [C99-based-standards] (PRIoFAST8): Likewise.
43230 [C99-based-standards] (PRIuFAST8): Likewise.
43231 [C99-based-standards] (PRIxFAST8): Likewise.
43232 [C99-based-standards] (PRIXFAST8): Likewise.
43233 [C99-based-standards] (SCNdFAST8): Likewise.
43234 [C99-based-standards] (SCNiFAST8): Likewise.
43235 [C99-based-standards] (SCNoFAST8): Likewise.
43236 [C99-based-standards] (SCNuFAST8): Likewise.
43237 [C99-based-standards] (SCNxFAST8): Likewise.
43238 [C99-based-standards] (PRId16): Likewise.
43239 [C99-based-standards] (PRIi16): Likewise.
43240 [C99-based-standards] (PRIo16): Likewise.
43241 [C99-based-standards] (PRIu16): Likewise.
43242 [C99-based-standards] (PRIx16): Likewise.
43243 [C99-based-standards] (PRIX16): Likewise.
43244 [C99-based-standards] (SCNd16): Likewise.
43245 [C99-based-standards] (SCNi16): Likewise.
43246 [C99-based-standards] (SCNo16): Likewise.
43247 [C99-based-standards] (SCNu16): Likewise.
43248 [C99-based-standards] (SCNx16): Likewise.
43249 [C99-based-standards] (PRIdLEAST16): Likewise.
43250 [C99-based-standards] (PRIiLEAST16): Likewise.
43251 [C99-based-standards] (PRIoLEAST16): Likewise.
43252 [C99-based-standards] (PRIuLEAST16): Likewise.
43253 [C99-based-standards] (PRIxLEAST16): Likewise.
43254 [C99-based-standards] (PRIXLEAST16): Likewise.
43255 [C99-based-standards] (SCNdLEAST16): Likewise.
43256 [C99-based-standards] (SCNiLEAST16): Likewise.
43257 [C99-based-standards] (SCNoLEAST16): Likewise.
43258 [C99-based-standards] (SCNuLEAST16): Likewise.
43259 [C99-based-standards] (SCNxLEAST16): Likewise.
43260 [C99-based-standards] (PRIdFAST16): Likewise.
43261 [C99-based-standards] (PRIiFAST16): Likewise.
43262 [C99-based-standards] (PRIoFAST16): Likewise.
43263 [C99-based-standards] (PRIuFAST16): Likewise.
43264 [C99-based-standards] (PRIxFAST16): Likewise.
43265 [C99-based-standards] (PRIXFAST16): Likewise.
43266 [C99-based-standards] (SCNdFAST16): Likewise.
43267 [C99-based-standards] (SCNiFAST16): Likewise.
43268 [C99-based-standards] (SCNoFAST16): Likewise.
43269 [C99-based-standards] (SCNuFAST16): Likewise.
43270 [C99-based-standards] (SCNxFAST16): Likewise.
43271 [C99-based-standards] (PRId32): Likewise.
43272 [C99-based-standards] (PRIi32): Likewise.
43273 [C99-based-standards] (PRIo32): Likewise.
43274 [C99-based-standards] (PRIu32): Likewise.
43275 [C99-based-standards] (PRIx32): Likewise.
43276 [C99-based-standards] (PRIX32): Likewise.
43277 [C99-based-standards] (SCNd32): Likewise.
43278 [C99-based-standards] (SCNi32): Likewise.
43279 [C99-based-standards] (SCNo32): Likewise.
43280 [C99-based-standards] (SCNu32): Likewise.
43281 [C99-based-standards] (SCNx32): Likewise.
43282 [C99-based-standards] (PRIdLEAST32): Likewise.
43283 [C99-based-standards] (PRIiLEAST32): Likewise.
43284 [C99-based-standards] (PRIoLEAST32): Likewise.
43285 [C99-based-standards] (PRIuLEAST32): Likewise.
43286 [C99-based-standards] (PRIxLEAST32): Likewise.
43287 [C99-based-standards] (PRIXLEAST32): Likewise.
43288 [C99-based-standards] (SCNdLEAST32): Likewise.
43289 [C99-based-standards] (SCNiLEAST32): Likewise.
43290 [C99-based-standards] (SCNoLEAST32): Likewise.
43291 [C99-based-standards] (SCNuLEAST32): Likewise.
43292 [C99-based-standards] (SCNxLEAST32): Likewise.
43293 [C99-based-standards] (PRIdFAST32): Likewise.
43294 [C99-based-standards] (PRIiFAST32): Likewise.
43295 [C99-based-standards] (PRIoFAST32): Likewise.
43296 [C99-based-standards] (PRIuFAST32): Likewise.
43297 [C99-based-standards] (PRIxFAST32): Likewise.
43298 [C99-based-standards] (PRIXFAST32): Likewise.
43299 [C99-based-standards] (SCNdFAST32): Likewise.
43300 [C99-based-standards] (SCNiFAST32): Likewise.
43301 [C99-based-standards] (SCNoFAST32): Likewise.
43302 [C99-based-standards] (SCNuFAST32): Likewise.
43303 [C99-based-standards] (SCNxFAST32): Likewise.
43304 [C99-based-standards] (PRId64): Likewise.
43305 [C99-based-standards] (PRIi64): Likewise.
43306 [C99-based-standards] (PRIo64): Likewise.
43307 [C99-based-standards] (PRIu64): Likewise.
43308 [C99-based-standards] (PRIx64): Likewise.
43309 [C99-based-standards] (PRIX64): Likewise.
43310 [C99-based-standards] (SCNd64): Likewise.
43311 [C99-based-standards] (SCNi64): Likewise.
43312 [C99-based-standards] (SCNo64): Likewise.
43313 [C99-based-standards] (SCNu64): Likewise.
43314 [C99-based-standards] (SCNx64): Likewise.
43315 [C99-based-standards] (PRIdLEAST64): Likewise.
43316 [C99-based-standards] (PRIiLEAST64): Likewise.
43317 [C99-based-standards] (PRIoLEAST64): Likewise.
43318 [C99-based-standards] (PRIuLEAST64): Likewise.
43319 [C99-based-standards] (PRIxLEAST64): Likewise.
43320 [C99-based-standards] (PRIXLEAST64): Likewise.
43321 [C99-based-standards] (SCNdLEAST64): Likewise.
43322 [C99-based-standards] (SCNiLEAST64): Likewise.
43323 [C99-based-standards] (SCNoLEAST64): Likewise.
43324 [C99-based-standards] (SCNuLEAST64): Likewise.
43325 [C99-based-standards] (SCNxLEAST64): Likewise.
43326 [C99-based-standards] (PRIdFAST64): Likewise.
43327 [C99-based-standards] (PRIiFAST64): Likewise.
43328 [C99-based-standards] (PRIoFAST64): Likewise.
43329 [C99-based-standards] (PRIuFAST64): Likewise.
43330 [C99-based-standards] (PRIxFAST64): Likewise.
43331 [C99-based-standards] (PRIXFAST64): Likewise.
43332 [C99-based-standards] (SCNdFAST64): Likewise.
43333 [C99-based-standards] (SCNiFAST64): Likewise.
43334 [C99-based-standards] (SCNoFAST64): Likewise.
43335 [C99-based-standards] (SCNuFAST64): Likewise.
43336 [C99-based-standards] (SCNxFAST64): Likewise.
43337 [C99-based-standards] (PRIdMAX): Likewise.
43338 [C99-based-standards] (PRIiMAX): Likewise.
43339 [C99-based-standards] (PRIoMAX): Likewise.
43340 [C99-based-standards] (PRIuMAX): Likewise.
43341 [C99-based-standards] (PRIxMAX): Likewise.
43342 [C99-based-standards] (PRIXMAX): Likewise.
43343 [C99-based-standards] (SCNdMAX): Likewise.
43344 [C99-based-standards] (SCNiMAX): Likewise.
43345 [C99-based-standards] (SCNoMAX): Likewise.
43346 [C99-based-standards] (SCNuMAX): Likewise.
43347 [C99-based-standards] (SCNxMAX): Likewise.
43348 [C99-based-standards] (PRIdPTR): Likewise.
43349 [C99-based-standards] (PRIiPTR): Likewise.
43350 [C99-based-standards] (PRIoPTR): Likewise.
43351 [C99-based-standards] (PRIuPTR): Likewise.
43352 [C99-based-standards] (PRIxPTR): Likewise.
43353 [C99-based-standards] (PRIXPTR): Likewise.
43354 [C99-based-standards] (SCNdPTR): Likewise.
43355 [C99-based-standards] (SCNiPTR): Likewise.
43356 [C99-based-standards] (SCNoPTR): Likewise.
43357 [C99-based-standards] (SCNuPTR): Likewise.
43358 [C99-based-standards] (SCNxPTR): Likewise.
43359 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43360 allow.
43361 * conform/data/stdint.h-data: Update comments to clarify
43362 requirements.
43363 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43364 type.
43365 [C99-based standards] (INT8_MAX): Likewise.
43366 [C99-based standards] (INT16_MIN): Likewise.
43367 [C99-based standards] (INT16_MAX): Likewise.
43368 [C99-based standards] (INT32_MIN): Likewise.
43369 [C99-based standards] (INT32_MAX): Likewise.
43370 [C99-based standards] (INT64_MIN): Likewise.
43371 [C99-based standards] (INT64_MAX): Likewise.
43372 [C99-based standards] (UINT8_MAX): Likewise.
43373 [C99-based standards] (UINT16_MAX): Likewise.
43374 [C99-based standards] (UINT32_MAX): Likewise.
43375 [C99-based standards] (UINT64_MAX): Likewise.
43376 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43377 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43378 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43379 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43380 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43381 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43382 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43383 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43384 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43385 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43386 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43387 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43388 [C99-based standards] (INT_FAST8_MIN): Likewise.
43389 [C99-based standards] (INT_FAST8_MAX): Likewise.
43390 [C99-based standards] (INT_FAST16_MIN): Likewise.
43391 [C99-based standards] (INT_FAST16_MAX): Likewise.
43392 [C99-based standards] (INT_FAST32_MIN): Likewise.
43393 [C99-based standards] (INT_FAST32_MAX): Likewise.
43394 [C99-based standards] (INT_FAST64_MIN): Likewise.
43395 [C99-based standards] (INT_FAST64_MAX): Likewise.
43396 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43397 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43398 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43399 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43400 [C99-based standards] (INTPTR_MIN): Likewise.
43401 [C99-based standards] (INTPTR_MAX): Likewise.
43402 [C99-based standards] (UINTPTR_MAX): Likewise.
43403 [C99-based standards] (INTMAX_MIN): Likewise.
43404 [C99-based standards] (INTMAX_MAX): Likewise.
43405 [C99-based standards] (UINTMAX_MAX): Likewise.
43406 [C99-based standards] (PTRDIFF_MIN): Likewise.
43407 [C99-based standards] (PTRDIFF_MAX): Likewise.
43408 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43409 [C99-based standards] (SIZE_MAX): Likewise.
43410 [C99-based standards] (WCHAR_MAX): Likewise.
43411 [C99-based standards] (WINT_MAX): Likewise.
43412 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43413 constraint on value.
43414 [C99-based standards] (WCHAR_MIN): Likewise.
43415 [C99-based standards] (WINT_MIN): Likewise.
43416 [C99-based standards] (*_t): Allow.
43417 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43418 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43419 Include math.h-data and complex.h-data. Remove all expectations
43420 of math.h and complex.h contents.
43421 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43422 at end of line.
43423 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43424 (struct tm): Expect tag.
43425 [C99-based-standards] (wcstof): Expect function.
43426 [C99-based-standards] (wcstold): Likewise.
43427 [C99-based-standards] (wcstoll): Likewise.
43428 [C99-based-standards] (wcstoull): Likewise.
43429 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43430 macro-int-constant. Specify type.
43431 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43432 constraint on value.
43433 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43434 Specify type.
43435 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43436 Specify value.
43437 [ISO C standards]: Do not allow headers.
43438 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43439 wcs[abcdefghijklmnopqrstuvwxyz]*.
43440 [ISO C standards] (*_t): Do not allow.
43441 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43442 Expect function.
43443 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43444 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43445 Specify type.
43446 [ISO C standards]: Do not allow headers.
43447 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43448 is[abcdefghijklmnopqrstuvwxyz]*.
43449 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43450 to[abcdefghijklmnopqrstuvwxyz]*.
43451 [ISO C standards] (*_t): Do not allow.
43452 * conform/data/stdalign.h-data: New file.
43453 * conform/data/stdbool.h-data: Likewise.
43454 * conform/data/stdnoreturn.h-data: Likewise.
43455
43456 2012-11-07 Roland McGrath <roland@hack.frob.com>
43457
43458 [BZ #14815]
43459 * manual/filesys.texi (Directory Entries): Typo fix.
43460 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43461
43462 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43463
43464 * elf/elf.h (EM_AARCH64): New macro.
43465 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43466 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43467 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43468 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43469 (R_AARCH64_TLSDESC): Likewise.
43470 (NT_ARM_TLS): Likewise.
43471 (NT_ARM_HW_BREAK): Likewise.
43472 (NT_ARM_HW_WATCH): Likewise.
43473
43474 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43475
43476 [BZ #14811]
43477 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43478 (__ieee754_powl): Saturate nonzero exponents with absolute value
43479 below 0x1p-79 to +/- 0x1p-79.
43480 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43481 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43482 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43483 nonzero exponents with absolute value below 0x1p-32 to +/-
43484 0x1p-32.
43485 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43486 (__ieee754_powl): Saturate nonzero exponents with absolute value
43487 below 0x1p-79 to +/- 0x1p-79.
43488 * math/libm-test.inc (pow_test): Add more tests.
43489
43490 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43491
43492 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43493 _dl_s390_cap_flags with kernel. Increase string length.
43494 (_dl_s390_platforms): Add z196 and zEC12.
43495
43496 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43497
43498 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43499 Change XOPEN21K to XOPEN2K.
43500
43501 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43502
43503 * string/memmove.c: Use memcpy when possible.
43504
43505 2012-11-06 Andreas Jaeger <aj@suse.de>
43506
43507 * po/eo.po: Update from translation team.
43508
43509 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43510
43511 [BZ #14793]
43512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43513 exponent and small x and y exponents, scale x or y up. Increase
43514 by 2 the exponent used in scaling up.
43515 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43516 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43517 * math/libm-test.inc (fma_test): Add more tests.
43518 (fma_test_towardzero): Likewise.
43519 (fma_test_downward): Likewise.
43520 (fma_test_upward): Likewise.
43521
43522 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43523
43524 [BZ #14805]
43525 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43526 fenv_t *.
43527
43528 [BZ #14801]
43529 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43530 namespace for names of struct fields.
43531 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43532 fenv_t fields.
43533 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43534 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43535
43536 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43537
43538 [BZ #3665]
43539 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43540
43541 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43542
43543 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43544 PTR_DEMANGLE.
43545
43546 [BZ #5246]
43547 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43548 PTR_DEMANGLE.
43549
43550 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43551
43552 [BZ #14797]
43553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43554 definitely overflow as x * y not x * y + z.
43555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43556 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43557 * math/libm-test.inc (fma_test): Add more tests.
43558 (fma_test_towardzero): Likewise.
43559 (fma_test_downward): Likewise.
43560 (fma_test_upward): Likewise.
43561
43562 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43563
43564 [BZ #157]
43565
43566 * include/stub-tag.h: Remove file.
43567 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43568 '#include' of it.
43569 * manual/maint.texi (Porting): Don't reference it.
43570 * Makerules ($(objpfx)stubs): Likewise.
43571 * dirent/closedir.c: Don't include <stub-tag.h>.
43572 * dirent/dirfd.c: Likewise.
43573 * dirent/fdopendir.c: Likewise.
43574 * dirent/getdents.c: Likewise.
43575 * dirent/getdents64.c: Likewise.
43576 * dirent/opendir.c: Likewise.
43577 * dirent/readdir.c: Likewise.
43578 * dirent/readdir64.c: Likewise.
43579 * dirent/readdir64_r.c: Likewise.
43580 * dirent/readdir_r.c: Likewise.
43581 * dirent/rewinddir.c: Likewise.
43582 * dirent/seekdir.c: Likewise.
43583 * dirent/telldir.c: Likewise.
43584 * gmon/profil.c: Likewise.
43585 * grp/setgroups.c: Likewise.
43586 * inet/if_index.c: Likewise.
43587 * io/access.c: Likewise.
43588 * io/chdir.c: Likewise.
43589 * io/chmod.c: Likewise.
43590 * io/chown.c: Likewise.
43591 * io/close.c: Likewise.
43592 * io/dup.c: Likewise.
43593 * io/dup2.c: Likewise.
43594 * io/dup3.c: Likewise.
43595 * io/euidaccess.c: Likewise.
43596 * io/faccessat.c: Likewise.
43597 * io/fchdir.c: Likewise.
43598 * io/fchmod.c: Likewise.
43599 * io/fchmodat.c: Likewise.
43600 * io/fchown.c: Likewise.
43601 * io/fchownat.c: Likewise.
43602 * io/fcntl.c: Likewise.
43603 * io/flock.c: Likewise.
43604 * io/fstatfs.c: Likewise.
43605 * io/fstatfs64.c: Likewise.
43606 * io/fstatvfs.c: Likewise.
43607 * io/fstatvfs64.c: Likewise.
43608 * io/futimens.c: Likewise.
43609 * io/fxstat.c: Likewise.
43610 * io/fxstat64.c: Likewise.
43611 * io/fxstatat.c: Likewise.
43612 * io/fxstatat64.c: Likewise.
43613 * io/getcwd.c: Likewise.
43614 * io/isatty.c: Likewise.
43615 * io/lchmod.c: Likewise.
43616 * io/lchown.c: Likewise.
43617 * io/link.c: Likewise.
43618 * io/linkat.c: Likewise.
43619 * io/lseek.c: Likewise.
43620 * io/lseek64.c: Likewise.
43621 * io/lxstat64.c: Likewise.
43622 * io/mkdir.c: Likewise.
43623 * io/mkdirat.c: Likewise.
43624 * io/mkfifo.c: Likewise.
43625 * io/mkfifoat.c: Likewise.
43626 * io/open.c: Likewise.
43627 * io/open64.c: Likewise.
43628 * io/openat.c: Likewise.
43629 * io/openat64.c: Likewise.
43630 * io/pipe.c: Likewise.
43631 * io/pipe2.c: Likewise.
43632 * io/poll.c: Likewise.
43633 * io/posix_fadvise.c: Likewise.
43634 * io/posix_fadvise64.c: Likewise.
43635 * io/posix_fallocate.c: Likewise.
43636 * io/posix_fallocate64.c: Likewise.
43637 * io/read.c: Likewise.
43638 * io/readlink.c: Likewise.
43639 * io/readlinkat.c: Likewise.
43640 * io/rmdir.c: Likewise.
43641 * io/sendfile.c: Likewise.
43642 * io/sendfile64.c: Likewise.
43643 * io/statfs.c: Likewise.
43644 * io/statfs64.c: Likewise.
43645 * io/statvfs.c: Likewise.
43646 * io/statvfs64.c: Likewise.
43647 * io/symlink.c: Likewise.
43648 * io/symlinkat.c: Likewise.
43649 * io/ttyname.c: Likewise.
43650 * io/ttyname_r.c: Likewise.
43651 * io/umask.c: Likewise.
43652 * io/unlink.c: Likewise.
43653 * io/unlinkat.c: Likewise.
43654 * io/utime.c: Likewise.
43655 * io/utimensat.c: Likewise.
43656 * io/write.c: Likewise.
43657 * io/xmknod.c: Likewise.
43658 * io/xmknodat.c: Likewise.
43659 * io/xstat.c: Likewise.
43660 * io/xstat64.c: Likewise.
43661 * login/getpt.c: Likewise.
43662 * login/grantpt.c: Likewise.
43663 * login/unlockpt.c: Likewise.
43664 * math/e_acoshl.c: Likewise.
43665 * math/e_acosl.c: Likewise.
43666 * math/e_asinl.c: Likewise.
43667 * math/e_atan2l.c: Likewise.
43668 * math/e_atanhl.c: Likewise.
43669 * math/e_coshl.c: Likewise.
43670 * math/e_expl.c: Likewise.
43671 * math/e_fmodl.c: Likewise.
43672 * math/e_gammal_r.c: Likewise.
43673 * math/e_hypotl.c: Likewise.
43674 * math/e_j0l.c: Likewise.
43675 * math/e_j1l.c: Likewise.
43676 * math/e_jnl.c: Likewise.
43677 * math/e_lgammal_r.c: Likewise.
43678 * math/e_log10l.c: Likewise.
43679 * math/e_log2l.c: Likewise.
43680 * math/e_logl.c: Likewise.
43681 * math/e_powl.c: Likewise.
43682 * math/e_rem_pio2l.c: Likewise.
43683 * math/e_sinhl.c: Likewise.
43684 * math/e_sqrtl.c: Likewise.
43685 * math/fclrexcpt.c: Likewise.
43686 * math/fedisblxcpt.c: Likewise.
43687 * math/feenablxcpt.c: Likewise.
43688 * math/fegetenv.c: Likewise.
43689 * math/fegetexcept.c: Likewise.
43690 * math/fegetround.c: Likewise.
43691 * math/feholdexcpt.c: Likewise.
43692 * math/fesetenv.c: Likewise.
43693 * math/fesetround.c: Likewise.
43694 * math/feupdateenv.c: Likewise.
43695 * math/fgetexcptflg.c: Likewise.
43696 * math/fraiseexcpt.c: Likewise.
43697 * math/fsetexcptflg.c: Likewise.
43698 * math/ftestexcept.c: Likewise.
43699 * math/k_cosl.c: Likewise.
43700 * math/k_rem_pio2l.c: Likewise.
43701 * math/k_sinl.c: Likewise.
43702 * math/k_tanl.c: Likewise.
43703 * math/s_asinhl.c: Likewise.
43704 * math/s_atanl.c: Likewise.
43705 * math/s_cbrtl.c: Likewise.
43706 * math/s_erfl.c: Likewise.
43707 * math/s_expm1l.c: Likewise.
43708 * math/s_log1pl.c: Likewise.
43709 * math/s_tanhl.c: Likewise.
43710 * misc/acct.c: Likewise.
43711 * misc/brk.c: Likewise.
43712 * misc/chflags.c: Likewise.
43713 * misc/chroot.c: Likewise.
43714 * misc/fchflags.c: Likewise.
43715 * misc/fgetxattr.c: Likewise.
43716 * misc/flistxattr.c: Likewise.
43717 * misc/fremovexattr.c: Likewise.
43718 * misc/fsetxattr.c: Likewise.
43719 * misc/fsync.c: Likewise.
43720 * misc/ftruncate.c: Likewise.
43721 * misc/futimes.c: Likewise.
43722 * misc/futimesat.c: Likewise.
43723 * misc/getdomain.c: Likewise.
43724 * misc/getdtsz.c: Likewise.
43725 * misc/gethostid.c: Likewise.
43726 * misc/gethostname.c: Likewise.
43727 * misc/getloadavg.c: Likewise.
43728 * misc/getpagesize.c: Likewise.
43729 * misc/getsysstats.c: Likewise.
43730 * misc/getxattr.c: Likewise.
43731 * misc/gtty.c: Likewise.
43732 * misc/ioctl.c: Likewise.
43733 * misc/lgetxattr.c: Likewise.
43734 * misc/listxattr.c: Likewise.
43735 * misc/llistxattr.c: Likewise.
43736 * misc/lremovexattr.c: Likewise.
43737 * misc/lsetxattr.c: Likewise.
43738 * misc/lutimes.c: Likewise.
43739 * misc/madvise.c: Likewise.
43740 * misc/mincore.c: Likewise.
43741 * misc/mlock.c: Likewise.
43742 * misc/mlockall.c: Likewise.
43743 * misc/mmap.c: Likewise.
43744 * misc/mprotect.c: Likewise.
43745 * misc/msync.c: Likewise.
43746 * misc/munlock.c: Likewise.
43747 * misc/munlockall.c: Likewise.
43748 * misc/munmap.c: Likewise.
43749 * misc/preadv.c: Likewise.
43750 * misc/preadv64.c: Likewise.
43751 * misc/ptrace.c: Likewise.
43752 * misc/pwritev.c: Likewise.
43753 * misc/pwritev64.c: Likewise.
43754 * misc/readv.c: Likewise.
43755 * misc/reboot.c: Likewise.
43756 * misc/remap_file_pages.c: Likewise.
43757 * misc/removexattr.c: Likewise.
43758 * misc/revoke.c: Likewise.
43759 * misc/select.c: Likewise.
43760 * misc/setdomain.c: Likewise.
43761 * misc/setegid.c: Likewise.
43762 * misc/seteuid.c: Likewise.
43763 * misc/sethostid.c: Likewise.
43764 * misc/sethostname.c: Likewise.
43765 * misc/setregid.c: Likewise.
43766 * misc/setreuid.c: Likewise.
43767 * misc/setxattr.c: Likewise.
43768 * misc/sstk.c: Likewise.
43769 * misc/stty.c: Likewise.
43770 * misc/swapoff.c: Likewise.
43771 * misc/swapon.c: Likewise.
43772 * misc/sync.c: Likewise.
43773 * misc/syncfs.c: Likewise.
43774 * misc/syscall.c: Likewise.
43775 * misc/truncate.c: Likewise.
43776 * misc/ualarm.c: Likewise.
43777 * misc/usleep.c: Likewise.
43778 * misc/ustat.c: Likewise.
43779 * misc/utimes.c: Likewise.
43780 * misc/vhangup.c: Likewise.
43781 * misc/writev.c: Likewise.
43782 * posix/_exit.c: Likewise.
43783 * posix/alarm.c: Likewise.
43784 * posix/execve.c: Likewise.
43785 * posix/fexecve.c: Likewise.
43786 * posix/fork.c: Likewise.
43787 * posix/fpathconf.c: Likewise.
43788 * posix/getaddrinfo.c: Likewise.
43789 * posix/getegid.c: Likewise.
43790 * posix/geteuid.c: Likewise.
43791 * posix/getgid.c: Likewise.
43792 * posix/getgroups.c: Likewise.
43793 * posix/getlogin.c: Likewise.
43794 * posix/getlogin_r.c: Likewise.
43795 * posix/getpgid.c: Likewise.
43796 * posix/getpid.c: Likewise.
43797 * posix/getppid.c: Likewise.
43798 * posix/getresgid.c: Likewise.
43799 * posix/getresuid.c: Likewise.
43800 * posix/getsid.c: Likewise.
43801 * posix/getuid.c: Likewise.
43802 * posix/glob64.c: Likewise.
43803 * posix/nanosleep.c: Likewise.
43804 * posix/pathconf.c: Likewise.
43805 * posix/pause.c: Likewise.
43806 * posix/posix_madvise.c: Likewise.
43807 * posix/pread.c: Likewise.
43808 * posix/pread64.c: Likewise.
43809 * posix/pwrite.c: Likewise.
43810 * posix/pwrite64.c: Likewise.
43811 * posix/sched_getaffinity.c: Likewise.
43812 * posix/sched_getp.c: Likewise.
43813 * posix/sched_gets.c: Likewise.
43814 * posix/sched_primax.c: Likewise.
43815 * posix/sched_primin.c: Likewise.
43816 * posix/sched_rr_gi.c: Likewise.
43817 * posix/sched_setaffinity.c: Likewise.
43818 * posix/sched_setp.c: Likewise.
43819 * posix/sched_sets.c: Likewise.
43820 * posix/sched_yield.c: Likewise.
43821 * posix/setgid.c: Likewise.
43822 * posix/setlogin.c: Likewise.
43823 * posix/setpgid.c: Likewise.
43824 * posix/setresgid.c: Likewise.
43825 * posix/setresuid.c: Likewise.
43826 * posix/setsid.c: Likewise.
43827 * posix/setuid.c: Likewise.
43828 * posix/sleep.c: Likewise.
43829 * posix/spawni.c: Likewise.
43830 * posix/sysconf.c: Likewise.
43831 * posix/times.c: Likewise.
43832 * posix/wait.c: Likewise.
43833 * posix/wait3.c: Likewise.
43834 * posix/wait4.c: Likewise.
43835 * posix/waitpid.c: Likewise.
43836 * resolv/gai_sigqueue.c: Likewise.
43837 * resource/getpriority.c: Likewise.
43838 * resource/getrlimit.c: Likewise.
43839 * resource/getrusage.c: Likewise.
43840 * resource/nice.c: Likewise.
43841 * resource/setpriority.c: Likewise.
43842 * resource/setrlimit.c: Likewise.
43843 * resource/ulimit.c: Likewise.
43844 * rt/aio_cancel.c: Likewise.
43845 * rt/aio_fsync.c: Likewise.
43846 * rt/aio_read.c: Likewise.
43847 * rt/aio_sigqueue.c: Likewise.
43848 * rt/aio_suspend.c: Likewise.
43849 * rt/aio_write.c: Likewise.
43850 * rt/clock_getres.c: Likewise.
43851 * rt/clock_gettime.c: Likewise.
43852 * rt/clock_nanosleep.c: Likewise.
43853 * rt/clock_settime.c: Likewise.
43854 * rt/lio_listio.c: Likewise.
43855 * rt/mq_close.c: Likewise.
43856 * rt/mq_getattr.c: Likewise.
43857 * rt/mq_notify.c: Likewise.
43858 * rt/mq_open.c: Likewise.
43859 * rt/mq_receive.c: Likewise.
43860 * rt/mq_send.c: Likewise.
43861 * rt/mq_setattr.c: Likewise.
43862 * rt/mq_timedreceive.c: Likewise.
43863 * rt/mq_timedsend.c: Likewise.
43864 * rt/mq_unlink.c: Likewise.
43865 * rt/shm_open.c: Likewise.
43866 * rt/shm_unlink.c: Likewise.
43867 * rt/timer_create.c: Likewise.
43868 * rt/timer_delete.c: Likewise.
43869 * rt/timer_getoverr.c: Likewise.
43870 * rt/timer_gettime.c: Likewise.
43871 * rt/timer_settime.c: Likewise.
43872 * setjmp/__longjmp.c: Likewise.
43873 * setjmp/setjmp.c: Likewise.
43874 * signal/kill.c: Likewise.
43875 * signal/killpg.c: Likewise.
43876 * signal/raise.c: Likewise.
43877 * signal/sigaction.c: Likewise.
43878 * signal/sigaltstack.c: Likewise.
43879 * signal/sigblock.c: Likewise.
43880 * signal/sigignore.c: Likewise.
43881 * signal/sigintr.c: Likewise.
43882 * signal/signal.c: Likewise.
43883 * signal/sigpause.c: Likewise.
43884 * signal/sigpending.c: Likewise.
43885 * signal/sigqueue.c: Likewise.
43886 * signal/sigreturn.c: Likewise.
43887 * signal/sigset.c: Likewise.
43888 * signal/sigsetmask.c: Likewise.
43889 * signal/sigstack.c: Likewise.
43890 * signal/sigsuspend.c: Likewise.
43891 * signal/sigtimedwait.c: Likewise.
43892 * signal/sigvec.c: Likewise.
43893 * signal/sigwait.c: Likewise.
43894 * signal/sigwaitinfo.c: Likewise.
43895 * signal/sysv_signal.c: Likewise.
43896 * socket/accept.c: Likewise.
43897 * socket/accept4.c: Likewise.
43898 * socket/bind.c: Likewise.
43899 * socket/connect.c: Likewise.
43900 * socket/getpeername.c: Likewise.
43901 * socket/getsockname.c: Likewise.
43902 * socket/getsockopt.c: Likewise.
43903 * socket/isfdtype.c: Likewise.
43904 * socket/listen.c: Likewise.
43905 * socket/recv.c: Likewise.
43906 * socket/recvfrom.c: Likewise.
43907 * socket/recvmsg.c: Likewise.
43908 * socket/send.c: Likewise.
43909 * socket/sendmsg.c: Likewise.
43910 * socket/sendto.c: Likewise.
43911 * socket/setsockopt.c: Likewise.
43912 * socket/shutdown.c: Likewise.
43913 * socket/sockatmark.c: Likewise.
43914 * socket/socket.c: Likewise.
43915 * socket/socketpair.c: Likewise.
43916 * stdio-common/ctermid.c: Likewise.
43917 * stdio-common/cuserid.c: Likewise.
43918 * stdio-common/remove.c: Likewise.
43919 * stdio-common/rename.c: Likewise.
43920 * stdio-common/renameat.c: Likewise.
43921 * stdio-common/tempname.c: Likewise.
43922 * stdlib/getcontext.c: Likewise.
43923 * stdlib/makecontext.c: Likewise.
43924 * stdlib/setcontext.c: Likewise.
43925 * stdlib/swapcontext.c: Likewise.
43926 * stdlib/system.c: Likewise.
43927 * streams/fattach.c: Likewise.
43928 * streams/fdetach.c: Likewise.
43929 * streams/getmsg.c: Likewise.
43930 * streams/getpmsg.c: Likewise.
43931 * streams/putmsg.c: Likewise.
43932 * streams/putpmsg.c: Likewise.
43933 * sysdeps/unix/bsd/getpt.c: Likewise.
43934 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
43935 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
43936 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
43938 Likewise.
43939 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
43940 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
43941 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43942 * sysvipc/msgctl.c: Likewise.
43943 * sysvipc/msgget.c: Likewise.
43944 * sysvipc/msgrcv.c: Likewise.
43945 * sysvipc/msgsnd.c: Likewise.
43946 * sysvipc/semctl.c: Likewise.
43947 * sysvipc/semget.c: Likewise.
43948 * sysvipc/semop.c: Likewise.
43949 * sysvipc/semtimedop.c: Likewise.
43950 * sysvipc/shmat.c: Likewise.
43951 * sysvipc/shmctl.c: Likewise.
43952 * sysvipc/shmdt.c: Likewise.
43953 * sysvipc/shmget.c: Likewise.
43954 * termios/tcdrain.c: Likewise.
43955 * termios/tcflow.c: Likewise.
43956 * termios/tcflush.c: Likewise.
43957 * termios/tcgetattr.c: Likewise.
43958 * termios/tcgetpgrp.c: Likewise.
43959 * termios/tcsendbrk.c: Likewise.
43960 * termios/tcsetattr.c: Likewise.
43961 * termios/tcsetpgrp.c: Likewise.
43962 * time/adjtime.c: Likewise.
43963 * time/clock.c: Likewise.
43964 * time/getitimer.c: Likewise.
43965 * time/gettimeofday.c: Likewise.
43966 * time/setitimer.c: Likewise.
43967 * time/settimeofday.c: Likewise.
43968 * time/stime.c: Likewise.
43969 * time/time.c: Likewise.
43970
43971 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
43972
43973 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
43974 /usr/old/bin.
43975
43976 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
43977 instead of spaces.
43978 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
43979
43980 2012-11-03 Joseph Myers <joseph@codesourcery.com>
43981
43982 [BZ #14796]
43983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
43984 FE_TONEAREST before applying Dekker multiplication and Knuth
43985 addition. Clear inexact exceptions and check for exact zero
43986 results afterwards.
43987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43988 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43990 * math/libm-test.inc (fma_test): Add more tests.
43991 (fma_test_towardzero): Likewise.
43992 (fma_test_downward): Likewise.
43993 (fma_test_upward): Likewise.
43994 * sysdeps/generic/math_private.h (default_libc_fesetround): New
43995 function.
43996 (libc_fesetround): New macro.
43997 (libc_fesetroundf): Likewise.
43998 (libc_fesetroundl): Likewise.
43999 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44000 function.
44001 (libc_fesetround_387): Likewise.
44002 (libc_fesetroundf): New macro.
44003 (libc_fesetround): Likewise.
44004 (libc_fesetroundl): Likewise.
44005 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44006 function.
44007 (libc_fesetroundf): New macro.
44008 (libc_fesetround): Likewise.
44009 (libc_fesetroundl): Likewise.
44010 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44011 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44012 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44013 libm_hidden_ver.
44014 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44015 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44016 libm_hidden_def.
44017 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44018 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44019 libm_hidden_ver.
44020 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44021 libm_hidden_def.
44022
44023 [BZ #3439]
44024 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44025 integer constant usable in #if and use that to give value to enum
44026 constant.
44027 (FE_DIVBYZERO): Likewise.
44028 (FE_UNDERFLOW): Likewise.
44029 (FE_OVERFLOW): Likewise.
44030 (FE_INVALID): Likewise.
44031 (FE_INVALID_SNAN): Likewise.
44032 (FE_INVALID_ISI): Likewise.
44033 (FE_INVALID_IDI): Likewise.
44034 (FE_INVALID_ZDZ): Likewise.
44035 (FE_INVALID_IMZ): Likewise.
44036 (FE_INVALID_COMPARE): Likewise.
44037 (FE_INVALID_SOFTWARE): Likewise.
44038 (FE_INVALID_SQRT): Likewise.
44039 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44040 (FE_TONEAREST): Likewise.
44041 (FE_TOWARDZERO): Likewise.
44042 (FE_UPWARD): Likewise.
44043 (FE_DOWNWARD): Likewise.
44044 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44045 (FE_DIVBYZERO): Likewise.
44046 (FE_OVERFLOW): Likewise.
44047 (FE_UNDERFLOW): Likewise.
44048 (FE_INEXACT): Likewise.
44049 (FE_TONEAREST): Likewise.
44050 (FE_DOWNWARD): Likewise.
44051 (FE_UPWARD): Likewise.
44052 (FE_TOWARDZERO): Likewise.
44053 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44054 (FE_UNDERFLOW): Likewise.
44055 (FE_OVERFLOW): Likewise.
44056 (FE_DIVBYZERO): Likewise.
44057 (FE_INVALID): Likewise.
44058 (FE_TONEAREST): Likewise.
44059 (FE_TOWARDZERO): Likewise.
44060 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44061 (FE_OVERFLOW): Likewise.
44062 (FE_UNDERFLOW): Likewise.
44063 (FE_DIVBYZERO): Likewise.
44064 (FE_INEXACT): Likewise.
44065 (FE_TONEAREST): Likewise.
44066 (FE_TOWARDZERO): Likewise.
44067 (FE_UPWARD): Likewise.
44068 (FE_DOWNWARD): Likewise.
44069 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44070 (FE_DIVBYZERO): Likewise.
44071 (FE_OVERFLOW): Likewise.
44072 (FE_UNDERFLOW): Likewise.
44073 (FE_INEXACT): Likewise.
44074 (FE_TONEAREST): Likewise.
44075 (FE_DOWNWARD): Likewise.
44076 (FE_UPWARD): Likewise.
44077 (FE_TOWARDZERO): Likewise.
44078
44079 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44080
44081 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44082
44083 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44084
44085 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44086 commands. Quote $PWD.
44087 (blacklist_exports): Don't use remove_newlines. Replace "declare
44088 -x" by "export".
44089 (remove_newlines): Remove.
44090
44091 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44092
44093 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44094 * stdlib/stdlib.h (atof): Moved to ...
44095 * include/bits/stdlib-float.h: Here. New file.
44096 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44097 * stdlib/bits/stdlib-float.h: New file.
44098 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44099 -mno-sse -mno-mmx.
44100 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44101 <xmmintrin.h>.
44102
44103 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44104
44105 * conform/conformtest.pl (@headers): Add fenv.h.
44106 * conform/data/fenv.h-data: New file.
44107 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44108 include of <math/fenv.h>.
44109
44110 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44111 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44112 && !UNIX98]. Enables tests for XOPEN2K8.
44113 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44114 POSIX2008]: Likewise.
44115
44116 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44117 (struct rusage): Do not expect type or its members.
44118
44119 [BZ #3439]
44120 * math/math.h (FP_NAN): Define macro to integer constant usable in
44121 #if and use that to give value to enum constant.
44122 (FP_INFINITE): Likewise.
44123 (FP_ZERO): Likewise.
44124 (FP_SUBNORMAL): Likewise.
44125 (FP_NORMAL): Likewise.
44126
44127 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44128
44129 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44130 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44131 arguments.
44132
44133 2012-11-02 Roland McGrath <roland@hack.frob.com>
44134
44135 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44136 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44137 autoconf-time if not.
44138 * configure.in: Remove AC_PREREQ.
44139
44140 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44141
44142 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44143 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44144 of the internal implementation.
44145
44146 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44147
44148 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44149 except include of <misc/sys/syslog.h>.
44150
44151 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44152
44153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44154 function returns with a NULL context exit with zero.
44155
44156 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44157
44158 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44159
44160 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44161
44162 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44163 (run_program_cmd): This.
44164 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44165 (tst_langinfo): New variable. Use it.
44166
44167 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44168
44169 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44170 floating point opcodes.
44171
44172 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44173
44174 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44175 variable.
44176
44177 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44178
44179 * sysdeps/mach/hurd/powerpc: Remove directory.
44180 * sysdeps/mach/powerpc: Likewise.
44181
44182 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44183
44184 * scripts/check-local-headers.sh: Ignore c++ headers.
44185
44186 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44187
44188 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44189 __libc_cleanup_region_start argument.
44190
44191 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44192
44193 [BZ #14784]
44194 [BZ #14785]
44195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44196 x * y using scaling, not as x * y + z.
44197 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44198 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44199 * math/libm-test.inc (fma_test): Add more tests.
44200 (fma_test_towardzero): Likewise.
44201 (fma_test_downward): Likewise.
44202 (fma_test_upward): Likewise.
44203
44204 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44205
44206 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44207
44208 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44209
44210 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44211 New variable.
44212
44213 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44214
44215 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44216
44217 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44218
44219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44220 Fix sort order.
44221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44222 Likewise.
44223
44224 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44225
44226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44227 Fix the order of the list for glibc 2.17.
44228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44229 Likewise.
44230
44231 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44232
44233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44234
44235 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44236
44237 [BZ #14610]
44238 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44239 for low part of x being zero before using __atanl (y).
44240 * math/libm-test.inc (atan2_test): Add another test.
44241
44242 * manual/install.texi (Configuring and compiling): Document
44243 general use of test-wrapper and test-wrapper-env.
44244 * INSTALL: Regenerated.
44245
44246 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44247 (__fma): Do not extract and scale down low bits on after-rounding
44248 systems when result rounded to normal precision would have normal
44249 exponent.
44250 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44251 (__fmal): Do not extract and scale down low bits on after-rounding
44252 systems when result rounded to normal precision would have normal
44253 exponent.
44254 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44255 (__fmal): Do not extract and scale down low bits on after-rounding
44256 systems when result rounded to normal precision would have normal
44257 exponent.
44258 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44259 macro.
44260 (fma_test): Add more tests.
44261 (fma_test_towardzero): Likewise.
44262 (fma_test_downward): Likewise.
44263 (fma_test_upward): Likewise.
44264
44265 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44266
44267 * sysdeps/i386/tininess.h: Renamed to ...
44268 * sysdeps/x86/tininess.h: This.
44269 * sysdeps/x86_64/tininess.h: Removed.
44270
44271 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44272
44273 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44274 input. Use $(build-program-cmd).
44275 ($(objpfx)tst-array1-static.out): Likewise.
44276 ($(objpfx)tst-array2.out): Likewise.
44277 ($(objpfx)tst-array3.out): Likewise.
44278 ($(objpfx)tst-array4.out): Likewise.
44279 ($(objpfx)tst-array5.out): Likewise.
44280 ($(objpfx)tst-array5-static.out): Likewise.
44281
44282 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44283
44284 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44285 if defined.
44286
44287 * nss/nsswitch.h (nss_interface_function): Provide new
44288 macro for use with NSS functions.
44289 * grp/initgroups.c: Use new macro.
44290 * nss/getXXbyYY.c: Likewise.
44291 * nss/getXXbyYY_r.c: Likewise.
44292 * nss/getXXent.c: Likewise.
44293 * nss/getXXent_r.c: Likewise.
44294 * sysdeps/posix/getaddrinfo.c: Likewise.
44295
44296 2012-10-30 Andreas Jaeger <aj@suse.de>
44297
44298 * po/ru.po: Update Russion translation from translation project.
44299
44300 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44301
44302 [BZ #14152]
44303 [BZ #14783]
44304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44305 result and shift together with sticky bit instead of replicating
44306 round-to-nearest rounding.
44307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44308 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44309 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44310 missing underflow exceptions.
44311 (fma_test_towardzero): Add more tests.
44312 (fma_test_downward): Likewise.
44313 (fma_test_upward): Likewise.
44314
44315 [BZ #14047]
44316 * sysdeps/generic/tininess.h: New file.
44317 * sysdeps/i386/tininess.h: Likewise.
44318 * sysdeps/sh/tininess.h: Likewise.
44319 * sysdeps/x86_64/tininess.h: Likewise.
44320 * stdlib/tst-strtod-underflow.c: Likewise.
44321 * stdlib/tst-tininess.c: Likewise.
44322 * stdlib/strtod_l.c: Include <tininess.h>.
44323 (round_and_return): Do not set errno for exact underflow cases.
44324 Force an underflow exception when setting errno for underflow.
44325 Determine underflow based on rounding to normal precision if
44326 TININESS_AFTER_ROUNDING.
44327 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44328 ERANGE for exact underflow cases.
44329 * stdlib/Makefile (tests): Add tst-tininess and
44330 tst-strtod-underflow.
44331 ($(objpfx)tst-tininess): Use $(link-libm).
44332 ($(objpfx)tst-strtod-underflow): Likewise.
44333
44334 2012-10-30 Andreas Jaeger <aj@suse.de>
44335
44336 [BZ#14767]
44337 * elf/Makefile (tests): Remove conditional for have-initfini-array
44338 since this is now always required and the variable does not exist
44339 anymore.
44340 (tests-static): Likewise.
44341 (modules-names): Likewise.
44342
44343 * po/eo.po: Add Esperanto translation from translation project.
44344
44345 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44346 merged with constructor/destructor.
44347 (init_array): Likewise.
44348 * elf/tst-array2dep.c (fini_array): Likewise.
44349 (init_array): Likewise.
44350
44351 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44352
44353 * manual/message.texi: Delete @cartouche tags.
44354
44355 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44356
44357 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44358 EOPNOTSUPP.
44359 * sysdeps/mach/hurd/fsync.c: Likewise.
44360
44361 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44362 [_POSIX_REALTIME_SIGNALS]: Change condition to
44363 [_POSIX_REALTIME_SIGNALS > 0].
44364
44365 2012-10-27 Andreas Jaeger <aj@suse.de>
44366
44367 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44368 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44370 [__WORDSIZE != 64]: Likewise.
44371
44372 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44373
44374 * iconvdata/tst-table.sh: Remove ${SHELL}.
44375 * iconvdata/tst-tables.sh: Likewise.
44376
44377 2012-10-25 David S. Miller <davem@davemloft.net>
44378
44379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44380 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44381 of strtoull.
44382
44383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44384 ifunc-impl-list.c
44385 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44386 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44387 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44388 file.
44389
44390 2012-10-25 Roland McGrath <roland@hack.frob.com>
44391
44392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44393 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44394 __getdirentries.
44395
44396 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44397 Jim Blandy <jimb@codesourcery.com>
44398
44399 * scripts/cross-test-ssh.sh: New file.
44400 * manual/install.texi (Configuring and compiling): Document use of
44401 cross-test-ssh.sh.
44402 * INSTALL: Regenerated.
44403
44404 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44405
44406 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44407 EOPNOTSUPP.
44408
44409 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44410
44411 * Makeconfig (run-program-prefix): Fix comment.
44412
44413 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44414 Jim Blandy <jimb@codesourcery.com>
44415
44416 * Makeconfig (test-wrapper): New variable,
44417 (test-wrapper-env): Likewise.
44418 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44419 (run-built-tests): Define to yes.
44420 (run-program-prefix): Use $(test-wrapper).
44421 (built-program-cmd): Likewise.
44422 * Rules (make-test-out): Use $(test-wrapper-env) and
44423 $(host-built-program-cmd).
44424 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44425 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44426 tst-pathopt.sh.
44427 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44428 $(test-wrapper-env) to tst-rtld-load-self.sh.
44429 ($(objpfx)order2.out): Use $(test-wrapper).
44430 ($(objpfx)tst-initorder.out): Likewise.
44431 ($(objpfx)tst-initorder2.out): Likewise.
44432 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44433 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44434 (test_wrapper_env): New variable. Use it to run ld.so.
44435 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44436 Use it to run ld.so.
44437 (test_wrapper_env): Likewise.
44438 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44439 $(test-wrapper) to run-iconv-test.sh.
44440 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44441 (ICONV): Use $test_wrapper.
44442 * posix/Makefile ($(objpfx)globtest.out): Pass
44443 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44444 globtest.sh, not $(run-program-prefix).
44445 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44446 (test_wrapper): Likewise.
44447 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44448 set together with run_via_rtld_prefix.
44449 (run_program_prefix): Define in terms of test_wrapper and
44450 run_via_rtld_prefix.
44451
44452 2012-10-24 Roland McGrath <roland@hack.frob.com>
44453
44454 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44455 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44456 Targets removed.
44457
44458 [BZ #14743]
44459 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44460 Declare __clock_getres, __clock_gettime, __clock_settime,
44461 __clock_nanosleep, and __clock_getcpuclockid.
44462 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44463 Remove librt_hidden_def (clock_gettime).
44464 * sysdeps/unix/clock_gettime.c: Likewise.
44465 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44466 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44467 * rt/clock_getres.c: Define __clock_getres as an alias.
44468 * sysdeps/posix/clock_getres.c: Likewise.
44469 * rt/clock_settime.c: Define __clock_settime as an alias.
44470 * sysdeps/unix/clock_settime.c: Likewise.
44471 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44472 * sysdeps/unix/clock_nanosleep.c: Likewise.
44473 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44474 * rt/clock-compat.c: New file.
44475 * rt/Makefile (librt-routines): Add clock-compat and move
44476 $(clock-routines) to ...
44477 (routines): ... here, new variable.
44478 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44479 Don't add get_clockfreq here.
44480 * rt/Versions (libc: GLIBC_2.17): New version set.
44481 Add clock_* symbols here.
44482 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44483 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44484 (GLIBC_2.17): Add clock_* symbols.
44485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44489 Likewise.
44490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44491 Likewise.
44492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44496 * NEWS: Mention the move.
44497
44498 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44499 Use __open, __read, __close rather than their public counterparts.
44500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44501 (__get_clockfreq_via_cpuinfo): Likewise.
44502 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44503 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44504
44505 * config.h.in (HAVE_IFUNC): New #undef.
44506 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44507 was successful.
44508 * configure: Regenerated.
44509
44510 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44511
44512 * configure.in: Move READELF check to start of file.
44513 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44514 libc_cv_asm_gnu_indirect_function in the process.
44515 * configure: Regenerated.
44516
44517 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44518
44519 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44520 send the output to /dev/null.
44521 (libc_cv_cc_with_libunwind): Likewise.
44522 (libc_cv_as_noexecstack): Likewise.
44523 * configure: Regenerate.
44524
44525 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44526
44527 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44528
44529 * posix/globtest.sh (TMPDIR): Do not set.
44530 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44531 (testout): Likewise.
44532
44533 2012-10-24 Andreas Jaeger <aj@suse.de>
44534
44535 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44536 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44537 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44538 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44539 posix_fadvise64, posix_fallocate64.
44540
44541 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44542 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44543 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44544 Likewise.
44545 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44546 Likewise.
44547 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44548
44549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44550 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44551 <bits/fcntl-linux.h>.
44552 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44553
44554 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44555 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44556 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44557 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44558 [__WORDSIZE != 64]: Likewise.
44559
44560 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44561
44562 * Makeconfig (run-built-tests): New variable.
44563 * Rules [$(cross-compiling) = yes]: Change condition to
44564 [$(run-built-tests) = no].
44565 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44566 to [$(run-built-tests) = yes].
44567 * elf/Makefile [$(cross-compiling) = no]: Likewise
44568 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44569 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44570 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44571 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44572 * io/Makefile [$(cross-compiling) = no]: Likewise.
44573 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44574 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44575 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44576 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44577 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44578 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44579 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44580 * string/Makefile [$(cross-compiling) = no]: Likewise.
44581
44582 * posix/Makefile ($(objpfx)globtest.out): Pass
44583 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44584 $(rtld-installed-name).
44585 * posix/globtest.sh (elf_objpfx): Remove variable.
44586 (rtld_installed_name): Likewise.
44587 (library_path): Likewise.
44588 (run_program_prefix): New variable. Use for running globtest
44589 binary.
44590
44591 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44592 Joseph Myers <joseph@codesourcery.com>
44593
44594 * Makeconfig (host-built-program-cmd): New variable.
44595 * elf/Makefile (tst-stackguard1-ARGS): Use
44596 $(host-built-program-cmd).
44597 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44598 (tst-spawn-ARGS): Likewise.
44599 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44600
44601 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44602 Jim Blandy <jimb@codesourcery.com>
44603
44604 * Makeconfig (run-via-rtld-prefix): New variable.
44605 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44606 (built-program-cmd): Likewise.
44607
44608 2012-10-22 Andreas Jaeger <aj@suse.de>
44609
44610 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44611 __O_RSYNC if it exists, otherwise to O_SYNC.
44612
44613 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44614 Joseph Myers <joseph@codesourcery.com>
44615
44616 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44617 /dev/null.
44618 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44619 from /dev/null
44620 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44621 /dev/null.
44622
44623 2012-10-22 Andreas Jaeger <aj@suse.de>
44624
44625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44626 Define always.
44627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44628
44629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44630 bits/fcntl-linux.h.
44631
44632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44633 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44634
44635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44636 to __O_LARGEFILE.
44637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44638 to __O_LARGEFILE.
44639
44640 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44641 Joseph Myers <joseph@codesourcery.com>
44642
44643 * config.make.in (NM): New variable.
44644
44645 2012-10-21 Andreas Jaeger <aj@suse.de>
44646
44647 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44648 definitions and declarations that are provided by
44649 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44650
44651 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44652
44653 [BZ #14683]
44654 * elf/Makefile (tests-static): Add tst-leaks1-static.
44655 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44656 ($(objpfx)tst-leaks1-static): New rule.
44657 ($(objpfx)tst-leaks1-static-mem): Likewise.
44658 (tst-leaks1-static-ENV): New macro.
44659 * elf/dl-open.c (dl_open_worker): Check the main application
44660 only if SHARED is defined.
44661 * elf/tst-leaks1-static.c: New file.
44662
44663 2012-10-20 Andreas Jaeger <aj@suse.de>
44664
44665 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44666 generic values for Linux.
44667 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44668 and declarations that are provided by <bits/fcntl-linux.h> and
44669 include <bits/fcntl-linux.h>.
44670 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44672
44673 2012-10-20 Roland McGrath <roland@hack.frob.com>
44674
44675 * io/fcntl.h: Move include of <bits/types.h> to the top and
44676 include it unconditionally.
44677
44678 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44679
44680 * wcsmbs/Makefile (tests-ifunc): New variable.
44681 (tests): Add $(tests-ifunc).
44682 * wcsmbs/test-wcschr-ifunc.c: New file.
44683 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44684 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44685 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44686 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44687 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44688
44689 * string/Makefile (tests-ifunc): New variable.
44690 (tests): Add $(tests-ifunc).
44691 * string/test-memccpy.c (TEST_NAME): New macro.
44692 * string/test-memchr.c (TEST_NAME): Likewise.
44693 * string/test-memcmp.c (TEST_NAME): Likewise.
44694 * string/test-memcpy.c (TEST_NAME): Likewise.
44695 * string/test-memmem.c (TEST_NAME): Likewise.
44696 * string/test-memmove.c (TEST_NAME): Likewise.
44697 * string/test-memset.c (TEST_NAME): Likewise.
44698 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44699 * string/test-stpcpy.c (TEST_NAME): Likewise.
44700 * string/test-stpncpy.c (TEST_NAME): Likewise.
44701 * string/test-strcasecmp.c (TEST_NAME): Likewise.
44702 * string/test-strcasestr.c (TEST_NAME): Likewise.
44703 * string/test-strcat.c (TEST_NAME): Likewise.
44704 * string/test-strchr.c (TEST_NAME): Likewise.
44705 * string/test-strcmp.c(TEST_NAME): Likewise.
44706 * string/test-strcpy.c (TEST_NAME): Likewise.
44707 * string/test-strcspn.c (TEST_NAME): Likewise.
44708 * string/test-strlen.c (TEST_NAME): Likewise.
44709 * string/test-strncasecmp.c (TEST_NAME): Likewise.
44710 * string/test-strncmp.c (TEST_NAME): Likewise.
44711 * string/test-strncpy.c (TEST_NAME): Likewise.
44712 * string/test-strnlen.c (TEST_NAME): Likewise.
44713 * string/test-strpbrk.c (TEST_NAME): Likewise.
44714 * string/test-strrchr.c (TEST_NAME): Likewise.
44715 * string/test-strspn.c (TEST_NAME): Likewise.
44716 * string/test-strstr.c (TEST_NAME): Likewise.
44717 * string/test-bcopy-ifunc.c: New file.
44718 * string/test-bzero-ifunc.c: Likewise.
44719 * string/test-memccpy-ifunc.c: Likewise.
44720 * string/test-memchr-ifunc.c: Likewise.
44721 * string/test-memcmp-ifunc.c: Likewise.
44722 * string/test-memcpy-ifunc.c: Likewise.
44723 * string/test-memmem-ifunc.c: Likewise.
44724 * string/test-memmove-ifunc.c: Likewise.
44725 * string/test-mempcpy-ifunc.c: Likewise.
44726 * string/test-memset-ifunc.c: Likewise.
44727 * string/test-rawmemchr-ifunc.c: Likewise.
44728 * string/test-stpcpy-ifunc.c: Likewise.
44729 * string/test-stpncpy-ifunc.c: Likewise.
44730 * string/test-strcasecmp-ifunc.c: Likewise.
44731 * string/test-strcasestr-ifunc.c: Likewise.
44732 * string/test-strcat-ifunc.c: Likewise.
44733 * string/test-strchr-ifunc.c: Likewise.
44734 * string/test-strchrnul-ifunc.c: Likewise.
44735 * string/test-strcmp-ifunc.c: Likewise.
44736 * string/test-strcpy-ifunc.c: Likewise.
44737 * string/test-strcspn-ifunc.c: Likewise.
44738 * string/test-strlen-ifunc.c: Likewise.
44739 * string/test-strncasecmp-ifunc.c: Likewise.
44740 * string/test-strncat-ifunc.c: Likewise.
44741 * string/test-strncmp-ifunc.c: Likewise.
44742 * string/test-strncpy-ifunc.c: Likewise.
44743 * string/test-strnlen-ifunc.c: Likewise.
44744 * string/test-strpbrk-ifunc.c: Likewise.
44745 * string/test-strrchr-ifunc.c: Likewise.
44746 * string/test-strspn-ifunc.c: Likewise.
44747 * string/test-strstr-ifunc.c: Likewise.
44748
44749 * debug/Makefile (tests-ifunc): New variable.
44750 (tests): Add $(tests-ifunc).
44751 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44752 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44753 * debug/test-stpcpy_chk-ifunc.c: New file.
44754 * debug/test-strcpy_chk-ifunc.c: Likewise.
44755
44756 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
44757
44758 [BZ #13601]
44759 * elf/dl-load.c (open_verify): Retry read if the entire ELF
44760 header is not read in.
44761
44762 2012-10-19 Joseph Myers <joseph@codesourcery.com>
44763
44764 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
44765 script to $(SHELL) as $<. Pass $(common-objpfx) to script
44766 directly. Pass built executable to script as
44767 $(built-program-cmd).
44768 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
44769 $testprogram without using LD_LIBRARY_PATH and $ldso.
44770
44771 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44772 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44773 $(rtld-installed-name).
44774 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44775 (rtld_installed_name): Likewise.
44776 (library_path): Likewise.
44777 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
44778 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44779 $(run-program-prefix) to tst-tables.sh.
44780 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
44781 it to run tst-table-from and tst-table-to.
44782 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44783 Pass it to tst-table.sh.
44784 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44785 $(run-program-prefix) to tst-gettext.sh.
44786 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44787 tst-translit.sh.
44788 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44789 tst-gettext2.sh.
44790 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
44791 to run tst-gettext.
44792 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
44793 to run tst-gettext2.
44794 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
44795 to run tst-translit.
44796 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44797 $(run-program-prefix) to tst-mtrace.sh.
44798 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
44799 to run tst-mtrace.
44800 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44801 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44802 $(rtld-installed-name).
44803 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44804 (rtld_installed_name): Likewise.
44805 (run_program_prefix): New variable. Use it to run wordexp-test.
44806
44807 * Makeconfig (ARCH): Remove all definitions.
44808 (machine): Likewise.
44809 [ARCH]: Remove conditional code.
44810 [!objdir]: Give error.
44811 [!objdir] (objpfx): Remove.
44812 [!objdir] (common-objpfx): Likewise.
44813 [!objdir] (common-objdir): Likewise.
44814 * configure.in (config_makefile): Remove. Hardcode Makefile in
44815 AC_CONFIG_FILES call.
44816 * configure: Regenerated.
44817
44818 [BZ #13888]
44819 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44820 or TMPDIR.
44821 (testout): Likewise.
44822
44823 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44824 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44825 $(rtld-installed-name).
44826 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44827 (rtld_installed_name): Likwise.
44828 (runit): Remove function.
44829 (run_getconf): New variable, Use it for running getconf binary.
44830
44831 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
44832
44833 [BZ #14716]
44834 * string/test-memmem.c (check_result): New function.
44835 (do_one_test): Use it.
44836 (check1): New function.
44837 (test_main): Use it.
44838
44839 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
44840
44841 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44842
44843 2012-10-18 Joseph Myers <joseph@codesourcery.com>
44844
44845 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44846 (_G_LSEEK64): Likewise.
44847 (_G_MMAP64): Likewise.
44848 (_G_FSTAT64): Likewise.
44849 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44850 (_G_LSEEK64): Likewise.
44851 (_G_MMAP64): Likewise.
44852 (_G_FSTAT64): Likewise.
44853 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44854 unconditional. Call __mmap64 directly.
44855 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44856 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
44857 __lseek64 directly.
44858 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44859 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
44860 __mmap64 directly.
44861 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44862 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
44863 __lseek64 directly.
44864 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44865 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
44866 __lseek64 directly.
44867 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44868 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
44869 __lseek64 directly.
44870 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44871 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
44872 __fxstat64 directly.
44873 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44874 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44875 unconditional.
44876 (freopen64) [!_G_OPEN64]: Remove conditional code.
44877 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44878 unconditional.
44879 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44880 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44881 unconditional.
44882 (ftello64) [!_G_LSEEK64]: Remove conditional code.
44883 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44884 unconditional.
44885 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44886 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44887 unconditional.
44888 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44889 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44890 unconditional.
44891 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44892 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44893 unconditional.
44894 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44895 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44896 unconditional.
44897 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44898
44899 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
44900
44901 [BZ #12140]
44902 * manual/memory.texi (Malloc Tunable Parameters): Add note
44903 about free list pointers overwriting some perturb bytes.
44904 Wording suggested by Roland McGrath.
44905
44906 2012-10-17 Joseph Myers <joseph@codesourcery.com>
44907
44908 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
44909 (lgamma_test): Likewise.
44910 (tgamma_test): Likewise.
44911
44912 2012-10-16 Florian Weimer <fweimer@redhat.com>
44913
44914 [BZ #14700]
44915 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
44916 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
44917
44918 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
44919
44920 * NEWS: Mention BZ #14716.
44921 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
44922 when removing AVAILABLE1_USES_J macro.
44923
44924 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
44925
44926 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
44927 (__bswap_64): __uint64_t for unsigned 64-bit int.
44928
44929 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
44930
44931 * include/string.h (memmem): Declare libc hidden alias.
44932 * string/memmem.c (memmem): Define libc hidden alias.
44933 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
44934 __read, __close instead of open, read, close.
44935
44936 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
44937
44938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
44939 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
44940 global and hidden.
44941 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
44942 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
44943 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
44944 Likewise.
44945 (__rawmemchr_sse2): Likewise.
44946 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
44947 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
44948 (__strchr_sse2): Likewise.
44949 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
44950 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
44951 (__strcasecmp_sse2): Likewise.
44952 (__strncasecmp_sse2): Likewise.
44953 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
44954 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
44955 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
44956 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
44957 (__strrchr_sse2): Likewise.
44958 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
44959 ifunc-impl-list.c.
44960 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44961 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
44962 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
44963 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44964 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
44965 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
44966 * sysdeps/x86_64/multiarch/memset.S: Likewise.
44967 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44968 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
44969 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
44970 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
44971 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
44972 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
44973 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
44974 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
44975 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
44976 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
44977 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
44978 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44979 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
44980 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
44981 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
44982 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
44983 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44984 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
44985 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44986 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
44987 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44988 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
44989 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
44990
44991 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
44992 global and hidden.
44993 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
44994 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
44995 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
44996 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
44997 Likewise.
44998 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
44999 Likewise.
45000 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45001 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45002 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45003 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45004 ifunc-impl-list.c.
45005 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45006 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45007 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45008 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45009 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45010 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45011 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45012 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45013 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45014 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45015 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45016 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45017 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45018 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45019 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45020 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45021 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45022 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45023 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45024 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45025 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45026 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45027 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45028 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45029 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45030 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45031 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45032 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45033 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45034 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45035 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45036 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45037 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45038 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45039 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45040 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45041 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45042 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45043 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45044 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45045 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45046
45047 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45048 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45049 * include/ifunc-impl-list.h: New file.
45050 * misc/ifunc-impl-list.c: Likewise.
45051 * misc/Makefile (routines): Add ifunc-impl-list.
45052 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45053 * string/test-string.h: Include <ifunc-impl-list.h>.
45054 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45055 TEST_NAME]: New variables.
45056 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45057 are defined.
45058 (test_init): Call __libc_ifunc_impl_list to initialize
45059 func_list if TEST_IFUNC and TEST_NAME are defined.
45060
45061 * string/Makefile (strop-tests): Add bcopy and bzero.
45062 * string/test-bcopy.c: New file.
45063 * string/test-bzero.c: Likewise.
45064 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45065 defined.
45066 * string/test-memset.c: Support bzero test if TEST_BZERO is
45067 defined.
45068 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45069 __libc_memmove.
45070 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45071 __libc_memset.
45072 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45073 of memset.
45074
45075 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45076
45077 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45078 * configure: Regenerated.
45079
45080 * Makeconfig (+link-static-before-libc): Don't include
45081 $(link-static-libc).
45082
45083 * libio/libio.h (_IO_pos_t): Remove.
45084
45085 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45086
45087 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45088 McGrath.
45089
45090 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45091
45092 * crypt/crypt-entry.c: Include fips-private.h.
45093 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45094 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45095 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45096 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45097
45098 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45099
45100 * crypt/crypt-private.h: Include stdbool.h.
45101 (_ufc_setup_salt_r): Return bool.
45102 * crypt/crypt-entry.c: Include errno.h.
45103 (__crypt_r): Return NULL with EINVAL for bad salt.
45104 * crypt/crypt_util.c (bad_for_salt): New.
45105 (_ufc_setup_salt_r): Check that salt is long enough and within
45106 the specified alphabet.
45107 * crypt/badsalttest.c: New file.
45108 * crypt/Makefile (tests): Add it.
45109 ($(objpfx)badsalttest): New.
45110
45111 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45112
45113 * NEWS: Add entry for BZ #14602.
45114
45115 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45116
45117 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45118 type-generic.
45119 * math/libm-test.inc: Update comment listing what functions and
45120 macros are tested.
45121 (isgreater_test): New function.
45122 (isgreaterequal_test): Likewise.
45123 (isless_test): Likewise.
45124 (islessequal_test): Likewise.
45125 (islessgreater_test): Likewise.
45126 (isunordered_test): Likewise.
45127 (main): Call the new functions.
45128
45129 2012-10-09 Roland McGrath <roland@hack.frob.com>
45130
45131 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45132 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45133 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45134 * sysdeps/i386/configure: Regenerated.
45135 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45136 * sysdeps/mach/configure: Regenerated.
45137 * sysdeps/mach/hurd/configure: Regenerated.
45138 * sysdeps/powerpc/configure: Regenerated.
45139 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45140 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45141 * sysdeps/s390/s390-32/configure: Regenerated.
45142 * sysdeps/s390/s390-64/configure: Regenerated.
45143 * sysdeps/sh/configure: Regenerated.
45144 * sysdeps/sparc/configure: Regenerated.
45145 * sysdeps/unix/sysv/linux/configure: Regenerated.
45146 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45147 * sysdeps/x86_64/configure: Regenerated.
45148
45149 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45150 defined. Don't check if MAP is NULL.
45151
45152 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45153
45154 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45155 (_G_stat64): Likewise.
45156 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45157 (_G_stat64): Likewise.
45158 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45159 instead of struct _G_stat64.
45160 * libio/fileops.c (mmap_remap_check): Likewise.
45161 (decide_maybe_mmap): Likewise.
45162 (_IO_new_file_seekoff): Likewise.
45163 (_IO_file_stat): Likewise.
45164 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45165 _G_off64_t.
45166 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45167 instead of struct _G_stat64.
45168 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45169
45170 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45171
45172 [BZ #14602]
45173 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45174 Replace with ...
45175 (CHECK_EOL): New macro.
45176 (two_way_short_needle): Check beginning of haystack for EOL. Use
45177 CHECK_EOL.
45178 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45179 Replace with CHECK_EOL.
45180 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45181 Replace with CHECK_EOL.
45182
45183 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45184
45185 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45186 type-generic.
45187 * math/libm-test.inc: Update comment listing what functions and
45188 macros are tested.
45189 (finite_test): New function.
45190 (isinf_test): Likewise.
45191 (isnan_test): Likewise.
45192 (fpclassify_test): Test subnormal input.
45193 (isfinite_test): Likewise.
45194 (isnormal_test): Likewise.
45195 (main): Call the new functions.
45196
45197 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45198
45199 [BZ #14660]
45200 * Makerules (%.dynsym): Force C locale when running
45201 $(OBJDUMP) --dynamic-syms.
45202
45203 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45204
45205 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45206 <stdint.h>.
45207
45208 2012-10-06 David S. Miller <davem@davemloft.net>
45209
45210 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45211 upper 32-bits of the length value in %o2 since we use branch-on-register
45212 tests which consider the entire 64-bit register.
45213
45214 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45215
45216 * string/test-strstr.c (check2): Add a test for page boundary.
45217
45218 2012-10-05 David S. Miller <davem@davemloft.net>
45219
45220 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45221 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45222 file.
45223 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45224 sysdep_routines.
45225 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45226 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45227 and bzero when HWCAP_SPARC_CRYPTO is present.
45228
45229 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45230
45231 [BZ #14602]
45232 * string/test-strstr.c (check2): New function.
45233 (test_main): Call check2.
45234
45235 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45236 and bug-strchr1.
45237 * string/bug-strcasestr1.c (do_test): Moved to ...
45238 * string/test-strcasestr.c (check1): Here. New function.
45239 (do_one_test): Break out result checking code into ...
45240 (check_result): This. New function.
45241 (do_one_test): Call check_result.
45242 (test_main): Call check1.
45243 * string/bug-strchr1.c (do_test): Moved to ...
45244 * string/test-strchr.c (check1): Here. New function.
45245 (do_one_test): Break out result checking code into ...
45246 (check_result): This. New function.
45247 (do_one_test): Call check_result.
45248 (test_main): Call check1.
45249 * string/bug-strstr1.c (main): Moved to ...
45250 * string/test-strstr.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-strcasestr1.c: Removed.
45256 * string/bug-strchr1.c: Likewise.
45257 * string/bug-strstr1.c: Likewise.
45258
45259 * elf/Makefile (dl-routines): Add hwcaps.
45260 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45261 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45262 (_dl_important_hwcaps): Moved to ...
45263 * elf/dl-hwcaps.c: Here. New file.
45264 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45265
45266 [BZ #14557]
45267 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45268 if IS_IN_rtld isn't defined.
45269
45270 * elf/dl-support.c (_dl_sysinfo_map): New.
45271 Include "get-dynamic-info.h" and "setup-vdso.h".
45272 (_dl_non_dynamic_init): Call setup_vdso.
45273 * elf/dynamic-link.h: Don't include <assert.h>.
45274 (elf_get_dynamic_info): Moved to ...
45275 * elf/get-dynamic-info.h: Here. New file.
45276 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45277 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45278 * elf/setup-vdso.h: Here. New file.
45279 * elf/rtld.c: Include "setup-vdso.h".
45280 (dl_main): Call setup_vdso.
45281
45282 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45283
45284 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45285 creal in comment listing functions tested. List finite, isinf,
45286 isnan, isless, islessequal, isgreater, isgreaterequal,
45287 islessgreater, isunordered, lgamma_r and pow10 as functions and
45288 macros not tested. Mention which functions not tested are aliases
45289 for other functions. Fix typo. Note that signs of NaNs are not
45290 tested.
45291
45292 * scripts/config.guess: Update from config.git.
45293 * scripts/config.sub: Likewise.
45294
45295 2012-10-04 Roland McGrath <roland@hack.frob.com>
45296
45297 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45298 * misc/madvise.c (madvise): Renamed to __madvise.
45299 Make madvise a weak alias.
45300 * include/sys/mman.h: Declare __madvise.
45301 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45302 * sysdeps/unix/syscalls.list
45303 (madvise): Make __madvise the strong name, and madvise a weak alias.
45304 * sysdeps/unix/sysv/linux/syscalls.list
45305 (madvise, mmap): Remove redundant entries.
45306 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45307 * malloc/malloc.c (mtrim): Likewise.
45308 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45309
45310 2012-10-03 Roland McGrath <roland@hack.frob.com>
45311
45312 * sysdeps/mach/hurd/dl-cache.c: File removed.
45313 * config.h.in (USE_LDCONFIG): New #undef.
45314 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45315 * configure: Regenerated.
45316 * elf/Makefile (dl-routines): Add dl-cache only under
45317 [$(use-ldconfig) = yes].
45318 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45319 cache on [USE_LDCONFIG].
45320 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45321 [USE_LDCONFIG].
45322 * elf/rtld.c (dl_main): Likewise.
45323
45324 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45325
45326 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45327 _SC_LEVEL4_CACHE_LINESIZE.
45328
45329 2012-10-03 Roland McGrath <roland@hack.frob.com>
45330
45331 * sysdeps/unix/bsd/confstr.h: File removed.
45332
45333 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45334
45335 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45336 sys/sdt-config.h.
45337
45338 2012-10-02 Roland McGrath <roland@hack.frob.com>
45339
45340 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45341 Make 'mapoff' field ElfW(Off) rather than off_t.
45342
45343 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45344
45345 * nscd/Makefile: Remove nscd-cflags and all its users.
45346 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45347 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45348
45349 [BZ #10631]
45350 * malloc.c (malloc_printerr): Clarify error message.
45351
45352 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45353
45354 [BZ #14648]
45355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45356 Set bit_FMA_Usable if FMA is supported.
45357 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45358 macro.
45359 (bit_FMA4_Usable): Updated.
45360 (index_FMA_Usable): New macro.
45361 (CPUID_FMA): Likewise
45362 (HAS_FMA): Defined with bit_FMA_Usable.
45363
45364 2012-10-01 Roland McGrath <roland@hack.frob.com>
45365
45366 * bits/types.h (__swblk_t): Type removed.
45367 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45368 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45370 (__SWBLK_T_TYPE): Likewise.
45371 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45372 (__SWBLK_T_TYPE): Likewise.
45373 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45374 (__SWBLK_T_TYPE): Likewise.
45375 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45376 (__SWBLK_T_TYPE): Likewise.
45377
45378 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45379 Honza Horak <hhorak@redhat.com>
45380
45381 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45382 (xdr_mapname): Use YPMAXMAP as maxsize.
45383 (xdr_peername): Use YPMAXPEER as maxsize.
45384 (xdr_keydat): Use YPAXRECORD as maxsize.
45385 (xdr_valdat): Use YPMAXRECORD as maxsize.
45386
45387 2012-10-01 Roland McGrath <roland@hack.frob.com>
45388
45389 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45390
45391 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45392 * csu/init-first.c: ... here.
45393 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45394 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45395 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45396 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45397 * sysdeps/i386/init-first.c: File removed.
45398 * sysdeps/sh/init-first.c: File removed.
45399
45400 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45401
45402 [BZ #14645]
45403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45404 if x * y might underflow to zero and z is zero.
45405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45406 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45407 * math/libm-test.inc (min_subnorm_value): New variable.
45408 (fma_test): Add more tests.
45409 (fma_test_towardzero): Likewise.
45410 (fma_test_downward): Likewise
45411 (fma_test_upward): Likewise.
45412 (initialize): Set min_subnorm_value.
45413
45414 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45415
45416 [BZ #14638]
45417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45418 0 + 0.
45419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45420 mode for addition resulting in exact zero.
45421 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45423 exact 0 + 0.
45424 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45426 * math/libm-test.inc (fma_test): Add more tests.
45427 (fma_test_towardzero): New function.
45428 (fma_test_downward): Likewise.
45429 (fma_test_upward): Likewise.
45430 (main): Call the new functions.
45431
45432 2012-09-28 David S. Miller <davem@davemloft.net>
45433
45434 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45435
45436 2012-09-28 Roland McGrath <roland@hack.frob.com>
45437
45438 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45439 instead of SIGALRM.
45440
45441 * sysdeps/gnu/_G_config.h: Moved to ...
45442 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45443 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45444 * sysdeps/generic/_G_config.h: ... here.
45445
45446 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45447
45448 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45449
45450 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45451 Conditionalize target on [libnss_test1.so-version].
45452
45453 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45454
45455 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45456 (elfobjdir): Move out of conditionals.
45457
45458 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45459 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45460 (__nss_lookup_function): Conditionalize label remove_from_tree on
45461 [!DO_STATIC_NSS || SHARED], matching its only use.
45462
45463 2012-09-28 David S. Miller <davem@davemloft.net>
45464
45465 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45466 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45467 file.
45468 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45469 sysdep_routines.
45470 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45472 when HWCAP_SPARC_CRYPTO is present.
45473
45474 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45475
45476 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45477
45478 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45479
45480 [BZ #6530]
45481 * stdio-common/vfprintf.c (process_string_arg): Revert
45482 2000-07-22 change.
45483
45484 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45485
45486 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45487 for testcase.
45488 * stdio-common/tst-sprintf.c: Include <locale.h>
45489 (main): Test sprintf's handling of incomplete multibyte
45490 characters.
45491
45492 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45493
45494 * elf/dl-runtime.c (VERSYMIDX): Removed.
45495 * elf/dl-version.c (VERSYMIDX): Likewise.
45496 * elf/do-rel.h (VERSYMIDX): Likewise.
45497 (VALIDX): Likewise.
45498 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45499 * elf/rtld.c (VALIDX): Likewise.
45500 (ADDRIDX): Likewise.
45501 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45502 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45503 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45504 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45505 (VALIDX): Likewise.
45506 (ADDRIDX): Likewise.
45507
45508 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45509
45510 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45511
45512 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45513
45514 [BZ #11438]
45515 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45516 to global scope.
45517 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45518 addresses are in the same scope as 192.0.2/24.
45519 * posix/gai.conf: Document new scope table defaults.
45520
45521 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45522
45523 [BZ #5298]
45524 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45525 for ftell. Compute offsets from write pointers instead.
45526 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45527
45528 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45529
45530 [BZ #14543]
45531 * libio/Makefile (tests): New test case tst-fseek.
45532 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45533 combination works in wide mode.
45534 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45535 state when the external buffer state changes.
45536
45537 2012-09-27 David S. Miller <davem@davemloft.net>
45538
45539 [BZ #14376]
45540 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45541 pass reloc->r_addend in as the 'high' argument to
45542 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45543
45544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45545
45546 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45547
45548 * rt/tst-aio2.c: Include <pthread.h>.
45549 * rt/tst-aio3.c: Likewise.
45550
45551 2012-09-27 Steve Ellcey <sellcey@mips.com>
45552
45553 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45554
45555 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45556
45557 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45558 contents on [SHARED].
45559
45560 2012-09-26 Marek Polacek <polacek@redhat.com>
45561
45562 [BZ #14530]
45563 [BZ #13741]
45564 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45565 for C++ and GCC <4.3 as well as for non GCC compilers.
45566
45567 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45568
45569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45570
45571 2012-09-25 Roland McGrath <roland@hack.frob.com>
45572
45573 * Makefile.in (all, install): Declare with .PHONY.
45574 Reported by Michael Hope <michael.hope@linaro.org>.
45575
45576 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45577
45578 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45579 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45580 system header.
45581 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45582 Likewise.
45583 (sydep_routines): Add the new and the internal functions.
45584 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45585 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45587 (GLIBC_2.17): Add the new function.
45588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45589 (GLIBC_2.17): Likewise.
45590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45591 (GLIBC_2.17): Likewise.
45592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45593 (GLIBC_2.17): Likewise.
45594 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45595
45596 2012-09-25 Alan Modra <amodra@gmail.com>
45597
45598 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45599 Add release barrier before setting once_control to say
45600 initialisation is done. Add hints on lwarx. Use macro in
45601 place of isync.
45602 (clear_once_control): Add release barrier.
45603
45604 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45605
45606 [BZ #13629]
45607 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45608 specially.
45609 * math/s_clog10.c (__clog10): Likewise.
45610 * math/s_clog10f.c (__clog10f): Likewise.
45611 * math/s_clog10l.c (__clog10l): Likewise.
45612 * math/s_clogf.c (__clogf): Likewise.
45613 * math/s_clogl.c (__clogl): Likewise.
45614 * math/Makefile (libm-calls): Add x2y2m1.
45615 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45616 (__x2y2m1): Likewise.
45617 (__x2y2m1l): Likewise.
45618 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45619 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45620 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45621 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45622 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45623 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45624 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45625 * sysdeps/i386/fpu/libm-test-ulps: Update.
45626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45627
45628 [BZ #14621]
45629 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45630 int as type of variable DEPTH.
45631 (glob): Use size_t instead of int as type of variables NEWCOUNT
45632 and OLD_PATHC.
45633
45634 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45635
45636 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45637 Add s_sincosf-sse2.
45638 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45639 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45640 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45641 macros for using routine as __sincosf_ia32.
45642 Use macro for function declaration and weak_alias.
45643 * sysdeps/i386/fpu/libm-test-ulps: Update.
45644
45645 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45647
45648 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45649 subnormal argument.
45650 * math/s_cexpf.c (__cexpf): Likewise.
45651 * math/s_csinf.c (__csinf): Likewise.
45652 * math/s_csinhf.c (__csinhf): Likewise.
45653 * math/s_ctanf.c (__ctanf): Likewise.
45654 * math/s_ctanhf.c (__ctanhf): Likewise.
45655 * math/s_ccosh.c (__ccoshf): Likewise.
45656 * math/s_cexp.c (__cexpl): Likewise.
45657 * math/s_csin.c (__csin): Likewise.
45658 * math/s_csinh.c (__csinh): Likewise.
45659 * math/s_ctan.c (__ctan): Likewise.
45660 * math/s_ctanh.c (ctanh): Likewise.
45661 * math/s_ccoshl.c (__ccoshl): Likewise.
45662 * math/s_cexpl.c (__cexpl): Likewise.
45663 * math/s_csinl.c (__csinl): Likewise.
45664 * math/s_csinhl.c (__csinhl): Likewise.
45665 * math/s_ctanl.c (__ctanl): Likewise.
45666 * math/s_ctanhl.c (__ctanhl): Likewise.
45667
45668 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45669
45670 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45671 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45672 (_IO_off_t): Define to __off_t, not _G_off_t.
45673 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45674 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45675 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45676 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45677 type of __dummy and __dummy2 fields.
45678 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45679 (_G_ssize_t): Likewise.
45680 (_G_off_t): Likewise.
45681 (_G_pid_t): Likewise.
45682 (_G_uid_t): Likewise.
45683 (_G_wchar_t): Likewise.
45684 (_G_wint_t): Likewise.
45685 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45686 (_G_ssize_t): Likewise.
45687 (_G_off_t): Likewise.
45688 (_G_pid_t): Likewise.
45689 (_G_uid_t): Likewise.
45690 (_G_wchar_t): Likewise.
45691 (_G_wint_t): Likewise.
45692 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45693 (_G_ssize_t): Likewise.
45694 (_G_off_t): Likewise.
45695 (_G_pid_t): Likewise.
45696 (_G_uid_t): Likewise.
45697 (_G_wchar_t): Likewise.
45698 (_G_wint_t): Likewise.
45699
45700 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45701
45702 * malloc/arena.c: Include malloc-sysdep.h.
45703 (shrink_heap): Use check_may_shrink_heap to decide if madvise
45704 is sufficient to shrink the heap or an unmap is needed.
45705 * sysdeps/generic/malloc-sysdep.h: New file. Define
45706 new function check_may_shrink_heap.
45707 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
45708 new function check_may_shrink_heap.
45709
45710 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45711
45712 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45713 comments.
45714
45715 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
45716
45717 * catgets/test-gencat.sh: Add "set -e".
45718 * elf/tst-pathopt.sh: Likewise.
45719 * grp/tst_fgetgrent.sh: Likewise.
45720 * iconvdata/run-iconv-test.sh: Likewise.
45721 * intl/tst-gettext.sh: Likewise.
45722 * intl/tst-gettext2.sh: Likewise.
45723 * intl/tst-gettext4.sh: Likewise.
45724 * intl/tst-gettext6.sh: Likewise.
45725 * intl/tst-translit.sh: Likewise.
45726 * io/ftwtest-sh: Likewise.
45727 * libio/test-freopen.sh: Likewise.
45728 * malloc/tst-mtrace.sh: Likewise.
45729 * posix/globtest.sh: Likewise.
45730 * posix/tst-getconf.sh: Likewise.
45731 * posix/wordexp-tst.sh: Likewise.
45732 * stdio-common/tst-printf.sh: Likewise.
45733 * stdio-common/tst-unbputc.sh: Likewise.
45734 * stdlib/tst-fmtmsg.sh: Likewise.
45735 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45736 * catgets/Makefile: Do not specify -e option when running
45737 testsuite shell scripts.
45738 * elf/Makefile: Likewise.
45739 * grp/Makefile: Likewise.
45740 * iconvdata/Makefile: Likewise.
45741 * intl/Makefile: Likewise.
45742 * io/Makefile: Likewise.
45743 * libio/Makefile: Likewise.
45744 * malloc/Makefile: Likewise.
45745 * posix/Makefile: Likewise.
45746 * stdio-common/Makefile: Likewise.
45747 * stdlib/Makefile: Likewise.
45748 * sysdeps/x86_64/Makefile: Likewise.
45749
45750 * io/ftwtest-sh: Add copyright header.
45751 * posix/globtest.sh: Likewise.
45752 * posix/tst-getconf.sh: Likewise.
45753 * posix/wordexp-tst.sh: Likewise.
45754 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45755
45756 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
45757
45758 [BZ #13679]
45759 * Makeconfig (+link): Defined as $(+link-static) if
45760 $(build-shared) isn't yes.
45761 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45762 isn't yes.
45763 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45764
45765 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45766
45767 [BZ #14562]
45768 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45769 new chunk size with MALLOC_ALIGN_MASK.
45770
45771 2012-09-24 Joseph Myers <joseph@codesourcery.com>
45772
45773 [BZ #5044]
45774 * stdio-common/printf_fphex.c: Include <stdbool.h> and
45775 <rounding-mode.h>.
45776 (__printf_fphex): Determine rounding using get_rounding_mode and
45777 round_away.
45778 * stdio-common/tst-printf-round.c (struct hex_test): New
45779 structure.
45780 (hex_tests): New variable.
45781 (test_hex_in_one_mode): New function.
45782 (do_test): Also run tests for hex float output.
45783
45784 2012-09-21 Joseph Myers <joseph@codesourcery.com>
45785
45786 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45787 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45788 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45789 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45790 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45791 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45792 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45793 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45794
45795 2012-09-20 Joseph Myers <joseph@codesourcery.com>
45796
45797 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45798 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45799 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45800 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45801
45802 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
45803
45804 [BZ #14579]
45805 * elf/rtld.c (dl_main): Limit the check for self loading to normal
45806 mode only.
45807 * elf/tst-rtld-load-self.sh: New test.
45808 * elf/Makefile: Run it.
45809
45810 2012-09-18 Joseph Myers <joseph@codesourcery.com>
45811
45812 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45813 (tst-writev-ENV): Remove.
45814 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45815
45816 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
45817
45818 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45819
45820 2012-09-17 Joseph Myers <joseph@codesourcery.com>
45821
45822 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45823 unconditional.
45824 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45825 Likewise.
45826 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45827 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45828 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45829 Likewise.
45830
45831 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
45832
45833 [BZ #14587]
45834 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45835 * config.make.in (have-cpp-asm-debuginfo): Removed.
45836 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45837 * configure: Regenerated.
45838
45839 2012-09-14 Joseph Myers <joseph@codesourcery.com>
45840
45841 [BZ #5044]
45842 * stdio-common/printf_fp.c: Include <stdbool.h> and
45843 <rounding-mode.h>.
45844 (___printf_fp): Determine rounding using get_rounding_mode and
45845 round_away.
45846 * stdio-common/tst-printf-round.c: New file.
45847 * stdio-common/Makefile (tests): Add tst-printf-round.
45848 (link-libm): New variable.
45849 ($(objpfx)tst-printf-round): Depend in $(link-libm).
45850
45851 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
45852
45853 [BZ #14576]
45854 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45855 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45856 Likewise.
45857 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45858 Likewise.
45859
45860 2012-09-13 Joseph Myers <joseph@codesourcery.com>
45861
45862 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45863 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45864 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45865 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45866
45867 2012-09-12 Joseph Myers <joseph@codesourcery.com>
45868
45869 [BZ #14518]
45870 * include/rounding-mode.h: New file.
45871 * sysdeps/generic/get-rounding-mode.h: Likewise.
45872 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45873 * stdlib/strtod_l.c: Include <rounding-mode.h>.
45874 (MAX_VALUE): New macro.
45875 (MIN_VALUE): Likewise.
45876 (overflow_value): New function.
45877 (underflow_value): Likewise.
45878 (round_and_return): Use overflow_value and underflow_value to
45879 determine return values in overflow and underflow cases. Use
45880 round_away to determine rounding depending on rounding mode.
45881 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45882 determine return values in overflow and underflow cases.
45883 * stdlib/tst-strtod-round.c: Include <fenv.h>.
45884 (struct test_results): New structure.
45885 (struct test): Use struct test_results to store expected results
45886 for all rounding modes.
45887 (TEST): Include expected results for all rounding modes.
45888 (test_in_one_mode): New function.
45889 (do_test): Use test_in_one_mode to compute and check results.
45890 Check results for all rounding modes.
45891 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45892 $(link-libm).
45893
45894 2012-12-09 Allan McRae <allan@archlinux.org>
45895
45896 * sysdeps/i386/fpu/libm-test-ulps: Update
45897
45898 2012-09-11 Joseph Myers <joseph@codesourcery.com>
45899
45900 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45901 (_G_int32_t): Likewise.
45902 (_G_uint16_t): Likewise.
45903 (_G_uint32_t): Likewise.
45904 (_G_HAVE_BOOL): Likewise.
45905 (_G_HAVE_ATEXIT): Likewise.
45906 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45907 (_G_HAVE_IO_FILE_OPEN): Likewise.
45908 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
45909 (_G_int32_t): Likewise.
45910 (_G_uint16_t): Likewise.
45911 (_G_uint32_t): Likewise.
45912 (_G_HAVE_BOOL): Likewise.
45913 (_G_HAVE_ATEXIT): Likewise.
45914 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45915 (_G_HAVE_IO_FILE_OPEN): Likewise.
45916 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
45917 (_G_int32_t): Likewise.
45918 (_G_uint16_t): Likewise.
45919 (_G_uint32_t): Likewise.
45920 (_G_HAVE_BOOL): Likewise.
45921 (_G_HAVE_ATEXIT): Likewise.
45922 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45923 (_G_HAVE_IO_FILE_OPEN): Likewise.
45924
45925 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
45926
45927 * csu/libc-tls.c: Update copyright years.
45928
45929 2012-09-10 Joseph Myers <joseph@codesourcery.com>
45930
45931 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
45932 [!_G_USING_THUNKS]: Remove conditional code.
45933 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
45934 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
45935
45936 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
45937 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
45938 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45939 (_G_VTABLE_LABEL_PREFIX): Likewise.
45940 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45941 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45942 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45943 (_G_VTABLE_LABEL_PREFIX): Likewise.
45944 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45945 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
45946 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
45947 (_G_VTABLE_LABEL_PREFIX): Likewise.
45948 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
45949
45950 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
45951
45952 * libio/Makefile: Include ../Makeconfig before tests.
45953 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
45954 only if $(build-shared) is yes.
45955
45956 * iconv/gconv_db.c: Update copyright years.
45957
45958 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45959
45960 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
45961 unwind info if defined PIC. Fix special cases description.
45962 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
45963
45964 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
45965 DP_HI_MASK entry.
45966 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
45967
45968 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
45969
45970 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
45971
45972 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
45973 is NULL.
45974
45975 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
45976 (LDLIBS-tst-chk4): This.
45977 (LDFLAGS-tst-chk5): Renamed to ...
45978 (LDLIBS-tst-chk5): This.
45979 (LDFLAGS-tst-chk6): Renamed to ...
45980 (LDLIBS-tst-chk6): This.
45981 (LDFLAGS-tst-lfschk4): Renamed to ...
45982 (LDLIBS-tst-lfschk4): This.
45983 (LDFLAGS-tst-lfschk5): Renamed to ...
45984 (LDLIBS-tst-lfschk5): This.
45985 (LDFLAGS-tst-lfschk6): Renamed to ...
45986 (LDLIBS-tst-lfschk6): This.
45987
45988 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
45989 on $(common-objpfx)soversions.mk.
45990
45991 2012-09-07 Joseph Myers <joseph@codesourcery.com>
45992
45993 [BZ #10014]
45994 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
45995 example host name.
45996
45997 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
45998
45999 * malloc/arena.c (arena_get_retry): New function that gets
46000 another arena for the caller to try its request on.
46001 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46002 current arena cannot fulfill the request.
46003 (__libc_memalign): Likewise.
46004 (__libc_memalign): Likewise.
46005 (__libc_pvalloc): Likewise.
46006 (__libc_calloc): Likewise.
46007
46008 2012-09-05 John Tobey <john.tobey@gmail.com>
46009
46010 [BZ #13542]
46011 * manual/arith.texi (Operations on Complex): Fix description
46012 of carg branch cut.
46013
46014 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46015
46016 [BZ #10014]
46017 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46018 host name.
46019
46020 [BZ #10038]
46021 * manual/memory.texi (Memory): Make order of menu items match
46022 order of sections.
46023
46024 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46025
46026 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46027 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46028 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46029
46030 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46031
46032 * csu/libc-tls.c (static_dtv): Renamed to ...
46033 (_dl_static_dtv): This. Make it global.
46034 (_dl_initial_dtv): Removed.
46035 (__libc_setup_tls): Updated.
46036 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46037 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46038 DL_INITIAL_DTV.
46039
46040 2012-09-06 Petr Machata <pmachata@redhat.com>
46041
46042 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46043 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46044 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46045 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46046
46047 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46048
46049 [BZ #14545]
46050 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46051 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46052 freeing dtv[-1].
46053
46054 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46055
46056 [BZ #14544]
46057 * Makeconfig (link-static-before-libc): Replace $(+prector)
46058 with $(+prectorT).
46059 (link-static-after-libc): Replace $(+postctor) with
46060 $(+postctorT).
46061 (link-bounded): Replace $(+prector)/$(+postctor) with
46062 $(+prectorT)/$(+postctorT).
46063 (+prectorT): New macro.
46064 (+postctorT): Likewise.
46065
46066 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46067
46068 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46069 (round_str): Handle values above the maximum for IBM long double
46070 as inexact.
46071 * stdlib/tst-strtod-round.c (tests): Regenerated.
46072
46073 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46074
46075 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46076 assembler flag.
46077 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46078 zarch_nohighgprs around the zarch optimized routines.
46079 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46080 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46081 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46082 for zarch.
46083
46084 2012-09-05 David S. Miller <davem@davemloft.net>
46085
46086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46087
46088 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46089 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46090 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46091 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46092 entries.
46093
46094 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46095
46096 * malloc/arena.c: Fold copyright years.
46097 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46098
46099 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46100
46101 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46102
46103 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46104
46105 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46106
46107 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46108
46109 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46110 change internal state upon failure.
46111
46112 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46113
46114 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46115 * malloc/memusage.c (mmap): Likewise.
46116 (mmap64, mremap): Likewise. Adjust name in comment.
46117
46118 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46119
46120 * libio/fileops.c: Fix typos in comments.
46121 * libio/oldfileops.c: Likewise.
46122 * libio/wfileops.c: Likewise.
46123
46124 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46125
46126 [BZ #1349]
46127 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46128 (tst-malloc-usable-ENV): Set environment for test case.
46129 * malloc/hooks.c (malloc_check_get_size): New function to get
46130 requested size.
46131 * malloc/malloc.c (musable): Use malloc_check_get_size.
46132 * malloc/tst-malloc-usable.c: New test case.
46133
46134 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46135
46136 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46137
46138 2012-09-05 Allan McRae <allan@archlinux.org>
46139
46140 [BZ #13966]
46141 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46142 determine header location.
46143 * configure: Regenerated.
46144
46145 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46146
46147 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46148 float format.
46149 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46150 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46151 format.
46152 (test): Regenerate.
46153
46154 2012-09-04 David S. Miller <davem@davemloft.net>
46155
46156 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46157 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46158 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46159
46160 2012-09-04 Florian Weimer <fweimer@redhat.com>
46161
46162 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46163 failures.
46164
46165 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46166
46167 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46168
46169 [BZ #9914]
46170 * libio/iogetdelim.c: Include <limits.h>.
46171 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46172 + len + 1 would overflow.
46173
46174 2012-09-03 Andreas Jaeger <aj@suse.de>
46175
46176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46177 * sysdeps/i386/fpu/libm-test-ulps: Update.
46178
46179 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46180
46181 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46182 Add s_sinf-sse2, s_conf-sse2.
46183
46184 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46185 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46186 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46187 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46188
46189 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46190 for using routine as __sinf_ia32.
46191 Use macro for function declaration and weak_alias.
46192 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46193 for using routine as __cosf_ia32.
46194 Use macro for function declaration and weak_alias.
46195
46196 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46197 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46198
46199 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46200 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46202
46203 * math/libm-test.inc (cos_test): Add more test cases.
46204 (sin_test): Likewise.
46205 (sincos_test): Likewise.
46206
46207 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46208
46209 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46210 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46211 hidden.
46212 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46213
46214 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46215
46216 [BZ #14538]
46217 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46218 first element of the GOT.
46219 (elf_machine_load_address): Return the difference between
46220 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46221
46222 2012-09-01 Allan McRae <allan@archlinux.org>
46223
46224 [BZ #13412]
46225 * configure.in (AWK): Require gawk version 3.0 or later.
46226 * configure: Regenerated.
46227
46228 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46229
46230 * sysdeps/unix/sysv/linux/kernel-features.h
46231 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46232 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46233 [__NR_clock_getres]: Make code unconditional.
46234 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46235 (clock_getcpuclockid): Remove code left unreachable by removal of
46236 conditionals.
46237 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46238 code unconditional.
46239 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46240 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46241 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46242 Make code unconditional.
46243 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46244 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46245 * sysdeps/unix/sysv/linux/clock_settime.c
46246 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46247 conditional code.
46248 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46249 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46250
46251 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46252
46253 [BZ #14476]
46254 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46255 scripts/test-installation.pl.
46256
46257 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46258 and $ld_so_version if it is set.
46259
46260 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46261
46262 [BZ #14516]
46263 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46264 failure if reading from procfs failed.
46265 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46266
46267 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46268
46269 * sysdeps/unix/sysv/linux/kernel-features.h
46270 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46271 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46272 Remove conditional code.
46273 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46274 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46275 Remove conditional code.
46276 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46277 * sysdeps/unix/sysv/linux/i386/fxstat.c
46278 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46279 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46280 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46281 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46282 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46283 * sysdeps/unix/sysv/linux/i386/lxstat.c
46284 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46286 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46287 Remove conditional code.
46288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46289 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46290 Remove conditional code.
46291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46292 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46293 <kernel-features.h>.
46294 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46295 Remove.
46296 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46297 Remove conditional code.
46298 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46299 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46300 Remove conditional.
46301
46302 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46303
46304 [BZ #5400]
46305 * NEWS: Add fixed bug number.
46306
46307 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46308
46309 [BZ #14519]
46310 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46311 underflowing exponent in case of negative sign.
46312 * stdlib/tst-strtod-round-data: Add more tests.
46313 * stdlib/tst-strtod-round.c (tests): Regenerated.
46314
46315 [BZ #3479]
46316 * stdlib/strtod_l.c (NDIG): Remove.
46317 (HEXNDIG): Likewise.
46318 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46319 smallest representable value.
46320 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46321 lie within an exact representation of 1/2 ulp of the result.
46322 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46323 unconditionally.
46324 (TENS_P9_IDX): Define unconditionally.
46325 (TENS_P9_SIZE): Likewise.
46326 (TENS_P10_IDX): Likewise.
46327 (TENS_P10_SIZE): Likewise.
46328 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46329 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46330 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46331 entries for 10^2^13 and 10^2^14.
46332 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46333 (TENS_P13_IDX): Define.
46334 (TENS_P13_SIZE): Likewise.
46335 (TENS_P14_IDX): Likewise.
46336 (TENS_P14_SIZE): Likewise.
46337 (_fpioconst_pow10): Change array size to
46338 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46339 unconditional.
46340 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46341 1024]: Add entries for 10^2^13 and 10^2^14.
46342 [LAST_POW10 > _LAST_POW10]: Remove #error.
46343 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46344 (_fpioconst_pow10): Change array size to
46345 FPIOCONST_POW10_ARRAY_SIZE.
46346 * stdlib/gen-fpioconst.c: New file.
46347 * stdlib/gen-tst-strtod-round.c: Likewise.
46348 * stdlib/tst-strtod-round-data: Likewise.
46349 * stdlib/tst-strtod-round.c: Likewise.
46350 * stdlib/Makefile (tests): Add tst-strtod-round.
46351
46352 [BZ #14459]
46353 * stdlib/strtod_l.c: Include <stdint.h>.
46354 (NDEBUG): Do not define.
46355 (round_and_return): Change EXPONENT parameter to type intmax_t.
46356 Rearrange calculations to avoid internal overflow possibilities.
46357 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46358 Rearrange calculations to avoid internal overflow possibilities.
46359 Assert that number fits inside MPNSIZE limbs.
46360 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46361 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46362 calculations and add assertions to avoid internal overflow
46363 possibilities. Add casts to avoid signed/unsigned operations.
46364 * stdlib/tst-strtod-overflow.c: New file.
46365 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46366
46367 2012-08-25 Marek Polacek <polacek@redhat.com>
46368
46369 * time/time.h: Fix some typos in comments.
46370
46371 2012-08-23 Roland McGrath <roland@hack.frob.com>
46372
46373 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46374 * posix/tst-rfc3484-2.c: Likewise.
46375 * posix/tst-rfc3484-3.c: Likewise.
46376
46377 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46378
46379 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46380 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46381
46382 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46383
46384 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46385 #include of fxstatat64.c.
46386
46387 2012-08-22 Roland McGrath <roland@hack.frob.com>
46388
46389 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46390 * shadow/getspent_r.c: Likewise.
46391 * shadow/getspnam.c: Likewise.
46392 * shadow/getspnam_r.c: Likewise.
46393 * gshadow/getsgent.c: Likewise.
46394 * gshadow/getsgent_r.c: Likewise.
46395 * gshadow/getsgnam.c: Likewise.
46396 * gshadow/getsgnam_r.c: Likewise.
46397 * inet/getnetbyad.c: Likewise.
46398 * inet/getnetbyad_r.c: Likewise.
46399 * inet/getnetbynm.c: Likewise.
46400 * inet/getnetbynm_r.c: Likewise.
46401 * inet/getnetent.c: Likewise.
46402 * inet/getnetent_r.c: Likewise.
46403 * inet/getproto.c: Likewise.
46404 * inet/getproto_r.c: Likewise.
46405 * inet/getprtent.c: Likewise.
46406 * inet/getprtent_r.c: Likewise.
46407 * inet/getprtname.c: Likewise.
46408 * inet/getprtname_r.c: Likewise.
46409 * inet/getrpcbyname.c: Likewise.
46410 * inet/getrpcbyname_r.c: Likewise.
46411 * inet/getrpcbynumber.c: Likewise.
46412 * inet/getrpcbynumber_r.c: Likewise.
46413 * inet/getrpcent.c: Likewise.
46414 * inet/getrpcent_r.c: Likewise.
46415 * inet/getaliasent.c: Likewise.
46416 * inet/getaliasent_r.c: Likewise.
46417 * inet/getaliasname.c: Likewise.
46418 * inet/getaliasname_r.c: Likewise.
46419 * nscd/getgrgid_r.c: Likewise.
46420 * nscd/getgrnam_r.c: Likewise.
46421 * nscd/gethstbyad_r.c: Likewise.
46422 * nscd/gethstbynm3_r.c: Likewise.
46423 * nscd/getpwnam_r.c: Likewise.
46424 * nscd/getpwuid_r.c: Likewise.
46425 * nscd/getsrvbynm_r.c: Likewise.
46426 * nscd/getsrvbypt_r.c: Likewise.
46427 * nscd/gai.c: Likewise.
46428
46429 * configure.in (build_nscd): New substituted variable, set
46430 by --disable-build-nscd and defaults to $use_nscd.
46431 * configure: Regenerated.
46432 * config.make.in (build-nscd): New substituted variable.
46433 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46434 Change conditional to require [$(build-nscd) = yes] as well.
46435 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46436
46437 [BZ# 13696]
46438 * configure.in (use_nscd): New substituted variable, set by
46439 --disable-nscd. If enabled, define USE_NSCD.
46440 * configure: Regenerated.
46441 * config.h.in: Add USE_NSCD.
46442 * config.make.in (use-nscd): New substituted variable.
46443 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46444 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46445 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46446 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46447 (CFLAGS-getgrnam_r.c): Likewise.
46448 (CFLAGS-initgroups.c): Likewise.
46449 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46450 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46451 Variables removed.
46452 * inet/getnetgrent_r.c
46453 (nscd_setnetgrent): New function, broken out of ...
46454 (setnetgrent): ... here. Call it.
46455 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46456 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46457 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46458 * nscd/Makefile (routines, aux): Move definitions after include of
46459 Makeconfig. Conditionalize on [$(use-nscd) != no].
46460 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46461 Conditionalize on [USE_NSCD].
46462 (is_nscd, nscd_init_cb): Likewise.
46463 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46464 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46465 * nss/nss_db/db-init.c: Likewise.
46466 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46467 [USE_NSCD].
46468 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46469 (make_request): Use it.
46470 (cache_valid_p): New function.
46471 (__check_pf): Use it.
46472 * NEWS: Add item for --disable-nscd.
46473
46474 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46475
46476 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46477 to support sed >= 4.2.1-20-ga9bf076.
46478 * configure: Regenerated.
46479
46480 2012-08-22 Roland McGrath <roland@hack.frob.com>
46481
46482 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46483 Conditionalize whole body on [IREL].
46484
46485 2012-08-22 Jeff Law <law@redhat.com>
46486
46487 [BZ #14505]
46488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46489 if the family is PF_UNSPEC.
46490
46491 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46492
46493 * Makerules (lib-version): Rename from V.
46494 (install-lib-nosubdir): Change V to lib-version.
46495
46496 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46497
46498 [BZ #14252]
46499 * powerpc32/power6/wcschr.c: New file.
46500 * powerpc32/power6/wcscpy.c: New file.
46501 * powerpc32/power6/wcsrchr.c: New file.
46502 * powerpc64/power6/wcschr.c: New file.
46503 * powerpc64/power6/wcscpy.c: New file.
46504 * powerpc64/power6/wcsrchr.c: New file.
46505
46506 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46507
46508 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46509 (two_way_short_needle): Use it.
46510 * string/strstr.c (AVAILABLE1_USES_J): Define.
46511 * string/strcasestr.c: Likewise.
46512
46513 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46514 array references.
46515 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46516
46517 [BZ #11607]
46518 * NEWS: Add an entry.
46519 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46520 define their defaults.
46521 (two_way_short_needle): Detect end-of-string on-the-fly.
46522 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46523 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46524 * string/bug-strcasestr1.c: New test.
46525 * string/Makefile: Run it.
46526
46527 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46528
46529 [BZ #11607]
46530 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46531 the first character.
46532
46533 2012-08-21 Roland McGrath <roland@hack.frob.com>
46534
46535 * csu/elf-init.c (__libc_csu_irel): Function removed.
46536 * csu/libc-start.c (apply_irel): New function.
46537 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46538
46539 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46540
46541 * sysdeps/unix/sysv/linux/kernel-features.h
46542 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46543 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46544 <kernel-features.h>.
46545 [__NR_fadvise64_64]: Make code unconditional.
46546 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46547 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46548 !__NR_fadvise64_64)]: Likewise.
46549 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46550 !__NR_fadvise64_64))]: Likewise.
46551 [__NR_fadvise64]: Make code unconditional.
46552 [!__NR_fadvise64]: Remove conditional code.
46553 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46554 <kernel-features.h>.
46555 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46556 unconditional.
46557 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46558 conditional code.
46559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46560 not include <kernel-features.h>.
46561 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46562 unconditional.
46563 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46564 conditional code.
46565 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46566 include <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
46572 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46573
46574 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46575 slight instruction rearrangements per scrollpipe analysis.
46576 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46577
46578 2012-08-20 Roland McGrath <roland@hack.frob.com>
46579
46580 * manual/syslog.texi (syslog; vsyslog, closelog):
46581 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46582 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46583
46584 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46585 DSOCAPS to match condition on defining it.
46586
46587 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46588
46589 * sysdeps/unix/sysv/linux/kernel-features.h
46590 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46592 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46593 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46595 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46596 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46598 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46599 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46600
46601 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46602 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46603
46604 * sysdeps/unix/sysv/linux/kernel-features.h
46605 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46606 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46607 unconditional.
46608 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46609 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46610 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46611 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46612 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46613 Make code unconditional.
46614 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46615 (__mmap64) [!__NR_mmap2]: Likewise.
46616 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46617 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46618 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46619 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46620 [__NR_mmap2]: Make code unconditional.
46621 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46622 (__mmap64) [!__NR_mmap2]: Likewise.
46623
46624 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46625
46626 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46627
46628 2012-08-18 Andreas Jaeger <aj@suse.de>
46629
46630 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46631
46632 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46633
46634 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46635 * include/unistd.h (__have_sock_cloexec): Likewise.
46636 (__have_pipe2): Likewise.
46637 (__have_dup3): Likewise.
46638
46639 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46640
46641 [BZ #9685]
46642 * include/unistd.h (__have_pipe2): Change define into an extern int.
46643 (__have_dup3): Likewise.
46644 * socket/have_sock_cloexec.c: Include fcntl.h.
46645 (__have_pipe2): New variable.
46646 (__have_dup3): Likewise.
46647
46648 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46649
46650 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46651
46652 2012-08-17 Marek Polacek <polacek@redhat.com>
46653
46654 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46655 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46656
46657 2012-08-17 Roland McGrath <roland@hack.frob.com>
46658
46659 * configure.in: Add AC_SUBST for sysheaders.
46660 * configure: Regenerated.
46661 * config.make.in (sysheaders): New substituted variable.
46662
46663 * sysdeps/unix/mkfifo.c: Moved ...
46664 * sysdeps/posix/mkfifo.c: ... here.
46665 * sysdeps/unix/mkfifoat.c: Moved ...
46666 * sysdeps/posix/mkfifoat.c: ... here.
46667
46668 * sysdeps/unix/utime.c: Moved ...
46669 * sysdeps/posix/utime.c: ... here.
46670
46671 * sysdeps/unix/time.c: Moved ...
46672 * sysdeps/posix/time.c: ... here.
46673 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46674 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46675
46676 * sysdeps/unix/nice.c: Moved ...
46677 * sysdeps/posix/nice.c: ... here.
46678
46679 * sysdeps/unix/alarm.c: Moved ...
46680 * sysdeps/posix/alarm.c: ... here.
46681
46682 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46683
46684 2012-08-17 Jeff Law <law@redhat.com>
46685
46686 * intl/Makefile (codeset_mo): New variable.
46687 ($(codeset_mo)): New target.
46688 (tst-codeset.out): Depend on that. Remove explicit rule.
46689 (tst-gettext3.out, tst-gettext5.out): Likewise.
46690 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46691 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46692 * intl/tst-codeset.sh: Remove.
46693 * intl/tst-gettext3.sh: Likewise.
46694 * intl/tst-gettext5.sh: Likewise.
46695
46696 2012-08-17 Roland McGrath <roland@hack.frob.com>
46697
46698 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46699 * sysdeps/unix/syscalls.list: ... here.
46700
46701 * sysdeps/posix/getaddrinfo.c
46702 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46703 (gaiconf_init, gaiconf_reload): Use them.
46704 [!_STATBUF_ST_NSEC]
46705 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46706 Define using time_t rather than struct timespec.
46707
46708 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46709 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46710 Macros removed.
46711 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46712 [!NO_THREADS].
46713 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46714 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46715 Likewise.
46716
46717 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46718 __libc_cleanup_push argument.
46719
46720 * bits/param.h: New file.
46721 * misc/sys/param.h: New file.
46722 * include/sys/param.h: New file.
46723 * misc/Makefile (headers): Add bits/param.h.
46724 * sysdeps/generic/sys/param.h: File removed.
46725 * sysdeps/unix/sysv/linux/bits/param.h: New file.
46726 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46727 * sysdeps/mach/hurd/bits/param.h: New file.
46728 * sysdeps/mach/hurd/sys/param.h: File removed.
46729
46730 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46731 last change.
46732
46733 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46734 [_IO_MTSAFE_IO].
46735 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46736 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46737 New macros.
46738
46739 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46740 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46741 rather than -D_IO_MTSAFE_IO conditionally.
46742 * stdio-common/Makefile (CPPFLAGS): Likewise.
46743 * wcsmbs/Makefile (CPPFLAGS): Likewise.
46744 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46745 Use $(libio-mtsafe).
46746 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46747 of -D_IO_MTSAFE_IO.
46748 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46749 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46750 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46751 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46752 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46753 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46754 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46755 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46756 (CFLAGS-fread_u_chk.c): Likewise.
46757 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46758 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46759 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46760 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46761 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46762 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46763 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46764 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46765 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46766
46767 * libio/Makefile: Test [$(libc-reentrant) = yes]
46768 instead of [$(filter %REENTRANT, $(defines)) nonempty].
46769
46770 * Makeconfig
46771 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46772 * sysdeps/pthread/configure: File removed.
46773 * sysdeps/pthread/Makeconfig: New file.
46774 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46775 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46776
46777 2012-08-16 Gary Benson <gbenson@redhat.com>
46778
46779 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46780 unmapping the first object in a namespace.
46781
46782 2012-08-16 Roland McGrath <roland@hack.frob.com>
46783
46784 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46785 (__internal_setnetgrent): ... this. Add internal_function to
46786 definition. Add libc_hidden_def.
46787 (setnetgrent): Update caller.
46788 (internal_endnetgrent): Renamed to ...
46789 (__internal_endnetgrent): ... this. Add internal_function to
46790 definition. Add libc_hidden_def.
46791 (endnetgrent): Update caller.
46792 (internal_getnetgrent_r): Renamed to ...
46793 (__internal_getnetgrent_r): ... this. Add internal_function to
46794 definition. Add libc_hidden_def.
46795 (__getnetgrent_r): Update caller.
46796 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
46797
46798 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46799
46800 * stdlib/longlong.h: Update from GCC.
46801
46802 2012-08-16 Roland McGrath <roland@hack.frob.com>
46803
46804 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46805 on _QL, which is set by umul_ppmm but never used.
46806 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46807 variables, which are set by GMP macros but never used.
46808 * stdio-common/_itowa.c (_itowa): Likewise.
46809 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46810 * stdlib/mod_1.c (mpn_mod_1): Likewise.
46811
46812 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
46813
46814 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46815 struct La_sh_regs is not constant.
46816 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46817 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46818 and struct La_sparc64_regs are not constant.
46819
46820 2012-08-16 Joseph Myers <joseph@codesourcery.com>
46821
46822 * sysdeps/unix/sysv/linux/kernel-features.h
46823 (__ASSUME_POSIX_TIMERS): Remove.
46824 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46825 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46826 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46827 Make code unconditional.
46828 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46829 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46830 Make code unconditional.
46831 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46832 * sysdeps/unix/sysv/linux/clock_nanosleep.c
46833 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46834 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46835 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46836 Make code unconditional.
46837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46838 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46839 (__libc_missing_posix_timers): Remove.
46840
46841 2012-08-15 Roland McGrath <roland@hack.frob.com>
46842
46843 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46844 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46845
46846 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46847
46848 * elf/dl-sym.c: Include <stdlib.h>.
46849
46850 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46851 constants, which avoids warnings in 32-bit builds.
46852
46853 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46854 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46855
46856 * misc/lseek.c: File moved to ...
46857 * io/lseek.c: ... here.
46858
46859 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46860
46861 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46862 shifting LEN more than 31 bits at once.
46863
46864 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46865
46866 [BZ #14195]
46867 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46868 segmentation fault for a case of two empty input strings.
46869 * string/test-strncasecmp.c (check1): Renamed to...
46870 (bz12205): ...this.
46871 (bz14195): Add new testcase for two empty input strings and N > 0.
46872 (test_main): Call new testcase, adapt for renamed function.
46873
46874 2012-08-15 Andreas Jaeger <aj@suse.de>
46875
46876 [BZ #14090]
46877 * crypt/md5test2.c: New test, based on test supplied by Serge
46878 Belyshev <belyshev@depni.sinp.msu.ru>.
46879 * crypt/Makefile (xtests): Add md5test-giant..
46880 * crypt/Makefile ($(objpfx)md5test-giant): Add.
46881
46882 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
46883
46884 [BZ #14090]
46885 * crypt/md5.c (md5_process_block): Don't assume the buffer
46886 length is less than 2**32.
46887 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46888 length is less than 2**64.
46889
46890 2012-08-15 Roland McGrath <roland@hack.frob.com>
46891
46892 * string/str-two-way.h: Include <sys/param.h>.
46893 (MAX): Macro removed.
46894
46895 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46896 Move #define and #undef of memmove to just before and after
46897 including <string.h>.
46898
46899 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46900 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46901 and after including <string.h>. Move declarations of
46902 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46903 to before #include "string/memmove.c".
46904
46905 * include/dirent.h: Declare __getdirentries.
46906
46907 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46908 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
46909
46910 2012-08-14 Mike Frysinger <vapier@gentoo.org>
46911
46912 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
46913 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
46914 * sysdeps/i386/configure: Regenerated.
46915 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
46916 STABS_CURRENT_FILE, and STABS_FUN.
46917 (END): Remove call to STABS_FUN_END.
46918 (STABS_CURRENT_FILE1): Delete.
46919 (STABS_CURRENT_FILE): Likewise.
46920 (STABS_FUN): Likewise.
46921 (STABS_FUN_END): Likewise.
46922 (STABS_FUN2): Likewise.
46923 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
46924 * sysdeps/x86_64/configure: Regenerated.
46925
46926 2012-08-14 Roland McGrath <roland@hack.frob.com>
46927
46928 * elf/dl-open.c: Include <atomic.h>.
46929 * elf/dl-lookup.c: Likewise.
46930
46931 2012-08-14 Joseph Myers <joseph@codesourcery.com>
46932
46933 * sysdeps/unix/sysv/linux/kernel-features.h
46934 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
46935 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
46936 unconditionally.
46937 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
46938 unconditionally.
46939 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
46940 condition on __ASSUME_CLONE_THREAD_FLAGS.
46941
46942 2012-08-14 Andreas Jaeger <aj@suse.de>
46943
46944 * sysdeps/i386/fpu/libm-test-ulps: Update.
46945
46946 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
46947
46948 * include/atomic.h (atomic_exchange_and_add): Split into ...
46949 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
46950 New atomic macros.
46951
46952 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
46953
46954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46955
46956 2012-08-13 Jeff Law <law@redhat.com>
46957
46958 * manual/stdio.texi (snprintf): Clarify handling of the trailing
46959 null byte in the output string.
46960
46961 2012-08-10 Joseph Myers <joseph@codesourcery.com>
46962
46963 * sysdeps/unix/sysv/linux/kernel-features.h
46964 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
46965 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
46966 (__ASSUME_ARG_MAX_STACK_BASED): Define.
46967 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46968 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
46969 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
46970 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
46971
46972 2012-08-09 Jeff Law <law@redhat.com>
46973
46974 [BZ #13939]
46975 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
46976 When avoid_arena is set, don't retry in the that arena. Pick the
46977 next one, whatever it might be.
46978 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
46979 (arena_lock): Pass in new parameter to arena_get2.
46980 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
46981 arena_get2.
46982 (__libc_malloc): Unify retrying after main arena failure with
46983 __libc_memalign version.
46984 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
46985
46986 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
46987
46988 [BZ #14166]
46989 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
46990 to __redirect_strstr.
46991 (__strstr_sse42): Use typeof __redirect_strstr.
46992 (__strstr_ia32): Likewise.
46993 (__libc_strstr): New prototype.
46994 (strstr): Renamed to ...
46995 (__libc_strstr): This.
46996 (strstr): New strong alias of __libc_strstr.
46997 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46998 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
46999 __redirect_time.
47000 Include <time.h>.
47001 (__libc_time): New prototype.
47002 (time_ifunc): Replace time with __libc_time.
47003 (time): New strong alias and hidden definition of __libc_time.
47004 (__GI_time): Remove strong alias.
47005 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47006 Include <stddef.h>.
47007 (memmove): Redefined to __redirect_memmove.
47008 (__memmove_sse2): Use typeof __redirect_memmove.
47009 (__memmove_ssse3): Likewise.
47010 (__memmove_ssse3_back): Likewise.
47011 (__libc_memmove): New prototype.
47012 (memmove): Renamed to ...
47013 (__libc_memmove): This.
47014 (memmove): New strong alias of __libc_memmove.
47015
47016 2012-08-08 Mark Salter <msalter@redhat.com>
47017
47018 * elf/elf.h
47019 (R_MN10300_TLS_GD): Define.
47020 (R_MN10300_TLS_LD): Likewise.
47021 (R_MN10300_TLS_LDO): Likewise.
47022 (R_MN10300_TLS_GOTIE): Likewise.
47023 (R_MN10300_TLS_IE): Likewise.
47024 (R_MN10300_TLS_LE): Likewise.
47025 (R_MN10300_TLS_DTPMOD): Likewise.
47026 (R_MN10300_TLS_DTPOFF): Likewise.
47027 (R_MN10300_TLS_TPOFF): Likewise.
47028 (R_MN10300_SYM_DIFF): Likewise.
47029 (R_MN10300_ALIGN): Likewise.
47030 (R_MN10300_NUM): Update.
47031
47032 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47033
47034 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47035 Remove.
47036
47037 2012-08-08 Roland McGrath <roland@hack.frob.com>
47038
47039 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47040
47041 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47042 sysdeps/unix -> sysdeps/posix move.
47043 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47044
47045 2012-08-07 Allan McRae <allan@archlinux.org>
47046
47047 [BZ #14303]
47048 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47049 (SUNOS_CPP): Likewise.
47050 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47051 not found.
47052 (open_input): Call CPP using execvp.
47053
47054 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47055
47056 * sysdeps/unix/sysv/linux/kernel-features.h
47057 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47058 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47059 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47060 (__ASSUME_WAITID_SYSCALL): Likewise.
47061 * sysdeps/unix/sysv/linux/dl-execstack.c
47062 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47063 code unconditional.
47064 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47065 conditional code.
47066 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47067 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47068 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47069 code.
47070 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47071 unconditional.
47072 [__ASSUME_WAITID_SYSCALL]: Likewise.
47073 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47074
47075 2012-08-07 Roland McGrath <roland@hack.frob.com>
47076
47077 * sysdeps/unix/closedir.c: Renamed to ...
47078 * sysdeps/posix/closedir.c: ... here.
47079 * sysdeps/unix/dirfd.c: Renamed to ...
47080 * sysdeps/posix/dirfd.c: ... here.
47081 * sysdeps/unix/dirstream.h: Renamed to ...
47082 * sysdeps/posix/dirstream.h: ... here.
47083 * sysdeps/unix/fdopendir.c: Renamed to ...
47084 * sysdeps/posix/fdopendir.c: ... here.
47085 * sysdeps/unix/opendir.c: Renamed to ...
47086 * sysdeps/posix/opendir.c: ... here.
47087 * sysdeps/unix/readdir.c: Renamed to ...
47088 * sysdeps/posix/readdir.c: ... here.
47089 * sysdeps/unix/readdir_r.c: Renamed to ...
47090 * sysdeps/posix/readdir_r.c: ... here.
47091 * sysdeps/unix/rewinddir.c: Renamed to ...
47092 * sysdeps/posix/rewinddir.c: ... here.
47093 * sysdeps/unix/seekdir.c: Renamed to ...
47094 * sysdeps/posix/seekdir.c: ... here.
47095 * sysdeps/unix/telldir.c: Renamed to ...
47096 * sysdeps/posix/telldir.c: ... here.
47097 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47098 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47099 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47100 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47101
47102 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47103 * bits/fcntl.h: ... here.
47104
47105 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47106 not 0.
47107 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47108 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47109 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47110 (struct flock): Move l_start, l_len to the beginning.
47111 Use __pid_t for l_pid.
47112 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47113 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47114 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47115 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47116 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47117 [__USE_LARGEFILE64] (struct flock64): New type.
47118 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47119
47120 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47121 * bits/dirent.h: ... here.
47122
47123 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47124 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47125
47126 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47127
47128 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47129 Change from 2.6.0 to 2.6.16.
47130 * sysdeps/unix/sysv/linux/configure: Regenerated.
47131 * sysdeps/unix/sysv/linux/kernel-features.h
47132 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47133 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47134 version.
47135 (__ASSUME_UTIMES): Likewise.
47136 (__ASSUME_CLONE_STOPPED): Remove.
47137 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47138 architectures, not kernel version.
47139 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47140 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47141 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47142 (__ASSUME_WAITID_SYSCALL): Likewise.
47143 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47144 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47145 * README: State 2.6.16 as minimum Linux kernel version. Do not
47146 refer to older versions.
47147
47148 2012-08-06 Roland McGrath <roland@hack.frob.com>
47149
47150 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47151 Define alphasort64 as an alias.
47152 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47153 Define versionsort64 as an alias.
47154 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47155 Define scandir64 as an alias.
47156 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47157 Define scandirat64 as an alias.
47158 * dirent/alphasort64.c (alphasort64):
47159 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47160 * dirent/versionsort64.c: Likewise.
47161 * dirent/scandir64.c: Likewise.
47162 * dirent/scandirat64.c: Likewise.
47163 * sysdeps/wordsize-64/alphasort.c: File removed.
47164 * sysdeps/wordsize-64/alphasort64.c: File removed.
47165 * sysdeps/wordsize-64/scandir.c: File removed.
47166 * sysdeps/wordsize-64/scandir64.c: File removed.
47167 * sysdeps/wordsize-64/scandirat.c: File removed.
47168 * sysdeps/wordsize-64/scandirat64.c: File removed.
47169 * sysdeps/wordsize-64/versionsort.c: File removed.
47170 * sysdeps/wordsize-64/versionsort64.c: File removed.
47171 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47172 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47173 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47174 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47175 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47176 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47177 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47178 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47179
47180 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47182 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47183 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47184 [defined __arch64__ || defined __sparcv9]
47185 (__INO_T_MATCHES_INO64_T): New macro.
47186 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47187 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47188 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47189 * sysdeps/unix/sysv/linux/bits/dirent.h
47190 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47191 (_DIRENT_MATCHES_DIRENT64): New macro.
47192
47193 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47194 Define lockf64 as an alias.
47195 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47196 Define fseeko64 as an alias.
47197 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47198 Define ftello64 as an alias.
47199 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47200 Define _IO_fgetpos64 and fgetpos64 as aliases.
47201 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47202 Define _IO_fsetpos64 and fsetpos64 as aliases.
47203 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47204 Conditionalize body on this.
47205 * libio/fseeko64.c: Likewise.
47206 * libio/ftello64.c: Likewise.
47207 * libio/iofgetpos64.c: Likewise.
47208 * libio/iofsetpos64.c: Likewise.
47209 * sysdeps/wordsize-64/lockf.c: File removed.
47210 * sysdeps/wordsize-64/lockf64.c: File removed.
47211 * sysdeps/wordsize-64/fseeko.c: File removed.
47212 * sysdeps/wordsize-64/fseeko64.c: File removed.
47213 * sysdeps/wordsize-64/ftello.c: File removed.
47214 * sysdeps/wordsize-64/ftello64.c: File removed.
47215 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47216 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47217 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47218 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47219 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47220 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47221 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47222 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47223 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47224 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47225 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47226 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47227 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47228 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47229
47230 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47232 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47234 [defined __arch64__ || defined __sparcv9]
47235 (__OFF_T_MATCHES_OFF64_T): New macro.
47236 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47237 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47239 (__OFF_T_MATCHES_OFF64_T): New macro.
47240
47241 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47242
47243 * stdlib/secure-getenv.c (__secure_getenv): Replace
47244 GLIBC_2_16 with GLIBC_2_17.
47245
47246 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47247
47248 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47249 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47250
47251 2012-08-03 David S. Miller <davem@davemloft.net>
47252
47253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47254
47255 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47256
47257 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47258 Remove.
47259 (__ASSUME_CORRECT_SI_PID): Likewise.
47260 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47261 (__ASSUME_TMPFS_NAME): Likewise.
47262 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47263 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47264 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47265 (HAVE_AUX_SECURE): Make definition unconditional.
47266 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47267 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47268
47269 2012-08-03 Roland McGrath <roland@hack.frob.com>
47270
47271 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47272 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47273 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47274 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47275 __eloop_threshold instead of SYMLOOP_MAX.
47276
47277 * sysdeps/generic/eloop-threshold.h: New file.
47278 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47279 of MAXSYMLINKS.
47280 * elf/chroot_canon.c (chroot_canon): Likewise.
47281
47282 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47283
47284 [BZ #13717]
47285 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47286 Change to 2.6.0 everywhere.
47287 * sysdeps/unix/sysv/linux/configure: Regenerated.
47288 * sysdeps/unix/sysv/linux/kernel-features.h
47289 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47290 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47291 kernel versions.
47292 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47293 (__ASSUME_FUTEX_REQUEUE): Remove.
47294 (__ASSUME_STATFS64): Define unconditionally.
47295 (__ASSUME_AT_SECURE): Likewise.
47296 (__ASSUME_CORRECT_SI_PID): Likewise.
47297 (__ASSUME_TGKILL): Define without depending on kernel version for
47298 i386.
47299 (__ASSUME_UTIMES): Likewise.
47300 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47301 kernel version.
47302 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47303 (__ASSUME_TMPFS_NAME): Likewise.
47304 * README: Update reference to Linux kernel versions.
47305
47306 2012-08-02 Marek Polacek <polacek@redhat.com>
47307
47308 [BZ# 14150]
47309 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47310 libc_cv_asm_type_prefix with %.
47311 * configure: Regenerated.
47312 * include/libc-symbols.h: Remove comment about
47313 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47314 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47315 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47316 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47317 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47318 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47319 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47320 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47321 * elf/tst-unique2mod1.c: Likewise.
47322 * elf/tst-unique1mod2.c: Likewise.
47323 * elf/tst-unique1mod1.c: Likewise.
47324 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47325 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47326 Replace ASM_TYPE_DIRECTIVE with .type.
47327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47328 * sysdeps/i386/sysdep.h: Likewise.
47329 * sysdeps/x86_64/sysdep.h: Likewise.
47330 * sysdeps/sh/sysdep.h: Likewise.
47331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47332 Do not define ASM_TYPE_DIRECTIVE.
47333 * sysdeps/powerpc/sysdep.h: Likewise.
47334 * sysdeps/powerpc/powerpc32/sysdep.h:
47335 Replace ASM_TYPE_DIRECTIVE with .type.
47336 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47337 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47338 * sysdeps/i386/fpu/e_powf.S: Likewise.
47339 * sysdeps/i386/fpu/e_expl.S: Likewise.
47340 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47341 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47342 * sysdeps/i386/fpu/e_pow.S: Likewise.
47343 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47344 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47345 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47346 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47347 * sysdeps/i386/fpu/e_log2.S: Likewise.
47348 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47349 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47350 * sysdeps/i386/fpu/e_powl.S: Likewise.
47351 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47352 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47353 * sysdeps/i386/fpu/e_logl.S: Likewise.
47354 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47355 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47356 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47357 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47358 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47359 * sysdeps/i386/fpu/e_log.S: Likewise.
47360 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47361 * sysdeps/i386/fpu/e_logf.S: Likewise.
47362 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47363 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47364 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47365 * sysdeps/i386/fpu/e_log10.S: Likewise.
47366 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47367 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47368 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47369 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47370 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47371 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47372 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47373 * sysdeps/i386/i686/strtok.S: Likewise.
47374 * sysdeps/i386/i386-mcount.S: Likewise.
47375 * sysdeps/i386/strtok.S: Likewise.
47376 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47377 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47378 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47379 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47380 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47381 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47382 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47383 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47384 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47385 * sysdeps/x86_64/_mcount.S: Likewise.
47386 * sysdeps/x86_64/strtok.S: Likewise.
47387 * sysdeps/sh/_mcount.S: Likewise.
47388
47389 2012-08-01 Roland McGrath <roland@hack.frob.com>
47390
47391 * libio/iofopen.c: Include <fcntl.h>.
47392 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47393 (_IO_fopen64, fopen64): Define as aliases.
47394 * libio/iofopen64.c: Include <fcntl.h>.
47395 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47396 Conditionalize body on this.
47397 * sysdeps/wordsize-64/iofopen.c: File removed.
47398 * sysdeps/wordsize-64/iofopen64.c: File removed.
47399
47400 2012-08-01 Marek Polacek <polacek@redhat.com>
47401
47402 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47403 Use dlfcn directly instead of a variable.
47404 (binfmt-subdir): Do not define.
47405 (dlfcn): Likewise.
47406
47407 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47408
47409 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47410 Remove all definitions.
47411 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47412 <kernel-features.h>.
47413 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47414 (miss_F_GETOWN_EX): Remove all definitions.
47415 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47416 macro definition.
47417 [!__ASSUME_FCNTL64]: Remove conditional code.
47418 [__ASSUME_FCNTL64]: Make code unconditional.
47419 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47420 <kernel-features.h>.
47421 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47422 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47423 (lockf64) [__NR_fcntl64]: Make code unconditional.
47424 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47425
47426 * sysdeps/unix/sysv/linux/kernel-features.h
47427 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47428 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47429 Make code unconditional.
47430 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47431 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47433 [__NR_vfork]: Make code unconditional.
47434 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47435 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47437 [__NR_vfork]: Make code unconditional.
47438 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47439 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47440
47441 2012-08-01 Roland McGrath <roland@hack.frob.com>
47442
47443 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47444 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47445
47446 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47447 Define mkstemp64 as an alias.
47448 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47449 Define mkstemps64 as an alias.
47450 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47451 Define mkostemp64 as an alias.
47452 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47453 Define mkostemps64 as an alias.
47454 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47455 Conditionalize body on this.
47456 * misc/mkostemp64.c: Likewise.
47457 * misc/mkostemps64.c: Likewise.
47458 * misc/mkstemps64.c: Likewise.
47459 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47460 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47461 * sysdeps/wordsize-64/mkostemp.c: File removed.
47462 * sysdeps/wordsize-64/mkstemp.c: File removed.
47463 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47464 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47465 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47466 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47467
47468 [BZ #14138]
47469 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47470 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47471 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47472 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47473
47474 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47475 compat_symbol macros from <shlib-compat.h> rather than the underlying
47476 default_symbol_version and symbol_version macros, so that DEFAULT
47477 lines in shlib-versions are respected.
47478 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47479
47480 2012-08-01 Florian Weimer <fweimer@redhat.com>
47481
47482 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47483 Declare with warn_unused_result.
47484 (setgid, setregid, setegid, setresgid): Likewise.
47485 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47486 Likewise.
47487 * WUR-REPORT: Remove set*id functions.
47488
47489 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47490
47491 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47492
47493 2012-07-31 Roland McGrath <roland@hack.frob.com>
47494
47495 [BZ #10191]
47496 * include/sys/socket.h (__libc_accept, __libc_accept4):
47497 Add attribute_hidden.
47498 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47499
47500 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47501 use of PTR_MANGLE.
47502 * inet/getnetgrent_r.c (setup): Likewise.
47503
47504 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47505
47506 2012-07-31 David S. Miller <davem@davemloft.net>
47507
47508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47509
47510 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47511
47512 [BZ #13629]
47513 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47514 value between 1.0 and 2.0 and smaller part has absolute value less
47515 than 1.0.
47516 * math/s_clog10.c (__clog10): Likewise.
47517 * math/s_clog10f.c (__clog10f): Likewise.
47518 * math/s_clog10l.c (__clog10l): Likewise.
47519 * math/s_clogf.c (__clogf): Likewise.
47520 * math/s_clogl.c (__clogl): Likewise.
47521 * math/libm-test.inc (clog_test): Add more tests.
47522 (clog10_test): Likewise.
47523 * sysdeps/i386/fpu/libm-test-ulps: Update.
47524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47525
47526 2012-07-31 Florian Weimer <fweimer@redhat.com>
47527
47528 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47529 Exit with zero in case no suitable GID is found, and write a
47530 message to standard error.
47531
47532 2012-07-30 Roland McGrath <roland@hack.frob.com>
47533
47534 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47535 rather than to 1.
47536 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47537 (MAXPATHLEN): Removed.
47538 (NOGROUP, NODEV): New macros.
47539 (setbit, clrbit, isset, isclr): New macros.
47540 (howmany, roundup, powerof2): New macros.
47541 (DEV_BSIZE): New macro.
47542
47543 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47544 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47545
47546 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47547 definition on [!__NO_LONG_DOUBLE_MATH].
47548
47549 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47550 PTR_MANGLE and PTR_DEMANGLE.
47551
47552 * socket/accept4.c (accept4): Rename to __libc_accept4.
47553 Define accept4 as a weak alias.
47554
47555 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47556 on [_DIRENT_HAVE_D_TYPE].
47557 * io/ftw.c (ftw_dir): Likewise.
47558
47559 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47560
47561 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47562
47563 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47564 Use the BSD numbers rather than the arbitrary ones we had.
47565 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47566 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47567 (SIGXCPU, SIGXFSZ): New macros.
47568 (_NSIG): Now 32.
47569
47570 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47571 initializer on [_LIBC_REENTRANT].
47572
47573 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47574 definitions inside [_POSIX_MAPPED_FILES].
47575
47576 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47577
47578 * dirent/opendir.c: Include <fcntl.h>.
47579
47580 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47581 (__libc_getspecific): Likewise.
47582 (__libc_key_create): Likewise.
47583
47584 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47585 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47586 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47587 (tmpfile64): Define as alias.
47588 * sysdeps/wordsize-64/tmpfile.c: File removed.
47589 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47590 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47591 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47592
47593 * stdio-common/vfscanf.c: Include <stdbool.h>.
47594 * nss/makedb.c: Likewise.
47595 * stdio-common/_i18n_number.h: Likewise.
47596 * argp/argp-help.c: Likewise.
47597 * posix/wordexp.c: Likewise.
47598 * sysdeps/posix/spawni.c: Likewise.
47599 * nss/nss_files/files-initgroups.c: Likewise.
47600 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47601 * nss/nss_files/files-initgroups.c: Likewise.
47602 * nss/nss_db/db-netgrp.c: Likewise.
47603 * nss/nss_db/db-initgroups.c: Likewise.
47604 * io/fchmodat.c: Include <sys/stat.h>.
47605
47606 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47607 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47608
47609 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47610 [HAVE_MMAP].
47611
47612 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47613 Add multiple inclusion protection.
47614
47615 2012-07-27 David S. Miller <davem@davemloft.net>
47616
47617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47618
47619 2012-07-27 Gary Benson <gbenson@redhat.com>
47620
47621 [BZ #14298]
47622 * elf/rtld.c: Include <stap-probe.h>.
47623 (dl_main): Added static probes "init_start" and "init_complete".
47624 * elf/dl-load.c: Include <stap-probe.h>.
47625 (lose): Take new parameter "nsid".
47626 Added static probe "map_failed".
47627 (_dl_map_object_from_fd): Pass namespace id to lose.
47628 Added static probe "map_start".
47629 (open_verify): Pass namespace id to lose.
47630 * elf/dl-open.c: Include <stap-probe.h>.
47631 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47632 and "reloc_complete".
47633 * elf/dl-close.c: Include <stap-probe.h>.
47634 (_dl_close_worker): Added static probes "unmap_start" and
47635 "unmap_complete".
47636 * elf/rtld-debugger-interface.txt: New file documenting the above.
47637
47638 2012-07-26 Roland McGrath <roland@hack.frob.com>
47639
47640 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47641 rather than a string variable.
47642 * sunrpc/rpc_main.c (h_output): Likewise.
47643 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47644
47645 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47646
47647 * inet/check_native.c: New file.
47648
47649 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47650
47651 [BZ #13629]
47652 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47653 if larger part has absolute value 1.0.
47654 * math/s_clog10.c (__clog10): Likewise.
47655 * math/s_clog10f.c (__clog10f): Likewise.
47656 * math/s_clog10l.c (__clog10l): Likewise.
47657 * math/s_clogf.c (__clogf): Likewise.
47658 * math/s_clogl.c (__clogl): Likewise.
47659 * math/libm-test.inc (clog_test): Add more tests.
47660 (clog10_test): Likewise.
47661 * sysdeps/i386/fpu/libm-test-ulps: Update.
47662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47663
47664 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47665 (pltexit): Likewise.
47666 (La_regs): Likewise.
47667 (La_retval): Likewise.
47668 (int_retval): Likewise.
47669 Update #error for removed macros to refer only to definitions in
47670 tst-audit.h.
47671 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47672 macro.
47673 (pltexit): Likewise.
47674 (La_regs): Likewise.
47675 (La_retval): Likewise.
47676 (int_retval): Likewise.
47677 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47678 macro.
47679 (pltexit): Likewise.
47680 (La_regs): Likewise.
47681 (La_retval): Likewise.
47682 (int_retval): Likewise.
47683 * elf/tst-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
47702 macro.
47703 (pltexit): Likewise.
47704 (La_regs): Likewise.
47705 (La_retval): Likewise.
47706 (int_retval): Likewise.
47707 * sysdeps/generic/tst-audit.h: Update comment to refer only to
47708 macro definitions in tst-audit.h.
47709 * sysdeps/i386/tst-audit.h: New file.
47710 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47711 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47712 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47713 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47714 * sysdeps/sh/tst-audit.h: Likewise.
47715 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47716 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47717 * sysdeps/x86_64/tst-audit.h: Likewise.
47718
47719 2012-07-26 Andreas Jaeger <aj@suse.de>
47720
47721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47722 ptrace.
47723
47724 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47725 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47726 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47727 PTRACE_O_MASK.
47728 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47729 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47730 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47731
47732 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47733 value.
47734
47735 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47736 _sigsys.
47737 (si_call_addr, si_syscall, si_arch): Define new macro.
47738 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47739 _sigsys.
47740 (si_call_addr, si_syscall, si_arch): Define new marcro.
47741 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47742 _sigsys.
47743 (si_call_addr, si_syscall, si_arch): Define new macro.
47744 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47745 _sigsys.
47746 (si_call_addr, si_syscall, si_arch): Define new macro.
47747
47748 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47749
47750 [BZ #13717]
47751 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47752 Change to 2.4.21 where previously 2.4.1.
47753 * sysdeps/unix/sysv/linux/configure: Regenerated.
47754 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47755 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47756 Linux kernel version.
47757 (__ASSUME_STD_AUXV): Remove.
47758 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47759 kernel version.
47760 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47761 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47762 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47763 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47764 (__ASSUME_NETLINK_SUPPORT): Likewise.
47765 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47766 (__no_netlink_support): Remove conditional definition.
47767 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47768 Remove.
47769 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47770 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47771 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47772 (if_nameindex_ioctl): Remove.
47773 (if_nameindex_netlink): Do not handle __no_netlink_support.
47774 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47775 code.
47776 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47777 Remove conditional code.
47778 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47779 code.
47780 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47781 unconditional.
47782 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47783 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47784 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47785 Remove.
47786 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47787 [!__ASSUME_STD_AUXV]: Remove conditional code.
47788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47789 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47790 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47792 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47793 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47794 code.
47795 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47797 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47798 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47799 conditional code.
47800 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47802 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47803 code.
47804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47805 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47806 conditional code.
47807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47808 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47809 code unconditional.
47810 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47811 conditional code.
47812 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47813 unconditional.
47814 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47815 conditional code.
47816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47817 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47818 unconditional.
47819 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47820 conditional code.
47821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47822 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47823 code unconditional.
47824 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47825 conditional code.
47826 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47827 unconditional.
47828 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47829 conditional code.
47830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47831 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47832 code unconditional.
47833 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47834 conditional code.
47835 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47836 unconditional.
47837 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47838 conditional code.
47839
47840 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
47841
47842 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47843 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47844 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47845 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47846 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47847 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47848 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47849 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47850 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47851 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47852 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47853 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47854 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47855 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47856 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47857 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47858 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47859 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47860 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47862 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47863 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47864 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47865
47866 2012-07-25 Florian Weimer <fweimer@redhat.com>
47867
47868 * Versions.def: Add GLIBC_2.17.
47869 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47870 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47871 Introduce __libc_secure_getenv.
47872 * stdlib/Versions (2.17): Add secure_getenv
47873 (GLIBC_PRIVATE): Add __libc_secure_getenv.
47874 * stdlib/secure-getenv.c: Rename __secure_getenv to
47875 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
47876 symbol __secure_getenv for GLIBC_2.0.
47877 * stdlib/tst-secure-getenv.c: New.
47878 * stdlib/Makefile (tests): Add testcase.
47879 * manual/startup.texi (Environment Access): Document
47880 secure_getenv.
47881 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47882 __libc_secure_getenv.
47883 * inet/ruserpass.c (ruserpass): Likewise.
47884 * malloc/mtrace.c (mtrace): Likewise.
47885 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47886 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47887 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47888 * sysdeps/posix/tempname.c: Likewise. Evaluate
47889 HAVE_SECURE_GETENV.
47890 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47891 __secure_getenv to __libc_secure_getenv.
47892 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47894 Likewise.
47895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47896 Likewise.
47897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47899 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47904
47905 2012-07-25 Joseph Myers <joseph@codesourcery.com>
47906
47907 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47908 (struct La_i86_retval): Likewise.
47909 (struct La_x86_64_regs): Likewise.
47910 (struct La_x86_64_retval): Likewise.
47911 (struct La_x32_regs): Likewise.
47912 (struct La_x32_retval): Likewise.
47913 (struct La_ppc32_regs): Likewise.
47914 (struct La_ppc32_retval): Likewise.
47915 (struct La_ppc64_regs): Likewise.
47916 (struct La_ppc64_retval): Likewise.
47917 (struct La_sh_regs): Likewise.
47918 (struct La_sh_retval): Likewise.
47919 (struct La_s390_32_regs): Likewise.
47920 (struct La_s390_32_retval): Likewise.
47921 (struct La_s390_64_regs): Likewise.
47922 (struct La_s390_64_retval): Likewise.
47923 (struct La_sparc32_regs): Likewise.
47924 (struct La_sparc32_retval): Likewise.
47925 (struct La_sparc64_regs): Likewise.
47926 (struct La_sparc64_retval): Likewise.
47927 (struct audit_ifaces): Remove architecture-specific pltenter and
47928 pltexit members.
47929 * sysdeps/i386/ldsodefs.h: New file.
47930 * sysdeps/powerpc/ldsodefs.h: Likewise.
47931 * sysdeps/s390/ldsodefs.h: Likewise.
47932 * sysdeps/sh/ldsodefs.h: Likewise.
47933 * sysdeps/sparc/ldsodefs.h: Likewise.
47934 * sysdeps/x86_64/ldsodefs.h: Likewise.
47935
47936 2012-07-25 Marek Polacek <polacek@redhat.com>
47937
47938 [BZ #6808]
47939 * math/libm-test.inc (yn_test): Add another test.
47940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
47941 to ERANGE when the result is +-Inf.
47942 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47943 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
47944 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
47945 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
47946
47947 2012-07-24 Joseph Myers <joseph@codesourcery.com>
47948
47949 * conform/data/time.h-data (NULL): Use macro-constant. Require
47950 equal to 0.
47951 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
47952 clock_t.
47953 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
47954
47955 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
47956
47957 * configure.in <sysdeps resolving>: Correct printing
47958 Implies_before.
47959 * configure: Regenerate.
47960
47961 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
47962
47963 * math/w_ilogb.c: Include <limits.h>.
47964 * math/w_ilogbl.c: Likewise.
47965
47966 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47967
47968 * manual/lang.texi (__va_copy): Document primarily as ISO C99
47969 va_copy. Document allowing for unavailable va_copy only as
47970 pre-C99 compatibility.
47971 * manual/string.texi (Copying and Concatenation): Use va_copy
47972 instead of __va_copy in concat example.
47973
47974 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
47975
47976 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
47977 (__sendto): Use create_address_port. Initialize APORT and deallocate
47978 it if not null.
47979
47980 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
47981 with O_NOLINK passed to __file_name_lookup.
47982
47983 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
47984 with O_NOLINK passed to __file_name_lookup.
47985
47986 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
47987 negative N or less than NGIDS.
47988
47989 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
47990 type to string_t. Set ERANGE as errno and return it if NAME is not big
47991 enough. Use memcpy instead of strncpy.
47992
47993 2012-07-20 Joseph Myers <joseph@codesourcery.com>
47994
47995 * elf/Makefile (check-data): Remove.
47996 (localplt.data): New vpath directive.
47997 ($(objpfx)check-localplt.out): Use localplt.data from vpath
47998 instead of $(check-data).
47999 * scripts/data/localplt-generic.data: Move to ...
48000 * sysdeps/generic/localplt.data: ... here.
48001 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48002 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48003 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48005 ... here.
48006 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48008 ... here.
48009 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48011 ... here.
48012 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48014 ... here.
48015 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48017 ... here.
48018 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48020 ... here.
48021
48022 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48023
48024 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48025 PPC32 and PPC64 files.
48026 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48027 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48028
48029 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48030
48031 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48032 __makecontext_ret to ...
48033 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48034 ... here and call exit if uc_link is NULL. New file.
48035 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48036 __makecontext_ret.S.
48037 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48038 __makecontext_ret to ...
48039 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48040 ... here and call exit if uc_link is NULL. New file.
48041 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48042 __makecontext_ret.S.
48043
48044 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48045
48046 * elf/elf.h (R_390_IRELATIVE): New definition.
48047 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48048 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48049 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48050 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48051 (elf_machine_lazy_rel): Likewise.
48052 * sysdeps/s390/dl-irel.h: New file.
48053 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48054 * sysdeps/s390/s390-64/memset.S: New asm code.
48055 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48056 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48057 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48058 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48059 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48060 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48061 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48062 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48063 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48064 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48065 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48066 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48067 * sysdeps/s390/s390-32/memset.S: New asm code.
48068 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48069
48070 2012-07-17 Marek Polacek <polacek@redhat.com>
48071
48072 [BZ #14349]
48073 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48074 * sysdeps/s390/s390-64/configure.in: Likewise.
48075 * sysdeps/sparc/configure.in: Likewise.
48076 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48077 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48078 * sysdeps/i386/configure.in: Likewise.
48079 * sysdeps/x86_64/configure.in: Likewise.
48080 * sysdeps/sh/configure.in: Likewise.
48081 * sysdeps/s390/s390-32/configure: Regenerated.
48082 * sysdeps/s390/s390-64/configure: Likewise.
48083 * sysdeps/x86_64/configure: Likewise.
48084 * sysdeps/sh/configure: Likewise.
48085 * sysdeps/powerpc/powerpc64/configure: Likewise.
48086 * sysdeps/powerpc/powerpc32/configure: Likewise.
48087 * sysdeps/sparc/configure: Likwise.
48088 * sysdeps/i386/configure: Likewise.
48089
48090 * elf/dl-open.c: Comment fixes.
48091
48092 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48093
48094 * Makefile [CXX] (check-data): Remove.
48095 [CXX] (c++-types.data): New vpath directive.
48096 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48097 vpath. Do not allow for C++ type data being missing.
48098 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48099 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48100 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48101 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48102 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48103 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48104 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48106 ... here.
48107 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48109 ... here.
48110 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48112 ... here.
48113 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48115 ... here.
48116 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48118 ... here.
48119 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48121 ... here.
48122 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48124 ... here.
48125 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48127
48128 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48129 definitions to architecture-specific files.
48130 (TLS_IE): Likewise.
48131 (TLS_LD): Likewise.
48132 (TLS_GD): Likewise.
48133 * sysdeps/i386/tls-macros.h: New file.
48134 * sysdeps/powerpc/tls-macros.h: Likewise.
48135 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48136 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48137 * sysdeps/sh/tls-macros.h: Likewise.
48138 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48139 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48140 * sysdeps/x86_64/tls-macros.h: Likewise.
48141
48142 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48143
48144 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48145 zero value for regular exit case.
48146
48147 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48148 (__start_context): Preserve zero value for regular exit case.
48149
48150 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48151 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48152
48153 * manual/setjmp.texi (setcontext): Clarify normal process
48154 termination when uc_link is the null pointer.
48155 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48156 exit call.
48157
48158 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48159
48160 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48161 preprocessor. Test for each exception mask separately.
48162
48163 2012-07-16 Andreas Jaeger <aj@suse.de>
48164
48165 * po/ru.po: Update from translation team.
48166
48167 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48168
48169 * conform/data/string.h-data (NULL): Use macro-constant. Require
48170 equal to 0.
48171 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48172 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48173 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48174 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48175 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48176
48177 2012-07-13 Andreas Jaeger <aj@suse.de>
48178
48179 * po/fr.po: Update from translation team.
48180
48181 2012-07-12 Marek Polacek <polacek@redhat.com>
48182
48183 [BZ #14173]
48184 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48185 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48186 loop condition.
48187
48188 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48189
48190 [BZ #13717]
48191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48192 Change to 2.4.1 where previously 2.4.0.
48193 * sysdeps/unix/sysv/linux/configure: Regenerated.
48194 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48195 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48196 version.
48197 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48198 (__ASSUME_AT_CLKTCK): Remove.
48199 (__ASSUME_AT_PAGESIZE): Likewise.
48200 (__ASSUME_AT_XID): Likewise.
48201 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48202 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48203 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48204 unconditionally.
48205 (HAVE_AUX_PAGESIZE): Likewise.
48206 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48207 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48208 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48209
48210 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48211
48212 [BZ #14307]
48213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48214 the temporary buffer used to invoke __gethostbyname2_r,
48215 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48216 host_data / struct gaih_addrtuple.
48217 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48218 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48219 header file nss/nsswitch.h.
48220 * nss/nsswitch.h (global scope): Add definition of implementation
48221 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48222 resolv/nss_dns/dns-host.c).
48223
48224 2012-07-11 Andreas Jaeger <aj@suse.de>
48225
48226 * po/fr.po: Update from translation team.
48227
48228 * po/sv.po: Update from translation team
48229 * po/fr.po: Another update from translation team.
48230
48231 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48232
48233 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48234 for subnormals or multiply small sinh result by itself.
48235 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48237
48238 2012-07-11 David S. Miller <davem@davemloft.net>
48239
48240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48241
48242 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48243
48244 [BZ #14347]
48245 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48246 (INTERNAL_MARK): Shift it here.
48247
48248 2012-07-10 Marek Polacek <polacek@redhat.com>
48249
48250 [BZ #14151]
48251 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48252 libc_cv_asm_global_directive with .globl.
48253 * configure: Regenerated.
48254 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48255 with .globl.
48256 * sysdeps/i386/configure: Regenerated.
48257 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48258 with .globl.
48259 * sysdeps/x86_64/configure: Regenerated.
48260 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48261 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48262 * elf/tst-unique2mod2.c: Likewise.
48263 * elf/tst-unique2mod1.c: Likewise.
48264 * elf/tst-unique1mod2.c: Likewise.
48265 * elf/tst-unique1mod1.c: Likewise.
48266 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48267 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48268 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48269 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48270 * sysdeps/mach/sysdep.h: Likewise.
48271 * sysdeps/i386/sysdep.h: Likewise.
48272 * sysdeps/i386/i386-mcount.S: Likewise.
48273 * sysdeps/x86_64/_mcount.S: Likewise.
48274 * sysdeps/x86_64/sysdep.h: Likewise.
48275 * sysdeps/sh/_mcount.S: Likewise.
48276 * sysdeps/sh/sysdep.h: Likewise.
48277 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48278 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48279 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48280 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48281 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48282 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48283 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48284 * locale/localeinfo.h: Likewise.
48285 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48286 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48287
48288 2012-07-09 Roland McGrath <roland@hack.frob.com>
48289
48290 [BZ #14336]
48291 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48292 system".
48293 * manual/message.texi (The Uniforum approach): Likewise.
48294 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48295 (glibc iconv Implementation): Likewise.
48296
48297 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48298
48299 [BZ #14337]
48300 * math/s_clog.c (__clog): Avoid scaling a value down where that
48301 could result in underflow.
48302 * math/s_clog10.c (__clog10): Likewise.
48303 * math/s_clog10f.c (__clog10f): Likewise.
48304 * math/s_clog10l.c (__clog10l): Likewise.
48305 * math/s_clogf.c (__clogf): Likewise.
48306 * math/s_clogl.c (__clogl): Likewise.
48307 * math/libm-test.inc (clog_test): Add more tests.
48308 (clog10_test): Likewise.
48309 * sysdeps/i386/fpu/libm-test-ulps: Update.
48310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48311
48312 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48313
48314 [BZ #14283]
48315 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48316 by 7 not 8 to examine high bit of fractional part.
48317
48318 [BZ #14042]
48319 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48320 for call to __mcount_internal.
48321 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48322 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48323 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48324
48325 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48326
48327 [BZ #14154]
48328 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48329 approximation for values within 0x1p-13f of an odd multiple of
48330 pi/4.
48331 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48332 exception. Add more tests.
48333 * sysdeps/i386/fpu/libm-test-ulps: Update.
48334
48335 [BZ #6778]
48336 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48337 inputs and return -1 for them. Do not check for +Inf in case not
48338 reachable for +Inf.
48339 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48340 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48341 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48342 and return -1 for them. Do not check for +Inf in case not
48343 reachable for +Inf.
48344 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48345 define.
48346 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48347 and return -1 for them. Do not check for +Inf in case not
48348 reachable for +Inf.
48349 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48350 spurious underflow.
48351 * sysdeps/i386/fpu/libm-test-ulps: Update.
48352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48353
48354 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48355
48356 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48357
48358 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48359
48360 [BZ #14157]
48361 [BZ #14331]
48362 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48363 could result in spurious underflow. Scale down values above
48364 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48365 * math/s_csqrtf.c (__csqrtf): Likewise.
48366 * math/s_csqrtl.c (__csqrtl): Likewise.
48367 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48368 spurious underflow.
48369 * sysdeps/i386/fpu/libm-test-ulps: Update.
48370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48371
48372 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48373
48374 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48375 xopen-msg.sed.
48376 * catgets/xopen-msg.awk: New file.
48377 * catgets/xopen-msg.sed: Removed.
48378
48379 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48380 po2text.sed.
48381 * intl/po2test.awk: New file.
48382 * intl/po2test.sed: Removed.
48383
48384 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48385
48386 [BZ #14328]
48387 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48388 or multiply small sinh result by itself.
48389 * math/s_ctanf.c (__ctanf): Likewise.
48390 * math/s_ctanh.c (__ctanh): Likewise.
48391 * math/s_ctanhf.c (__ctanhf): Likewise.
48392 * math/s_ctanhl.c (__ctanhl): Likewise.
48393 * math/s_ctanl.c (__ctanl): Likewise.
48394 * math/libm-test.inc (ctan_test_tonearest): New function.
48395 (ctan_test_towardzero): Likewise.
48396 (ctan_test_downward): Likewise.
48397 (ctan_test_upward): Likewise.
48398 (ctanh_test_tonearest): Likewise.
48399 (ctanh_test_towardzero): Likewise.
48400 (ctanh_test_downward): Likewise.
48401 (ctanh_test_upward): Likewise.
48402 (main): Call these new functions.
48403 * sysdeps/i386/fpu/libm-test-ulps: Update.
48404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48405
48406 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48407
48408 * .gitignore: Delete /ports entry.
48409
48410 2012-07-03 Andreas Jaeger <aj@suse.de>
48411
48412 * po/bg.po: Update from translation team.
48413 * po/cs.po: Likewise.
48414 * po/de.po: Likewise.
48415 * po/hr.po: Likewise.
48416 * po/nl.pl: Likewise.
48417 * po/pl.po: Likewise.
48418 * po/vi.po: Likewise.
48419
48420 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48421
48422 * Makeconfig [!+link] (+link-before-libc): New variable.
48423 [!+link] (+link-after-libc): Likewise.
48424 [!+link] (+link-tests): Likewise.
48425 [!+link] (+link): Define in terms of $(+link-before-libc) and
48426 $(+link-after-libc).
48427 [!+link-static] (+link-static-before-libc): New variable.
48428 [!+link-static] (+link-static-after-libc): Likewise.
48429 [!+link-static] (+link-static-tests): Likewise.
48430 [!+link-static] (+link-static): Define in terms of
48431 $(+link-static-before-libc) and $(+link-static-after-libc).
48432 [build-shared] (link-libc-before-gnulib): New variable.
48433 [build-shared] (link-libc-tests): Likewise.
48434 [build-shared] (link-libc): Define in terms of
48435 $(link-libc-before-gnulib).
48436 [!build-shared] (link-libc-tests): New variable.
48437 (link-libc-static-tests): New variable.
48438 [!gnulib] (gnulib-arch): New variable.
48439 [!gnulib] (gnulib-tests): Likewise.
48440 [!gnulib] (static-gnulib-arch): Likewise.
48441 [!gnulib] (static-gnulib-tests): Likewise.
48442 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48443 Define with "=" instead of ":=".
48444 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48445 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48446 * Rules (binaries-all-notests): New variable.
48447 (binaries-all-tests): Likewise.
48448 (binaries-static-notests): Likewise.
48449 (binaries-static-tests): Likewise.
48450 (binaries-all): Define using $(binaries-all-notests) and
48451 $(binaries-all-tests).
48452 (binaries-static): Define using $(binaries-static-notests) and
48453 $(binaries-static-tests).
48454 (binaries-shared-tests): New variable.
48455 (binaries-shared-notests): Likewise.
48456 (binaries-shared): Remove variable.
48457 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48458 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48459 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48460 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48461 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48462 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48463 * elf/Makefile (sln-modules): New variable.
48464 (extra-objs): Add $(sln-modules:=.o).
48465 (ldconfig-modules): Add static-stubs.
48466 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48467 * elf/static-stubs.c: New file.
48468
48469 [BZ #14283]
48470 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48471 by 7 not 8 to examine high bit of fractional part. Use volatile
48472 variables when splitting into final array of floats if
48473 __FLT_EVAL_METHOD__ != 0.
48474 * math/libm-test.inc (cos_test): Add another test.
48475 (sin_test): Likewise.
48476 * sysdeps/i386/fpu/libm-test-ulps: Update.
48477
48478 [BZ #14273]
48479 * math/libm-test.inc (cosh_test): Add more tests.
48480
48481 * version.h (RELEASE): Set to "development".
48482 (VERSION): Set to "2.16.90".
48483
48484 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48485
48486 * NEWS: Update copyright. Remove last-updated date.
48487 Mention math library bug fixes and timezone data changes.
48488 * README: Mention GNU/Hurd, x32, and HPPA support status.
48489
48490 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48491
48492 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48493
48494 2012-06-27 Andreas Jaeger <aj@suse.de>
48495
48496 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48497
48498 2012-06-25 Andreas Jaeger <aj@suse.de>
48499
48500 * sysdeps/s390/fpu/libm-test-ulps: Update.
48501
48502 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48503 Thomas Schwinge <thomas@codesourcery.com>
48504
48505 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48506 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48507 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48508 fanotify_mark.
48509
48510 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48511
48512 * sysdeps/mach/start.c: Remove file.
48513 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48514 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48515 * sysdeps/sh/init-first.c: Likewise.
48516
48517 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48518 registers for frame unwinding purposes, add CFI directives.
48519 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48520 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48521 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48522 Likewise.
48523
48524 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48525 __fortify_fail returning.
48526 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48527
48528 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48529 sysdeps/sh/____longjmp_chk.S.
48530 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48531 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48532 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48533 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48534
48535 * sysdeps/sh/abort-instr.h: New file.
48536 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48537 process in case exit returns.
48538
48539 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48540 initialize the GOT register before use.
48541
48542 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48543 calculation of ARGC > 4.
48544
48545 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48546 meaningful names to some local labels.
48547
48548 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48549 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48550
48551 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48552 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48553 (__arch_compare_and_exchange_val_16_acq): Likewise.
48554 (__arch_compare_and_exchange_val_32_acq): Likewise.
48555 (atomic_exchange_and_add): Fix gUSA sequence.
48556 (atomic_add): Likewise.
48557 (atomic_add_negative): Likewise.
48558 (atomic_add_zero): Likewise.
48559 (atomic_bit_test_set): Likewise.
48560
48561 2012-06-22 Andreas Schwab <schwab@redhat.com>
48562
48563 [BZ #13579]
48564 * include/link.h (struct link_map): Add l_free_initfini.
48565 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48566 l_initfini.
48567 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48568 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48569 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48570 set.
48571
48572 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48573
48574 * configure.in: Use AC_LANG_SOURCE.
48575 * configure: Regenerate.
48576
48577 2012-06-22 Roland McGrath <roland@hack.frob.com>
48578
48579 * configure.in (libc_cv_localstatedir): New substituted variable.
48580 * configure: Regenerated.
48581 * config.make.in (localstatedir): New variable, substituted from
48582 libc_cv_localstatedir.
48583 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48584 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48585 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48586 * sysdeps/gnu/configure: Regenerated.
48587
48588 2012-06-21 Jeff Law <law@redhat.com>
48589
48590 [BZ #14277]
48591 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48592 free. Simplify list management for _LIBC case.
48593
48594 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48595
48596 [BZ #14273]
48597 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48598 Clear sign bit of 64-bit integer value before comparing against
48599 overflow value.
48600
48601 * sysdeps/mach/configure: Regenerated.
48602
48603 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48604
48605 [BZ #14278]
48606 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48607
48608 2012-06-21 Jeff Law <law@redhat.com>
48609
48610 [BZ #13882]
48611 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48612 uint16_t for elements in the "seen" array to avoid char overflows.
48613 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48614 * elf/dl-open.c (dl_open_worker): Likewise.
48615
48616 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48617
48618 * scripts/list-sources.sh: Scan PORTS for translations.
48619 * po/libc.pot: Regenerated.
48620
48621 2012-06-21 Andreas Jaeger <aj@suse.de>
48622
48623 [BZ #12194]
48624 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48625 warning.
48626 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48627 * bits/byteswap-16.h (__bswap_16): Likewise.
48628 * bits/byteswap.h (__bswap_constant_16): Likewise.
48629
48630 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48631
48632 [BZ #14117]
48633 * sysdeps/i386/fpu_control.h: Removed.
48634 * sysdeps/x86_64/fpu_control.h: Moved to ...
48635 * sysdeps/x86/fpu_control.h: Here.
48636
48637 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48638 (_FPU_SETCW): Likewise.
48639
48640 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48641
48642 [BZ #14117]
48643 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48644 * sysdeps/x86/fpu/bits/mathinline.h: This.
48645 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48646
48647 [BZ #14050]
48648 [BZ #14117]
48649 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48650 functions if __x86_64__ is defined.
48651
48652 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48653
48654 * string/endian.h: Add !__ASSEMBLER__ condition for including
48655 conversion interfaces.
48656
48657 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48658
48659 [BZ #14241]
48660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48661 of ABS(x) in calculating zero to negative powers other than odd
48662 integers.
48663 * math/libm-test.inc (pow_test): Add more tests.
48664
48665 2012-06-15 Andreas Jaeger <aj@suse.de>
48666
48667 * manual/contrib.texi (Contributors): Update entry of Liubov
48668 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48669 Machado Filho.
48670
48671 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48672
48673 * string/string.h: Add __wur to GNU version of strerror_r.
48674
48675 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48676
48677 [BZ #14229]
48678 * string/Makefile (tests): Add tst-strtok_r.
48679 * string/tst-strtok_r.c: New file.
48680 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48681 RAX_LP/RDX_LP on SAVE_PTR.
48682
48683 2012-06-14 Roland McGrath <roland@hack.frob.com>
48684
48685 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48686
48687 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48688
48689 * libm_test.inc (csqrt_test): Allow more spurious underflow
48690 exceptions.
48691 (j0_test): Likewise.
48692 (j1_test): Likewise.
48693 (y0_test): Likewise.
48694 (y1_test): Likewise.
48695
48696 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48697
48698 * po/Makefile (libc.pot): Use UTF-8 charset.
48699
48700 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
48701
48702 [BZ #14210]
48703 Suppress sign-conversion warning from FD_SET.
48704 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48705 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48706 not unsigned long int.
48707 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48708
48709 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
48710
48711 [BZ #14050]
48712 [BZ #14117]
48713 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48714 __extern_always_inline instead of __extern_inline.
48715 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48716 (__signbit): Likewise.
48717 (__signbitl): Support C++ namespace.
48718 (lrintf): New inline function.
48719 (lrint): Likewise.
48720 (llrintf): Likewise.
48721 (llrint): Likewise.
48722 (fmaxf): Likewise.
48723 (fmax): Likewise.
48724 (fminf): Likewise.
48725 (fmin): Likewise.
48726 (rint): Likewise.
48727 (rintf): Likewise.
48728 (ceil): Likewise.
48729 (ceilf): Likewise.
48730 (floor): Likewise.
48731 (floorf): Likewise.
48732 (nearbyint): Likewise.
48733 (nearbyintf): Likewise.
48734
48735 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
48736
48737 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48738 non-default versions.
48739
48740 2012-06-11 Roland McGrath <roland@hack.frob.com>
48741
48742 [BZ #14218]
48743 * manual/argp.texi (Argp): Reword argp_parse description slightly.
48744
48745 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
48746
48747 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48748 (FE_UPWARD, FE_DOWNWARD): Don't define.
48749 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48750 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48751
48752 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48753 reading it.
48754 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48755 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48756
48757 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48758
48759 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48761 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48762 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48763
48764 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
48765
48766 [BZ #14117]
48767 * sysdeps/i386/fpu/bits/fenv.h: Removed.
48768 * sysdeps/i386/fpu/Implies: New file.
48769 * sysdeps/x86_64/fpu/Implies: Likewise.
48770 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48771 * sysdeps/x86/fpu/bits/fenv.h: This.
48772
48773 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48774 __SSE_MATH__.
48775
48776 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48777
48778 [BZ #14134]
48779 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48780 character 0xffff that matches the last element of the
48781 conversion table.
48782
48783 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48784
48785 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48786 fmodl commit.
48787
48788 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48789
48790 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48791 values higher than 25.6283.
48792
48793 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48794
48795 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48796 subnormal exponent extraction and add some __builtin_expect.
48797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48798 Fix for subnormal mantissa calculation.
48799
48800 2012-06-04 Mike Frysinger <vapier@gentoo.org>
48801
48802 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48803 cpu2 is -1 and errno is not ENOSYS.
48804
48805 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
48806
48807 [BZ #14117]
48808 * sysdeps/i386/i486/bits/string.h: Renamed to ...
48809 * sysdeps/x86/bits/string.h: This.
48810 * sysdeps/x86_64/bits/string.h: Removed.
48811
48812 * sysdeps/i386/i486/bits/string.h: Define inline functions only
48813 if not compiling for x86-64, but compiling for >= i486.
48814
48815 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48816 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48817
48818 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48819 New macro from Linux kernel 3.4.0.
48820 (FP_XSTATE_MAGIC2): Likewise.
48821 (FP_XSTATE_MAGIC2_SIZE): Likewise.
48822 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48823 (struct _fpx_sw_bytes): New struct.
48824 (struct _xsave_hdr): Likewise.
48825 (struct _ymmh_state): Likewise.
48826 (struct _xstate): Likewise.
48827
48828 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48829 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48830 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48831 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48832 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48833 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48834
48835 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48836 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48837 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48838 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48839 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48840 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48841
48842 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48843
48844 [BZ #13743]
48845 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48846 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48847 (sysdep_headers): Include sys/platform/ppc.h.
48848 * sysdeps/powerpc/test-gettimebase.c: Test for
48849 __ppc_get_timebase() to catch future ISA opcode/insn changes.
48850 * manual/Makefile (appendices): Include platform.texi.
48851 * manual/contrib.texi (Contributors): Update @node pointers.
48852 * manual/maint.texi (Maintenance): Likewise.
48853 (Platform): New node.
48854 * manual/platform.texi: New file. Document the new features.
48855
48856 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48857 Jakub Jelinek <jakub@redhat.com>
48858
48859 [BZ #14188]
48860 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48861 where __builtin_expect is unavailable.
48862
48863 2012-06-03 David S. Miller <davem@davemloft.net>
48864
48865 * stdlib/longlong.h: Updated from GCC.
48866
48867 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
48868
48869 [BZ #14042]
48870 * sysdeps/powerpc/powerpc32/mcount.c: New file.
48871 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48872 __mcount_internal.
48873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48874 (GLIBC_2.16): Likewise.
48875
48876 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48877
48878 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48879
48880 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48881
48882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48883 (default-abi): New variable.
48884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48885 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48886 variable.
48887 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48888 Likewise.
48889 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48890 Likewise.
48891 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48892 Likewise.
48893
48894 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48895 definition. Document in comment.
48896
48897 2012-06-01 David S. Miller <davem@davemloft.net>
48898
48899 * stdlib/longlong.h: Updated from GCC.
48900
48901 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48902
48903 [BZ #14117]
48904 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48905 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48906 sys/debugreg.h sys/io.h here.
48907 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48908 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
48909 sys/io.h.
48910 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
48911 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
48912 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
48913 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
48914 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
48915 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
48916
48917 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
48918 Define only if __x86_64__ is defined.
48919
48920 2012-06-01 Joseph Myers <joseph@codesourcery.com>
48921
48922 [BZ #14048]
48923 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
48924 Use int64_t for variable i.
48925 * math/libm-test.inc (fmod_test): Add more tests.
48926
48927 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
48928 z computation is not scheduled after fetestexcept.
48929 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
48930 Use math_force_eval instead of asm to ensure calculation scheduled
48931 before exception test.
48932 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
48933 Ensure a1 + u.d computation is not scheduled after fetestexcept.
48934
48935 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
48936
48937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
48938 computation is not scheduled after fetestexcept.
48939
48940 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
48941
48942 [BZ #14117]
48943 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
48944 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
48945
48946 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48947
48948 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
48949 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48950
48951 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
48952
48953 [BZ #14117]
48954 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
48955 <bits/wordsize.h>.
48956 (__WCHAR_MIN): Support __WORDSIZE == 64.
48957 (__WCHAR_MAX): Likewise.
48958
48959 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
48960 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
48961
48962 [BZ #14183]
48963 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
48964 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
48965
48966 [BZ #14117]
48967 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
48968 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
48969
48970 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
48971 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
48972
48973 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
48974 Defined to 1 if __x86_64__ isn't defined.
48975 (_STAT_VER_LINUX_OLD): New.
48976 (st_atime): Remove duplicate.
48977 (st_mtime): Likewise.
48978 (st_ctime): Likewise.
48979
48980 2012-05-31 David S. Miller <davem@davemloft.net>
48981
48982 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
48983 entries.
48984
48985 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
48986
48987 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
48988 gen-libm-test.pl.
48989
48990 [BZ #14132]
48991 * elf/dl-reloc.c: Include <_itoa.h>.
48992 (_dl_reloc_bad_type): Remove use of INTUSE.
48993 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
48994 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
48995 * stdio-common/psiginfo.c (psiginfo): Likewise.
48996 * stdio-common/psignal.c (psignal): Likewise.
48997 * string/strsignal.c (strsignal): Likewise.
48998 * include/signal.h (_sys_siglist): Declare hidden proto.
48999 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49000 INTVARDEF with libc_hidden_data_def.
49001 * stdio-common/itoa-udigits.c: Likewise.
49002 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49003 (_itoa_lower_digits_internal): Remove declaration.
49004 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49005 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49006 (_sys_sigabbrev_internal): Remove aliases.
49007 (_sys_siglist): Define hidden alias.
49008
49009 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49010
49011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49012 bits/sysctl.h.
49013
49014 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49015
49016 [BZ #14117]
49017 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49018 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49019
49020 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49021 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49022 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49023 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49025 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49026
49027 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49028 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49029 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49030
49031 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49032 with __addr.
49033 (insw): Likewise.
49034 (insl): Likewise.
49035 (outsb): Likewise.
49036 (outsw): Likewise.
49037 (outsl): Likewise.
49038
49039 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49040 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49041 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49042
49043 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49044 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49045 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49046 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49047 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49048 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49049
49050 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49051 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49052
49053 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49054 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49055
49056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49057 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49058 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49059
49060 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49061 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49062 to ...
49063 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49064
49065 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49066 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49067 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49068
49069 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49070 for x86-64.
49071 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49072
49073 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49074
49075 * math/math.h (M_El): Use two more decimal places.
49076 (M_LOG2El): Likewise.
49077 (M_LOG10El): Likewise.
49078 (M_LN2l): Likewise.
49079 (M_LN10l): Likewise.
49080 (M_PIl): Likewise.
49081 (M_PI_2l): Likewise.
49082 (M_PI_4l): Likewise.
49083 (M_1_PIl): Likewise.
49084 (M_2_PIl): Likewise.
49085 (M_2_SQRTPIl): Likewise.
49086 (M_SQRT2l): Likewise.
49087 (M_SQRT1_2l): Likewise.
49088
49089 2012-05-31 David S. Miller <davem@davemloft.net>
49090
49091 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49092 values between float registers.
49093 * sysdeps/sparc/sparc64/memset.S: Likewise.
49094 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49095
49096 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49097
49098 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49099 -D_FORTIFY_SOURCE=1.
49100 (CPPFLAGS-tst-longjmp_chk.c): Define.
49101 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49102 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49103 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49104 CFLAGS-tst-wchar-h.c.
49105
49106 2012-05-31 Marek Polacek <polacek@redhat.com>
49107
49108 [BZ #14132]
49109 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49110 __endmntent_internal): Remove declaration.
49111 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49112 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49113 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49114
49115 2012-05-30 David S. Miller <davem@davemloft.net>
49116
49117 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49118 (___Q_simulate_exceptions): Use real FP ops rather than writing
49119 into the %fsr.
49120 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49121 Likewise.
49122
49123 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49124
49125 [BZ #14117]
49126 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49127 * sysdeps/x86/bits/xtitypes.h: This.
49128
49129 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49130 * sysdeps/x86/bits/wordsize.h: This.
49131
49132 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49133 * sysdeps/x86/bits/huge_vall.h: This.
49134
49135 * sysdeps/i386/bits/select.h: Removed.
49136 * sysdeps/x86_64/bits/select.h: Renamed to ...
49137 * sysdeps/x86/bits/select.h: This.
49138
49139 * sysdeps/i386/bits/setjmp.h: Removed.
49140 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49141 * sysdeps/x86/bits/setjmp.h: This.
49142
49143 * sysdeps/i386/bits/mathdef.h: Removed.
49144 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49145 * sysdeps/x86/bits/mathdef.h: This.
49146
49147 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49148
49149 [BZ #14132]
49150 * include/sys/socket.h (__connect_internal)
49151 (__libc_sa_len_internal): Remove declaration.
49152 (__connect, __libc_sa_len): Declare hidden_proto.
49153 (SA_LEN): Remove use of INTUSE.
49154 * socket/connect.c: Add libc_hidden_def.
49155 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49156 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49157 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49158 alias.
49159 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49160 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49161 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49162 of adding _internal alias.
49163
49164 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49165
49166 [BZ #14117]
49167 * sysdeps/i386/bits/link.h: Removed.
49168 * sysdeps/i386/bits/linkmap.h: Likewise.
49169 * sysdeps/x86_64/bits/link.h: Renamed to ...
49170 * sysdeps/x86/bits/link.h: This.
49171 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49172 * sysdeps/x86/bits/linkmap.h: This.
49173
49174 * sysdeps/i386/bits/endian.h: Removed.
49175 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49176 * sysdeps/x86/bits/endian.h: This.
49177
49178 * sysdeps/i386/bits/byteswap.h: Removed.
49179 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49180 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49181 * sysdeps/x86/bits/byteswap.h: This.
49182 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49183 * sysdeps/x86/bits/byteswap-16.h: This.
49184 * sysdeps/i386/Implies: Add x86.
49185 * sysdeps/x86_64/Implies: Likewise.
49186
49187 2012-05-30 David S. Miller <davem@davemloft.net>
49188
49189 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49190 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49191 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49192 (FP_TRAPPING_EXCEPTIONS): Define.
49193 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49194 (FP_TRAPPING_EXCEPTIONS): Define.
49195 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49196 subnormals only when inexact has been signalled or underflow
49197 exceptions are enabled.
49198 (_FP_PACK_CANONICAL): Likewise.
49199
49200 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49201
49202 [BZ #14183]
49203 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49204 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49205
49206 2012-05-30 Richard Henderson <rth@twiddle.net>
49207
49208 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49209 with #ifndef NOT_IN_libc.
49210
49211 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49212 marked to avoid plt entry.
49213
49214 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49215
49216 [BZ #14112]
49217 * Makeconfig (default-abi): New macro.
49218 (abi-includes): Likewise.
49219 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49220 $(abi-$(default-abi)-lib-soname) for soname if defined.
49221 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49222 abi-variants.
49223 * Makefile (installed-stubs): Likewise.
49224 * include/stubs-biarch.h: Removed.
49225 * scripts/lib-names.awk: Only handle one library at a time.
49226 * scripts/soversions.awk: Remove WORDSIZE support.
49227 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49228 entries.
49229 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49230 Removed.
49231 (syscall-list-default-condition): Likewise.
49232 (syscall-list-default-condition): Likewise.
49233 (syscall-list-includes): Likewise.
49234 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49235 syscall-list-* with abi-*. Handle undefined abi-variants.
49236 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49237 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49238 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49239 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49240 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49241 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49242 Removed.
49243 (syscall-list-32-options): Likewise.
49244 (syscall-list-32-condition): Likewise.
49245 (syscall-list-64-options): Likewise.
49246 (syscall-list-64-condition): Likewise.
49247 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49248 macro.
49249 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49250 Renamed to ...
49251 (abi-*): This.
49252 (abi-64-ld-soname): New macro.
49253 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49254 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49255 Renamed to ...
49256 (abi-*): This.
49257 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49258 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49259
49260 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49261
49262 * sysdeps/unix/sysv/linux/kernel-features.h
49263 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49264 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49265 include <kernel-features.h>.
49266 [!__NR_ftruncate64]: Remove conditional code.
49267 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49268 [__NR_ftruncate64]: Make code unconditional.
49269 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49270 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49271 include <kernel-features.h>.
49272 [!__NR_ftruncate64]: Remove conditional code.
49273 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49274 [__NR_ftruncate64]: Make code unconditional.
49275 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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
49289 * configure.in (libc_cv_fpie): Weaken to a compile test using
49290 LIBC_TRY_CC_OPTION.
49291 * configure: Regenerated.
49292
49293 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49294
49295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49299 Refreshed.
49300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49306 Refreshed.
49307
49308 2012-05-27 David S. Miller <davem@davemloft.net>
49309
49310 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49311 (___Q_zero): New.
49312 (__Q_simulate_exceptions): Return void. Change to simulate
49313 exceptions by writing into the %fsr.
49314 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49315 (__Qp_handle_exceptions): Likewise.
49316 (numbers): Delete.
49317 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49318 __Qp_handle_exceptions.
49319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49320 __Qp_handle_exceptions.
49321 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49322 as unused and give dummy FP_RND_NEAREST initializer.
49323 (FP_INHIBIT_RESULTS): Define.
49324 (___Q_simulate_exceptions): Update declaration.
49325 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49326 formatting.
49327 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49328 as unused and give dummy FP_RND_NEAREST initializer.
49329 (__Qp_handle_exceptions): Update declaration.
49330 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49331 formatting.
49332
49333 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49334
49335 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49336 the temporary FPU control word.
49337 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49338 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49339 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49340 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49341 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49342 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49343 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49344 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49345 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49346 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49347 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49348
49349 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49350
49351 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49352 fields.
49353
49354 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49355
49356 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49357 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49358 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49359 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49360 Likewise.
49361 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49362 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49363 Likewise.
49364
49365 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49366
49367 * po/h.po: Update from translation team.
49368
49369 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49370
49371 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49372
49373 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49374 handling of denormals.
49375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49376 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49377 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49378 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49380 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49382 Likewise.
49383
49384 2012-05-26 Marek Polacek <polacek@redhat.com>
49385
49386 [BZ #14152]
49387 * math/libm-test.inc (fma_test): Don't always expect underflow
49388 exception.
49389
49390 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49391
49392 [BZ #12416]
49393 * elf/tst-execstack.c: Include stackinfo.h.
49394 (do_test): Adjust test case to ensure that pthread_getattr_np
49395 behaviour remains the same after marking stack executable.
49396
49397 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49398
49399 * sysdeps/unix/sysv/linux/kernel-features.h
49400 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49401 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49402 kernel-features.h.
49403 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49404 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49405 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49406 kernel-features.h.
49407 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49408 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49409
49410 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49411
49412 * configure.in: Define the default includes to being none.
49413 * configure: Regenerated.
49414
49415 2012-05-25 Roland McGrath <roland@hack.frob.com>
49416
49417 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49418 * sysdeps/x86_64/setjmp.S: Likewise.
49419 * sysdeps/i386/bsd-setjmp.S: Likewise.
49420 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49421 * sysdeps/i386/setjmp.S: Likewise.
49422 * sysdeps/i386/__longjmp.S: Likewise.
49423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49424 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49425
49426 * include/stap-probe.h: New file.
49427 * configure.in: Handle --enable-systemtap.
49428 * configure: Regenerated.
49429 * config.h.in (USE_STAP_PROBE): New #undef.
49430 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49431 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49432 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49433
49434 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49435
49436 [BZ #13717]
49437 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49438 to 2.4.0 where earlier.
49439 * sysdeps/unix/sysv/linux/configure: Regenerated.
49440 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49441 <kernel-features.h>.
49442 [__ASSUME_32BITUIDS]: Make code unconditional.
49443 [!__ASSUME_32BITUIDS]: Remove conditional code.
49444 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49445 <kernel-features.h>.
49446 [__ASSUME_32BITUIDS]: Make code unconditional.
49447 [!__ASSUME_32BITUIDS]: Remove conditional code.
49448 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49449 [__ASSUME_32BITUIDS]: Make code unconditional.
49450 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49451 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49452 <kernel-features.h>.
49453 [__ASSUME_32BITUIDS]: Make code unconditional.
49454 [!__ASSUME_32BITUIDS]: Remove conditional code.
49455 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49456 <kernel-features.h>.
49457 [__ASSUME_32BITUIDS]: Make code unconditional.
49458 [!__ASSUME_32BITUIDS]: Remove conditional code.
49459 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49460 <kernel-features.h>.
49461 [__ASSUME_32BITUIDS]: Make code unconditional.
49462 [!__ASSUME_32BITUIDS]: Remove conditional code.
49463 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
49492 <kernel-features.h>.
49493 [__NR_setresgid] (__setresgid): Do not declare.
49494 [__ASSUME_32BITUIDS]: Make code unconditional.
49495 [!__ASSUME_32BITUIDS]: Remove conditional code.
49496 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49497 <kernel-features.h>.
49498 [__NR_setresuid] (__setresuid): Do not declare.
49499 [__ASSUME_32BITUIDS]: Make code unconditional.
49500 [!__ASSUME_32BITUIDS]: Remove conditional code.
49501 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49502 <kernel-features.h>.
49503 [__ASSUME_32BITUIDS]: Make code unconditional.
49504 [!__ASSUME_32BITUIDS]: Remove conditional code.
49505 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49506 <kernel-features.h>.
49507 [__ASSUME_32BITUIDS]: Make code unconditional.
49508 [!__ASSUME_32BITUIDS]: Remove conditional code.
49509 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49510 <kernel-features.h>.
49511 [__ASSUME_32BITUIDS]: Make code unconditional.
49512 [!__ASSUME_32BITUIDS]: Remove conditional code.
49513 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
49542 (__ASSUME_SETRESUID_SYSCALL): Remove.
49543 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49544 (__ASSUME_32BITUIDS): Likewise.
49545 (__ASSUME_LDT_WORKS): Likewise.
49546 (__ASSUME_O_DIRECTORY): Likewise.
49547 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49548 architecture but not kernel version.
49549 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49550 (__ASSUME_MMAP2_SYSCALL): Likewise.
49551 (__ASSUME_STAT64_SYSCALL): Likewise.
49552 (__ASSUME_IPC64): Likewise.
49553 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49554 <kernel-features.h>.
49555 [__ASSUME_32BITUIDS]: Make code unconditional.
49556 [!__ASSUME_32BITUIDS]: Remove conditional code.
49557 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49558 <kernel-features.h>.
49559 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49560 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49561 132096]: Remove conditional code.
49562 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49563 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49564 <kernel-features.h>.
49565 [__ASSUME_32BITUIDS]: Make code unconditional.
49566 [!__ASSUME_32BITUIDS]: Remove conditional code.
49567 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49568 <kernel-features.h>.
49569 [__ASSUME_32BITUIDS]: Make code unconditional.
49570 [!__ASSUME_32BITUIDS]: Remove conditional code.
49571 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49572 <kernel-features.h>.
49573 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49574 unconditional.
49575 (__setresgid): Do not declare.
49576 [__ASSUME_32BITUIDS]: Make code unconditional.
49577 [!__ASSUME_32BITUIDS]: Remove conditional code.
49578 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49579 <kernel-features.h>.
49580 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49581 unconditional.
49582 (__setresuid): Do not declare.
49583 [__ASSUME_32BITUIDS]: Make code unconditional.
49584 [!__ASSUME_32BITUIDS]: Remove conditional code.
49585 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49586 <kernel-features.h>.
49587 [__ASSUME_32BITUIDS]: Make code unconditional.
49588 [!__ASSUME_32BITUIDS]: Remove conditional code.
49589 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49590 <kernel-features.h>.
49591 [__ASSUME_32BITUIDS]: Make code unconditional.
49592 [!__ASSUME_32BITUIDS]: Remove conditional code.
49593
49594 2012-05-25 Richard Henderson <rth@twiddle.net>
49595
49596 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49597 dl_hwcap to ifunc resolver.
49598 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49599 elf_ifunc_invoke.
49600 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49601 dl_hwcap to ifunc resolver.
49602 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49603
49604 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49605
49606 [BZ #14153]
49607 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49608 for |x| <= 2**-26, not 2**-57.
49609 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49610 exception.
49611
49612 2012-05-24 Jeff Law <law@redhat.com>
49613
49614 * stdio-common/Makefile (tests): Add bug25.
49615 * stdio-common/bug25.c: New test.
49616
49617 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49618
49619 [BZ #13576]
49620 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49621 multiple of MALLOC_ALIGNMENT in size.
49622 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49623
49624 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49625
49626 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49627 Require >= 256.
49628 (FILENAME_MAX): Use macro-int-constant.
49629 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49630 (_IOFBF): Use macro-int-constant.
49631 (_IOLBF): Likewise.
49632 (_IONBF): Likewise.
49633 (SEEK_CUR): Likewise.
49634 (SEEK_END): Likewise.
49635 (SEEK_SET): Likewise.
49636 (TMP_MAX): Likewise.
49637 (EOF): Use macro-int-constant. Require < 0.
49638 (NULL): Use macro-constant. Require == 0.
49639 (stdin): Require type to be FILE *.
49640 (stdout): Likewise.
49641 (stderr): Likewise.
49642 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49643 macro-int-constant.
49644 (EXIT_SUCCESS): Likewise.
49645 (NULL): Use macro-constant. Require == 0.
49646 (RAND_MAX): Use macro-int-constant.
49647 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49648 [C99-based standards] (strtof): Require function.
49649 [C99-based standards] (strtold): Likewise.
49650 [C99-based standards] (strtoll): Likewise.
49651 [C99-based standards] (strtoull): Likewise.
49652 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49653 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49654 [ISO || ISO99 || ISO11] (math.h): Likewise.
49655 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49656 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49658
49659 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49660
49661 [BZ #14132]
49662 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49663 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49664 * intl/dgettext.c (DCGETTEXT): Likewise.
49665 * intl/gettext.c (DCGETTEXT): Likewise.
49666 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49667 * posix/regex_internal.h (gettext): Likewise.
49668 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49669 Remove declaration.
49670 * include/argz.h (__argz_count_internal)
49671 (__argz_stringify_internal): Remove declaration.
49672 (__argz_count, __argz_stringify): Declare hidden proto.
49673 * intl/dcgettext.c: Remove use of INTDEF.
49674 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49675 * string/argz-stringify.c: Likewise.
49676 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49677 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49678 Declare hidden proto.
49679 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49680 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49681 Declare hidden proto.
49682 * include/stdio.h (__asprintf_internal): Don't declare.
49683 (__asprintf): Don't define as macro. Declare hidden proto.
49684 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49685 (__fsetlocking): Declare hidden proto.
49686 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49687 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49688 hidden proto.
49689 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49690 (_IO_setlinebuf): Remove use of INTUSE.
49691 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49692 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49693 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49694 Remove declaration.
49695 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49696 (_IO_do_flush): Remove use of INTUSE.
49697 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49698 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49699 (_IO_adjust_column, _IO_least_wmarker)
49700 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49701 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49702 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49703 (_IO_default_doallocate, _IO_wdefault_doallocate)
49704 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49705 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49706 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49707 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49708 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49709 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49710 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49711 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49712 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49713 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49714 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49715 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49716 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49717 proto.
49718 (_IO_flush_all_internal, _IO_adjust_column_internal)
49719 (_IO_default_uflow_internal, _IO_default_finish_internal)
49720 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49721 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49722 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49723 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49724 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49725 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49726 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49727 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49728 (_IO_file_close_internal, _IO_file_close_it_internal)
49729 (_IO_file_underflow_internal, _IO_file_overflow_internal)
49730 (_IO_file_init_internal, _IO_file_attach_internal)
49731 (_IO_file_fopen_internal, _IO_file_read_internal)
49732 (_IO_file_sync_internal, _IO_file_seek_internal)
49733 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49734 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49735 (_IO_str_underflow_internal, _IO_str_overflow_internal)
49736 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49737 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49738 (_IO_list_all_internal, _IO_link_in_internal)
49739 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49740 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49741 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49742 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49743 (_IO_do_write_internal, _IO_padn_internal)
49744 (_IO_getline_info_internal, _IO_getline_internal)
49745 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49746 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49747 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49748 (_IO_vfscanf_internal, _IO_vfprintf_internal)
49749 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49750 (_IO_init_internal, _IO_un_link_internal): Don't declare.
49751 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49752 with libc_hidden_ver, remove use of INTUSE.
49753 * libio/genops.c: Likewise.
49754 * libio/freopen.c: Likewise.
49755 * libio/freopen64.c: Likewise.
49756 * libio/iofclose.c: Likewise.
49757 * libio/iofdopen.c: Likewise.
49758 * libio/iofflush.c: Likewise.
49759 * libio/iofflush_u.c: Likewise.
49760 * libio/iofgets.c: Likewise.
49761 * libio/iofgets_u.c: Likewise.
49762 * libio/iofopen.c: Likewise.
49763 * libio/iofopncook.c: Likewise.
49764 * libio/iofread.c: Likewise.
49765 * libio/iofread_u.c: Likewise.
49766 * libio/ioftell.c: Likewise.
49767 * libio/iofwrite.c: Likewise.
49768 * libio/iogetline.c: Likewise.
49769 * libio/iogets.c: Likewise.
49770 * libio/iogetwline.c: Likewise.
49771 * libio/iopadn.c: Likewise.
49772 * libio/iopopen.c: Likewise.
49773 * libio/ioseekoff.c: Likewise.
49774 * libio/ioseekpos.c: Likewise.
49775 * libio/iosetbuffer.c: Likewise.
49776 * libio/iosetvbuf.c: Likewise.
49777 * libio/ioungetc.c: Likewise.
49778 * libio/ioungetwc.c: Likewise.
49779 * libio/iovdprintf.c: Likewise.
49780 * libio/iovsprintf.c: Likewise.
49781 * libio/iovsscanf.c: Likewise.
49782 * libio/memstream.c: Likewise.
49783 * libio/obprintf.c: Likewise.
49784 * libio/oldfileops.c: Likewise.
49785 * libio/oldiofclose.c: Likewise.
49786 * libio/oldiofdopen.c: Likewise.
49787 * libio/oldiofopen.c: Likewise.
49788 * libio/oldiopopen.c: Likewise.
49789 * libio/oldstdfiles.c: Likewise.
49790 * libio/putc.c: Likewise.
49791 * libio/setbuf.c: Likewise.
49792 * libio/setlinebuf.c: Likewise.
49793 * libio/stdfiles.c: Likewise.
49794 * libio/strops.c: Likewise.
49795 * libio/vasprintf.c: Likewise.
49796 * libio/vscanf.c: Likewise.
49797 * libio/vsnprintf.c: Likewise.
49798 * libio/vswprintf.c: Likewise.
49799 * libio/wfiledoalloc.c: Likewise.
49800 * libio/wfileops.c: Likewise.
49801 * libio/wgenops.c: Likewise.
49802 * libio/wmemstream.c: Likewise.
49803 * libio/wstrops.c: Likewise.
49804 * libio/__fpurge.c: Likewise.
49805 * libio/__fsetlocking.c: Likewise.
49806 * assert/assert.c: Likewise.
49807 * debug/fgets_chk.c: Likewise.
49808 * debug/fgets_u_chk.c: Likewise.
49809 * debug/fread_chk.c: Likewise.
49810 * debug/fread_u_chk.c: Likewise.
49811 * debug/gets_chk.c: Likewise.
49812 * debug/obprintf_chk.c: Likewise.
49813 * debug/vasprintf_chk.c: Likewise.
49814 * debug/vdprintf_chk.c: Likewise.
49815 * debug/vsnprintf_chk.c: Likewise.
49816 * debug/vsprintf_chk.c: Likewise.
49817 * malloc/mtrace.c: Likewise.
49818 * misc/error.c: Likewise.
49819 * misc/syslog.c: Likewise.
49820 * stdio-common/asprintf.c: Likewise.
49821 * stdio-common/fxprintf.c: Likewise.
49822 * stdio-common/getw.c: Likewise.
49823 * stdio-common/isoc99_fscanf.c: Likewise.
49824 * stdio-common/isoc99_scanf.c: Likewise.
49825 * stdio-common/isoc99_vfscanf.c: Likewise.
49826 * stdio-common/isoc99_vscanf.c: Likewise.
49827 * stdio-common/isoc99_vsscanf.c: Likewise.
49828 * stdio-common/printf-prs.c: Likewise.
49829 * stdio-common/printf_fp.c: Likewise.
49830 * stdio-common/printf_fphex.c: Likewise.
49831 * stdio-common/printf_size.c: Likewise.
49832 * stdio-common/putw.c: Likewise.
49833 * stdio-common/scanf.c: Likewise.
49834 * stdio-common/sprintf.c: Likewise.
49835 * stdio-common/tmpfile.c: Likewise.
49836 * stdio-common/vfprintf.c: Likewise.
49837 * stdio-common/vfscanf.c: Likewise.
49838 * stdlib/strfmon_l.c: Likewise.
49839 * sunrpc/openchild.c: Likewise.
49840 * sunrpc/xdr_stdio.c: Likewise.
49841 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49842 * sysdeps/mach/hurd/tmpfile.c: Likewise.
49843
49844 2012-05-24 Roland McGrath <roland@hack.frob.com>
49845
49846 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49847
49848 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49849 in the third column, to generate for the shared library an IFUNC
49850 that uses _dl_vdso_vsym.
49851 * Makerules (COMPILE.c, compile-stdin.c): New variables.
49852 * Makeconfig (object-suffixes-noshared): New variable.
49853
49854 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49855 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49856 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49857 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49858
49859 [BZ #14132]
49860 * include/sys/time.h (__gettimeofday): Remove macro.
49861 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49862 * time/gettimeofday.c (__gettimeofday): Remove #undef.
49863 Remove INTDEF.
49864 (__gettimeofday): Add libc_hidden_def.
49865 (gettimeofday): Add libc_hidden_weak.
49866 * sysdeps/mach/gettimeofday.c: Likewise.
49867 * sysdeps/posix/gettimeofday.c: Likewise.
49868 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49869 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49870 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49871 (__gettimeofday_internal): Remove strong_alias.
49872 (__gettimeofday): Add libc_hidden_def.
49873 (gettimeofday): Add libc_hidden_weak.
49874 * sysdeps/unix/syscalls.list (gettimeofday):
49875 Remove __gettimeofday_internal alias.
49876
49877 2012-05-24 Daniel Jacobowitz <drow@false.org>
49878 H.J. Lu <hongjiu.lu@intel.com>
49879
49880 [BZ #12495]
49881 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49882 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49883 (largebin_index_32_big): New.
49884 (largebin_index): Use it for 16-byte alignment.
49885 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
49886 correction with front_misalign.
49887
49888 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49889
49890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49892 Likewise.
49893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49894 Likewise.
49895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49896 Likewise.
49897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49898 Likewise.
49899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49900 Likewise.
49901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49902 Likewise.
49903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49904 Likewise.
49905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49906 Likewise.
49907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49908 Likewise.
49909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
49910 Likewise.
49911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49912 Likewise.
49913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
49914 Likewise.
49915
49916 * scripts/data/c++-types-x32-linux-gnu.data: New file.
49917 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
49918
49919 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49920
49921 [BZ #10846]
49922 [BZ #14036]
49923 * math/libm-test.inc (exp_test): Add test from bug 14036.
49924 (pow_test): Add test from bug 10846.
49925
49926 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
49927 and other flags.
49928 (special_function): Do not include flags in test name.
49929 (parse_args): Likewise.
49930 * sysdeps/i386/fpu/libm-test-ulps: Update.
49931 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49932 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49933 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49935
49936 * math/gen-libm-test.pl (%beautify): Add entries for underflow
49937 exceptions.
49938 * math/libm-test.inc ("Philosophy"): Update comment about
49939 exception testing.
49940 (UNDERFLOW_EXCEPTION): New macro.
49941 (UNDERFLOW_EXCEPTION_OK): Likewise.
49942 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
49943 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
49944 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
49945 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
49946 (INVALID_EXCEPTION_OK): Update value.
49947 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49948 (OVERFLOW_EXCEPTION_OK): Likewise.
49949 (IGNORE_ZERO_INF_SIGN): Likewise.
49950 (test_exceptions): Handle underflow exceptions.
49951 (acos_test): Update for underflow exception expectations.
49952 (cexp_test): Likewise.
49953 (clog_test): Likewise.
49954 (clog10_test): Likewise.
49955 (csqrt_test): Likewise.
49956 (ctan_test): Likewise.
49957 (ctanh_test): Likewise.
49958 (exp_test): Likewise.
49959 (exp10_test): Likewise.
49960 (exp2_test): Likewise.
49961 (expm1_test): Likewise.
49962 (fma_test): Likewise.
49963 (j0_test): Likewise.
49964 (jn_test): Likewise.
49965 (nexttoward_test): Likewise.
49966 (pow_test): Likewise.
49967 (scalbn_test): Likewise.
49968 (scalbln_test): Likewise.
49969 (tan_test): Likewise.
49970 (y1_test): Likewise.
49971 * sysdeps/i386/fpu/libm-test-ulps: Update.
49972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49973
49974 2012-05-23 David S. Miller <davem@davemloft.net>
49975
49976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
49977 (__libc_sigaction): Remove unused local variables.
49978
49979 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
49980
49981 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
49982
49983 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
49984
49985 mktime: avoid signed integer overflow
49986 * time/mktime.c (__mktime_internal): Do not mishandle the case
49987 where diff == INT_MIN.
49988
49989 mktime: simplify computation of average
49990 * time/mktime.c (ranged_convert): Use new time_t_avg function
49991 instead of rolling our own (probably-slower) code.
49992
49993 mktime: do not assume signed right shift propagates sign bit
49994 * time/mktime.c (isdst_differ): New static function.
49995 (__mktime_internal): No need to normalize tm_isdst now.
49996 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
49997 tm_isdst values.
49998
49999 mktime: merge another wrapv change from gnulib
50000 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50001 from some compilers.
50002
50003 mktime: remove incorrect attempt at unusual arithmetics
50004 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50005 The code didn't really work on such machines anyway.
50006 (TYPE_MINIMUM): Assume two's complement.
50007 (twos_complement_arithmetic): Verify that long_int and time_t
50008 are two's complement (or unsigned, in the latter case).
50009
50010 mktime: check signed shifts on long_int and time_t, too
50011 * time/mktime.c (SHR): Check that shifts work as desired
50012 on the types long_int and time_t too, as SHR is used on
50013 such types.
50014
50015 mktime: do not assume 'long' is wide enough
50016 * time/mktime.c (verify): Move decl up.
50017 (long_int): New type.
50018 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50019 to remove assumption in the code that 'long' is wide enough to
50020 store year values. This assumption is not true on x32 and on
50021 some non-glibc platforms.
50022
50023 mktime: merge wrapv change from gnulib
50024 * time/mktime.c (WRAPV): New macro.
50025 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50026 (guess_time_tm, __mktime_internal): Do not assume that signed
50027 integer overflow wraps around; modern compilers generate code
50028 where this assumption is no longer valid.
50029
50030 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50031
50032 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50033 Replace "jmp L(pseudo_end)" with "ret".
50034 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50035 Likewise.
50036
50037 2012-05-23 Andreas Jaeger <aj@suse.de>
50038
50039 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50040 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50041
50042 2012-05-23 Andreas Jaeger <aj@suse.de>
50043 Maximilian Attems <max@stro.at>
50044
50045 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50046 New macros.
50047
50048 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50049
50050 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50051 code so that pseudo_end is just ret and the stack pointer is
50052 correct also for static library in error case.
50053
50054 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50055
50056 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50057 move to syscalls.list.
50058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50062
50063 * manual/install.texi (Running make install): Do not mention Linux
50064 kernel version for which pt_chown is not needed.
50065 (Linux): Do not mention problems with nscd with 2.0 kernels.
50066 * INSTALL: Regenerated.
50067
50068 2012-05-23 Andreas Jaeger <aj@suse.de>
50069
50070 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50071 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50072 macro.
50073 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50074 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50075 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50076 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50077 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50078 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50079 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50080 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50081 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50082 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50083 * sysdeps/unix/sysv/linux/bits/in.h
50084 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50085
50086 2012-05-22 Roland McGrath <roland@hack.frob.com>
50087
50088 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50089 (PREPARE_VERSION): Just use assert instead, it will be elided
50090 under [NDEBUG] anyway.
50091
50092 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50093
50094 * sysdeps/unix/sysv/linux/Makefile: Include
50095 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50096 (sysdep_routines): Remove sysctl.
50097 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50098 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50099 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50100 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50101 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50102
50103 2012-05-22 Andreas Jaeger <aj@suse.de>
50104
50105 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50106 that pseudo_end is just ret and the stack pointer is correct also
50107 for static library in error case.
50108
50109 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50110
50111 [BZ #14122]
50112 * nss/nsswitch.c (defconfig_entries): New variable.
50113 (__nss_database_lookup): Don't leak defconfig entries.
50114 (nss_parse_service_list): Don't leak on error paths.
50115 (free_database_entries): New function.
50116 (free_defconfig): New function.
50117 (free_mem): Move common code to free_database_entries.
50118
50119 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50120
50121 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50122 Add arch_prctl.
50123 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50124
50125 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50126 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50128 New macro.
50129 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50130 (INTERNAL_SYSCALL_TYPES): Likewise.
50131 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50132 (LOAD_REGS_TYPES_[1-6]): Likewise.
50133 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50134 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50135
50136 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50137
50138 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50139 copysignl for GLIBC_2_0.
50140 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50141 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50143 logbl for GLIBC_2_0.
50144 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50145 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50146
50147 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50148
50149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50150 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50151
50152 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50153 Use "neg %eax".
50154
50155 * time/mktime.c: Update copyright years.
50156
50157 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50158
50159 mktime: merge comment-quoting-style change from gnulib
50160 * time/mktime.c: Quote 'like this' in comments.
50161 The GNU coding standards suggest that we no longer quote `like this',
50162 as "`" and "'" are typically rendered asymmetrically nowadays.
50163 The typical gnulib style is to quote 'like this' when quoting
50164 code, and "like this" when quoting English.
50165
50166 * time/mktime.c (compile-command): Add "-I.".
50167
50168 mktime: merge mktime-internal.h change from gnulib
50169 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50170
50171 mktime: merge time_r change from gnulib
50172 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50173
50174 mktime: merge DEBUG change from gnulib
50175 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50176 case system <time.h> has a #define.
50177
50178 mktime: merge <sys/types.h> change from gnulib
50179 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50180 since <time.t> is now guaranteed to define time_t.
50181
50182 mktime: merge HAVE_CONFIG_H change from gnulib
50183 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50184
50185 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50186
50187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50188 Use "neg %eax".
50189
50190 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50191 __rlim_t cast.
50192 (struct rusage): Use anonymous union to pad each field to
50193 __syscall_slong_t.
50194
50195 2012-05-21 David S. Miller <davem@davemloft.net>
50196
50197 * Makefules (o-iterator): Remove .s cases.
50198 (compile-command.s): Delete.
50199 (COMPILE.s): Delete.
50200 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50201
50202 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50203
50204 * configure.in (libc_cv_predef_stack_protector): Only consider
50205 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50206 * configure: Regenerated.
50207
50208 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50209
50210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50211 New macro. Use R*LP on int and pointer.
50212 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50213 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50214 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50215 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50216
50217 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50218 [__WORDSIZE_TIME64_COMPAT32] instead of
50219 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50220 (struct utmp): Likewise.
50221 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50222 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50223 Renamed to ...
50224 (__WORDSIZE_TIME64_COMPAT32): This.
50225 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50226 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50227 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50228 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50229 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50230 (__WORDSIZE_TIME64_COMPAT32): New macro.
50231
50232 2012-05-21 Andreas Jaeger <aj@suse.de>
50233
50234 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50235 only if [SHARED]. Add prototype for __wcschr_ia32.
50236
50237 2012-05-21 Roland McGrath <roland@hack.frob.com>
50238
50239 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50240 of %rbp unmolested in the jmp_buf while mangling the low bits.
50241 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50242 unmolested high bits of %rbp while demangling the low bits.
50243 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50244
50245 2012-05-21 Andreas Jaeger <aj@suse.de>
50246
50247 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50248 * sunrpc/svc_simple.c: Use it for registerrpc.
50249 * sunrpc/xcrypt.c: Use it for passwd2des.
50250
50251 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50252
50253 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50254
50255 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50256 Don't define if [__SYSCALL_WORDSIZE != 32].
50257 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50258 New macro.
50259
50260 2012-05-21 Bruno Haible <bruno@clisp.org>
50261 Andreas Jaeger <aj@suse.de>
50262
50263 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50264 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50265 inptr and inend for must_buffer_ch.
50266 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50267 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50268 * stdio-common/Makefile (tests): Remove bug15.
50269 (bug15-ENV): Remove macro.
50270 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50271 anymore.
50272
50273 2012-05-19 Andreas Jaeger <aj@suse.de>
50274 Roland McGrath <roland@hack.frob.com>
50275
50276 * manual/contrib.texi: Completely rewritten. It contains now an
50277 alphabetical list of contributors and their contributions.
50278
50279 2012-05-21 Richard Henderson <rth@twiddle.net>
50280
50281 * misc/getauxval.c (__getauxval): Use unsigned long int.
50282 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50283 (getauxval): Use unsigned long int.
50284
50285 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50286
50287 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50288
50289 2012-05-21 Roland McGrath <roland@hack.frob.com>
50290
50291 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50292 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50293 __alignof__ (long double).
50294
50295 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50296
50297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50298
50299 2012-05-20 Richard Henderson <rth@twiddle.net>
50300
50301 * misc/getauxval.c: New file.
50302 * misc/sys/auxv.h: New file.
50303 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50304 (routines): Add getauxval.
50305 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50306 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50307 * elf/dl-sysdep.c (_dl_auxv): Remove.
50308 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50309 * elf/dl-support.c (_dl_auxv): New variable.
50310 (_dl_aux_init): Initialize it.
50311 * manual/startup.texi (Auxiliary Vector): New node.
50312 * sysdeps/generic/bits/hwcap.h: New file.
50313 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50314 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50315 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50316 * sysdeps/sparc/sysdep.h: ... here. Include it.
50317 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50318 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50320 Update.
50321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50324 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50329
50330 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50331
50332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50333
50334 2012-05-19 David S. Miller <davem@davemloft.net>
50335
50336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50337
50338 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50339
50340 [BZ #14123]
50341 * math/s_ccosh.c: Include <float.h>
50342 (__ccosh): Avoid internal overflow calculating sinh and cosh
50343 values before multiplying by sin and cos values.
50344 * math/s_ccoshf.c: Likewise.
50345 * math/s_ccoshl.c: Likewise.
50346 * math/s_csin.c: Likewise.
50347 * math/s_csinf.c: Likewise.
50348 * math/s_csinl.c: Likewise.
50349 * math/s_csinh.c: Likewise.
50350 * math/s_csinhf.c: Likewise.
50351 * math/s_csinhl.c: Likewise.
50352 * math/libm-test.inc (ccos_test): Add more tests.
50353 (ccosh_test): Likewise.
50354 (csin_test): Likewise.
50355 (csinh_test): Likewise.
50356 * sysdeps/i386/fpu/libm-test-ulps: Update.
50357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50358
50359 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50360
50361 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50362 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50363
50364 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50365
50366 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50367
50368 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50369 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50370 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50371 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50372 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50373 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50374 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50375 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50376 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50377 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50378 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50379 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50380 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50381 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50382 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50383 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50384 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50385 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50386 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50387 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50388 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50389 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50390 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50391 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50392 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50393 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50394 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50395 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50396 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50397 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50398 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50399
50400 2012-05-18 Andreas Jaeger <aj@suse.de>
50401
50402 * csu/.gitignore: Delete.
50403
50404 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50405
50406 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50407 (timex): Use __syscall_slong_t.
50408
50409 2012-05-18 Andreas Jaeger <aj@suse.de>
50410 Carlos O'Donell <carlos_odonell@mentor.com>
50411
50412 * manual/install.texi (Configuring and compiling): Update
50413 description about files modified in the source directory.
50414 * INSTALL: Regenerated.
50415
50416 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50417
50418 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50419 value. Use "or" to set return value to -1.
50420 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50421 negate return value.
50422
50423 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50424
50425 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50426 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50427 failure if the compiler has Graphite support disabled.
50428 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50429 Likewise.
50430 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50431 (CFLAGS-memmove.c): Likewise.
50432 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50433 Likewise.
50434
50435 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50436
50437 * sysdeps/x86_64/x32/_itoa.h: New file.
50438
50439 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50440 getdents system call only if kernel and user dirents have the
50441 same d_ino and d_off.
50442
50443 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50444 LLONG_MAX != LONG_MAX.
50445 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50446 (_fitoa_word): Likewise.
50447
50448 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50449 years.
50450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50451 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50453
50454 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50455 include <bits/wordsize.h>. Check __x86_64__ instead of
50456 __WORDSIZE.
50457 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50458 if __x86_64__ is defined. Use anonymous union on fpstate.
50459
50460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50461 anonymous union.
50462
50463 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50464
50465 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50466 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50467 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50468 Refer to _rtld_local_ro instead of _rtld_global_ro.
50469 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50470 Likewise.
50471 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50472 Likewise.
50473 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50474 Likewise.
50475 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50476 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50477 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50478
50479 [BZ #10882]
50480 * sysdeps/powerpc/powerpc32/dl-machine.c
50481 (__elf_machine_runtime_setup) [PROF]: Don't reference
50482 _dl_prof_resolve.
50483
50484 2012-05-18 Andreas Jaeger <aj@suse.de>
50485
50486 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50487 function only available for GCCs before 3.4 since GCC 3.4
50488 introduced a builtin.
50489 (lrint): Likewise.
50490 (llrintf): Likewise.
50491 (llrint): Likewise.
50492 (fmaxf): Likewise.
50493 (fmax): Likewise.
50494 (fminf): Likewise.
50495 (fmin): Likewise.
50496 (rint): Likewise.
50497 (rintf): Likewise.
50498 (nearbyint): Likewise.
50499 (nearbyintf): Likewise.
50500 (ceil): Likewise.
50501 (ceilf): Likewise.
50502 (floor): Likewise.
50503 (floorf): Likewise.
50504
50505 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50506
50507 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50508 on both fields and cast pointer to __syscall_ulong_t.
50509
50510 * bits/types.h (__fsword_t): New type.
50511 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50512 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50514 (__FSWORD_T_TYPE): Likewise.
50515 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50516 (__FSWORD_T_TYPE): Likewise.
50517 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50518 (__FSWORD_T_TYPE): Likewise.
50519 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50520 (__FSWORD_T_TYPE): Likewise.
50521 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50522 __SWORD_TYPE with __fsword_t.
50523 (statfs64): Likewise.
50524
50525 2012-05-17 David S. Miller <davem@davemloft.net>
50526
50527 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50528
50529 2012-05-17 Andreas Jaeger <aj@suse.de>
50530
50531 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50532 warning.
50533
50534 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50535
50536 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50537
50538 2012-05-17 Andreas Jaeger <aj@suse.de>
50539
50540 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50541 when it is used.
50542
50543 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50544
50545 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50546
50547 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50548
50549 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50550 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50551
50552 2012-05-17 Andreas Jaeger <aj@suse.de>
50553 Carlos O'Donell <carlos_odonell@mentor.com>
50554
50555 [BZ #14059]
50556 * sysdeps/x86_64/multiarch/init-arch.h
50557 (bit_YMM_Usable): Rename to...
50558 (bit_AVX_Usable): ... this.
50559 (bit_FMA4_Usable): New macro.
50560 (bit_XMM_state): New macro.
50561 (bit_YMM_state): New macro.
50562 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50563 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50564 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50565 (CPUID_OSXSAVE): New macro.
50566 (CPUID_AVX): New macro.
50567 (CPUID_FMA4): New macro.
50568 (index_YMM_Usable): Rename to...
50569 (index_AVX_Usable): ... this.
50570 (HAS_AVX): Use HAS_ARCH_FEATURE.
50571 (HAS_FMA4): Likewise.
50572 (HAS_YMM_USABLE): Remove.
50573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50574 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50575 are present.
50576 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50577 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50578 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50579 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50580 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50581
50582 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50583
50584 * math/libm-test.c: Support platforms without multiple rounding modes.
50585 * math/bug-nextafter.c: Support platforms without FP exceptions.
50586 * math/bug-nexttoward.c: Likewise.
50587 * math/test-fenv.c: Likewise.
50588 * math/test-misc.c: Likewise.
50589 * stdlib/bug-getcontext.c: Likewise.
50590
50591 2012-05-17 Andreas Jaeger <aj@suse.de>
50592
50593 * manual/examples/search.c (critter_cmp): Change signature to
50594 avoid warnings.
50595 * manual/string.texi (Collation Functions): Likewise.
50596
50597 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50598
50599 * bits/types.h: Fold copyright years.
50600 * bits/typesizes.h: Likewise.
50601 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50602 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50605 * time/time.h: Likewise.
50606
50607 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50608
50609 [BZ #208]
50610 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50611 in instead of returning them. Return void.
50612 (__libc_mallinfo): Accumulate over all arenas.
50613 (__malloc_stats): Adjust for change in int_mallinfo interface.
50614
50615 2012-05-16 Roland McGrath <roland@hack.frob.com>
50616
50617 [BZ #10375]
50618 * configure.in (NM): Add AC_CHECK_TOOL for it.
50619 (libc_extra_cflags): New substituted variable.
50620 Check for -fstack-protector being used implicitly.
50621 * configure: Regenerated.
50622 * config.make.in (config-extra-cflags): New variable,
50623 gets @libc_extra_cflags@.
50624 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50625
50626 [BZ #10375]
50627 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50628 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50629 * configure: Regenerated.
50630 * config.make.in (CPPUNDEFS): New substituted variable.
50631 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50632 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50633 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50634
50635 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50636
50637 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50638 (mq_attr): Use __syscall_slong_t.
50639
50640 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50641
50642 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50643 Check __x86_64__ instead of __WORDSIZE.
50644 (_STAT_VER_LINUX): Likewise.
50645 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50646 __syscall_ulong_t and __syscall_slong_t.
50647 (stat64): Likewise.
50648
50649 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50650
50651 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50652
50653 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50654
50655 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50656
50657 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50658
50659 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50660 __syscall_ulong_t.
50661
50662 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50663 include <bits/wordsize.h>. Check __x86_64__ instead of
50664 __WORDSIZE.
50665 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50666 defined.
50667 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50668
50669 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50670 include <bits/wordsize.h>. Check __x86_64__ instead of
50671 __WORDSIZE.
50672 (user_regs_struct): Use "__extension__ unsigned long long"
50673 instead of "unsigned long" if __x86_64__ is defined.
50674 (user): Likewise. Pad after pointer field if __ILP32__ is
50675 defined.
50676
50677 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50678
50679 * configure.in (makeinfo): Require version 4.5 or later. Allow
50680 versions 5 to 9.
50681 * configure: Regenerated.
50682 * manual/install.texi (texinfo): Increase version requirement to
50683 4.5 or later.
50684 * INSTALL: Regenerated.
50685
50686 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50687
50688 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50689
50690 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50691
50692 * sysdeps/x86_64/x32/ffs.c: New file.
50693
50694 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50695 __syscall_ulong_t.
50696 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50697 defined. Use __syscall_ulong_t.
50698 (shminfo): Use __syscall_ulong_t.
50699 (shm_info): Likewise.
50700
50701 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50702 __syscall_ulong_t.
50703
50704 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50705 <bits/wordsize.h>.
50706 (msgqnum_t): Use __syscall_ulong_t.
50707 (msglen_t): Likewise.
50708 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
50709 __syscall_ulong_t.
50710
50711 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50712 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50713
50714 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50715
50716 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50717 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50718
50719 * sysvipc/sys/msg.h (msgbuf): Replace long int with
50720 __syscall_slong_t.
50721
50722 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50723 include <bits/wordsize.h>. Check __x86_64__ instead of
50724 __WORDSIZE.
50725
50726 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50727 "unsigned long long int" if __x86_64__ is defined.
50728 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50729
50730 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50731 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50732 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50733
50734 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50735 <stdint.h>.
50736 (GET_PC): Cast to uintptr_t first.
50737 (GET_FRAME): Likewise.
50738 (GET_STACK): Likewise.
50739
50740 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50741 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50742 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50743 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50744 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50745 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50746 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50747 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50748 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50749 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50750 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50751 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50752 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50754 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50755 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50756 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50757 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50758 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50759 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50760 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50761 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50762 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50763 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50764 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50765 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50766 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50767 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50768 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50769
50770 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
50771
50772 * Makerules (+depfiles): Also collect depfiles from .oS in
50773 $(extra-objs).
50774 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50775 .oS, $(libnldbl-routines)).
50776
50777 * Makerules (native-compile-mkdep-flags): Define.
50778 * sunrpc/Makefile (extra-objs): Add $(addprefix
50779 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50780 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50781 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
50782 calling $(make-target-directory).
50783
50784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50785
50786 * bits/types.h (__snseconds_t): Removed.
50787 * time/time.h (struct timespec): Replace __snseconds_t with
50788 __syscall_slong_t.
50789 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50790 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50791 Likewise.
50792 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50793 (__SNSECONDS_T_TYPE): Likewise.
50794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50795 (__SNSECONDS_T_TYPE): Likewise.
50796 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50797 (__SNSECONDS_T_TYPE): Likewise.
50798
50799 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50800
50801 * sysdeps/mach/hurd/bits/typesizes.h
50802 (__SYSCALL_SLONG_TYPE): New macro.
50803 (__SYSCALL_ULONG_TYPE): Likewise.
50804
50805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50806
50807 * bits/types.h (__syscall_slong_t): New type.
50808 (__syscall_ulong_t): Likewise.
50809
50810 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50811 (__SYSCALL_ULONG_TYPE): Likewise.
50812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50813 (__SYSCALL_SLONG_TYPE): Likewise.
50814 (__SYSCALL_ULONG_TYPE): Likewise.
50815 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50816 (__SYSCALL_SLONG_TYPE): Likewise.
50817 (__SYSCALL_ULONG_TYPE): Likewise.
50818 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50819 (__SYSCALL_SLONG_TYPE): Likewise.
50820 (__SYSCALL_ULONG_TYPE): Likewise.
50821
50822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50823
50824 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50825 Add sigaltstack-offsets.sym.
50826 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50827 <sigaltstack-offsets.h>.
50828 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
50829 longjmp_msg pointer.
50830 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
50831 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50832 signal stack.
50833 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50834
50835 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50836
50837 * elf/stackguard-macros.h: Remove file.
50838 * sysdeps/generic/stackguard-macros.h: New file.
50839 * sysdeps/i386/stackguard-macros.h: Likewise.
50840 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50841 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50842 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50843 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50844 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50845 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50846 * sysdeps/x86_64/stackguard-macros.h: Likewise.
50847 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50848 <elf/stackguard-macros.h>.
50849
50850 [BZ #14109]
50851 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50852 __aligned__ in attribute.
50853 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50854 (gregset_t): Likewise.
50855
50856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50857
50858 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50859 * sysdeps/x86_64/64/Implies-after: Here. New file.
50860 * sysdeps/x86_64/x32/Implies-after: New file.
50861
50862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50863
50864 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50865 and access return value for _dl_profile_fixup. Use R10_LP to
50866 load frame size.
50867
50868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50869
50870 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50871
50872 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50873
50874 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50875 * sysdeps/x86_64/x32/sysdep.h: New file.
50876
50877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50878
50879 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50880 * sysdeps/x86_64/setjmp.S: Likewise.
50881
50882 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50883
50884 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50885 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50886 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50887 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50888 remove unused global constant.
50889
50890 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
50891
50892 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50893 include of <not-cancel.h>.
50894
50895 2012-05-15 Roland McGrath <roland@hack.frob.com>
50896
50897 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50898
50899 2012-05-15 Jeff Law <law@redhat.com>
50900 Andreas Jaeger <aj@suse.de>
50901
50902 [BZ #13594]
50903 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50904 out from...
50905 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50906 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50907 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50908 code changing __hst_map_handle.map.
50909
50910 2012-05-15 Roland McGrath <roland@hack.frob.com>
50911
50912 * configure.in (sysnames): Look for Implies-before and Implies-after
50913 files.
50914 * configure: Regenerated.
50915
50916 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50917
50918 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
50919 8-byte data alignment with LP_SIZE alignment.
50920
50921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50922
50923 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
50924 into R10_LP.
50925
50926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50927
50928 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
50929
50930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50931
50932 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
50933 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
50934 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
50935 Likewise.
50936 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
50937
50938 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50939
50940 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
50941 (stackinfo_sub_sp): Likewise.
50942
50943 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50944
50945 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
50946 RAX_LP.
50947
50948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50949
50950 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
50951 into R*_LP.
50952
50953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50954
50955 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
50956 sizes into R*_LP.
50957
50958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50959
50960 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
50961
50962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50963
50964 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
50965 into R11_LP and load __x86_64_shared_cache_size_half into
50966 R8_LP.
50967
50968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
50969
50970 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
50971 R8_LP.
50972
50973 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50974
50975 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
50976 logb for POWER7.
50977 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
50978 logbf for POWER7.
50979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
50980 logbl for POWER7.
50981 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
50982 powerpc32/power7/fpu/s_logb.c via #include.
50983 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
50984 powerpc32/power7/fpu/s_logbf.c via #include.
50985 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
50986 powerpc32/power7/fpu/s_logbl.c via #include.
50987
50988 2012-05-15 Joseph Myers <joseph@codesourcery.com>
50989
50990 * README.libm: Remove file.
50991
50992 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50993
50994 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
50995 count for x32. Use R*_LP and omit operand-size suffix.
50996
50997 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
50998
50999 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51000 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51001 * sysdeps/x86_64/x32/shlib-versions: New file.
51002
51003 2012-05-14 Roland McGrath <roland@hack.frob.com>
51004
51005 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51006 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51007 Use _dl_fatal_printf instead.
51008
51009 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51010
51011 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51012 set if not set by the user. Do not allow for being unset.
51013 * sysdeps/unix/sysv/linux/configure: Regenerated.
51014
51015 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51016
51017 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51018 the `q' suffix from lea and replace .quad with ASM_ADDR.
51019
51020 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51021
51022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51023 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51024 instead of $17.
51025 (PTR_DEMANGLE): Likewise.
51026
51027 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51028
51029 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51030 (LP_OP): Likewise.
51031 (ASM_ADDR): Likewise.
51032 (RAX_LP): Likewise.
51033 (RBP_LP): Likewise.
51034 (RBX_LP): Likewise.
51035 (RCX_LP): Likewise.
51036 (RDI_LP): Likewise.
51037 (RSI_LP): Likewise.
51038 (RSP_LP): Likewise.
51039 (R8_LP): Likewise.
51040 (R9_LP): Likewise.
51041 (R10_LP): Likewise.
51042 (R10_LP): Likewise.
51043 (R11_LP): Likewise.
51044 (R12_LP): Likewise.
51045 (R13_LP): Likewise.
51046 (R14_LP): Likewise.
51047 (R15_LP): Likewise.
51048
51049 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51050
51051 * sysdeps/x86_64/x32/dl-machine.h: New file.
51052
51053 2012-05-14 Andreas Jaeger <aj@suse.de>
51054
51055 * manual/Makefile (subdir): Remove export of subdir.
51056 (all): Remove target.
51057 (.PHONY): Remove all from list.
51058 (mkinstalldirs): Remove.
51059 (.PHONY): Remove installdirs from list.
51060 ($(inst_infodir)/libc.info): Use make-target-directory.
51061 (installdirs): Remove.
51062 (subdir_%): Remove.
51063 (glibc-targets): Remove.
51064 (lib): Remove.
51065 (stubs): Remove.
51066 ($(objpfx)stubs ../po/manual.pot): Remove.
51067 ($(objpfx)stamp%): Remove.
51068 (make-target-directory): Remove.
51069 (subdir_install): Remove.
51070 (routines): Remove.
51071 (aux): Remove.
51072 (sources): Remove.
51073 (objects): Remove.
51074 (headers): Remove.
51075
51076 [BZ #13750]
51077 * manual/.gitignore: Remove, it's not needed anymore.
51078 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51079 all files in it.
51080 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51081 directory.
51082 (texis): Renamed to $(objpfx)texis.
51083 (texis-path): New, contains path to generated files.
51084 (chapters.%): Use texis-path for complete path, add extra argument
51085 libc-texinfo.sh.
51086 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51087 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51088 (summary,texi, stamp-summary): Use complete path of
51089 files. Generate files in build dir.
51090 (dir-add.texi): Build in build dir.
51091 (libm-err.texi,stamp-libm-err): Likewise.
51092 (version.texi, stamp-version): Likewise.
51093 (.%c.texi): Likewise.
51094 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51095 (mostlyclean): Remove target.
51096 (realclean): Remove target.
51097 (generated): Add new variable with contents from mostlyclean and
51098 realclean, remove entries duplicated in common-mostlyclean, add
51099 stamp-libm-err and stamp-version.
51100 (generated-dirs): Add libc directory.
51101 ($(inst_infodir)/libc.info): Install files from build dir.
51102
51103 * manual/install.texi (Configuring and compiling): Adjust since
51104 the info files are not part of the tar ball anymore.
51105
51106 2012-05-14 Andreas Jaeger <aj@suse.de>
51107
51108 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51109 variable.
51110
51111 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51112
51113 [BZ #13717]
51114 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51115 to 2.2.0 where earlier.
51116 * sysdeps/unix/sysv/linux/configure: Regenerated.
51117 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51118 Remove conditional code.
51119 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51120 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51121 Remove conditional code.
51122 [!__NR_lchown]: Likewise.
51123 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51124 [__NR_lchown]: Likewise.
51125 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51126 comment referencing __ASSUME_LCHOWN_SYSCALL.
51127 * sysdeps/unix/sysv/linux/i386/sigaction.c
51128 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51129 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51130 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51131 Remove conditional code.
51132 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51133 (__protocol_available): Remove #if 0 code.
51134 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51135 conditional code.
51136 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51137 * sysdeps/unix/sysv/linux/kernel-features.h
51138 (__ASSUME_GETCWD_SYSCALL): Don't define.
51139 (__ASSUME_REALTIME_SIGNALS): Likewise.
51140 (__ASSUME_PREAD_SYSCALL): Likewise.
51141 (__ASSUME_PWRITE_SYSCALL): Likewise.
51142 (__ASSUME_POLL_SYSCALL): Likewise.
51143 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51144 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51145 non-SPARC.
51146 (__ASSUME_SIOCGIFNAME): Don't define.
51147 (__ASSUME_MSG_NOSIGNAL): Likewise.
51148 (__ASSUME_SENDFILE): Define unconditionally.
51149 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51150 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51151 conditional code.
51152 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51153 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51154 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51155 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51156 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51157 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51158 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51160 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51161 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51163 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51166 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51167 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51169 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51172 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51173 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51175 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51178 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51181 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51183 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51184 Remove conditional code.
51185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51186 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51187 Remove conditional code.
51188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51189 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51190 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51191 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51192 Remove conditional code.
51193 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51194 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51195 Remove conditional code.
51196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51197 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51198 Remove conditional code.
51199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51200 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51201 Remove conditional code.
51202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51203 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51204 Remove conditional code.
51205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51206 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51207 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51209 * sysdeps/unix/sysv/linux/sigaction.c
51210 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51211 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51212 * sysdeps/unix/sysv/linux/sigpending.c
51213 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51214 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51215 * sysdeps/unix/sysv/linux/sigprocmask.c
51216 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51217 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51218 * sysdeps/unix/sysv/linux/sigsuspend.c
51219 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51220 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51221 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51222 (__libc_missing_rt_sigs): Remove.
51223 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51224 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51225 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51226 Remove conditional code.
51227 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51228 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51229 return 1.
51230 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51231 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51232 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51233 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51234
51235 2012-05-14 Andreas Jaeger <aj@suse.de>
51236
51237 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51238 it's not used in glibc.
51239 (__coshm1): Likewise.
51240 (__acosh1p): Likewise.
51241 (__sgn): Likewise.
51242
51243 * manual/string.texi (Copying and Concatenation): Add missing
51244 variable in concat example.
51245 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51246
51247 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51248
51249 [BZ #14103]
51250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51251 __builtin_clzl with __builtin_clzll.
51252
51253 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51254
51255 [BZ #14104]
51256 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51257 libc_freeres_ptr.
51258
51259 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51260
51261 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51262 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51263 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51264 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51265
51266 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51267
51268 * NEWS: Update ia64 info.
51269
51270 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51271
51272 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51273 used as bcopy.
51274
51275 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51276
51277 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51278 * sysdeps/unix/syscalls.list (dup3): Likewise.
51279 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51280 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51281
51282 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51283
51284 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51285 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51286
51287 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51288
51289 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51290 thread pointer.
51291 (TLS_IE): Use mov/add instead of movq/addq to load thread
51292 pointer.
51293 (TLS_GD_PREFIX): New.
51294 (TLS_GD): Use it.
51295
51296 2012-05-11 David S. Miller <davem@davemloft.net>
51297
51298 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51299 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51300 (_FPU_SETCW): Likewise.
51301
51302 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51303
51304 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51305 is 32-byte aligned.
51306
51307 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51308
51309 [BZ #11837]
51310 * iconvdata/gb18030.c: Update tables.
51311 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51312 characters specially.
51313 (BODY for TO_LOOP): Add encoding of missing ranges.
51314
51315 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51316
51317 [BZ #13673]
51318 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51319 * sysdeps/mach/hurd/dup3.c: Likewise.
51320 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51321 * sysdeps/powerpc/memmove.c:: Likewise.
51322
51323 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51324
51325 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51326 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51327
51328 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51329
51330 * elf/elf.h (R_X86_64_RELATIVE64): New.
51331 (R_X86_64_NUM): Updated.
51332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51333 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51334 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51335 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51336 tst-quad1pie tst-quad2pie
51337 (modules-names): Add tst-quadmod1 tst-quadmod2.
51338 ($(objpfx)tst-quad1): New dependency.
51339 ($(objpfx)tst-quad2): Likewise.
51340 ($(objpfx)tst-quad1pie): Likewise.
51341 ($(objpfx)tst-quad2pie): Likewise.
51342 * sysdeps/x86_64/tst-quad1.c: New file.
51343 * sysdeps/x86_64/tst-quad1pie.c: New file.
51344 * sysdeps/x86_64/tst-quad2.c: Likewise.
51345 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51346 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51347 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51348 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51349 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51350
51351 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51352
51353 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51354 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51355 * streams/stropts.h (t_scalar_t): Define type.
51356
51357 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51358 (_PATH_PRESERVE): Set to "/var/lib".
51359 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51360
51361 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51362 instead of int.
51363
51364 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51365 if __dir_mkfile succeeded.
51366
51367 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51368 checking for _hurd_dtablesize. Unlock it right after having
51369 finished _hurd_dtable allocation.
51370
51371 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51372
51373 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51374 * sysdeps/mach/hurd/configure: Regenerated.
51375 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51376 special-casing to...
51377 * sysdeps/gnu/configure.in: ... this new file.
51378 * sysdeps/unix/sysv/linux/configure: Regenerated.
51379 * sysdeps/gnu/configure: New generated file.
51380
51381 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51382 for Linux: use nsec instead of usec, as well as:
51383 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51384 members of type struct timespec.
51385 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51386 New macros.
51387 (struct stat64): Likewise.
51388 (_STATBUF_ST_NSEC): New macro.
51389 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51390
51391 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51392 __strtoul_internal rather than strtoul.
51393
51394 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51395
51396 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51397 and reject them.
51398
51399 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51400
51401 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51402 which preserves existing values.
51403 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51404
51405 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51406
51407 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51408 TIMEOUT values. Return EINVAL for NFDS values either negative or
51409 greater than FD_SETSIZE.
51410
51411 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51412
51413 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51414 allocated, call __vm_protect to finish enabling the existing space, and
51415 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51416 allocate the remainder.
51417
51418 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51419
51420 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51421 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51422
51423 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51424
51425 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51426 sysdeps/mach/hurd/readlink.c.
51427
51428 * posix/tst-sysconf.c (posix_options): Only use
51429 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51430 _POSIX_SYNCHRONIZED_IO when they are defined
51431 * sysdeps/mach/hurd/bits/posix_opt.h:
51432 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51433 (_XOPEN_REALTIME): Undefine macro.
51434 (_XOPEN_REALTIME_THREADS): Undefine macro.
51435 (_XOPEN_SHM): Undefine macro.
51436 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51437 macro to -1.
51438 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51439 macro to -1.
51440 (_POSIX_ASYNC_IO): Undefine macro.
51441 (_POSIX_PRIORITIZED_IO): Undefine macro.
51442 (_POSIX_SPIN_LOCKS): Define macro to -1.
51443
51444 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51445 SA_NODEFER, SA_RESETHAND.
51446 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51447 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51448 F_DUPFD_CLOEXEC.
51449
51450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51451
51452 * elf/Makefile (pldd-modules): Define unconditionally.
51453
51454 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51455
51456 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51457
51458 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51459
51460 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51461 Return ENOENT when name is empty.
51462 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51463
51464 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51465
51466 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51467
51468 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51469
51470 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51471
51472 Fix mlock in all cases except non-readable pages.
51473 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51474 instead of VM_PROT_ALL as parameter to __vm_wire function.
51475
51476 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51477 (__mkdir): When path is `/', just fail with EEXIST.
51478 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51479
51480 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51481
51482 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51483 <sys/uio.h> (for writev).
51484 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51485 and <sys/param.h> (for MIN).
51486
51487 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51488
51489 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51490 REQUESTED_TIME. Properly set the remaining time and return EINTR
51491 if interrupted.
51492
51493 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51494
51495 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51496 Depend on against $(link-rpcuserlibs).
51497
51498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51499
51500 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51501 (__libc_stack_end): Do not use attribute_relro.
51502 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51503 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51504 to libthread-provided value.
51505 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51506 attribute_relro.
51507
51508 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51509
51510 [BZ #3748]
51511 * bits/libc-lock.h (__libc_once_get): New macro.
51512 * sysdeps/mach/bits/libc-lock.h: Likewise.
51513 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51514 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51515 instead of using implementation details.
51516
51517 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51518 * libio/freopen.c: Likewise.
51519 * libio/freopen64.c: Likewise.
51520 * misc/syslog.c: Likewise.
51521 * nscd/connections.c: Likewise.
51522 * nscd/netgroupcache.c: Likewise.
51523 * sysdeps/posix/getcwd.c: Likewise.
51524
51525 2012-05-10 Roland McGrath <roland@hack.frob.com>
51526
51527 * math/w_ilogbf.c: Add #include <limits.h>.
51528
51529 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51530
51531 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51532 path instead of returning without unlocking.
51533
51534 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51535 immediate-write ioctls.
51536 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51537
51538 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51539
51540 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51541 __builtin_frame_address instead of making assumptions about the
51542 location of the return address relative to DATA. Force early load of
51543 the return address.
51544 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51545 __builtin_frame_address.
51546
51547 dup3 for GNU Hurd.
51548 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51549 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51550 implement dup3 and do some further code clean-ups.
51551 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51552 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51553
51554 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51555
51556 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51557
51558 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51559 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51560 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51561 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51562 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51563 d->port.lock.
51564
51565 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51566 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51567 when handler == SIG_ERR, not when handler != SIG_ERR.
51568
51569 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51570
51571 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51572 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51573 definitions.
51574
51575 accept4 for GNU Hurd.
51576 * include/sys/socket.h (__libc_accept4): New prototype.
51577 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51578 to implement __libc_accept4.
51579 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51580 __libc_accept4.
51581 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51582
51583 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51584 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51585 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51586 signal-defines.sym.
51587
51588 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51589
51590 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51591
51592 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51593
51594 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51595 assertion on O_CLOEXEC flag.
51596 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51597 * hurd/intern-fd.c: Likewise.
51598 * hurd/port2fd.c: Likewise.
51599
51600 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51601
51602 [BZ #3906]
51603 * bits/in.h (IPV6_PKTINFO): Define new macro.
51604 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51605
51606 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51607
51608 [BZ #13954]
51609 [BZ #13955]
51610 [BZ #13956]
51611 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51612 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51613 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51614 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51616 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51617 * math/libm-test.inc (logb_test) : Additional logb tests.
51618
51619 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51620 Andreas Jaeger <aj@suse.de>
51621
51622 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51623 * configure: Regenerated.
51624 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51625 * config.make.in (link-obsolete-rpc): New substituted variable.
51626 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51627 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51628 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51629 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51630 so that libc.a contains the symbols.
51631 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51632 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51633 * sunrpc/auth_none.c: Likewise.
51634 * sunrpc/auth_unix.c: Likewise.
51635 * sunrpc/authdes_prot.c: Likewise.
51636 * sunrpc/authuxprot.c: Likewise.
51637 * sunrpc/clnt_gen.c: Likewise.
51638 * sunrpc/clnt_perr.c: Likewise.
51639 * sunrpc/clnt_raw.c: Likewise.
51640 * sunrpc/clnt_simp.c: Likewise.
51641 * sunrpc/clnt_tcp.c: Likewise.
51642 * sunrpc/clnt_udp.c: Likewise.
51643 * sunrpc/clnt_unix.c: Likewise.
51644 * sunrpc/des_crypt.c: Likewise.
51645 * sunrpc/des_soft.c: Likewise.
51646 * sunrpc/get_myaddr.c: Likewise.
51647 * sunrpc/key_call.c: Likewise.
51648 * sunrpc/key_prot.c: Likewise.
51649 * sunrpc/netname.c: Likewise.
51650 * sunrpc/pm_getmaps.c: Likewise.
51651 * sunrpc/pm_getport.c: Likewise.
51652 * sunrpc/pmap_clnt.c: Likewise.
51653 * sunrpc/pmap_prot.c: Likewise.
51654 * sunrpc/pmap_prot2.c: Likewise.
51655 * sunrpc/pmap_rmt.c: Likewise.
51656 * sunrpc/publickey.c: Likewise.
51657 * sunrpc/rpc_cmsg.c: Likewise.
51658 * sunrpc/rpc_common.c: Likewise.
51659 * sunrpc/rpc_dtable.c: Likewise.
51660 * sunrpc/rpc_prot.c: Likewise.
51661 * sunrpc/rpc_thread.c: Likewise.
51662 * sunrpc/rtime.c: Likewise.
51663 * sunrpc/svc.c: Likewise.
51664 * sunrpc/svc_auth.c: Likewise.
51665 * sunrpc/svc_raw.c: Likewise.
51666 * sunrpc/svc_run.c: Likewise.
51667 * sunrpc/svc_tcp.c: Likewise.
51668 * sunrpc/svc_udp.c: Likewise.
51669 * sunrpc/svc_unix.c: Likewise.
51670 * sunrpc/svcauth_des.c: Likewise.
51671 * sunrpc/xcrypt.c: Likewise.
51672 * sunrpc/xdr.c: Likewise.
51673 * sunrpc/xdr_array.c: Likewise.
51674 * sunrpc/xdr_float.c: Likewise.
51675 * sunrpc/xdr_intXX_t.c: Likewise.
51676 * sunrpc/xdr_mem.c: Likewise.
51677 * sunrpc/xdr_rec.c: Likewise.
51678 * sunrpc/xdr_ref.c: Likewise.
51679 * sunrpc/xdr_sizeof.c: Likewise.
51680 * sunrpc/xdr_stdio.c: Likewise.
51681
51682 2012-05-10 Roland McGrath <roland@hack.frob.com>
51683
51684 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51685 change. Update copyright years.
51686
51687 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51688
51689 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51690
51691 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51692 Joseph Myers <joseph@codesourcery.com>
51693 Paul Pluzhnikov <ppluzhnikov@google.com>
51694
51695 [BZ #14012]
51696 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51697 requiring rpcgen.
51698 [cross-compiling] (extra-libs): Likewise.
51699 [cross-compiling] (extra-libs-others): Likewise.
51700 [cross-compiling] (librpcsvc-routines): Likewise.
51701 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51702 [cross-compiling] (omit-deps): Likewise.
51703 (sunrpc-CPPFLAGS): New variable.
51704 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51705 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51706 (cross-rpcgen-objs): New variable.
51707 (extra-objs): Append $(cross-rpcgen-objs).
51708 ($(cross-rpcgen-objs)): New rule.
51709 ($(objpfx)cross-rpcgen): Likewise.
51710 (rpcgen-cmd): Define to use $(built-program-file). Expand
51711 comment.
51712 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51713 ($(objpfx)x%.stmp): Likewise.
51714 * sunrpc/proto.h [IS_IN_build] (_): Define.
51715 [IS_IN_build] (_libc_intl_domainname): Likewise.
51716
51717 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51718
51719 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51720 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51721 and R_X86_64_TPOFF64.
51722
51723 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51724
51725 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51726 sysdeps/unix/sysv/syscalls.list.
51727 (stime): Likewise.
51728 (utime): Likewise.
51729 * sysdeps/unix/sysv/syscalls.list: Remove file.
51730
51731 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
51732
51733 [BZ #3440]
51734 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51735 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51736 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51737 (__LC_IDENTIFICATION): Make these macros useful in #if
51738 expressions, as required by C99.
51739
51740 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
51741
51742 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51743 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
51744 after this.
51745
51746 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
51747
51748 * stdlib/longlong.h: Updated from GCC.
51749
51750 2012-05-09 Andreas Jaeger <aj@suse.de>
51751
51752 * nscd/nscd.c (run_modes): Make named enum, reorder so that
51753 default is first entry.
51754 (run_mode): Set type.
51755 (main): Remove informal message about syslog.
51756 (options): Fix typo.
51757
51758 [BZ #14053]
51759 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51760 to asm.
51761 (lrint): Likewise.
51762 (llrintf): Likewise.
51763 (llrint): Likewise.
51764 (rint): Likewise.
51765 (rintf): Likewise.
51766 (nearbyint): Likewise.
51767 (nearbyintf): Likewise.
51768
51769 2012-05-09 Andreas Jaeger <aj@suse.de>
51770 Pedro Alves <palves@redhat.com>
51771
51772 * nscd/nscd.c (run_mode): Use enum.
51773 (main): Cleanup coding style issue.
51774
51775 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
51776 Andreas Jaeger <aj@suse.de>
51777
51778 * nscd/nscd.c (go_background): Replaced with...
51779 (run_mode): ... this.
51780 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51781 (options): Add -F --foreground.
51782 (main): Implement it.
51783 (parse_opt): Parse it.
51784
51785 2012-05-09 Andreas Jaeger <aj@suse.de>
51786
51787 [BZ #14083]
51788 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51789 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51790 -Wconversion warning.
51791 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51792 Likewise.
51793
51794 2012-05-09 Joseph Myers <joseph@codesourcery.com>
51795
51796 * conform/data/locale.h-data (NULL): Use macro-constant. Require
51797 == 0.
51798 (LC_ALL): Use macro-int-constant.
51799 (LC_COLLATE): Likewise.
51800 (LC_CTYPE): Likewise.
51801 (LC_MESSAGES): Likewise.
51802 (LC_MONETARY): Likewise.
51803 (LC_NUMERIC): Likewise.
51804 (LC_TIME): Likewise.
51805 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51806 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51807 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51808 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51809 Specify type.
51810 [C99-based standards] (float_t): Expect type.
51811 [C99-based standards] (double_t): Expect type.
51812 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
51813 type.
51814 [C99-based standards] (HUGE_VALL): Likewise.
51815 [C99-based standards] (INFINITY): Likewise.
51816 [C99-based standards] (NAN): Likewise.
51817 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51818 [C99-based standards] (FP_NAN): Likewise.
51819 [C99-based standards] (FP_NORMAL): Likewise.
51820 [C99-based standards] (FP_SUBNORMAL): Likewise.
51821 [C99-based standards] (FP_ZERO): Likewise.
51822 [C99-based standards] (FP_FAST_FMA): Use
51823 optional-macro-int-constant. Specify type. Require == 1.
51824 [C99-based standards] (FP_FAST_FMAF): Likewise.
51825 [C99-based standards] (FP_FAST_FMAL): Likewise.
51826 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51827 [C99-based standards] (FP_ILOGBNAN): Likewise.
51828 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51829 Specify type.
51830 [C99-based standards] (MATH_ERREXCEPT): Likewise.
51831 [C99-based standards] (math_errhandling): Specify type.
51832 [ISO99 || ISO11] (signgam): Do not allow.
51833 [non-C99-based standards] (copysignf): Do not allow.
51834 [non-C99-based standards] (exp2f): Likewise.
51835 [non-C99-based standards] (log2f): Likewise.
51836 [non-C99-based standards] (modff): Allow.
51837 [non-C99-based standards] (erff): Do not allow.
51838 [non-C99-based standards] (erfcf): Likewise.
51839 [non-C99-based standards] (gammaf): Likewise.
51840 [non-C99-based standards] (hypotf): Likewise.
51841 [non-C99-based standards] (j0f): Likewise.
51842 [non-C99-based standards] (j1f): Likewise.
51843 [non-C99-based standards] (jnf): Likewise.
51844 [non-C99-based standards] (lgammaf): Likewise.
51845 [non-C99-based standards] (tgammaf): Likewise.
51846 [non-C99-based standards] (y0f): Likewise.
51847 [non-C99-based standards] (y1f): Likewise.
51848 [non-C99-based standards] (ynf): Likewise.
51849 [non-C99-based standards] (isnanf): Likewise.
51850 [non-C99-based standards] (acoshf): Likewise.
51851 [non-C99-based standards] (asinhf): Likewise.
51852 [non-C99-based standards] (atanhf): Likewise.
51853 [non-C99-based standards] (cbrtf): Likewise.
51854 [non-C99-based standards] (expm1f): Likewise.
51855 [non-C99-based standards] (ilogbf): Likewise.
51856 [non-C99-based standards] (log1pf): Likewise.
51857 [non-C99-based standards] (logbf): Likewise.
51858 [non-C99-based standards] (nextafterf): Likewise.
51859 [non-C99-based standards] (remainderf): Likewise.
51860 [non-C99-based standards] (rintf): Likewise.
51861 [non-C99-based standards] (scalbf): Likewise.
51862 [non-C99-based standards] (copysignl): Likewise.
51863 [non-C99-based standards] (exp2l): Likewise.
51864 [non-C99-based standards] (log2l): Likewise.
51865 [non-C99-based standards] (modfl): Allow.
51866 [non-C99-based standards] (erfl): Do not allow.
51867 [non-C99-based standards] (erfcl): Likewise.
51868 [non-C99-based standards] (gammal): Likewise.
51869 [non-C99-based standards] (hypotl): Likewise.
51870 [non-C99-based standards] (j0l): Likewise.
51871 [non-C99-based standards] (j1l): Likewise.
51872 [non-C99-based standards] (jnl): Likewise.
51873 [non-C99-based standards] (lgammal): Likewise.
51874 [non-C99-based standards] (tgammal): Likewise.
51875 [non-C99-based standards] (y0l): Likewise.
51876 [non-C99-based standards] (y1l): Likewise.
51877 [non-C99-based standards] (ynl): Likewise.
51878 [non-C99-based standards] (isnanl): Likewise.
51879 [non-C99-based standards] (acoshl): Likewise.
51880 [non-C99-based standards] (asinhl): Likewise.
51881 [non-C99-based standards] (atanhl): Likewise.
51882 [non-C99-based standards] (cbrtl): Likewise.
51883 [non-C99-based standards] (expm1l): Likewise.
51884 [non-C99-based standards] (ilogbl): Likewise.
51885 [non-C99-based standards] (log1pl): Likewise.
51886 [non-C99-based standards] (logbl): Likewise.
51887 [non-C99-based standards] (nextafterl): Likewise.
51888 [non-C99-based standards] (remainderl): Likewise.
51889 [non-C99-based standards] (rintl): Likewise.
51890 [non-C99-based standards] (scalbl): Likewise.
51891 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51892 [non-C99-based standards] (FP_*): Do not allow.
51893 [C99-based standards] (FP_*): Change to
51894 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51895 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51896 allow.
51897 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51898 (SIG_ERR): Likewise.
51899 [X/Open-based standards] (SIG_HOLD): Likewise.
51900 (SIG_IGN): Likewise.
51901 (SIGABRT): Use macro-int-constant. Specify type. Require
51902 positive value.
51903 (SIGFPE): Likewise.
51904 (SIGILL): Likewise.
51905 (SIGINT): Likewise.
51906 (SIGSEGV): Likewise.
51907 (SIGTER): Likewise.
51908 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
51909 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
51910 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
51911 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
51912 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
51913 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
51914 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
51915 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
51916 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
51917 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
51918 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
51919 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
51920 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
51921 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
51922 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
51923 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
51924 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
51925 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
51926 [X/Open-based standards] (SIGTRAP): Likewise.
51927 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
51928 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
51929 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
51930 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
51931 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51932 allow.
51933
51934 2012-05-08 Ian Wienand <ianw@vmware.com>
51935
51936 [BZ #14080]
51937 * time/tzset.c (__tzset_parse_tz): Update default rules for
51938 daylight time changes in the Energy Policy Act of 2005.
51939
51940 2012-05-09 Andreas Jaeger <aj@suse.de>
51941
51942 [BZ #13983]
51943 * elf/ldconfig.c (parse_conf): Change string to make clear that
51944 ldconfig only issued a warning if ld.so.conf does not exist.
51945
51946 2012-05-08 David S. Miller <davem@davemloft.net>
51947
51948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
51949 movxtod instead of popping the value on the stack.
51950
51951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51952
51953 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
51954
51955 * config.h.in: Add HAVE_ARM_PCS_VFP.
51956
51957 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
51958
51959 [BZ #13979]
51960 * include/features.h: Warn if user requests __FORTIFY_SOURCE
51961 checking but the checks are disabled for any reason.
51962
51963 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
51964
51965 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
51966 and ELF64_R_TYPE with ELFW(R_TYPE).
51967
51968 2012-05-08 Joseph Myers <joseph@codesourcery.com>
51969
51970 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
51971 (ulimit): Likewise.
51972
51973 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
51974 (settimeofday): Likewise.
51975
51976 2012-05-08 Mike Frysinger <vapier@gentoo.org>
51977
51978 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
51979 a struct th_u2 inside the union, and move tu_block/tu_code into
51980 a new th_u3 union of tu_block/tu_code inside of that. Move
51981 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
51982 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
51983 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
51984 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
51985 (th_stuff): Change to th_u1.tu_stuff.
51986 (th_data): Define.
51987 (th_msg): Change to th_u1.th_u2.tu_data.
51988
51989 2012-05-07 David S. Miller <davem@davemloft.net>
51990
51991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51992
51993 [BZ #14074]
51994 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
51995 (SETUP_PIC_REG): Use it.
51996 (SETUP_PIC_REG_LEAF): Use it.
51997
51998 2012-05-07 Joseph Myers <joseph@codesourcery.com>
51999
52000 [BZ #13885]
52001 [BZ #13923]
52002 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52003 USE_AS_EXPM1L.
52004 (EXPL_FINITE): Likewise.
52005 (FLDLOG): Likewise.
52006 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52007 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52008 e_expl.S.
52009 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52010 USE_AS_EXPM1L.
52011 (EXPL_FINITE): Likewise.
52012 (FLDLOG): Likewise.
52013 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52014 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52015 e_expl.S.
52016 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52017 test of -max_value argument for long double.
52018 * sysdeps/i386/fpu/libm-test-ulps: Update.
52019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52020
52021 2012-05-06 David S. Miller <davem@davemloft.net>
52022
52023 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52024 quad soft-float symbols whose references which are compiler
52025 generated.
52026 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52027
52028 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52029
52030 [BZ #13884]
52031 [BZ #13914]
52032 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52033 USE_AS_EXP10L.
52034 (EXPL_FINITE): Likewise.
52035 (FLDLOG): Likewise.
52036 (c0): Likewise.
52037 (c1): Likewise.
52038 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52039 Adjust comments for base varying.
52040 (__expl_finite): Change alias to EXPL_FINITE.
52041 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52042 e_expl.S.
52043 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52044 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52045 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52046 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52047 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52048 USE_AS_EXP10L.
52049 (EXPL_FINITE): Likewise.
52050 (FLDLOG): Likewise.
52051 (c0): Likewise.
52052 (c1): Likewise.
52053 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52054 Adjust comments for base varying.
52055 (__expl_finite): Change alias to EXPL_FINITE.
52056 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52057 tests for bugs.
52058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52059
52060 [BZ #14064]
52061 * math/libm-test.inc (check_float_internal): Correct ulp
52062 calculation for subnormal expected results.
52063
52064 2012-05-06 Andreas Jaeger <aj@suse.de>
52065
52066 * Makeconfig (+math-flags): New, set to -frounding-math.
52067 (+cflags): Add +math-flags so that all of glibc gets compiled with
52068 it.
52069
52070 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52071
52072 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52073
52074 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52075 Disable one test.
52076
52077 [BZ #13787]
52078 [BZ #13922]
52079 [BZ #14036]
52080 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52081 (__ieee754_expl): Allow for and saturate large arguments.
52082 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52083 (u_threshold): Likewise.
52084 (__exp): Call __ieee754_exp before checking for overflow and
52085 underflow.
52086 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52087 (u_threshold): Likewise.
52088 (__expf): Call __ieee754_expf before checking for overflow and
52089 underflow.
52090 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52091 (u_threshold): Likewise.
52092 (__expl): Call __ieee754_expl before checking for overflow and
52093 underflow.
52094 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52095 (__ieee754_expl): Allow for and saturate large arguments.
52096 * math/libm-test.inc (exp_test): Add another test. Do not allow
52097 missing overflow exception on overflow.
52098 (expm1_test): Do not allow missing overflow exception on overflow.
52099
52100 * sysdeps/i386/fpu/e_expl.c: Move to ...
52101 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52102 rather than using inline asm.
52103 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52104 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52105 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52106
52107 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52108 (nice): Likewise.
52109 (poll): Likewise.
52110 (signal): Likewise.
52111 (time): Likewise.
52112 (times): Likewise.
52113
52114 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52115
52116 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52117 sysdeps/unix/common/syscalls.list.
52118 (fchmod): Likewise.
52119 (fchown): Likewise.
52120 (ftruncate): Likewise.
52121 (getrusage): Likewise.
52122 (gettimeofday): Likewise.
52123 (setpgid): Likewise.
52124 (setregid): Likewise.
52125 (setreuid): Likewise.
52126 (sigaction): Likewise.
52127 (truncate): Likewise.
52128 (vhangup): Likewise.
52129 * sysdeps/unix/common/syscalls.list: Remove file.
52130 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52131 * sysdeps/unix/sysv/linux/Implies: Likewise.
52132
52133 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52134
52135 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52137 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52138 Moved to ...
52139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52140 Here.
52141 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52142 to ...
52143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52144 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52145 to ...
52146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52147 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52148 to ...
52149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52150 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52151 to ...
52152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52153 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52154 to ...
52155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52156 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52157 to ...
52158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52159 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52160 to ...
52161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52162 Here.
52163 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52164 to ...
52165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52166 Here.
52167 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52168 to ...
52169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52170 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52171 Moved to ...
52172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52173 Here.
52174 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52175 to ...
52176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52177
52178 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52179
52180 * sysdeps/unix/common/bits/dirent.h: Remove file.
52181 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52182
52183 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52184 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52185 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52186 * sysdeps/unix/bsd/isatty.c: Likewise.
52187 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52188 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52189 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52190
52191 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52192
52193 [BZ #13563]
52194 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52195 long double comparison inaccuracies.
52196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52198
52199 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52200
52201 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52202 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52203
52204 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52205
52206 [BZ #14049]
52207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52208 nonzero digits before rounding a hex value.
52209 * stdlib/tst-strtod.c (tests): Add another test.
52210
52211 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52212
52213 * sysdeps/s390/fpu/libm-test-ulps: Update.
52214
52215 2012-05-03 Andreas Jaeger <aj@suse.de>
52216
52217 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52218 does not get optimized out.
52219 (malloc_opt_barrier): New.
52220
52221 2012-05-03 Andreas Jaeger <aj@suse.de>
52222 Roland McGrath <roland@hack.frob.com>
52223
52224 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52225 intermediate file deletion.
52226 (generated): Add .symlist files.
52227
52228 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52229
52230 [BZ #13775]
52231 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52232 Redirect under this condition.
52233 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52234 [__USE_GNU] (__dprintf_chk): Not under this condition.
52235 [__USE_GNU] (__vdprintf_chk): Likewise.
52236 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52237 under this condition.
52238 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52239 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52240 [__USE_XOPEN2K8] (vdprintf): Likewise.
52241 [__USE_GNU] (__dprintf_chk): Not under this condition.
52242 [__USE_GNU] (__vdprintf_chk): Likewise.
52243 [__USE_GNU] (dprintf): Likewise.
52244 [__USE_GNU] (vdprintf): Likewise.
52245
52246 2012-05-03 Roland McGrath <roland@hack.frob.com>
52247
52248 * elf/Makefile (common-generated): Set this instead of generated for
52249 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52250 $(all-built-dso)-derived lists.
52251
52252 2012-05-03 Andreas Jaeger <aj@suse.de>
52253
52254 * sysdeps/i386/fpu/libm-test-ulps: Update.
52255
52256 * FAQ: Removed.
52257 * FAQ.in: Likewise.
52258 * scripts/gen-FAQ.pl: Likewise.
52259 * manual/install.texi (Installation): Point to online location of
52260 FAQ.
52261 * Makefile (files-for-dist): Remove FAQ.
52262 (FAQ): Remove.
52263
52264 2012-05-02 Allan McRae <allan@archlinux.org>
52265
52266 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52267 (LDFLAGS-reldepmod5.so): Likewise.
52268 (LDFLAGS-reldep6mod1.so): Likewise.
52269 (LDFLAGS-reldep6mod4.so): Likewise.
52270 (LDFLAGS-reldep8mod3.so): Likewise.
52271 (LDFLAGS-unload4mod1.so): Likewise.
52272 (LDFLAGS-unload4mod2.so): Likewise.
52273 (LDFLAGS-tst-initorder): Likewise.
52274 (LDFLAGS-tst-initordera2.so): Likewise.
52275 (LDFLAGS-tst-initordera3.so): Likewise.
52276 (LDFLAGS-tst-initordera4.so): Likewise.
52277 (LDFLAGS-tst-initorderb2.so): Likewise.
52278 (LDFLAGS-noload): Likewise.
52279 (LDFLAGS-next): Likewise.
52280 (LDFLAGS-order2mod1.so): Likewise.
52281 (LDFLAGS-order2mod2.so): Likewise.
52282 (LDFLAGS-tst-initorder2): Likewise.
52283 (LDFLAGS-tst-initorder2a.so): Likewise.
52284 (LDFLAGS-tst-initorder2b.so): Likewise.
52285 (LDFLAGS-tst-initorder2c.so): Likewise.
52286 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52287
52288 2012-05-02 David S. Miller <davem@davemloft.net>
52289
52290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52291
52292 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52293
52294 [BZ #14055]
52295 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52296
52297 2012-05-02 Andreas Jaeger <aj@suse.de>
52298
52299 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52300 since we manipulate rounding mode.
52301 (CPPFLAGS-test-idouble.c): Likewise.
52302 (CPPFLAGS-test-ifloat.c): Likewise.
52303 (CFLAGS-test-ldouble.c): Likewise.
52304 (CFLAGS-test-double.c): Likewise.
52305 (CFLAGS-test-float.c): Likewise.
52306 (CFLAGS-test-misc.c): Likewise.
52307 (CFLAGS-test-test-fenv.c): Likewise.
52308
52309 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52310
52311 [BZ #2550]
52312 [BZ #2570]
52313 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52314 comparisons to determine direction to adjust input.
52315
52316 2012-05-01 Roland McGrath <roland@hack.frob.com>
52317
52318 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52319 output to the target.
52320
52321 * scripts/localplt.awk: New file.
52322 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52323 (check-localplt-CFLAGS): Variable removed.
52324 ($(all-built-dso:=.jmprel)): New static pattern rule.
52325 (generated): Add those targets.
52326 (localplt-built-dso): New variable.
52327 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52328
52329 * elf/check-localplt.c: File removed.
52330
52331 * scripts/check-execstack.awk: New file.
52332 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52333 (check-execstack-CFLAGS): Variable removed.
52334 ($(objpfx)check-execstack.h): Target removed.
52335 ($(objpfx)execstack-default): New target.
52336 (generated): Add that instead of check-execstack.h.
52337 ($(all-built-dso:=.phdr)): New static pattern rule.
52338 (generated): Add those targets.
52339 * elf/check-execstack.c: File removed.
52340
52341 * scripts/check-textrel.awk: New file.
52342 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52343 (check-textrel-CFLAGS): Variable removed.
52344 (all-built-dso): Use := to define.o
52345 ($(all-built-dso:=.dyn)): New static pattern rule.
52346 (generated): Add those targets.
52347 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52348 * config.make.in (READELF): New substituted variable.
52349 * elf/check-textrel.c: File removed.
52350
52351 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52352
52353 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52354 allow.
52355 * conform/data/ctype.h-data [C99-based standards] (isblank):
52356 Expect function.
52357 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52358 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52359 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52360 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52361 Specify type. Require positive value.
52362 (EILSEQ): Likewise.
52363 (ERANGE): Likewise.
52364 [ISO || POSIX] (EILSEQ): Do not expect.
52365 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52366 Specify type. Require positive value.
52367 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52368 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52369 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52370 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52371 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52372 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52373 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52374 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52375 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52376 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52377 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52378 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52379 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52380 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52381 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52382 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52383 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52384 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52385 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52386 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52387 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52388 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52389 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52390 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52391 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52392 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52393 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52394 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52395 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52396 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52397 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52398 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52399 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52400 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52401 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52402 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52403 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52404 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52405 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52406 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52407 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52408 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52409 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52410 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52411 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52412 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52413 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52414 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52415 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52416 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52417 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52418 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52419 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52420 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52421 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52422 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52423 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52424 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52425 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52426 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52427 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52428 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52429 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52430 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52431 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52432 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52433 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52434 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52435 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52436 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52437 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52438 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52439 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52440 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52441 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52442 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52443 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52444 Require >= 2.
52445 (FLT_ROUNDS): Expect as macro, not constant.
52446 (FLT_MANT_DIG): Use macro-int-constant.
52447 (DBL_MANT_DIG): Likewise.
52448 (LDBL_MANT_DIG): Likewise.
52449 (FLT_DIG): Likewise.
52450 (DBL_DIG): Likewise.
52451 (LDBL_DIG): Likewise.
52452 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52453 (DBL_MIN_EXP): Likewise.
52454 (LDBL_MIN_EXP): Likewise.
52455 (FLT_MAX_EXP): Use macro-int-constant.
52456 (DBL_MAX_EXP): Likewise.
52457 (LDBL_MAX_EXP): Likewise.
52458 (FLT_MAX_10_EXP): Likewise.
52459 (DBL_MAX_10_EXP): Likewise.
52460 (LDBL_MAX_10_EXP): Likewise.
52461 (FLT_MAX): Use macro-constant.
52462 (DBL_MAX): Likewise.
52463 (LDBL_MAX): Likewise.
52464 (FLT_EPSILON): Use macro-constant. Give upper bound.
52465 (DBL_EPSILON): Likewise.
52466 (LDBL_EPSILON): Likewise.
52467 (FLT_MIN): Likewise.
52468 (DBL_MIN): Likewise.
52469 (LDBL_MIN): Likewise.
52470 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52471 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52472 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52473 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52474 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52475 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52476 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52477 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52478 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52479 [ISO11] (FLT_TRUE_MIN): Likewise.
52480 [ISO11] (LDBL_TRUE_MIN): Likewise.
52481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52482 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52483 (SCHAR_MIN): Use macro-int-constant. Specify type.
52484 (SCHAR_MAX): Likewise.
52485 (UCHAR_MAX): Likewise.
52486 (CHAR_MIN): Likewise.
52487 (CHAR_MAX): Likewise.
52488 (MB_LEN_MAX): Use macro-int-constant.
52489 (SHRT_MIN): Use macro-int-constant. Specify type.
52490 (SHRT_MAX): Likewise.
52491 (USHRT_MAX): Likewise.
52492 (INT_MAX): Likewise.
52493 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52494 bound negative.
52495 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52496 bound with "U".
52497 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52498 bound with "L".
52499 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52500 bound negative. Suffix upper bound with "L".
52501 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52502 bound with "UL".
52503 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52504 Specify type.
52505 [C99-based standards] (LLONG_MAX): Likewise.
52506 [C99-based standards] (ULLONG_MAX): Likewise.
52507 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52508 == 0.
52509 [ISO11] (max_align_t): Require type.
52510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52511
52512 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52513 from $CFLAGS, without defining away __attribute__ calls.
52514 (checknamespace): Use $CFLAGS_namespace.
52515
52516 * conform/conformtest.pl (@keywords): Only include C99 keywords
52517 for standards based on C99 or C11.
52518
52519 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52520 Disable tests.
52521 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52522 UNIX98]: Likewise.
52523
52524 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52525 usability of symbols in #if.
52526
52527 * conform/conformtest.pl: If macro or constant types start
52528 "promoted:", expect the symbol to be of the following type
52529 promoted by the integer promotions.
52530
52531 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52532 in one place. Also handle "macro-constant".
52533
52534 * conform/conformtest.pl: Only accept expected macro values with
52535 "==". Parse all "macro" lines in one place.
52536 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52537
52538 * conform/conformtest.pl: Handle braced types on "constant" lines
52539 instead of handling "typed-constant".
52540 * conform/data/signal.h-data: Use "constant" instead of
52541 "typed-constant".
52542
52543 * conform/conformtest.pl: Handle "optional-" at start of lines in
52544 one place rather than duplicating several cases. Handle each
52545 format of "macro" line with initial "optional-".
52546
52547 * conform/conformtest.pl: Only accept expected constant or
52548 optional-constant values with "==". Parse all "constant" lines in
52549 one place. Parse all "optional-constant" lines in one place.
52550 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52551 * conform/data/fmtmsg.h-data: Likewise.
52552 * conform/data/netinet/in.h-data: Likewise.
52553 * conform/data/tar.h-data: Likewise.
52554 * conform/data/limits.h-data: Use "==" form on "constant" and
52555 "optional-constant" lines.
52556
52557 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52558 Use -std=c99 for XOPEN2K.
52559 (@knownproblems): Remove.
52560 (newtoken): Don't check %isknown.
52561
52562 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52563 Do not expect macro.
52564 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52565 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52566 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52567 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52568 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52569 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52570 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52571 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52572 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52573 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52574 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52575 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52576 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52577 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52578 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52579 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52580 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52581 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52582 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52583 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52584 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52585 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52586 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52587 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52588 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52589 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52590 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52591 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52592 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52593 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52594 [XPG3] (acosh): Likewise.
52595 [XPG3] (asinh): Likewise.
52596 [XPG3] (atanh): Likewise.
52597 [XPG3] (cbrt): Likewise.
52598 [XPG3] (expm1): Likewise.
52599 [XPG3] (ilogb): Likewise.
52600 [XPG3] (log1p): Likewise.
52601 [XPG3] (logb): Likewise.
52602 [XPG3] (nextafter): Likewise.
52603 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52604 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52605 [XPG3] (remainder): Likewise.
52606 [XPG3] (rint): Likewise.
52607 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52608 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52609 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52610 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52611 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52612 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52613 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52614 [UNIX98 || XOPEN2K] (scalb): Expect.
52615 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52616 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52617 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52618 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52619 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52620 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52621 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52622 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52623 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52624 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52625 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52626 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52627 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52628 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52629 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52630 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52631 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52632 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52633 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52634 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52635 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52636 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52637 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52638 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52639 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52640 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52641 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52642 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52643 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52644 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52645 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52646 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52647 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52648 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52649 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52650 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52651 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52652 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52653 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52654 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52655 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52656 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52657 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52658 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52659 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52660 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52661 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52662 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52663 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52664 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52665 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52666 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52667 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52668 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52669 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52670 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52671 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52672 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52673 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52674 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52675 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52676 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52677 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52678 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52679 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52680 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52681 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52682 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52683 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52684 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52685 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52686 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52687 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52688 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52689 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52690 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52691 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52692 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52693 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52694 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52695 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52696 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52697 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52698 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52699 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52700 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52701 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52702 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52703 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52704 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52705 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52706 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52707 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52708 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52709 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52710 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52711 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52712 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52713 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52714 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52715 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52716 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52717 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52718 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52719 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52720 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52721 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52722 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52723 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52724 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52725 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52726 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52727 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52728 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52729 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52730 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52731 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52732 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52733 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52734 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52735 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52736 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52737 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52738 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52739 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52740 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52741 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52742 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52743 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52744 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52745 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52746 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52747 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52748 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52749 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52750 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52751 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52752
52753 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52754 _XOPEN_SOURCE_EXTENDED for XPG4.
52755
52756 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52757
52758 * Makeconfig (localtime): Remove variable.
52759 (inst_localtime-file): Likewise.
52760
52761 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52762
52763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52764 Update.
52765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52766 Update.
52767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52768 Update.
52769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52770 Update.
52771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52772 Update.
52773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52774 Update.
52775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52776 Update.
52777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52778 Update.
52779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52780 Update.
52781
52782 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52783
52784 [BZ #2550]
52785 [BZ #2570]
52786 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52787 comparisons to determine direction to adjust input.
52788 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52789 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52790 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52791 Likewise.
52792 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52793 Likewise.
52794 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52795 Likewise.
52796 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52797 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52798 Likewise.
52799 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52800 Likewise.
52801 * math/libm-test.inc (nexttoward_test): Add more tests.
52802
52803 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
52804
52805 [BZ #14040]
52806 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52807 in version GLIBC_2.1, not GLIBC_2.0.
52808 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52809 Likewise.
52810
52811 2012-04-30 Joseph Myers <joseph@codesourcery.com>
52812
52813 [BZ #13942]
52814 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52815 (1 - x) * (1 + x).
52816 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52817 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52818 * math/libm-test.inc (acos_test): Add more tests.
52819 (asin_test): Likewise.
52820 * sysdeps/i386/fpu/libm-test-ulps: Update.
52821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52822
52823 [BZ #14034]
52824 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52825 of square root.
52826 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52827 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52828 * math/libm-test.inc (acos_test_tonearest): New function.
52829 (acos_test_towardzero): Likewise.
52830 (acos_test_downward): Likewise.
52831 (acos_test_upward): Likewise.
52832 (asin_test_tonearest): Likewise.
52833 (asin_test_towardzero): Likewise.
52834 (asin_test_downward): Likewise.
52835 (asin_test_upward): Likewise.
52836 (main): Call the new functions.
52837 * sysdeps/i386/fpu/libm-test-ulps: Update.
52838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52839
52840 [BZ #13884]
52841 [BZ #13924]
52842 * math/e_exp10.c: Include <float.h>.
52843 (__ieee754_exp10): Handle underflow here rather than multiplying
52844 large negative argument by M_LN10.
52845 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52846 of __ieee754_expf.
52847 * math/e_exp10l.c: Include <float.h>.
52848 (__ieee754_exp10l): Handle underflow here rather than multiplying
52849 large negative argument by M_LN10l.
52850 * math/libm-test.inc (exp10_test): Add another test. Do not allow
52851 spurious overflow exception on underflow.
52852
52853 2012-04-29 Marek Polacek <polacek@redhat.com>
52854
52855 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52856 (__fortify_function): New macro.
52857 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52858 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52859 __extern_always_inline.
52860 * libio/bits/stdio2.h: Likewise.
52861 * libio/bits/stdio.h: Likewise.
52862 * string/string.h: Likewise.
52863 * string/bits/string3.h: Likewise.
52864 * include/stdio.h: Likewise.
52865 * stdlib/bits/stdlib.h: Likewise.
52866 * stdlib/stdlib.h: Likewise.
52867 * rt/bits/mqueue2.h: Likewise.
52868 * rt/mqueue.h: Likewise.
52869 * posix/bits/unistd.h: Likewise.
52870 * posix/unistd.h: Likewise.
52871 * io/bits/poll2.h: Likewise.
52872 * io/bits/fcntl2.h: Likewise.
52873 * io/fcntl.h: Likewise.
52874 * io/sys/poll.h: Likewise.
52875 * misc/bits/syslog.h: Likewise.
52876 * misc/bits/syslog-ldbl.h: Likewise.
52877 * misc/sys/syslog.h: Likewise.
52878 * socket/bits/socket2.h: Likewise.
52879 * socket/sys/socket.h: Likewise.
52880 * debug/tst-chk1.c: Likewise.
52881 * wcsmbs/bits/wchar2.h: Likewise.
52882 * wcsmbs/bits/wchar-ldbl.h: Likewise.
52883 * wcsmbs/wchar.h: Likewise.
52884
52885 2012-04-29 Andreas Jaeger <aj@suse.de>
52886
52887 * Makerules (tests): Remove enable-check-abi protection.
52888 (check-abi-warn): Remove.
52889 (check-abi-%): Remove check-abi-warn usage.
52890
52891 * configure.in: Remove check-abi configure option.
52892 * configure: Regenerated.
52893 * config.make.in (enable-check-abi): Remove.
52894
52895 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
52896
52897 [BZ #14033]
52898 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52899 double functions to double *_finite functions.
52900
52901 [BZ #13941]
52902 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52903 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52904 LDBL_MIN_EXP.
52905 * stdio-common/Makefile (tests): Add tst-sprintf3.
52906 * stdio-common/tst-sprintf3.c: New file.
52907
52908 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
52909 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
52910
52911 2012-04-28 Joseph Myers <joseph@codesourcery.com>
52912
52913 * conform/conformtest.pl: Remove duplicate typed-constant
52914 handling.
52915
52916 2012-04-28 David S. Miller <davem@davemloft.net>
52917
52918 * Makerules (%.abilist): Add vpath on sysdep_dirs.
52919 (check-abi-%): Remove AWK script prerequisite and explicit
52920 abilist directory.
52921 (check-abi): Rewrite to just diff the symlist with the abilist.
52922 (config-tls, config-abi-config): Delete, no longer used.
52923 (update-abi-%): Remove AWK script and explicit abilist directory.
52924 (update-abi): Rewrite to simply compare and conditionally copy the
52925 symlist and the sysdep abilist file. Remove update-abi-config
52926 checks.
52927 * abilist/ld.abilist: Remove.
52928 * abilist/libBrokenLocale.abilist: Remove.
52929 * abilist/libanl.abilist: Remove.
52930 * abilist/libcrypt.abilist: Remove.
52931 * abilist/libdl.abilist: Remove.
52932 * abilist/librt.abilist: Remove.
52933 * abilist/libthread_db.abilist: Remove.
52934 * abilist/libutil.abilist: Remove.
52935 * scripts/extract-abilist.awk: Remove.
52936 * scripts/merge-abilist.awk: Remove.
52937 * sysdeps/generic/libcidn.abilist: New file.
52938 * sysdeps/generic/libnss_compat.abilist: New file.
52939 * sysdeps/generic/libnss_db.abilist: New file.
52940 * sysdeps/generic/libnss_dns.abilist: New file.
52941 * sysdeps/generic/libnss_files.abilist: New file.
52942 * sysdeps/generic/libnss_hesiod.abilist: New file.
52943 * sysdeps/generic/libnss_nis.abilist: New file.
52944 * sysdeps/generic/libnss_nisplus.abilist: New file.
52945 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
52946 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
52947 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
52948 file.
52949 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
52950 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
52951 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
52952 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
52953 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
52954 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
52955 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
52956 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
52957 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
52958 file.
52959 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
52960 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
52961 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
52962 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
52963 file.
52964 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
52965 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
52966 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
52967 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
52968 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
52969 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
52970 file.
52971 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
52972 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
52973 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
52974 file.
52975 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
52976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
52977 New file.
52978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
52979 New file.
52980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
52981 New file.
52982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
52983 New file.
52984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
52985 New file.
52986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
52987 New file.
52988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
52989 New file.
52990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
52991 New file.
52992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
52993 New file.
52994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
52995 New file.
52996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
52997 New file.
52998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
52999 New file.
53000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53001 New file.
53002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53003 file.
53004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53005 New file.
53006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53007 New file.
53008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53009 file.
53010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53011 New file.
53012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53013 New file.
53014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53015 file.
53016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53017 New file.
53018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53019 New file.
53020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53021 New file.
53022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53023 New file.
53024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53025 New file.
53026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53027 New file.
53028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53030 file.
53031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53032 New file.
53033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53034 file.
53035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53036 file.
53037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53038 file.
53039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53040 file.
53041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53042 file.
53043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53044 New file.
53045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53046 file.
53047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53048 file.
53049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53050 New file.
53051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53052 file.
53053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53055 file.
53056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53057 New file.
53058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53059 file.
53060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53061 file.
53062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53063 file.
53064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53065 file.
53066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53067 file.
53068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53069 New file.
53070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53071 file.
53072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53073 file.
53074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53075 New file.
53076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53077 file.
53078 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53079 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53080 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53081 file.
53082 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53083 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53084 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53085 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53086 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53087 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53088 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53089 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53090 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53091 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53094 file.
53095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53096 New file.
53097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53098 file.
53099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53100 file.
53101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53102 file.
53103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53104 file.
53105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53106 file.
53107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53108 New file.
53109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53110 New file.
53111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53112 file.
53113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53114 New file.
53115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53116 file.
53117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53119 file.
53120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53121 New file.
53122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53123 file.
53124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53125 file.
53126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53127 file.
53128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53129 file.
53130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53131 file.
53132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53133 New file.
53134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53135 New file.
53136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53137 file.
53138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53139 New file.
53140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53141 file.
53142
53143 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53144
53145 * conform/conformtest.pl: Fix typo in handling typed-constant from
53146 allow-header.
53147
53148 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53149
53150 * README: Cut down references to pre-2.6 Linux kernels and
53151 Linuxthreads. Update lists of configurations in libc and ports
53152 and sort alphabetically. Say "or newer" with Linux kernel version
53153 requirements.
53154
53155 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53156
53157 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53158
53159 [BZ #887]
53160 * math/libm-test.inc (logb_test_downward): New test to expose
53161 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53162 rounding mode.
53163
53164 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53165
53166 [BZ #14027]
53167 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53168 to be done.
53169 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53170 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53171
53172 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53173
53174 * sysdeps/unix/i386/brk.S: Remove file.
53175 * sysdeps/unix/i386/dl-brk.S: Likewise.
53176 * sysdeps/unix/i386/pipe.S: Likewise.
53177 * sysdeps/unix/i386/sigreturn.S: Likewise.
53178 * sysdeps/unix/i386/syscall.S: Likewise.
53179 * sysdeps/unix/i386/vfork.S: Likewise.
53180 * sysdeps/unix/i386/wait.S: Likewise.
53181
53182 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53183 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53184
53185 * configure.in (arm*-none*): Do not allow without
53186 --enable-hacker-mode.
53187 (netbsd*): Remove case setting base_os.
53188 (386bsd*): Likewise.
53189 (freebsd*): Likewise.
53190 (bsdi*): Likewise.
53191 (osf*): Likewise.
53192 (sunos*): Likewise.
53193 (ultrix*): Likewise.
53194 (newsos*): Likewise.
53195 (dynix*): Likewise.
53196 (*bsd*): Likewise.
53197 (sysv*): Likewise.
53198 (isc*): Likewise.
53199 (esix*): Likewise.
53200 (sco*): Likewise.
53201 (minix*): Likewise.
53202 (irix4*): Likewise.
53203 (irix6*): Likewise.
53204 (solaris[2-9]*): Likewise.
53205 (none): Likewise.
53206 * configure: Regenerated.
53207
53208 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53209
53210 [BZ #11521]
53211 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53212 overflow or cancellation in calculating denominator.
53213 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53214 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53215 down expression to avoid unexpected rounding in newer GCCs.
53216 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53217
53218 2012-04-26 David S. Miller <davem@davemloft.net>
53219
53220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53221 long-double compat symbols.
53222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53235
53236 2012-04-25 David S. Miller <davem@davemloft.net>
53237
53238 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53239 HWCAP_* values only after the memory barriers have been defined.
53240 (atomic_full_barrier): Define.
53241 (atomic_read_barrier): Define.
53242 (atomic_write_barrier): Define.
53243
53244 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53245
53246 * shlib-versions: Add libgcc_s version information.
53247 * sysdeps/generic/libgcc_s.h: Remove.
53248 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53249 libgcc_s.h.
53250 * sysdeps/gnu/unwind-resume.c: Likewise.
53251 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53252
53253 2012-04-25 David S. Miller <davem@davemloft.net>
53254
53255 * sysdeps/unix/sparc/brk.S: Delete.
53256 * sysdeps/unix/sparc/dl-brk.S: Delete.
53257 * sysdeps/unix/sparc/pipe.S: Delete.
53258 * sysdeps/unix/sparc/sysdep.S: Delete.
53259 * sysdeps/unix/sparc/sysdep.h: Delete.
53260 * sysdeps/unix/sparc/vfork.S: Delete.
53261 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53262 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53263 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53264 (ret_ERRVAL, r0, r1, MOVE): Define.
53265 (JUMPTARGET): Remove.
53266 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53267 sysdeps/unix/sparc/sysdep.h
53268 (ENTRY, END): Remove.
53269 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53270
53271 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53272
53273 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53274 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53275 -DIS_IN_build.
53276
53277 * timezone/README: Update upstream location and email address for
53278 tzcode and tzdata.
53279 * timezone/zdump.c: Update from tzcode 2012b.
53280 * timezone/zic.c: Likewise.
53281
53282 * configure.in (libc_cv_as_needed): Remove test.
53283 * configure: Regenerated.
53284 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53285 conditional definition.
53286 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53287 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53288 * config.make.in (have-as-needed): Remove variable.
53289
53290 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53291 Paul Pluzhnikov <ppluzhnikov@google.com>
53292
53293 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53294 strings correctly.
53295
53296 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53297
53298 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53299 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53300 * sysdeps/sh/strlen.S: Likewise.
53301
53302 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53303
53304 * sysdeps/unix/fork.S: Remove file.
53305 * sysdeps/unix/i386/fork.S: Likewise.
53306 * sysdeps/unix/sparc/fork.S: Likewise.
53307
53308 * sysdeps/unix/system.c: Remove file.
53309 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53310
53311 * sysdeps/unix/getegid.S: Remove file.
53312 * sysdeps/unix/geteuid.S: Likewise.
53313
53314 2012-04-24 Roland McGrath <roland@hack.frob.com>
53315
53316 * scripts/check-localplt.awk: New file.
53317 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53318 of diff.
53319 * scripts/data/localplt-generic.data: Add a comment.
53320
53321 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53322 NODE when __dir_mkfile failed.
53323 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53324 Reported by Ludovic Courtès <ludo@gnu.org>.
53325
53326 2012-04-24 Andreas Jaeger <aj@suse.de>
53327
53328 * Makerules (common-clean): Also remove gen-as-const-headers
53329 files.
53330
53331 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53332
53333 * Makerules (native-compile): Do not change working directory for
53334 build. Use $(OUTPUT_OPTION) in command.
53335 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53336
53337 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53338
53339 [BZ #13886]
53340 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53341 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53342 * math/libm-test.inc (floor_test): Add more tests.
53343 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53344
53345 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53346
53347 * sysdeps/unix/getdents.c: Remove file.
53348 * sysdeps/unix/sysv/getdents.c: Likewise.
53349 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53350
53351 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53352 sysdeps/unix/mman/syscalls.list.
53353 (mmap): Likewise.
53354 (mprotect): Likewise.
53355 (msync): Likewise.
53356 (munmap): Likewise.
53357 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53358 * sysdeps/unix/mman/syscalls.list: Remove.
53359 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53360
53361 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53362 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53363 * configure: Regenerated.
53364 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53365 $(libgcc_s_suffix).
53366 * config.make.in (libgcc_s_suffix): Remove variable.
53367
53368 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53369
53370 * sysdeps/unix/sysv/gethostname.c: Move to ...
53371 * sysdeps/posix/gethostname.c: ... here.
53372
53373 * sysdeps/unix/execve.S: Remove file.
53374
53375 * sysdeps/unix/_exit.S: Remove file.
53376
53377 2012-04-23 Andreas Jaeger <aj@suse.de>
53378
53379 [BZ #13739]
53380 * manual/Makefile: Remove make dist support, there's no
53381 need for a stand-alone documentation tar ball.
53382 (TEXI2DVI): Define always, it's not in Makeconfig.
53383 (dist): Removed.
53384 (tar-it): Removed.
53385 (edition): Removed.
53386 (glibc-doc-$(edition).tar): Removed
53387 (%.Z): Removed.
53388 (%.gz): Removed.
53389 (%.uu): Removed.
53390 (ETAGS): Remove, it's in Makeconfig.
53391 (move-if-change): Remove, it's in Makeconfig.
53392
53393 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53394
53395 [BZ #13970]
53396 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53397 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53398 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53399 (strtod_l, strtof_l, strtold_l): Remove __wur.
53400 It is not necessarily an error to ignore strtol's return value.
53401 One can reliably look at the stored endptr to decide whether
53402 the number had valid syntax.
53403
53404 2012-04-21 Andreas Jaeger <aj@suse.de>
53405
53406 [BZ #13739]
53407 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53408
53409 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53410
53411 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53412 * sysdeps/unix/sysv/Versions: Remove file.
53413
53414 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53415
53416 [BZ #13927]
53417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53418
53419 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53420
53421 [BZ #7064]
53422 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53423 version from __vm86.
53424
53425 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53426
53427 * sysdeps/unix/common/lxstat.c: Remove file.
53428 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53429
53430 * sysdeps/unix/sysv/Makefile: Remove file.
53431
53432 * sysdeps/unix/sysv/direct.h: Remove file.
53433
53434 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53435 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53436 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53437 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53438 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53439 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53440 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53441
53442 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53443
53444 * sysdeps/unix/xmknod.c: Remove file.
53445 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53446
53447 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53448
53449 * sysdeps/unix/sysv/i386/time.S: Remove file.
53450
53451 * sysdeps/unix/fxstat.c: Remove file.
53452 * sysdeps/unix/xstat.c: Likewise.
53453 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53454
53455 * sysdeps/unix/sysv/sigaction.c: Remove file.
53456
53457 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53458 (sysdep_headers): Remove variable.
53459 [termio.h not in sysdep_headers] (generated): Likewise.
53460 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53461 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53462 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53463 * sysdeps/unix/sysv/tcflow.c: Likewise.
53464 * sysdeps/unix/sysv/tcflush.c: Likewise.
53465 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53466 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53467 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53468 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53469 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53470
53471 * sysdeps/unix/siglist.c: Remove file.
53472
53473 * sysdeps/unix/getppid.S: Remove file.
53474
53475 * sysdeps/unix/mkdir.c: Remove file.
53476 * sysdeps/unix/rmdir.c: Likewise.
53477
53478 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53479
53480 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53481 ERR_MAX value.
53482 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53483 errlist-compat value.
53484
53485 2012-04-18 David S. Miller <davem@davemloft.net>
53486
53487 * sysdeps/generic/memcopy.h (reg_char): Delete.
53488 * debug/strcat_chk.c: Use char, not reg_char.
53489 * debug/strcpy_chk.c: Likewise.
53490 * debug/strncat_chk.c: Likewise.
53491 * debug/strncpy_chk.c: Likewise.
53492 * string/memchr.c: Likewise.
53493 * string/memrchr.c: Likewise.
53494 * string/rawmemchr.c: Likewise.
53495 * string/strcat.c: Likewise.
53496 * string/strchr.c: Likewise.
53497 * string/strchrnul.c: Likewise.
53498 * string/strcmp.c: Likewise.
53499 * string/strcpy.c: Likewise.
53500 * string/strncat.c: Likewise.
53501 * string/strncmp.c: Likewise.
53502 * string/strncpy.c: Likewise.
53503
53504 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53505
53506 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53507 __builtin_memcopy is called when src and dest ranges are known to not
53508 overlap.
53509
53510 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53511
53512 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53513 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53514 fwd_align_merge macro call.
53515 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53516 bwd_align_merge macro call.
53517 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53518
53519 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53520
53521 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53522 bwd_align_merge macros.
53523 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53524 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53525 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53526
53527 2012-04-18 David S. Miller <davem@davemloft.net>
53528
53529 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53530
53531 2012-04-18 Andreas Jaeger <aj@suse.de>
53532
53533 [BZ# 6794]
53534 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53535 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53536 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53537
53538 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53539 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53540 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53541
53542 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53543 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53544 Adjust for changed ldbl-128 files.
53545
53546 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53547 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53548 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53549
53550 2012-04-17 David S. Miller <davem@davemloft.net>
53551
53552 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53553
53554 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53555
53556 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53557 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53558 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53559 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53560 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53561 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53562
53563 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53564
53565 [BZ #6794]
53566 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53567 * math/libm-test.inc: Add ilogb errno and exception tests.
53568 * math/w_ilogb.c: New file: ilogb wrapper.
53569 * math/w_ilogbf.c: New file: ilogbf wrapper.
53570 * math/w_ilogbl.c: New file: ilogbl wrapper.
53571 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53572 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53573 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53574 exception being thrown with 0.0 as argument.
53575 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53576 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53577 exception being thrown with 0.0 as argument.
53578 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53579 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53580 exception being thrown with 0.0 as argument.
53581 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53582 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53583 exception being thrown with 0.0 as argument.
53584 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53585 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53586 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53587 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53588 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53589 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53590 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53591 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53592 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53593
53594 2012-04-17 Petr Baudis <pasky@ucw.cz>
53595
53596 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53597 with altivec.
53598
53599 2012-04-16 Marek Polacek <polacek@redhat.com>
53600
53601 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53602
53603 2012-04-16 Marek Polacek <polacek@redhat.com>
53604
53605 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53606 operands of fdivp instruction.
53607
53608 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53609
53610 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53611 * elf/tst-auditmod3b.c: Likewise.
53612 * elf/tst-auditmod4b.c: Likewise.
53613 * elf/tst-auditmod5b.c: Likewise.
53614 * elf/tst-auditmod6b.c: Likewise.
53615 * elf/tst-auditmod6c.c: Likewise.
53616 * elf/tst-auditmod7b.c: Likewise.
53617 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53618 * sysdeps/x86_64/preconfigure.in: Likewise.
53619 * sysdeps/x86_64/preconfigure: Regenerated.
53620
53621 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53622
53623 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53624 __ILP32__.
53625
53626 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53627
53628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53629 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53630
53631 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53632
53633 [BZ #13973]
53634 * locale/iso-639.def: Fix gl language name. Spotted by
53635 Yaron Shahrabani.
53636
53637 2012-04-12 Roland McGrath <roland@hack.frob.com>
53638
53639 [BZ #2074]
53640 * libio/libio.h (__io_write_fn): Update comment.
53641
53642 2012-04-12 Petr Baudis <pasky@ucw.cz>
53643
53644 [BZ #2074]
53645 * stdio.texi (Hook Functions): The user provided writer function
53646 is not allowed to return -1.
53647
53648 2012-04-11 David S. Miller <davem@davemloft.net>
53649
53650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53651
53652 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53653
53654 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53655 Add a leading slash to rtkaio.
53656
53657 2012-04-11 Jim Meyering <meyering@redhat.com>
53658
53659 [BZ #11959]
53660 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53661 It is not necessarily an error to ignore fwrite's return
53662 value. One can reliably use ferror to test for errors after
53663 the fact.
53664
53665 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53666
53667 * bits/types.h (__snseconds_t): New type.
53668 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53669
53670 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53672 (__SNSECONDS_T_TYPE): Likewise.
53673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53674 (__SNSECONDS_T_TYPE): Likewise.
53675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53676 (__SNSECONDS_T_TYPE): Likewise.
53677
53678 2012-04-10 Andreas Jaeger <aj@suse.de>
53679
53680 [BZ #2636]
53681 * manual/time.texi (Processor Time): Return type of times is
53682 elapsed real time since an arbitrary point in the past.
53683 (CPU Time): Move CLK_TCK from here...
53684 (Processor Time): ...to here. Correct description.
53685 * manual/conf.texi (Constants for Sysconf): Correct description of
53686 _SC_CLK_TCK.
53687
53688 2012-04-10 David S. Miller <davem@davemloft.net>
53689
53690 [BZ #13967]
53691 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53692 where the is a gap between DT_REL(A) and DT_JMPREL.
53693
53694 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53695
53696 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53697 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53698 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53699
53700 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53701
53702 * elf/dl-support.c (_dl_inhibit_cache): New variable.
53703 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53704 (dl_main): Handle --inhibit-cache.
53705 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53706 _dl_inhibit_cache.
53707 * elf/dl-load.c (_dl_map_object): Use it.
53708 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53709
53710 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53711
53712 [BZ #13872]
53713 * sysdeps/i386/fpu/e_powl.S (p78): New object.
53714 (__ieee754_powl): Saturate large exponents rather than testing for
53715 overflow of y*log2(x).
53716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53717 * math/libm-test.inc (pow_test): Do not permit spurious overflow
53718 exceptions.
53719
53720 [BZ #11521]
53721 * math/s_ctan.c: Include <float.h>.
53722 (__ctan): Avoid internal overflow or cancellation in calculating
53723 denominator.
53724 * math/s_ctanf.c: Likewise.
53725 * math/s_ctanl.c: Likewise.
53726 * math/s_ctanh.c: Likewise.
53727 * math/s_ctanhf.c: Likewise.
53728 * math/s_ctanhl.c: Likewise.
53729 * math/libm-test.inc (ctan_test): Add more tests.
53730 (ctanh_test): Likewise.
53731 * sysdeps/i386/fpu/libm-test-ulps: Update.
53732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53733
53734 2012-04-09 Andreas Jaeger <aj@suse.de>
53735
53736 [BZ #6894]
53737 * manual/filesys.texi (Directory Entries): Mention that d_namlen
53738 is an optional BSD extension.
53739
53740 [BZ #10254]
53741 * manual/stdio.texi (Opening Streams): Document additional fopen
53742 parameters.
53743
53744 2012-04-09 Roland McGrath <roland@hack.frob.com>
53745
53746 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53747 %eax without telling the compiler.
53748
53749 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
53750
53751 [BZ # 13963]
53752 * manual/install.texi: Use sourceware.org.
53753
53754 2012-04-09 Joseph Myers <joseph@codesourcery.com>
53755
53756 [BZ #13873]
53757 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53758 (__ieee754_pow): Generate overflow and underflow using huge*huge
53759 and tiny*tiny rather than just returning constant infinity or zero
53760 for large exponents.
53761 * math/libm-test.inc (pow_test): Require overflow exceptions for
53762 applicable cases of large exponents.
53763
53764 [BZ #706]
53765 * sysdeps/i386/fpu/e_pow.S (p10): New object.
53766 (__ieee754_pow): Use iterative multiplication algorithm only for
53767 integer exponents with absolute value below 1024. Check for odd
53768 integer exponents when using algorithm for real exponents.
53769 * math/libm-test.inc (pow_test): Add more tests.
53770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53771
53772 2012-04-08 Joseph Myers <joseph@codesourcery.com>
53773
53774 [BZ #13705]
53775 * math/libm-test.inc (exp_test): Do not allow overflow exception
53776 on underflow test.
53777
53778 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
53779
53780 [BZ #13705]
53781 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53782 instead of __kernel_standard_f.
53783
53784 2012-04-08 Mike Frysinger <vapier@gentoo.org>
53785
53786 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53787 * sysdeps/x86_64/memset_chk.S: Likewise.
53788
53789 2012-04-08 Andreas Jaeger <aj@suse.de>
53790
53791 [BZ #10153]
53792 * manual/startup.texi (Environment Access): Describe return value
53793 for putenv and setenv.
53794
53795 [BZ #6895]
53796 * manual/filesys.texi (Directory Entries): Add description for
53797 DT_LNK.
53798
53799 [BZ #6890]
53800 * manual/filesys.texi (Directory Entries): Clarify that it's file
53801 system not operating system in the description of DT_UNKNOWN.
53802
53803 [BZ #6578]
53804 * manual/syslog.texi (closelog): Fix reference, it's openlog.
53805
53806 2012-04-08 Stephen Compall <s11@member.fsf.org>
53807
53808 [BZ #6649]
53809 * manual/llio.texi (Opening and Closing Files): Add cross
53810 reference to explain mode argument.
53811
53812 2012-04-07 Mike Frysinger <vapier@gentoo.org>
53813
53814 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53815 * sysdeps/x86_64/memset_chk.S: Likewise.
53816
53817 2012-04-07 David S. Miller <davem@davemloft.net>
53818
53819 * elf/elf.h (R_SPARC_WDISP10): Define.
53820 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53821 R_SPARC_SIZE32.
53822 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53823 R_SPARC_SIZE64 and R_SPARC_H34.
53824
53825 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
53826
53827 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53828 conditions and remove no longer applicable assertion.
53829
53830 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53831
53832 * bits/byteswap.h: Include <features.h>.
53833 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53834 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53835
53836 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
53837
53838 * bits/byteswap.h (__bswap_16): Removed.
53839 Include <bits/byteswap-16.h> to get __bswap_16.
53840 * sysdeps/i386/bits/byteswap.h: Likewise.
53841 * sysdeps/s390/bits/byteswap.h: Likewise.
53842 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53843 * bits/byteswap-16.h: New file.
53844 * sysdeps/i386/bits/byteswap-16.h: Likewise.
53845 * sysdeps/s390/bits/byteswap-16.h: Likewise.
53846 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53847 * string/Makefile (headers): Add bits/byteswap-16.h.
53848
53849 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53850
53851 [BZ #13895]
53852 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53853 extra indirection.
53854 * nss/Makefile (tests-static, tests): Add tst-nss-static.
53855 * nss/tst-nss-static.c: New.
53856
53857 2012-04-06 Robert Millan <rmh@gnu.org>
53858
53859 [BZ #6486]
53860 * manual/llio.texi (File Position Primitive): lseek
53861 refers to WHENCE when it really means OFFSET.
53862
53863 2012-04-06 Andreas Jaeger <aj@suse.de>
53864
53865 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53866 strncmp declarations.
53867
53868 * abilist/libc.abilist: Add __poll and __ppoll.
53869
53870 2012-04-05 David S. Miller <davem@davemloft.net>
53871
53872 * scripts/check-local-headers.sh: Accept a host triplet in the
53873 path matched by the exclude regexp.
53874
53875 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53876 definition.
53877 * sysdeps/powerpc/powerpc32/dl-machine.h
53878 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53879 * sysdeps/s390/s390-32/dl-machine.h
53880 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53881 * sysdeps/sparc/sparc32/dl-machine.h
53882 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53883 * sysdeps/sparc/sparc64/dl-machine.h
53884 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53885
53886 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53887 lazy binding.
53888 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53889 undefined symbol errors.
53890
53891 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53892 DT_NEEDED entries.
53893
53894 2012-04-05 Michael Matz <matz@suse.de>
53895
53896 [BZ #13592]
53897 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53898
53899 2012-04-05 Andreas Jaeger <aj@suse.de>
53900
53901 [BZ #13908]
53902 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53903 comment.
53904
53905 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53906
53907 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53908 which ROUND is no valid rounding mode.
53909
53910 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53911
53912 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
53913 read again.
53914 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
53915
53916 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53917
53918 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
53919 an exception using FPU order intentionally.
53920
53921 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53922
53923 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
53924 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
53925 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
53926 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
53927
53928 2012-04-05 Simon Josefsson <simon@josefsson.org>
53929
53930 [BZ #12340]
53931 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
53932 EINVAL when BUFLEN is too smal.
53933
53934 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
53935
53936 [BZ #13553]
53937 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
53938 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
53939
53940 2012-04-03 Andreas Jaeger <aj@suse.de>
53941
53942 [BZ #13938]
53943 * manual/setjmp.texi (System V contexts): Fix sentence.
53944
53945 [BZ #13926]
53946 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
53947 New macro for this case.
53948 [!__GNUC__] (__bswap_64): New inline function for this case.
53949 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53950 * bits/byteswap.h: Likewise.
53951 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
53952 ull, guard with __GLIBC_HAVE_LONG_LONG.
53953
53954 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
53955 __GLIBC_HAVE_LONG_LONG.
53956
53957 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
53958 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
53959
53960 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
53961
53962 [BZ #13691]
53963 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
53964 inptr and inend, rather than using last_ch.
53965
53966 2012-04-02 David S. Miller <davem@davemloft.net>
53967
53968 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
53969 * stdio-common/printf-parse.h (read_int): Change return type to
53970 'int', return -1 on INT_MAX overflow.
53971 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
53972 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
53973 overflows INT_MAX. Check for overflow of in-format-string precision
53974 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
53975 SIZE_MAX not INT_MAX for integer overflow test.
53976 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
53977 skip the construct in the format string but do not record anything.
53978 * stdio-common/bug22.c: Adjust to test both width/prevision
53979 INT_MAX overflow as well as total length INT_MAX overflow. Check
53980 explicitly for proper errno values.
53981
53982 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
53983
53984 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
53985 CHAR_MAX.
53986 * string/test-strcmp.c [! WIDE]: Likewise.
53987 * time/tst-mktime2.c: Likewise for INT_MAX.
53988 * string/test-string.h: #include <sys/param.h> for MIN.
53989
53990 * csu/init-first.c (__libc_init_first): Call __ctype_init.
53991 * sysdeps/i386/init-first.c (init): Likewise.
53992 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
53993 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
53994 * sysdeps/sh/init-first.c (init): Likewise.
53995
53996 2012-04-01 Ulrich Drepper <drepper@gmail.com>
53997
53998 * po/ru.po: Update from translation team.
53999 * po/vi.po: Likewise.
54000
54001 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54002
54003 * resolv/nss_dns/dns-host.c: Merge copyright years.
54004
54005 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54006
54007 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54008 Optimize memcpy with prefetch if
54009 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54010 src, dst pointers have unequal 16 byte alignments.
54011
54012 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54013
54014 [BZ #13928]
54015 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54016 from a CNAME entry and return the minimum ttl for the query.
54017 (gaih_getanswer_slice): Likewise.
54018
54019 2012-03-30 Jeff Law <law@redhat.com>
54020
54021 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54022 due to long keys.
54023 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54024 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54025
54026 * resolv/nss_dns/dns-host.c: Update copyright year.
54027
54028 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54029
54030 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54031 requests to save a system call. Fix check that all bytes are sent.
54032
54033 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54034 comments for sendmmsg.
54035
54036 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54037
54038 [BZ #13691]
54039 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54040 with only 1 character between 0x0041 and 0x01b0.
54041 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54042 * wcsmbs/tst-mbsnrtowcs.c: New file.
54043
54044 2012-03-29 David S. Miller <davem@davemloft.net>
54045
54046 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54047 small copies by hand.
54048
54049 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54050
54051 [BZ #13761]
54052 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54053 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54054 group memberships.
54055
54056 2012-03-28 David S. Miller <davem@davemloft.net>
54057
54058 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54059 that branches into memcpy.
54060 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54061 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54062 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54063 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54064 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54065 bits.
54066 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54067 implementation too.
54068 * sysdeps/sparc/mempcpy.S: New file.
54069
54070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54071 the IFUNC routine in the libc case.
54072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54073
54074 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54075 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54076 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54077 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54078 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54079 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54080 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54081 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54082
54083 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54084 loop to 256 bytes instead of 64 bytes and fix test signedness.
54085
54086 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54087 * sysdeps/sparc/sparc32/Makefile: rather than here...
54088 * sysdeps/sparc/sparc64/Makefile: and here.
54089
54090 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54091
54092 * malloc/mallocbug.c: Avoid warnings about unused variables.
54093
54094 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54095
54096 [BZ #13760]
54097 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54098 in the right place. Discard and retry query if response is
54099 larger than input buffer size.
54100
54101 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54102
54103 [BZ #369]
54104 [BZ #2678]
54105 [BZ #3866]
54106 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54107 x for large integer exponent.
54108 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54109 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54110 sign of result as needed afterwards.
54111 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54112 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54113 result for underflowing pow the same as for overflow.
54114 (__kernel_standard_l): Handle powl overflow and underflow here
54115 rather than calling __kernel_standard.
54116 * math/libm-test.inc (pow_test): Add more tests.
54117
54118 [BZ #3868]
54119 [BZ #13879]
54120 [BZ #13910]
54121 [BZ #13911]
54122 [BZ #13912]
54123 [BZ #13913]
54124 [BZ #13915]
54125 [BZ #13916]
54126 [BZ #13917]
54127 [BZ #13918]
54128 [BZ #13919]
54129 [BZ #13920]
54130 [BZ #13921]
54131 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54132 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54133 (__kernel_standard_l): New function.
54134 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54135 __kernel_standard.
54136 * math/w_acosl.c (__acosl): Likewise.
54137 * math/w_asinl.c (__asinl): Likewise.
54138 * math/w_atan2l.c (__atan2l): Likewise.
54139 * math/w_atanhl.c (__atanhl): Likewise.
54140 * math/w_coshl.c (__coshl): Likewise.
54141 * math/w_exp10l.c (__exp10l): Likewise.
54142 * math/w_exp2l.c (__exp2l): Likewise.
54143 * math/w_fmodl.c (__fmodl): Likewise.
54144 * math/w_hypotl.c (__hypotl): Likewise.
54145 * math/w_j0l.c (__j0l, __y0l): Likewise.
54146 * math/w_j1l.c (__j1l, __y1l): Likewise.
54147 * math/w_jnl.c (__jnl, __ynl): Likewise.
54148 * math/w_lgammal.c (__lgammal): Likewise.
54149 * math/w_log10l.c (__log10l): Likewise.
54150 * math/w_log2l.c (__log2l): Likewise.
54151 * math/w_logl.c (__logl): Likewise.
54152 * math/w_powl.c (__powl): Likewise.
54153 * math/w_remainderl.c (__remainderl): Likewise.
54154 * math/w_scalbl.c (sysv_scalbl): Likewise.
54155 * math/w_sinhl.c (__sinhl): Likewise.
54156 * math/w_sqrtl.c (__sqrtl): Likewise.
54157 * math/w_tgammal.c (__tgammal): Likewise.
54158 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54159 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54160 * math/libm-test.inc (acos_test): Add more tests.
54161 (acosh_test): Likewise.
54162 (asin_test): Likewise.
54163 (atanh_test): Likewise.
54164 (exp_test): Likewise.
54165 (exp10_test): Likewise.
54166 (exp2_test): Likewise.
54167 (expm1_test): Likewise.
54168 (lgamma_test): Likewise.
54169 (log_test): Likewise.
54170 (log10_test): Likewise.
54171 (log1p_test): Likewise.
54172 (log2_test): Likewise.
54173 (pow_test): Do not allow some spurious overflow exceptions.
54174 (sqrt_test): Add more tests.
54175 (tgamma_test): Likewise.
54176 (y0_test): Likewise.
54177 (y1_test): Likewise.
54178 (yn_test): Likewise.
54179
54180 2012-03-27 Anton Blanchard <anton@samba.org>
54181
54182 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54183 MAP_HUGETLB.
54184 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54185 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54186 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54187
54188 2012-03-27 David S. Miller <davem@davemloft.net>
54189
54190 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54191
54192 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54193 have-as-vis3 check.
54194
54195 2012-03-27 Andreas Jaeger <aj@suse.de>
54196
54197 * sysdeps/x86_64/elf/configure.in: Moved to ...
54198 * sysdeps/x86_64/configure.in: ... here.
54199 * sysdeps/x86_64/elf/start.S: Moved to ...
54200 * sysdeps/x86_64/start.S: ... here.
54201 * sysdeps/x86_64/elf/configure: Delete.
54202
54203 * sysdeps/x86_64/configure.in: Merge contents from
54204 sysdeps/i386/configure.in (without i686 check).
54205
54206 * sysdeps/i386/elf/Versions: Merge into ...
54207 * sysdeps/i386/Versions: ... this.
54208 * sysdeps/i386/elf/Versions: Delete file.
54209 * sysdeps/i386/elf/start.S: Moved to ...
54210 * sysdeps/i386/start.S: ...here.
54211 * sysdeps/i386/elf/configure.in: Merge into...
54212 * sysdeps/i386/configure.in: ...here.
54213 * sysdeps/i386/elf/configure.in: Delete file.
54214 * sysdeps/i386/elf/configure: Delete file.
54215
54216 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54217 * debug/backtracesyms.c: ... here.
54218 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54219 * debug/backtracesymsfd.c: ... here.
54220 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54221 * sysdeps/generic/ifunc-sel.h: ... here.
54222
54223 * sysdeps/unix/i386/start.c: Delete file.
54224 * sysdeps/unix/sparc/start.c: Delete file.
54225 * sysdeps/unix/start.c: Delete file.
54226
54227 * sysdeps/sh/elf/configure.in: Moved to ...
54228 * sysdeps/sh/configure.in: ... here.
54229 * sysdeps/sh/elf/start.S: Moved to ...
54230 * sysdeps/sh/start.S: ... here.
54231 * sysdeps/sh/elf/configure: Delete file.
54232
54233 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54234 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54235 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54236 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54237 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54238 * sysdeps/powerpc/powerpc64/start.S: here.
54239 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54240 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54241 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54242 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54243 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54244
54245 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54246 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54247 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54248 * sysdeps/powerpc/powerpc32/start.S: ... here.
54249 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54250 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54251 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54252
54253 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54254 * sysdeps/powerpc/ifunc-sel.h: ... here.
54255 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54256 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54257
54258 * sysdeps/sparc/elf/configure.in: Moved to ...
54259 * sysdeps/sparc/configure.in: ... here.
54260 * sysdeps/sparc/elf/configure: Delete file.
54261 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54262 * sysdeps/sparc/sparc32/start.S: ... here.
54263 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54264 * sysdeps/sparc/sparc64/start.S: ... here.
54265 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54266 * sysdeps/sparc/sparc32/Makefile: ... this.
54267 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54268 * sysdeps/sparc/sparc64/Makefile: ... this.
54269
54270 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54271 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54272 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54273 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54274 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54275 * sysdeps/s390/s390-32/setjmp.S: ... here.
54276 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54277 * sysdeps/s390/s390-32/configure.in: ... here.
54278 * sysdeps/s390/s390-32/elf/configure: Delete file.
54279 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54280 * sysdeps/s390/s390-32/start.S: ... here.
54281
54282 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54283 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54284 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54285 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54286 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54287 * sysdeps/s390/s390-64/setjmp.S: ... here.
54288 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54289 * sysdeps/s390/s390-64/configure.in: ... here
54290 * sysdeps/s390/s390-64/elf/configure: Delete file.
54291 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54292 * sysdeps/s390/s390-64/start.S: ... here.
54293 * sysdeps/s390/s390-64/elf/configure: Delete.
54294
54295 * configure.in: Remove support for elf directories in sysdeps.
54296
54297 * configure: Regenerated.
54298 * sysdeps/i386/configure: Regenerated.
54299 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54300 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54301 * sysdeps/s390/s390-32/configure: Regenerated.
54302 * sysdeps/s390/s390-64/configure: Regenerated.
54303 * sysdeps/sh/configure: Regenerated.
54304 * sysdeps/sparc/configure: Regenerated.
54305 * sysdeps/x86_64/configure: Regenerated.
54306
54307 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54308
54309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54310
54311 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54312 denormal result into account.
54313
54314 2012-03-25 Roland McGrath <roland@hack.frob.com>
54315
54316 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54317 Reported by Allan McRae <allan@archlinux.org>.
54318
54319 2012-03-23 Jeff Law <law@redhat.com>
54320
54321 * nss/getnssent.c (__nss_getent): Fix typo.
54322
54323 2012-03-23 David S. Miller <davem@davemloft.net>
54324
54325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54326
54327 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54328
54329 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54330 to pad to uint64_t for each field.
54331 (dl_tls_index): Replace unsigned long with uint64_t.
54332
54333 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54334 Paul Pluzhnikov <ppluzhnikov@google.com>
54335
54336 [BZ #6528]
54337 * grp/Makefile (otherlibs): Don't set it.
54338 * inet/Makefile (otherlibs): Likewise.
54339 * login/Makefile (otherlibs): Likewise.
54340 * nscd/Makefile (otherlibs): Likewise.
54341 * posix/Makefile (otherlibs): Likewise.
54342 * pwd/Makefile (otherlibs): Likewise.
54343 * rt/Makefile (otherlibs): Likewise.
54344 * sunrpc/Makefile (otherlibs): Likewise.
54345 * nss/Makefile (otherlibs): Likewise.
54346 Add libnss_files to routines and static-only-routines.
54347 ($(objpfx)getent): Remove rule.
54348 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54349 static-only-routines.
54350
54351 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54352
54353 [BZ #13892]
54354 * math/s_cexp.c: Include <float.h>.
54355 (__cexp): Handle exp result overflowing not necessarily
54356 overflowing both real and imaginary parts of result.
54357 * math/s_cexpf.c: Likewise.
54358 * math/s_cexpl.c: Likewise.
54359 * math/libm-test.inc (cexp_test): Add more tests.
54360 * sysdeps/i386/fpu/libm-test-ulps: Update.
54361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54362
54363 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54364
54365 * include/link.h (ELFW): New macro.
54366 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54367 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54368
54369 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54370
54371 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54372 with uint64_t.
54373
54374 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54375
54376 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54377 declaration.
54378 (struct La_x32_retval): Likewise.
54379
54380 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54381
54382 * sysdeps/x86_64/preconfigure.in: New file.
54383 * sysdeps/x86_64/preconfigure: New generated file.
54384
54385 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54386
54387 [BZ #13824]
54388 * math/e_exp2l.c: Include <float.h>.
54389 (__ieee754_exp2l): Handle overflow and underflow cases
54390 separately. Only pass fractional part of argument to
54391 __ieee754_expl.
54392 * math/libm-test.inc (exp2_test): Add more tests.
54393
54394 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54395 negating x to take absolute value.
54396 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54397 Likewise.
54398 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54399 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54400 Likewise.
54401 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54402 computing low part if x was negated.
54403 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54404
54405 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54406
54407 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54408 la_x32_gnu_pltexit.
54409 (pltexit): Cast int_retval to ptrdiff_t.
54410 * elf/tst-auditmod3b.c: Likewise.
54411 * elf/tst-auditmod4b.c: Likewise.
54412 * elf/tst-auditmod5b.c: Likewise.
54413 * elf/tst-auditmod6b.c: Likewise.
54414 * elf/tst-auditmod6c.c: Likewise.
54415 * elf/tst-auditmod7b.c: Likewise.
54416
54417 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54418 and x32_gnu_pltexit.
54419
54420 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54421 __ELF_NATIVE_CLASS.
54422 (La_x32_regs): New macro.
54423 (La_x32_retval): Likewise.
54424 (la_x32_gnu_pltenter): New function prototype.
54425 (la_x32_gnu_pltexit): Likewise.
54426
54427 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54428
54429 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54430 exponent.
54431
54432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54433
54434 * configure.in (libc_cv_cc_nofma): Check for option to disable
54435 generation of FMA instructions.
54436 * configure: Regenerate.
54437 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54438 * sysdeps/ieee754/dbl-64/Makefile: New file.
54439 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54440 Remove brandred-fma4.
54441 (CFLAGS-brandred-fma4.c): Remove.
54442 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54443 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54444 define.
54445 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54446 define.
54447
54448 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54449
54450 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54451 LLONG_MAX != LONG_MAX.
54452 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54453 (_fitoa_word): Likewise.
54454 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54455 LLONG_MAX != LONG_MAX.
54456 * stdio-common/_itowa.h: Include <_itoa.h>.
54457 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54458 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54459 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54460 only if not defined.
54461 (_ITOA_WORD_TYPE): Likewise.
54462 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54463 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54464
54465 2012-03-21 David S. Miller <davem@davemloft.net>
54466
54467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54468
54469 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54470
54471 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54472 of x86_64 when setting libc_cv_slibdir, libdir and
54473 libc_cv_localedir.
54474 * sysdeps/unix/sysv/linux/configure: Regenerated.
54475
54476 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54477
54478 * manual/lang.texi (Old Varargs): Remove section.
54479 (How Variadic): Update menu.
54480 (va_start): Do not mention varargs.h.
54481
54482 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54483 Joseph Myers <joseph@codesourcery.com>
54484
54485 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54486 link test.
54487 * configure: Regenerated.
54488
54489 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54490
54491 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54492 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54493 conformtest.pl
54494
54495 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54496
54497 * NOTES: Remove.
54498 * Makefile (files-for-dist): Remove NOTES.
54499 (NOTES): Remove rule.
54500 * README: Don't refer to NOTES.
54501 * manual/creature.texi: Don't include macros.texi.
54502 * manual/intro.texi (creature.texi): Remove comment referring to
54503 NOTES.
54504
54505 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54506 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54507 * configure: Regenerated.
54508 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54509 LIBC_TRY_CC_OPTION.
54510 (libc_cv_as_i686): Likewise.
54511 (libc_cv_cc_avx): Likewise.
54512 (libc_cv_cc_sse2avx): Likewise.
54513 (libc_cv_cc_fma4): Likewise.
54514 (libc_cv_cc_novzeroupper): Likewise.
54515 * sysdeps/i386/configure: Regenerated.
54516
54517 [BZ #13883]
54518 * sysdeps/i386/fpu/s_cexp.S: Remove.
54519 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54520 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54521 * math/libm-test.inc (cexp_test): Add more tests.
54522 * sysdeps/i386/fpu/libm-test-ulps: Update.
54523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54524
54525 2012-03-21 Allan McRae <allan@archlinux.org>
54526
54527 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54528
54529 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54530
54531 [BZ #13871]
54532 * math/w_exp2.c: Do not include <float.h>.
54533 (o_threshold, u_threshold): Remove.
54534 (__exp2): Calculate result before checking finiteness and calling
54535 __kernel_standard.
54536 * math/w_exp2f.c: Likewise.
54537 * math/w_exp2l.c: Likewise.
54538 * math/libm-test.inc (exp2_test): Require overflow exception for
54539 1e6 input.
54540
54541 [BZ #3866]
54542 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54543 range of signed 64-bit integers before using fistpll. Remove
54544 checks for whether integers fit in mantissa bits.
54545 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54546 the range of signed 32-bit integers before using fistpl. Remove
54547 checks for whether integers fit in mantissa bits.
54548 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54549 (__ieee754_powl): Test for y outside the range of signed 64-bit
54550 integers before using fistpll. Reduce 64-bit values to 63-bit
54551 ones as needed.
54552 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54553 divide-by-zero is raised for zero to large negative powers.
54554 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54555 (__ieee754_powl): Test for y outside the range of signed 64-bit
54556 integers before using fistpll. Reduce 64-bit values to 63-bit
54557 ones as needed.
54558 * math/libm-test.inc (pow_test): Add more tests.
54559
54560 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54561
54562 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54563 <stdio-common/_itoa.h>.
54564 * debug/segfault.c: Likewise.
54565 * elf/dl-cache.c: Likewise.
54566 * elf/dl-minimal.c: Likewise.
54567 * elf/dl-misc.c: Likewise.
54568 * elf/dl-sysdep.c: Likewise.
54569 * elf/dl-version.c: Likewise.
54570 * elf/rtld.c: Likewise.
54571 * hurd/hurdsock.c: Likewise.
54572 * hurd/lookup-retry.c: Likewise.
54573 * malloc/malloc.c: Likewise.
54574 * malloc/mtrace.c: Likewise.
54575 * nscd/nscd_getgr_r.c: Likewise.
54576 * nscd/nscd_getpw_r.c: Likewise.
54577 * nscd/nscd_getserv_r.c: Likewise.
54578 * posix/getopt_init.c: Likewise.
54579 * posix/wordexp.c: Likewise.
54580 * stdio-common/_itoa.c: Likewise.
54581 * stdio-common/printf_fphex.c: Likewise.
54582 * stdio-common/vfprintf.c: Likewise.
54583 * string/_strerror.c: Likewise.
54584 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54585 * sysdeps/i386/i686/hp-timing.h: Likewise.
54586 * sysdeps/mach/_strerror.c: Likewise.
54587 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54588 * sysdeps/mach/hurd/sethostid.c: Likewise.
54589 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54590 * sysdeps/mach/xpg-strerror.c: Likewise.
54591 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54592 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54593 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54594 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54595 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54596 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54597 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54598 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54599 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54600 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54601 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54602 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54603 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54604 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54605 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54606 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54607 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54608 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54609 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54610 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54611 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54612
54613 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54614
54615 * stdio-common/_itoa.h: Moved to ...
54616 * sysdeps/generic/_itoa.h: Here.
54617
54618 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54619
54620 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54621 instead of "_itoa.h" and "_itowa.h".
54622 * stdio-common/vfprintf.: Likewise.
54623
54624 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54625
54626 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54627 <bits/wordsize.h>.
54628 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54629 (__signbit): Likwise.
54630 (llrintf): Likwise.
54631 (llrint): Likwise.
54632
54633 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54634
54635 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54636 __WORDSIZE != 64.
54637
54638 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54639
54640 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54641 OVERFLOW_EXCEPTION_OK.
54642 * math/libm-test.inc ("Philosophy"): Update comment about
54643 exception testing.
54644 (OVERFLOW_EXCEPTION): Define.
54645 (OVERFLOW_EXCEPTION_OK): Likewise.
54646 (INVALID_EXCEPTION_OK): Renumber.
54647 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54648 (IGNORE_ZERO_INF_SIGN): Likewise.
54649 (test_exceptions): Handle FE_OVERFLOW.
54650 (exp10_test): Expect overflow exceptions.
54651 (exp2_test): Likewise.
54652 (expm1_test): Likewise.
54653 (nextafter_test): Likewise.
54654 (pow_test): Likewise.
54655 (scalbn_test): Likewise.
54656 (scalbln_test): Likewise.
54657
54658 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54659
54660 * sysdeps/x86_64/bits/atomic.h
54661 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54662 64bit integer.
54663 (atomic_exchange_acq): Likewise.
54664 (__arch_exchange_and_add_body): Likewise.
54665 (__arch_add_body): Likewise.
54666 (atomic_add_negative): Likewise.
54667 (atomic_add_zero): Likewise.
54668
54669 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54670
54671 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54672 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54673
54674 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54675
54676 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54677 Check __x86_64__ instead of __WORDSIZE.
54678
54679 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54680
54681 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54682
54683 2012-03-19 David S. Miller <davem@davemloft.net>
54684
54685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54686
54687 * sysdeps/sparc/fpu/fenv_private.h: New file.
54688 * sysdeps/sparc/fpu/math_private.h: Use it.
54689 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54690 Remove.
54691 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54692 (libc_feholdexcept_setroundl): Remove.
54693 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54694 Remove.
54695 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54696 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54697
54698 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54699
54700 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54701 int64_t instead of long int.
54702 (INSERT_WORDS64): Likwise.
54703
54704 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54705
54706 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54707 _Unwind_GetCFA return to _Unwind_Ptr first.
54708
54709 2012-03-19 Joseph Myers <joseph@codesourcery.com>
54710
54711 [BZ #13629]
54712 * math/s_clog.c: Include <float.h>.
54713 (__clog): Scale large or subnormal inputs.
54714 * math/s_clogf.c: Likewise.
54715 * math/s_clogl.c: Likewise.
54716 * math/s_clog10.c: Include <float.h>.
54717 (M_LOG10_2): Define.
54718 (__clog10): Scale large or subnormal inputs.
54719 * math/s_clog10f.c: Likewise.
54720 * math/s_clog10l.c: Likewise.
54721 * math/libm-test.inc (clog_test): Add more tests.
54722 (clog10_test): Likewise.
54723 * sysdeps/i386/fpu/libm-test-ulps: Update.
54724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54725
54726 [BZ #11451]
54727 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54728 x and y.
54729 * math/libm-test.inc (atan2_test): Add another test.
54730
54731 * Makerules (common-objdir-compile): Remove.
54732 * sysdeps/unix/Makefile (config-generated): Do not add
54733 $(unix-generated) to variable.
54734 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54735 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54736 Remove rule.
54737 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54738 Likewise.
54739 [generic bits/local_lim.h] (before-compile): Do not append to
54740 variable.
54741 [generic bits/local_lim.h] (common-generated): Likewise.
54742 [generic sys/param.h] (before-compile): Do not append to variable.
54743 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54744 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54745 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54746 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54747 include.
54748 [generic sys/param.h] (sys/param.h-includes): Remove variable.
54749 [generic sys/param.h] (sys/param.h-includes): Remove rule.
54750 [generic sys/param.h] ($(addprefix
54751 $(common-objpfx),$(sys/param.h-includes))): Likewise.
54752 [generic sys/param.h] (common-generated): Do not append to
54753 variable.
54754 [generic sys/param.h] (sysdep_headers): Likewise.
54755 [generic bits/errno.h] (before-compile): Do not append to
54756 variable.
54757 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54758 rule.
54759 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54760 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54761 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54762 [generic bits/errno.h] (common-generated): Do not append to
54763 variable.
54764 [generic bits/ioctls.h] (before-compile): Do not append to
54765 variable.
54766 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54767 rule.
54768 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54769 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54770 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54771 rule.
54772 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54773 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54774 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54775 [generic bits/ioctls.h] (common-generated): Do not append to
54776 variable.
54777 [generic sys/syscall.h] (syscall.h): Remove variable.
54778 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54779 rule.
54780 [generic sys/syscall.h] (before-compile): Do not append to
54781 variable.
54782 [generic sys/syscall.h] (common-generated): Likewise.
54783 * sysdeps/unix/errnos-tmpl.c: Remove file.
54784 * sysdeps/unix/errnos.awk: Likewise.
54785 * sysdeps/unix/ioctls-tmpl.c: Likewise.
54786 * sysdeps/unix/ioctls.awk: Likewise.
54787 * sysdeps/unix/mk-local_lim.c: Likewise.
54788 * sysdeps/unix/snarf-ioctls: Likewise.
54789
54790 2012-03-19 Richard Henderson <rth@twiddle.net>
54791
54792 * sysdeps/i386/fpu/fenv_private.h: New file.
54793 * sysdeps/i386/fpu/math_private.h: Use it.
54794 (math_opt_barrier, math_force_eval): Remove.
54795 (libc_feholdexcept_setround_53bit): Remove.
54796 (libc_feupdateenv_53bit): Remove.
54797 * sysdeps/x86_64/fpu/math_private.h: Likewise.
54798 (math_opt_barrier, math_force_eval): Remove.
54799 (libc_feholdexcept): Remove.
54800 (libc_feholdexcept_setround): Remove.
54801 (libc_fetestexcept, libc_fesetenv): Remove.
54802 (libc_feupdateenv_test): Remove.
54803 (libc_feupdateenv, libc_feholdsetround): Remove.
54804 (libc_feresetround): Remove.
54805
54806 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54807 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54808
54809 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54810 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54811 (libc_feupdateenv_testl): New.
54812 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54813 (libc_feupdateenv_testf): New.
54814 (libc_feupdateenv): Use libc_feupdateenv_test.
54815 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54816 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54817
54818 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54819 (libc_feholdsetroundf, libc_feholdsetroundl): New.
54820 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54821 (libc_feresetround_noex): New.
54822 (libc_feresetround_noexf): New.
54823 (libc_feresetround_noexl): New.
54824 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54825 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54826 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54827 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54828 SET_RESTORE_ROUND.
54829 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54830 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54831 (__cos): Likewise.
54832 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54833 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54834 SET_RESTORE_ROUND_NOEX.
54835 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54836 SET_RESTORE_ROUND_NOEXF.
54837 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54838 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54839 (libc_feholdsetroundf): New.
54840 (libc_feresetround, libc_feresetroundf): New.
54841
54842 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54843 (libc_feholdexcept_setround_53bit): Convert from macro to function.
54844 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
54845
54846 * sysdeps/generic/math_private.h: Include <fenv.h>.
54847 (default_libc_feholdexcept): New.
54848 (default_libc_feholdexcept_setround): New.
54849 (default_libc_fesetenv, default_libc_feupdateenv): New.
54850 (libc_feholdexcept): Only define if undefined.
54851 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54852 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54853 (libc_feholdexcept_setroundl): Likewise.
54854 (libc_feholdexcept_setround_53bit): Likewise.
54855 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54856 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54857 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54858 (libc_feupdateenv_53bit): Likewise.
54859 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54860 (libc_feholdexcept): Convert from macro to inline function.
54861 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54862 (libc_fesetenv, libc_feupdateenv): Likewise.
54863
54864 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54865 not previously defined.
54866 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54867 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54868 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54869 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54870 * sysdeps/ieee754/flt-32/math_private.h: New file.
54871 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54872 math_private.h below SET_FLOAT_WORD.
54873 (__isnan, __isinf_ns, __finite): Remove.
54874 (__isnanf, __isinf_nsf, __finitef): Remove.
54875
54876 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
54877
54878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54879
54880 2012-03-17 David S. Miller <davem@davemloft.net>
54881
54882 [BZ #6471]
54883 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54884 for 2.16.
54885
54886 2012-03-16 David S. Miller <davem@davemloft.net>
54887
54888 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54889 warnings.
54890
54891 [BZ #6471]
54892 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54893 properly.
54894 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54895 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54896 sysdep_routines when subdir is sysvipc.
54897 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54898 __getshmlba helper.
54899
54900 * sysdeps/sparc/fpu/libm-test/ulps: Update.
54901
54902 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54903
54904 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54905 [__LP64__].
54906
54907 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54908
54909 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
54910 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
54911 (__lround): Renamed to ...
54912 (__llround): This. Replace long int with long long int.
54913 Define lround functions as aliases of llround functions.
54914 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
54915
54916 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54917
54918 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
54919 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
54920 adresses to uintptr_t. Replace "long int" and "unsigned long
54921 int" with "greg_t" on va_arg.
54922
54923 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
54924
54925 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
54926 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
54927
54928 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
54929 Move e_machine check before EI_CLASS check. Handle x32
54930 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
54931 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
54932 SKIP_EM_IA_64 and include
54933 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
54934
54935 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
54936 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
54937 (add_system_dir): New macro.
54938
54939 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
54940 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
54941
54942 2012-03-16 Joseph Myers <joseph@codesourcery.com>
54943
54944 [BZ #2551]
54945 [BZ #2552]
54946 [BZ #2553]
54947 [BZ #2554]
54948 [BZ #2562]
54949 [BZ #2563]
54950 [BZ #2565]
54951 [BZ #2566]
54952 [BZ #2576]
54953 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
54954 (y0): Likewise.
54955 * math/w_j0f.c (j0f): Likewise.
54956 (y0f): Likewise.
54957 * math/w_j0l.c (__j0l): Likewise.
54958 (__y0l): Likewise.
54959 * math/w_j1.c (j1): Likewise.
54960 (y1): Likewise.
54961 * math/w_j1f.c (j1f): Likewise.
54962 (y1f): Likewise.
54963 * math/w_j1l.c (__j1l): Likewise.
54964 (__y1l): Likewise.
54965 * math/w_jn.c (jn): Likewise.
54966 (yn): Likewise.
54967 * math/w_jnf.c (jnf): Likewise.
54968 (ynf): Likewise.
54969 * math/w_jnl.c (__jnl): Likewise.
54970 (__ynl): Likewise.
54971 * math/libm-test.inc (j0_test): Add more tests.
54972 (j1_test): Likewise.
54973 (jn_test): Likewise. Add trailing semicolon to existing test.
54974 (y0_test): Likewise.
54975 (y1_test): Likewise.
54976 * sysdeps/i386/fpu/libm-test-ulps: Update.
54977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54978
54979 [BZ #13851]
54980 [BZ #13854]
54981 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
54982 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
54983 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
54984 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
54985 (__tanl): Set errno for infinite argument.
54986 * sysdeps/i386/fpu/mptan.c: Remove.
54987 * sysdeps/i386/fpu/s_tan.S: Likewise.
54988 * sysdeps/i386/fpu/s_tanl.S: Likewise.
54989 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
54990 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
54991 * math/libm-test.inc (tan_test): Add more tests and enable more
54992 tests for double and long double.
54993 * sysdeps/i386/fpu/libm-test-ulps: Update.
54994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54995
54996 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
54997
54998 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
54999 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55000
55001 2012-03-16 Roland McGrath <roland@hack.frob.com>
55002
55003 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55004 * configure.in: Use it for both main tree and add-ons.
55005 * configure: Regenerated.
55006
55007 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55008
55009 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55010
55011 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55012
55013 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55014 in comment.
55015
55016 [BZ #13851]
55017 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55018 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55019 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55020 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55021 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55022 infinite argument.
55023 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55025 != 0 for prec == 2.
55026 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55027 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55028 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55029 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55030 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55031 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55032 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55033 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55034 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55035 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55036 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55037 * math/libm-test.inc (cos_test): Add more tests and enable more
55038 tests for long double.
55039 (sin_test): Likewise.
55040 (sincos_test): Likewise.
55041 * sysdeps/i386/fpu/libm-test-ulps: Update.
55042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55043
55044 2012-03-16 David S. Miller <davem@davemloft.net>
55045
55046 * sysdeps/sparc/fpu/math_private.h: New file.
55047
55048 2012-03-15 David S. Miller <davem@davemloft.net>
55049
55050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55051 file.
55052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55054 file.
55055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55060 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55061 sysdep routines.
55062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55063
55064 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55065 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55066
55067 * sysdeps/sparc/sparc-ifunc.h: New file.
55068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55069 sparc-ifunc.h
55070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55072 Likewise.
55073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55074 Likewise.
55075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55079 Likewise.
55080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55085 Likewise.
55086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55087 Likewise.
55088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55106 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55107 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55109 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55112
55113 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55114
55115 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55116 scaling.
55117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55118
55119 2012-03-15 Andreas Jaeger <aj@suse.de>
55120
55121 [BZ #13852]
55122 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55123 ieee754/flt-32 implementation for sin, cos and sincos.
55124 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55125 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55126 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55127 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55128 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55129 ieee754/flt-32 implementation for tan.
55130
55131 * math/libm-test.inc (cos_test): Enable some large input tests for
55132 float as well
55133 (sin_test): Likewise.
55134 (sincos_test): Likewise.
55135 (tan_test): Add tests for large input.
55136
55137 * sysdeps/i386/fpu/libm-test-ulps: Update.
55138
55139 2012-03-15 Andreas Jaeger <aj@suse.de>
55140
55141 [BZ #13658]
55142 * math/libm-test.inc (cos_test): Add more test cases.
55143 (sin_test): Likewise.
55144 (sincos_test): Likewise.
55145
55146 2012-03-15 Andreas Jaeger <aj@suse.de>
55147
55148 [BZ #13837]
55149 * math/libm-test.inc (cos_test): Add a test case for large input
55150 value.
55151 (sin_test): Likewise.
55152 (sincos_test): Likewise.
55153
55154 2012-03-15 Andreas Jaeger <aj@suse.de>
55155 Joseph Myers <joseph@codesourcery.com>
55156
55157 [BZ #13658]
55158 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55159 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55160 * sysdeps/i386/fpu/branred.c: Likewise.
55161 * sysdeps/i386/fpu/dosincos.c: Likewise.
55162 * sysdeps/i386/fpu/mpa.c: Likewise.
55163 * sysdeps/i386/fpu/s_cos.S: Likewise.
55164 * sysdeps/i386/fpu/s_sin.S: Likewise.
55165 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55166 * sysdeps/i386/fpu/sincos32.c: Likewise.
55167
55168 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55169 Define.
55170 (libc_feupdateenv_53bit): Define.
55171 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55172 Define.
55173 (libc_feupdateenv_53bit): Define.
55174
55175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55176 53 bit (without extend i386 double precision).
55177
55178 * math/libm-test.inc (sincos_test): Add tests for large input.
55179 (sin): Likewise.
55180 (cos): Likewise.
55181
55182 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55183
55184 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55185
55186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55187
55188 2012-03-15 David S. Miller <davem@davemloft.net>
55189
55190 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55191 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55192 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55193 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55206 file.
55207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55209 file.
55210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55212 file.
55213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55215 file.
55216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55218 fmin/fmax sysdep routines.
55219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55220
55221 2012-03-14 David S. Miller <davem@davemloft.net>
55222
55223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55230 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55246 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55250 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55252 routines.
55253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55254 file.
55255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55257 file.
55258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55260 file.
55261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55263 file.
55264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55266 file.
55267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55269 file.
55270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55271 file.
55272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55273 file.
55274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55275 file.
55276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55277 New file.
55278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55279 file.
55280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55281 file.
55282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55284 file.
55285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55287 file.
55288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55290 file.
55291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55293 VIS3 routines.
55294
55295 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55296 New file.
55297
55298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55299
55300 * sysdeps/sparc/configure.in: New file.
55301 * sysdeps/sparc/configure: Generate.
55302 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55303 * configure: Regenerate.
55304 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55305 * config.make.in (have-as-vis3): New.
55306 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55307 available use -Av9d instead of -Av9a.
55308 * sysdeps/sparc/sparc64/Makefile: Likewise.
55309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55311 New file.
55312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55313 file.
55314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55315 New file.
55316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55317 file.
55318 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55319 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55320 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55323
55324 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55325 fzeros/fnegs to load 0x80000000 into a float register instead of
55326 using the stack.
55327 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55328
55329 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55330
55331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55332 bits/syscall.h.
55333 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55334 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55335 ($(inst_includedir)/bits/syscall.h): Remove rule.
55336 ($(objpfx)bits/syscall.d): Include instead of
55337 $(objpfx)syscall-list.d.
55338 (generated): Change syscall-list.h and syscall-list.d to
55339 bits/syscall.h and bits/syscall.d.
55340
55341 2012-03-14 Roland McGrath <roland@hack.frob.com>
55342
55343 [BZ #13846]
55344 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55345
55346 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55347
55348 [BZ #13841]
55349 * math/s_csqrt.c: Include <float.h>.
55350 (__csqrt): Scale large or subnormal inputs.
55351 * math/s_csqrtf.c: Likewise.
55352 * math/s_csqrtl.c: Likewise.
55353 * math/libm-test.inc (csqrt_test): Add more tests.
55354 * sysdeps/i386/fpu/libm-test-ulps: Update.
55355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55356
55357 [BZ #13840]
55358 * math/libm-test.inc (hypot_test): Add more tests.
55359
55360 2012-03-13 David S. Miller <davem@davemloft.net>
55361
55362 [BZ #13840]
55363 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55364 double-precision for the calculation instead of scaling.
55365
55366 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55367
55368 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55369 manipulate bits before adding and subtracting TWO52[sx].
55370 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55371 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55372 Likewise.
55373 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55374
55375 2012-03-13 David S. Miller <davem@davemloft.net>
55376
55377 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55378 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55380 rtld-global-offsets.h
55381 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55382
55383 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55384 large parameters.
55385
55386 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55387
55388 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55389 'err' in the ifdef scope in which it is actually used.
55390
55391 * nss/nss_db/db-init.c: Include string.h
55392
55393 2012-03-12 David S. Miller <davem@davemloft.net>
55394
55395 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55396 masking out of the most significant byte of random value used.
55397 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55398 Fix coding style in previous change.
55399
55400 * sysdeps/unix/sysv/linux/kernel-features.h
55401 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55402 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55403 expression.
55404 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55405 later.
55406
55407 2012-03-11 David S. Miller <davem@davemloft.net>
55408
55409 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55410 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55411 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55412 for 'resultvar' otherwise things get truncated on 64-bit.
55413
55414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55415 Fix masking out of the most significant byte of random value used.
55416
55417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55418
55419 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55420
55421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55422
55423 2012-03-09 David S. Miller <davem@davemloft.net>
55424
55425 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55426 variables with appropriate CPP guards.
55427 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55428 from the frame pointer, not the stack pointer. Correct layout
55429 comments. Fix test on resulting framesize and the management of
55430 the outregs buffer for pltexit. Preserve floating point return
55431 values across _dl_call_pltexit call.
55432 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55433 framesize and the management of the outregs buffer for pltexit.
55434 Preserve floating point return values across _dl_call_pltexit
55435 call.
55436 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55437 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55438 (la_sparc64_gnu_pltexit): New functions.
55439 (print_exit): Fix format string for return register value.
55440
55441 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55442
55443 * sunrpc/Makefile (others): Add rpcgen.
55444 ($(objpfx)rpcgen): Remove special build rule and dependency on
55445 libc.
55446 * sunrpc/rpcgen.c: New file.
55447
55448 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55449
55450 [BZ #13673]
55451 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55452 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55453 * sysdeps/i386/crti.S: Likewise.
55454 * sysdeps/i386/crtn.S: Likewise.
55455 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55456 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55457 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55458 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55459 * sysdeps/sh/crti.S: Likewise.
55460 * sysdeps/sh/crtn.S: Likewise.
55461 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55462
55463 [BZ #13673]
55464 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55465 with URL.
55466 * locale/programs/locfile-kw.gperf: Likewise.
55467 * locale/programs/charmap-kw.h: Regenerated.
55468 * locale/programs/locfile-kw.h: Likewise.
55469
55470 [BZ #13673]
55471 * intl/plural.y: Replace FSF snail mail address with URL.
55472 * intl/plural.c: Regenerated.
55473
55474 2012-03-09 Richard Henderson <rth@twiddle.net>
55475
55476 * include/math_private.h: Remove file.
55477 * math/math_private.h: Move file ...
55478 * sysdeps/generic/math_private.h: ... here.
55479
55480 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55481 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55482 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55483
55484 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55485 and <math_private.h>.
55486 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55487 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55488 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55489 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55490 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55491 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55492 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55494 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55495 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55497 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55498 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55499 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55500 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55501 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55502 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55503 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55504 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55505 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55507 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55508 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55510 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55511 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55512 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55513 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55516 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55518 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55519 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55520 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55521 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55522 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55523 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55524 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55525 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55526 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55527 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55528 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55529 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55531 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55532 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55533 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55534 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55535 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55536 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55537 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55538 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55539 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55540 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55541 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55542 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55543 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55544 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55545 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55546 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55547 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55548 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55549 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55550 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55551 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55552 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55553 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55554 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55555 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55556 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55557 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55559 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55560 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55561 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55564 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55565 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55566 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55567 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55568 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55569 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55570 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55572 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55573 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55574 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55575 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55576 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55577 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55579 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55580 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55581 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55582 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55583 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55584 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55585 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55586 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55587 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55588 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55589 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55590 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55591 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55592 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55593 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55594 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55595 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55596 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55597 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55598 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55599 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55600 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55601 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55602 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55603 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55604 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55605 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55606 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55607 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55608 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55609 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55610 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55611 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55612 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55613 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55614 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55615 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55616 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55617 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55618 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55619 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55620 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55621 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55622 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55623 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55624 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55625 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55626 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55627 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55628 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55629 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55630 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55631 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55632 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55633 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55634 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55635 * sysdeps/ieee754/k_standard.c: Likewise.
55636 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55637 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55638 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55639 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55640 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55641 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55642 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55643 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55644 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55645 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55646 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55647 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55648 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55649 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55650 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55651 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55652 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55653 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55654 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55655 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55656 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55657 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55658 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55659 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55660 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55661 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55662 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55663 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55664 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55665 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55666 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55667 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55668 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55669 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55670 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55671 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55672 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55673 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55674 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55675 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55676 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55677 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55678 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55679 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55680 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55681 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55682 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55683 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55684 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55685 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55686 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55687 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55688 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55689 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55690 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55691 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55692 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55693 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55694 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55695 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55696 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55697 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55698 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55699 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55702 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55703 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55704 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55706 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55707 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55708 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55709 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55710 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55712 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55713 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55714 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55715 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55716 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55717 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55718 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55719 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55720 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55721 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55722 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55723 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55724 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55725 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55726 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55727 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55728 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55729 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55730 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55731 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55732 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55733 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55734 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55735 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55737 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55738 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55739 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55740 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55741 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55742 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55743 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55744 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55745 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55746 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55747 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55748 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55749 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55750 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55751 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55752 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55753 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55754 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55755 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55756 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55757 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55758 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55759 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55761 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55762 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55763 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55764 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55766 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55767 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55768 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55769 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55770 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55771 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55772 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55773 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55774 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55775 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55776 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55777 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55778 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55779 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55780 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55781 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55782 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55783 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55784 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55785 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55786 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55787 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55788 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55789 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55790 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55791 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55792 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55793 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55794 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55795 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55796 * sysdeps/ieee754/s_lib_version.c: Likewise.
55797 * sysdeps/ieee754/s_matherr.c: Likewise.
55798 * sysdeps/ieee754/s_signgam.c: Likewise.
55799 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55801 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55802 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55803 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55804 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55805 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55806 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55807 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55808 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55809 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55810 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55811 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55812 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55813 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55814 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55815 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55816 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55817 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55819 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55820
55821 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55822
55823 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55824 * sunrpc/rpc_main.c: Likewise.
55825 * sunrpc/rpc_svcout.c: Likewise.
55826
55827 2012-03-09 David S. Miller <davem@davemloft.net>
55828
55829 * include/math_private.h: New file.
55830
55831 2012-03-09 Joseph Myers <joseph@codesourcery.com>
55832
55833 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55834 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55835 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55836 from <bits/socket_type.h>.
55837 (enum __socket_type): Don't define here.
55838 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55840 bits/socket_type.h.
55841
55842 [BZ #13566]
55843 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55844 checking __USE_GNU.
55845
55846 * Makerules ($(inst_includedir)/%.h): New rule.
55847 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55848 (install-others): Remove variable setting.
55849 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55850
55851 2012-03-08 Richard Henderson <rth@twiddle.net>
55852
55853 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55854 from macro to inline function; merge with the
55855 !__LIBC_INTERNAL_MATH_INLINES version.
55856 (__ieee754_sqrtf): Likewise.
55857
55858 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55859 to inline function.
55860 (__rintf, __floor, __floorf): Likewise.
55861
55862 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55863 macro to inline function.
55864 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55865
55866 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55867 not <math/math_private.h>.
55868
55869 2012-03-08 David S. Miller <davem@davemloft.net>
55870
55871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55872 copyright year.
55873 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55874
55875 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
55876
55877 * resolv/gai_misc.c (handle_requests): Fix struct timespec
55878 normalization.
55879 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55880 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55881
55882 2012-03-08 Ulrich Drepper <drepper@gmail.com>
55883
55884 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
55885 be defined individually, they must be defined as a block. Define
55886 S for printing a string instead of hidint the different by using a
55887 macro for adding the 'l'.
55888 * stdio-common/tst-fphex-wide.c: Adjust.
55889
55890 2012-03-07 Marek Polacek <polacek@redhat.com>
55891
55892 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55893
55894 2012-03-08 Marek Polacek <polacek@redhat.com>
55895
55896 [BZ #13806]
55897 * stdio-common/Makefile (tests): Add tst-fphex-wide.
55898 * stdio-common/tst-fphex.c: Define a few macros to make the
55899 test reusable. Use them.
55900 * stdio-common/tst-fphex-wide.c: New file.
55901
55902 2012-03-08 Joseph Myers <joseph@codesourcery.com>
55903
55904 [BZ #6911]
55905 * manual/macros.texi (gnusystems): New macro.
55906 (nongnusystems): Likewise.
55907 (gnulinuxhurdsystems): Likewise.
55908 (gnuhurdsystems): Likewise..
55909 (gnulinuxsystems): Likewise.
55910 * manual/charset.texi: Use new macros or @theglibc{} to refer to
55911 variants of the GNU system, not "GNU system".
55912 * manual/conf.texi: Likewise.
55913 * manual/errno.texi: Likewise. Update example of errno macro
55914 expansion.
55915 * manual/filesys.texi: Likewise.
55916 (getumask): Document as specific to GNU/Hurd.
55917 * manual/install.texi: Likewise. Reword some references to
55918 GNU/Linux.
55919 * manual/intro.texi: Likewise.
55920 * manual/io.texi: Likewise.
55921 (File Name Portability): Detail which constraints are inapplicable
55922 to all GNU systems and which are only inapplicable to GNU/Hurd.
55923 * manual/job.texi: Likewise.
55924 * manual/llio.texi: Likewise.
55925 (O_NOCTTY): Document as present on GNU/Linux.
55926 * manual/maint.texi: Likewise.
55927 * manual/memory.texi: Likewise.
55928 * manual/pattern.texi: Likewise.
55929 * manual/pipe.texi: Likewise.
55930 * manual/process.texi: Likewise.
55931 * manual/resource.texi: Likewise.
55932 (RUSAGE_CHILDREN): Remove statement about specifying a particular
55933 child on GNU/Hurd.
55934 * manual/setjmp.texi: Likewise.
55935 * manual/signal.texi: Likewise.
55936 * manual/startup.texi: Likewise.
55937 * manual/stdio.texi: Likewise.
55938 * manual/terminal.texi: Likewise.
55939 (ONLCR): Document as POSIX.
55940 (OXTABS): Document availability on GNU/Linux as XTABS.
55941 (ONOEOT): Document availability separately from other bits.
55942 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
55943 * manual/time.texi: Likewise.
55944 * manual/users.texi: Likewise.
55945 * INSTALL: Regenerated.
55946 * sysdeps/gnu/errlist.c: Regenerated.
55947
55948 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
55949 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
55950 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
55951 puts.
55952 * configure: Regenerated.
55953
55954 2012-03-07 Joseph Myers <joseph@codesourcery.com>
55955
55956 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
55957 default includes instead of AC_HEADER_CHECK.
55958 * sysdeps/i386/configure: Regenerated.
55959
55960 [BZ #10716]
55961 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
55962 * math/s_cacoshf.c (__cacoshf): Likewise.
55963 * math/s_cacoshl.c (__cacoshl): Likewise.
55964 * math/s_casinh.c (__casinh): Set signs of result from argument.
55965 * math/s_casinhf.c (__casinhf): Likewise.
55966 * math/s_casinhl.c (__casinhl): Likewise.
55967 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
55968 (casinh_test): Add more tests.
55969 * sysdeps/i386/fpu/libm-test-ulps: Update.
55970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55971
55972 2012-03-07 Ulrich Drepper <drepper@gmail.com>
55973
55974 * po/zh_TW.po: Update from translation team.
55975
55976 * login/Makefile (distribute): Remove variable.
55977 * catgets/Makefile: Likewise.
55978 * mach/Makefile: Likewise.
55979 * malloc/Makefile: Likewise.
55980 * misc/Makefile: Likewise.
55981 * iconv/Makefile: Likewise.
55982 * nscd/Makefile: Likewise.
55983 * hurd/Makefile: Likewise.
55984 * manual/Makefile: Likewise.
55985 * locale/Makefile: Likewise.
55986 * intl/Makefile: Likewise.
55987 * conform/Makefile: Likewise.
55988 * nss/Makefile: Likewise.
55989 * time/Makefile: Likewise.
55990 * soft-fp/Makefile: Likewise.
55991 * dirent/Makefile: Likewise.
55992 * gmon/Makefile: Likewise.
55993 * po/Makefile: Likewise.
55994 * rt/Makefile: Likewise.
55995 * socket/Makefile: Likewise.
55996 * math/Makefile: Likewise.
55997 * signal/Makefile: Likewise.
55998 * debug/Makefile: Likewise.
55999 * elf/Makefile: Likewise.
56000 * timezone/Makefile: Likewise.
56001 * stdlib/Makefile: Likewise.
56002 * iconvdata/Makefile: Likewise.
56003 * sunrpc/Makefile: Likewise.
56004 * io/Makefile: Likewise.
56005 * argp/Makefile: Likewise.
56006 * inet/Makefile: Likewise.
56007 * hesiod/Makefile: Likewise.
56008 * grp/Makefile: Likewise.
56009 * csu/Makefile: Likewise.
56010 * wctype/Makefile: Likewise.
56011 * crypt/Makefile: Likewise.
56012 * libio/Makefile: Likewise.
56013 * string/Makefile: Likewise.
56014 * nis/Makefile: Likewise.
56015 * resolv/Makefile: Likewise.
56016 * stdio-common/Makefile: Likewise.
56017 * wcsmbs/Makefile: Likewise.
56018 * dlfcn/Makefile: Likewise.
56019 * posix/Makefile: Likewise.
56020
56021 [BZ #6959]
56022 * timezone/Makefile: Don't install timezone files, just the programs
56023 and scripts.
56024
56025 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56026
56027 * nss/databases.def: Add missing gshadow entry.
56028
56029 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56030
56031 2012-03-06 Marek Polacek <polacek@redhat.com>
56032
56033 [BZ #13726]
56034 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56035 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56036 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56037 * stdio-common/tst-long-dbl-fphex.c: New file.
56038
56039 2012-03-06 David S. Miller <davem@davemloft.net>
56040
56041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56042 (set_obp_int): New function.
56043 (get_obp_int): New function.
56044 (__get_clockfreq_via_dev_openprom): Likewise.
56045 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56046 Avoid unused variable warnings on 'val' and use builtin_expect.
56047 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56048 __builtin_expect.
56049 (INLINE_CLONE_SYSCALL): Likewise.
56050
56051 2012-03-05 David S. Miller <davem@davemloft.net>
56052
56053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56054
56055 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56056
56057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56058
56059 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56060 only for |x| >= 40.
56061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56062
56063 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56064
56065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56066 Replace gettimeofday with __vdso_gettimeofday.
56067
56068 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56069 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56070 __vdso_clock_gettime and __vdso_getcpu.
56071
56072 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56073 time with __vdso_time.
56074
56075 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56076
56077 * manual/lang.texi (size_t): Note types to which size_t may be
56078 equivalent with the GNU C Library, but do not describe when
56079 differences between them are significant.
56080
56081 2012-03-05 Andreas Jaeger <aj@suse.de>
56082
56083 * sysdeps/i386/fpu/libm-test-ulps: Update.
56084
56085 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56086
56087 [BZ #3976]
56088 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56089 (__ieee754_pow): Save and restore rounding mode and use
56090 round-to-nearest for main computations.
56091 * math/libm-test.inc (pow_test_tonearest): New function.
56092 (pow_test_towardzero): Likewise.
56093 (pow_test_downward): Likewise.
56094 (pow_test_upward): Likewise.
56095 (main): Call the new functions.
56096 * sysdeps/i386/fpu/libm-test-ulps: Update.
56097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56098
56099 [BZ #3976]
56100 * math/libm-test.inc (cosh_test_tonearest): New function.
56101 (cosh_test_towardzero): Likewise.
56102 (cosh_test_downward): Likewise.
56103 (cosh_test_upward): Likewise.
56104 (sinh_test_tonearest): Likewise.
56105 (sinh_test_towardzero): Likewise.
56106 (sinh_test_downward): Likewise.
56107 (sinh_test_upward): Likewise.
56108 (main): Call the new functions.
56109 * sysdeps/i386/fpu/libm-test-ulps: Update.
56110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56111
56112 2012-03-05 Tom de Vries <tom@codesourcery.com>
56113
56114 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56115 default stack guard is set in last bytes.
56116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56117
56118 2012-03-05 Kees Cook <keescook@chromium.org>
56119
56120 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56121
56122 [BZ #13656]
56123 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56124 possibly allocate from heap instead of stack.
56125 * stdio-common/bug-vfprintf-nargs.c: New file.
56126 * stdio-common/Makefile (tests): Add nargs overflow test.
56127
56128 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56129
56130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56131
56132 2012-03-03 Marek Polacek <polacek@redhat.com>
56133
56134 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56135 * math/math_private.h: Likewise.
56136 * stdlib/tst-strtod.c: Likewise.
56137 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56138 * sysdeps/x86_64/bits/atomic.h: Likewise.
56139
56140 2012-03-02 David S. Miller <davem@davemloft.net>
56141
56142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56146 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56147 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56148 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56149 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56150
56151 2012-03-02 Roland McGrath <roland@hack.frob.com>
56152
56153 [BZ #13792]
56154 * manual/examples/README: New file, says the example source files
56155 can be used under GPL>=2.
56156 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56157 line containing just "*/".
56158 * manual/examples/add.c: Add copyright header (GPL>=2).
56159 * manual/examples/argp-ex1.c: Likewise.
56160 * manual/examples/argp-ex2.c: Likewise.
56161 * manual/examples/argp-ex3.c: Likewise.
56162 * manual/examples/argp-ex4.c: Likewise.
56163 * manual/examples/atexit.c: Likewise.
56164 * manual/examples/db.c: Likewise.
56165 * manual/examples/dir.c: Likewise.
56166 * manual/examples/dir2.c: Likewise.
56167 * manual/examples/execinfo.c: Likewise.
56168 * manual/examples/filecli.c: Likewise.
56169 * manual/examples/filesrv.c: Likewise.
56170 * manual/examples/fmtmsgexpl.c: Likewise.
56171 * manual/examples/genpass.c: Likewise.
56172 * manual/examples/inetcli.c: Likewise.
56173 * manual/examples/inetsrv.c: Likewise.
56174 * manual/examples/isockad.c: Likewise.
56175 * manual/examples/longopt.c: Likewise.
56176 * manual/examples/memopen.c: Likewise.
56177 * manual/examples/memstrm.c: Likewise.
56178 * manual/examples/mkfsock.c: Likewise.
56179 * manual/examples/mkisock.c: Likewise.
56180 * manual/examples/mygetpass.c: Likewise.
56181 * manual/examples/pipe.c: Likewise.
56182 * manual/examples/popen.c: Likewise.
56183 * manual/examples/rprintf.c: Likewise.
56184 * manual/examples/search.c: Likewise.
56185 * manual/examples/select.c: Likewise.
56186 * manual/examples/setjmp.c: Likewise.
56187 * manual/examples/sigh1.c: Likewise.
56188 * manual/examples/sigusr.c: Likewise.
56189 * manual/examples/stpcpy.c: Likewise.
56190 * manual/examples/strdupa.c: Likewise.
56191 * manual/examples/strftim.c: Likewise.
56192 * manual/examples/strncat.c: Likewise.
56193 * manual/examples/subopt.c: Likewise.
56194 * manual/examples/swapcontext.c: Likewise.
56195 * manual/examples/termios.c: Likewise.
56196 * manual/examples/testopt.c: Likewise.
56197 * manual/examples/testpass.c: Likewise.
56198 * manual/examples/timeval_subtract.c: Likewise.
56199
56200 [BZ #13792]
56201 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56202 function to ...
56203 * manual/timeval_subtract.c.texi: ... here, new file.
56204
56205 2012-03-02 David S. Miller <davem@davemloft.net>
56206
56207 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56208
56209 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56210
56211 [BZ #3976]
56212 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56213 (__sin): Save and restore rounding mode and use round-to-nearest
56214 for all computations.
56215 (__cos): Save and restore rounding mode and use round-to-nearest
56216 for all computations.
56217 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56218 <fenv.h>.
56219 (tan): Save and restore rounding mode and use round-to-nearest for
56220 all computations.
56221 * math/libm-test.inc (cos_test_tonearest): New function.
56222 (cos_test_towardzero): Likewise.
56223 (cos_test_downward): Likewise.
56224 (cos_test_upward): Likewise.
56225 (sin_test_tonearest): Likewise.
56226 (sin_test_towardzero): Likewise.
56227 (sin_test_downward): Likewise.
56228 (sin_test_upward): Likewise.
56229 (tan_test_tonearest): Likewise.
56230 (tan_test_towardzero): Likewise.
56231 (tan_test_downward): Likewise.
56232 (tan_test_upward): Likewise.
56233 (main): Call the new functions.
56234 * sysdeps/i386/fpu/libm-test-ulps: Update.
56235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56236
56237 [BZ #10135]
56238 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56239 small n, then large n, before computing and testing k+n.
56240 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56242 Likewise.
56243 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56244 Likewise.
56245 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56246 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56247 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56248 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56249 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56250 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56251 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56253 * math/libm-test.inc (scalbn_test): Add more tests.
56254 (scalbln_test): Likewise.
56255
56256 * manual/filesys.texi (mode_t): Describe constraints on size and
56257 signedness, not exact equivalence to a particular type.
56258 (ino_t): Likewise.
56259 (ino64_t): Likewise.
56260 (dev_t): Likewise.
56261 (nlink_t): Likewise.
56262 (blkcnt_t): Likewise.
56263 (blkcnt64_t): Likewise.
56264 * manual/llio.texi (off_t): Likewise.
56265
56266 [BZ #3976]
56267 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56268 (__ieee754_exp): Save and restore rounding mode and use
56269 round-to-nearest for all computations.
56270 * math/libm-test.inc (exp_test_tonearest): New function.
56271 (exp_test_towardzero): Likewise.
56272 (exp_test_downward): Likewise.
56273 (exp_test_upward): Likewise.
56274 (main): Call the new functions.
56275 * sysdeps/i386/fpu/libm-test-ulps: Update.
56276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56277
56278 2012-03-01 Chris Demetriou <cgd@google.com>
56279
56280 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56281 have predictable order.
56282
56283 2012-03-01 David S. Miller <davem@davemloft.net>
56284
56285 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56286
56287 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56288 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56289 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56290 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56291
56292 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56293 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56294 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56296 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56297 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56298 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56299 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56300 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56301
56302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56303
56304 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56305 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56306 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56307
56308 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56309 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56310 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56311 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56312 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56315 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56316 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56317 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56318 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56319 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56320 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56321 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56322 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56324 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56325 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56326 * sysdeps/sparc/elf/configure: Regenerated.
56327
56328 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56329
56330 * configure.in (AS, LD): Require binutils 2.20 or later.
56331 * configure: Regenerated.
56332 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56333 as required minimum version.
56334 * INSTALL: Regenerated.
56335
56336 [BZ #2541]
56337 [BZ #4108]
56338 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56339 before squaring exponent.
56340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56341 bottom long double and 27 bits of top long double before squaring
56342 exponent.
56343 * math/libm-test.inc (erfc_test): Add more tests.
56344 * sysdeps/i386/fpu/libm-test-ulps: Update.
56345 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56347
56348 2012-03-01 Kai Tietz <ktietz@redhat.com>
56349
56350 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56351 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56352 containing bit-fields.
56353 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56354 * soft-fp/single.h (_FP_UNION_S): Likewise.
56355 * soft-fp/double.h (_FP_UNION_D): Likewise.
56356
56357 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56358
56359 [BZ #13786]
56360 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56361 not include ../strcmp.S.
56362 [USE_AS_STRNCASECMP_L]: Likewise.
56363 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56364 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56365 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56366 (__strncasecmp_l_ia32): Define as alias to
56367 __strncasecmp_l_nonascii.
56368
56369 [BZ #5794]
56370 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56371 * sysdeps/i386/fpu/libm-test-ulps: Update.
56372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56373
56374 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56376
56377 2012-02-29 Jeff Law <law@redhat.com>
56378
56379 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56380 out of bounds read.
56381
56382 2012-02-29 Marek Polacek <polacek@redhat.com>
56383
56384 [BZ #13706]
56385 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56386 * elf/Makefile: Add rules to run tst-unused-dep.out.
56387
56388 2012-02-28 David S. Miller <davem@davemloft.net>
56389
56390 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56391 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56393 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56394 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56395 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56396
56397 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56398
56399 * math/libm-test.inc (llround_test): Move one test from
56400 lround_test. Use TEST_f_L in moved test.
56401 (lround_test): Move misplaced test to llround_test. Add testcase
56402 from bug 2561.
56403
56404 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56405
56406 * sysdeps/x86_64/fpu/e_expf.S: New file.
56407 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56408
56409 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56410
56411 [BZ #13637]
56412 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56413 of remain_len that may cause incomplete multi-byte character and
56414 false match.
56415 * posix/bug-regex33.c: New file.
56416 * posix/Makefile (tests): Add bug-regex33.
56417
56418 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56419
56420 * manual/macros.texi: New file.
56421 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56422 * manual/libc.texinfo: Include macros.texi.
56423 * manual/creatute.texi: Likewise.
56424 * manual/install.texi: Likewise.
56425 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56426 @glibcadj{} in references to the GNU C Library.
56427 * manual/charset.texi: Likewise.
56428 * manual/conf.texi: Likewise.
56429 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56430 when not using those macros.
56431 * manual/creature.texi: Likewise.
56432 * manual/crypt.texi: Likewise.
56433 * manual/errno.texi: Likewise.
56434 * manual/filesys.texi: Likewise.
56435 * manual/header.texi: Likewise.
56436 * manual/install.texi: Likewise.
56437 * manual/intro.texi: Likewise.
56438 * manual/io.texi: Likewise.
56439 * manual/job.texi: Likewise.
56440 * manual/lang.texi: Likewise.
56441 * manual/libc.texiinfo: Likewise.
56442 * manual/llio.texi: Likewise.
56443 * manual/locale.texi: Likewise.
56444 * manual/maint.texi: Likewise.
56445 * manual/math.texi: Likewise.
56446 * manual/memory.texi: Likewise.
56447 * manual/message.texi: Likewise.
56448 * manual/nss.texi: Likewise.
56449 * manual/pattern.texi: Likewise.
56450 * manual/process.texi: Likewise.
56451 * manual/resource.texi: Likewise.
56452 * manual/search.texi: Likewise.
56453 * manual/setjmp.texi: Likewise.
56454 * manual/signal.texi: Likewise.
56455 * manual/socket.texi: Likewise.
56456 * manual/startup.texi: Likewise.
56457 * manual/stdio.texi: Likewise.
56458 * manual/string.texi: Likewise.
56459 * manual/sysinfo.texi: Likewise.
56460 * manual/syslog.texi: Likewise.
56461 * manual/terminal.texi: Likewise.
56462 * manual/time.texi: Likewise.
56463 * manual/users.texi: Likewise.
56464 * INSTALL: Regenerated.
56465 * NOTES: Regenerated.
56466 * sysdeps/gnu/errlist.c: Regenerated.
56467
56468 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56469
56470 * include/dirent.h: Include <dirstream.h> before
56471 <dirent/dirent.h>.
56472
56473 2012-02-28 David S. Miller <davem@davemloft.net>
56474
56475 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56476 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56477 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56478 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56479
56480 2012-02-27 David S. Miller <davem@davemloft.net>
56481
56482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56484 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56485 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56486
56487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56488 frame pointer instead of stack pointer relative arg slot.
56489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56490 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56491 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56492
56493 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56494
56495 [BZ #3992]
56496 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56497
56498 2012-02-27 David S. Miller <davem@davemloft.net>
56499
56500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56504 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56505 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56506 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56507 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56508
56509 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56510
56511 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56512 later. Allow versions 5-9.
56513 * configure: Regenerated.
56514 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56515 required minimum version and 4.6 as recommended version. Do not
56516 mention bugs in GCC 2.7 and 2.8.
56517 * INSTALL: Regenerated.
56518
56519 2012-02-27 David S. Miller <davem@davemloft.net>
56520
56521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56525 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56526 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56527 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56528 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56529
56530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56531 manipulate bits before adding and subtracting TWO112[sx].
56532 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56533
56534 2012-02-27 Roland McGrath <roland@hack.frob.com>
56535
56536 [BZ #13775]
56537 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56538 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56539 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56540 being in POSIX, because they are in 1003.1-2008.
56541
56542 * rt/tst-aio.c: Include <fcntl.h>.
56543 * rt/tst-aio7.c: Likewise.
56544 * rt/tst-aio64.c: Likewise.
56545
56546 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56547
56548 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56549
56550 * manual/install.texi (--with-headers): Describe headers as
56551 interface headers, not private headers.
56552 (Specific advice for GNU/Linux systems): Describe use of headers
56553 from "make headers_install", not private headers from older
56554 kernels.
56555 * INSTALL: Regenerated.
56556 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56557 Change to 2.6.19.
56558 * sysdeps/unix/sysv/linux/configure: Regenerated.
56559
56560 * manual/llio.texi (fclean): Remove documentation.
56561
56562 * manual/Makefile (libc-texi-generated): New variable. Include
56563 version.texi.
56564 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56565 $(libc-texi-generated), not duplicated list of files.
56566 (version.texi, stamp-version): New rules.
56567 (realclean): Remove $(libc-texi-generated), not individual files
56568 from that list. Do not remove dir-add.texinfo.
56569 * manual/libc.texinfo: Comment out uses of edition numbers and
56570 references to printed manual. Remove last-updated dates.
56571 (EDITION): Comment out.
56572 (ISBN): Likewise.
56573 (VERSION, UPDATED): Remove.
56574 (version.texi): Include.
56575
56576 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56577
56578 * sysdeps/posix/spawni.c: Include <signal.h>.
56579 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56580 * sysdeps/pthread/aio_fsync.c: Likewise.
56581
56582 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56583
56584 * conform/Makefile (tests): Run only when not cross-compiling and
56585 when fast-check is not defined.
56586
56587 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56588 * conform/data/limits.h-data: Fixes for POSIX2008.
56589 * conform/run-conformtest.sh: Run all tests.
56590 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56591 headers.
56592 * include/bits/dlfcn.h: Likewise.
56593 * include/langinfo.h: Likewise.
56594 * include/monetary.h: Likewise.
56595 * include/sys/poll.h: Likewise.
56596
56597 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56598 for __USE_GNU.
56599 * posix/spawn.h: Define __need_sigset_t.
56600 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56601 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56602 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56603 to get sigevent_t only.
56604 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56605 only for __USE_GNU.
56606 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56607 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56608 process_vm_writev only for __USE_GNU.
56609 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56610
56611 * conform/Makefile: For now ignore errors from run-conformtest.
56612 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56613 POSIX to avoid namespace pollution. Don't prepend headers.
56614 * conform/data/aio.h-data: Fixes for POSIX testing.
56615 * conform/data/fcntl.h-data: Likewise.
56616 * conform/data/glob.h-data: Likewise.
56617 * conform/data/grp.h-data: Likewise.
56618 * conform/data/pthread.h-data: Likewise.
56619 * conform/data/pwd.h-data: Likewise.
56620 * conform/data/signal.h-data: Likewise.
56621 * conform/data/spawn.h-data: Likewise.
56622 * conform/data/stdio.h-data: Likewise.
56623 * conform/data/stdlib.h-data: Likewise.
56624 * conform/data/stropts.h-data: Likewise.
56625 * conform/data/sys/mman.h-data: Likewise.
56626 * conform/data/sys/stat.h-data: Likewise.
56627 * conform/data/sys/types.h-data: Likewise.
56628 * conform/data/sys/wait.h-data: Likewise.
56629 * conform/data/time.h-data: Likewise.
56630 * conform/data/unistd.h-data: Likewise.
56631 * conform/data/utime.h-data: Likewise.
56632
56633 * io/sys/stat.h: fchmod was always in POSIX.
56634 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56635 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56636 * rt/aio.h: Define __need_timespec before including <time.h>.
56637 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56638 struct. Add forward declaration of pthread_attr_t and use it in
56639 sigevent.
56640 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56642 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56643 always remove CLK_TCK definition.
56644
56645 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56646
56647 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56648
56649 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56650
56651 * conform/run-conformtest.sh: New file.
56652 * conform/Makefile: Run run-conformtest for tests.
56653 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56654 support.
56655
56656 * conform/data/uchar.h-data: New file.
56657 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56658 * conform/data/arpa/inet.h-data: Likewise.
56659 * conform/data/assert.h-data: Likewise.
56660 * conform/data/complex.h-data: Likewise.
56661 * conform/data/cpio.h-data: Likewise.
56662 * conform/data/ctype.h-data: Likewise.
56663 * conform/data/dirent.h-data: Likewise.
56664 * conform/data/dlfcn.h-data: Likewise.
56665 * conform/data/errno.h-data: Likewise.
56666 * conform/data/fcntl.h-data: Likewise.
56667 * conform/data/float.h-data: Likewise.
56668 * conform/data/fmtmsg.h-data: Likewise.
56669 * conform/data/fnmatch.h-data: Likewise.
56670 * conform/data/ftw.h-data: Likewise.
56671 * conform/data/glob.h-data: Likewise.
56672 * conform/data/grp.h-data: Likewise.
56673 * conform/data/iconv.h-data: Likewise.
56674 * conform/data/inttypes.h-data: Likewise.
56675 * conform/data/langinfo.h-data: Likewise.
56676 * conform/data/libgen.h-data: Likewise.
56677 * conform/data/limits.h-data: Likewise.
56678 * conform/data/locale.h-data: Likewise.
56679 * conform/data/math.h-data: Likewise.
56680 * conform/data/monetary.h-data: Likewise.
56681 * conform/data/mqueue.h-data: Likewise.
56682 * conform/data/ndbm.h-data: Likewise.
56683 * conform/data/net/if.h-data: Likewise.
56684 * conform/data/netdb.h-data: Likewise.
56685 * conform/data/netinet/in.h-data: Likewise.
56686 * conform/data/nl_types.h-data: Likewise.
56687 * conform/data/poll.h-data: Likewise.
56688 * conform/data/pthread.h-data: Likewise.
56689 * conform/data/pwd.h-data: Likewise.
56690 * conform/data/regex.h-data: Likewise.
56691 * conform/data/sched.h-data: Likewise.
56692 * conform/data/search.h-data: Likewise.
56693 * conform/data/semaphore.h-data: Likewise.
56694 * conform/data/setjmp.h-data: Likewise.
56695 * conform/data/signal.h-data: Likewise.
56696 * conform/data/spawn.h-data: Likewise.
56697 * conform/data/stdarg.h-data: Likewise.
56698 * conform/data/stdio.h-data: Likewise.
56699 * conform/data/stdlib.h-data: Likewise.
56700 * conform/data/string.h-data: Likewise.
56701 * conform/data/strings.h-data: Likewise.
56702 * conform/data/stropts.h-data: Likewise.
56703 * conform/data/sys/ipc.h-data: Likewise.
56704 * conform/data/sys/mman.h-data: Likewise.
56705 * conform/data/sys/msg.h-data: Likewise.
56706 * conform/data/sys/resource.h-data: Likewise.
56707 * conform/data/sys/select.h-data: Likewise.
56708 * conform/data/sys/sem.h-data: Likewise.
56709 * conform/data/sys/shm.h-data: Likewise.
56710 * conform/data/sys/socket.h-data: Likewise.
56711 * conform/data/sys/stat.h-data: Likewise.
56712 * conform/data/sys/statvfs.h-data: Likewise.
56713 * conform/data/sys/time.h-data: Likewise.
56714 * conform/data/sys/timeb.h-data: Likewise.
56715 * conform/data/sys/times.h-data: Likewise.
56716 * conform/data/sys/types.h-data: Likewise.
56717 * conform/data/sys/uio.h-data: Likewise.
56718 * conform/data/sys/un.h-data: Likewise.
56719 * conform/data/sys/utsname.h-data: Likewise.
56720 * conform/data/sys/wait.h-data: Likewise.
56721 * conform/data/syslog.h-data: Likewise.
56722 * conform/data/tar.h-data: Likewise.
56723 * conform/data/termios.h-data: Likewise.
56724 * conform/data/utime.h-data: Likewise.
56725 * conform/data/utmpx.h-data: Likewise.
56726 * conform/data/varargs.h-data: Likewise.
56727 * conform/data/wchar.h-data: Likewise.
56728 * conform/data/wctype.h-data: Likewise.
56729 * conform/data/wordexp.h-data: Likewise.
56730
56731 * include/stropts.h: New file.
56732 * include/uchar.h: New file.
56733 * include/aio.h: Changes to allow conformtest.pl to use the headers.
56734 * include/assert.h: Likewise.
56735 * include/ctype.h: Likewise.
56736 * include/dirent.h: Likewise.
56737 * include/dlfcn.h: Likewise.
56738 * include/fcntl.h: Likewise.
56739 * include/fnmatch.h: Likewise.
56740 * include/glob.h: Likewise.
56741 * include/grp.h: Likewise.
56742 * include/libio.h: Likewise.
56743 * include/locale.h: Likewise.
56744 * include/math.h: Likewise.
56745 * include/net/if.h: Likewise.
56746 * include/netdb.h: Likewise.
56747 * include/netinet/in.h: Likewise.
56748 * include/pthread.h: Likewise.
56749 * include/pwd.h: Likewise.
56750 * include/regex.h: Likewise.
56751 * include/sched.h: Likewise.
56752 * include/search.h: Likewise.
56753 * include/setjmp.h: Likewise.
56754 * include/signal.h: Likewise.
56755 * include/stdio.h: Likewise.
56756 * include/stdlib.h: Likewise.
56757 * include/string.h: Likewise.
56758 * include/sys/cdefs.h: Likewise.
56759 * include/sys/mman.h: Likewise.
56760 * include/sys/msg.h: Likewise.
56761 * include/sys/resource.h: Likewise.
56762 * include/sys/select.h: Likewise.
56763 * include/sys/socket.h: Likewise.
56764 * include/sys/stat.h: Likewise.
56765 * include/sys/statvfs.h: Likewise.
56766 * include/sys/time.h: Likewise.
56767 * include/sys/times.h: Likewise.
56768 * include/sys/uio.h: Likewise.
56769 * include/sys/utsname.h: Likewise.
56770 * include/sys/wait.h: Likewise.
56771 * include/termios.h: Likewise.
56772 * include/time.h: Likewise.
56773 * include/ulimit.h: Likewise.
56774 * include/unistd.h: Likewise.
56775 * include/utime.h: Likewise.
56776 * include/wchar.h: Likewise.
56777 * include/wctype.h: Likewise.
56778 * include/wordexp.h: Likewise.
56779
56780 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56781
56782 * time/time.h: TIME_UTC must be a macro.
56783 Make timespec_get available for ISO C11 only as well.
56784
56785 2012-02-24 Ulrich Drepper <drepper@gmail.com>
56786
56787 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56788 Reported by Peng Haitao <penght@cn.fujitsu.com>.
56789
56790 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56791
56792 * configure.in: Use -o not -a in test for unsupported multi-arch.
56793
56794 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56795
56796 * manual/texinfo.tex: Update to version 2012-01-19.16.
56797
56798 2012-02-24 Joseph Myers <joseph@codesourcery.com>
56799
56800 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56801
56802 2012-02-24 Roland McGrath <roland@hack.frob.com>
56803
56804 [BZ #13738]
56805 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56806 * manual/fdl-1.3.texi: New file.
56807 * manual/fdl-1.1.texi: File removed.
56808
56809 [BZ #13738]
56810 * manual/libc.texinfo (FDL_VERSION): New @set.
56811 Use it for mention of FDL in cover text.
56812 (Documentation License): Use it in @include file name.
56813
56814 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56815 Roland McGrath <roland@hack.frob.com>
56816
56817 [BZ #5461]
56818 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56819 (not LONG_LONG_MAX and LONG_LONG_MIN.
56820 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56821 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
56822 name.
56823 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56824
56825 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56826
56827 [BZ #2547]
56828 [BZ #11365]
56829 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56830 manipulate bits before adding and subtracting TWO23[sx].
56831 * math/libm-test.inc (nearbyint_test): Add more tests.
56832
56833 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56834
56835 [BZ #2548]
56836 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56837 bits before adding and subtracting TWO23[sx].
56838 * math/libm-test.inc (rint_test): Add more tests.
56839 (rint_test_tonearest): Likewise.
56840 (rint_test_towardzero): Likewise.
56841 (rint_test_downward): Likewise.
56842 (rint_test_upward: Likewise.
56843
56844 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56845
56846 [BZ #10110]
56847 * include/stdc-predef.h: New file. Extracted from features.h.
56848 * include/features.h: Include stdc-predef.h.
56849 * Makefile (headers): Add stdc-predef.h.
56850 * CONFORMANCE (Compiler limitations): Update.
56851
56852 2012-02-22 Joseph Myers <joseph@codesourcery.com>
56853
56854 * manual/libc.texinfo (VERSION, UPDATED): Revert.
56855
56856 2012-02-21 David S. Miller <davem@davemloft.net>
56857
56858 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56859 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56860
56861 2012-02-20 David S. Miller <davem@davemloft.net>
56862
56863 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56864 using a normal save/restore sequence, rather than allocating a
56865 dummy stack frame just to store a frame pointer and restore.
56866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56867
56868 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56869
56870 * manual/install.texi: Fix stray word in line-wrapped comment.
56871
56872 2012-02-20 David S. Miller <davem@davemloft.net>
56873
56874 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56875 both binutils and gcc support GOTDATA.
56876
56877 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56878 "rd %pc" in the PIC register setup sequences.
56879
56880 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56881 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56882 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56883 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56884 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56886 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56887 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56889 (SYSCALL_ERROR_HANDLER): Likewise.
56890 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56891 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56893 (SYSCALL_ERROR_HANDLER): Likewise.
56894
56895 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56896 (HAVE_GCC_GOTDATA): New.
56897 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56898 relocation support in both binutils and gcc.
56899 * sysdeps/sparc/elf/configure: Regenerate.
56900
56901 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56902 * sysdeps/sparc/sparc32/elf/configure: Delete.
56903 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56904 * sysdeps/sparc/sparc64/elf/configure: Delete.
56905 * sysdeps/sparc/elf/configure.in: New file.
56906 * sysdeps/sparc/elf/configure: Generate.
56907
56908 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
56909 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
56910 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56911 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
56912 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
56913
56914 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56915
56916 * manual/install.texi: Do not mention specific glibc version
56917 numbers.
56918 * manual/libc.texinfo (VERSION, UPDATED): Update.
56919 (@copying): Use @copyright{} and range of years.
56920
56921 2012-02-21 Joseph Myers <joseph@codesourcery.com>
56922
56923 [BZ #13695]
56924 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
56925 [crti.S not in sysdirs] (generated): Do not append.
56926 [crti.S not in sysdirs] (omit-deps): Likewise.
56927 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
56928 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
56929 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
56930 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
56931 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
56932 Likewise.
56933 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
56934 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
56935 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
56936 * csu/defs.awk: Remove file.
56937 * sysdeps/generic/initfini.c: Likewise.
56938 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
56939 variable.
56940 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
56941 Likewise.
56942
56943 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56944
56945 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
56946 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
56947 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
56948 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
56949 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
56950 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
56951 <bits/epoll.h>.
56952 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
56953 (__EPOLL_PACKED): Define to empty if not defined by
56954 <bits/epoll.h>.
56955 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
56956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56957 bits/epoll.h.
56958
56959 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56960
56961 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
56962 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
56963 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
56964 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
56965 <bits/timerfd.h>.
56966 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
56967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56968 bits/timerfd.h.
56969
56970 2012-02-20 Joseph Myers <joseph@codesourcery.com>
56971
56972 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
56973 in C locale.
56974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56975 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56976 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
56977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56978
56979 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
56980
56981 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56982 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56983
56984 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
56985
56986 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
56987 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
56988 defined.
56989 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
56990 Likewise.
56991 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
56992 entry for 2.16.
56993
56994 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
56995
56996 * math/w_acos.c: Use non-signaling floating-point comparisons.
56997 * math/w_acosf.c: Likewise.
56998 * math/w_acosh.c: Likewise.
56999 * math/w_acoshf.c: Likewise.
57000 * math/w_acoshl.c: Likewise.
57001 * math/w_acosl.c: Likewise.
57002 * math/w_asin.c: Likewise.
57003 * math/w_asinf.c: Likewise.
57004 * math/w_asinl.c: Likewise.
57005 * math/w_atanh.c: Likewise.
57006 * math/w_atanhf.c: Likewise.
57007 * math/w_atanhl.c: Likewise.
57008 * math/w_exp2.c: Likewise.
57009 * math/w_exp2f.c: Likewise.
57010 * math/w_exp2l.c: Likewise.
57011 * math/w_j0.c: Likewise.
57012 * math/w_j0f.c: Likewise.
57013 * math/w_j0l.c: Likewise.
57014 * math/w_j1.c: Likewise.
57015 * math/w_j1f.c: Likewise.
57016 * math/w_j1l.c: Likewise.
57017 * math/w_jn.c: Likewise.
57018 * math/w_jnf.c: Likewise.
57019 * math/w_log.c: Likewise.
57020 * math/w_log10.c: Likewise.
57021 * math/w_log10f.c: Likewise.
57022 * math/w_log10l.c: Likewise.
57023 * math/w_log2.c: Likewise.
57024 * math/w_log2f.c: Likewise.
57025 * math/w_log2l.c: Likewise.
57026 * math/w_logf.c: Likewise.
57027 * math/w_logl.c: Likewise.
57028 * math/w_sqrt.c: Likewise.
57029 * math/w_sqrtf.c: Likewise.
57030 * math/w_sqrtl.c: Likewise.
57031 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57032 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57033 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57034 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57035 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57036
57037 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57038
57039 [BZ #9739]
57040 * manual/string.texi (strnlen): Use correct parameter name in
57041 equivalent expression.
57042
57043 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57044
57045 [BZ #11174]
57046 * manual/users.texi (seteuid): Consistently use neweuid for
57047 argument name.
57048
57049 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57050
57051 [BZ #13704]
57052 * manual/nss.texi (Services in the NSS configuration): Correct
57053 list of services in example configuration file.
57054
57055 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57056
57057 [BZ #11322]
57058 * manual/arith.texi: Remove statements about negative zero
57059 behaving identically to zero.
57060
57061 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57062
57063 [BZ #5993]
57064 * manual/install.texi: Do not document upgrading from libc5.
57065
57066 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57067
57068 [BZ #4596]
57069 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57070
57071 2012-02-18 David S. Miller <davem@davemloft.net>
57072
57073 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57074 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57075 %o7 across the call.
57076 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57077 instead.
57078 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57079 SETUP_PIC_REG_LEAF.
57080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57081 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57082 * sysdeps/sparc/crtn.S: Likewise.
57083
57084 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57085
57086 * aout/Makefile: Remove.
57087
57088 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57089
57090 [BZ #13058]
57091 * manual/examples/argp-ex1.c (main): Format definition in GNU
57092 style.
57093 * manual/examples/argp-ex2.c (main): Likewise.
57094 * manual/examples/argp-ex3.c (main): Likewise.
57095 * manual/examples/argp-ex4.c (main): Likewise.
57096 * manual/examples/longopt.c (main): Use new-style prototype
57097 definition.
57098 * manual/examples/strncat.c (main): Specify return type and use
57099 (void) for arguments.
57100 * manual/examples/subopt.c (main): Use char **argv argument.
57101
57102 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57103
57104 [BZ #5077]
57105 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57106 rounding modes.
57107
57108 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57109
57110 [BZ #6907]
57111 * manual/string.texi (strchr): Change when strchrnul is
57112 recommended.
57113
57114 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57115
57116 [BZ #174]
57117 * manual/locale.texi (setlocale): Document LOCPATH.
57118
57119 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57120
57121 [BZ #10210]
57122 * manual/process.texi (execle): Move @dots{} before last argument.
57123
57124 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57125
57126 [BZ #12047]
57127 * manual/charset.texi (Generic Charset Conversion): Fix typo
57128 (LC_TYPE -> LC_CTYPE).
57129
57130 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57131
57132 [BZ #5805]
57133 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57134 (scalbnf): Likewise.
57135 (scalbnl): Likewise.
57136 (scalbln): Likewise.
57137 (scalblnf): Likewise.
57138 (scalblnl): Likewise.
57139 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57140 (vwarnx): Likewise.
57141 (verr): Likewise.
57142 (verrx): Likewise.
57143 * manual/filesys.texi (telldir): Use braces around return type.
57144 * manual/llio.texi (mmap): Add space after comma.
57145 (mmap64): Likewise.
57146 * manual/math.texi (jn): Use @var{} on parameter names.
57147 (jnf): Likewise.
57148 (jnl): Likewise.
57149 (yn): Likewise.
57150 (ynf): Likewise.
57151 (ynl): Likewise.
57152 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57153 line.
57154 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57155 "...".
57156 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57157 (sched_get_priority_max): Likewise.
57158 * manual/signal.texi (sigvec): Add space after comma.
57159 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57160 names.
57161 (if_indextoname): Likewise.
57162 (if_freenameindex): Likewise.
57163 (sendto): Use ',' instead of '.' in prototype.
57164 * manual/startup.texi (syscall): Use @dots{} instead of literal
57165 "...".
57166 * manual/stdio.texi (__fpending): Separate initial words of
57167 paragraph from @deftypefun line.
57168 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57169 "...".
57170 (vsyslog): Use @var{} on parameter names.
57171 * manual/terminal.texi (stty): Use @var{} on parameter names.
57172 * manual/users.texi (getutmp): Use @var{} on parameter names.
57173 (getutmpx): Likewise.
57174
57175 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57176
57177 [BZ #6884]
57178 * manual/stdio.texi (fopen): Fix typos in description of
57179 ",ccs=STRING".
57180
57181 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57182
57183 [BZ #4026]
57184 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57185 get clock_id definition.
57186
57187 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57188
57189 [BZ #4822]
57190 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57191 (madvise): Cast every argument to void on its own.
57192
57193 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57194
57195 [BZ #9902]
57196 * manual/startup.texi (Exit Status): Fix typo.
57197
57198 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57199
57200 [BZ #10140]
57201 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57202 * manual/examples/argp-ex2.c: Likewise.
57203 * manual/examples/argp-ex3.c: Likewise.
57204
57205 2012-02-16 Richard Henderson <rth@redhat.com>
57206
57207 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57208 * sysdeps/s390/s390-32/initfini.c: Remove.
57209 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57210 * sysdeps/s390/s390-64/initfini.c: Remove.
57211
57212 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57213
57214 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57215 compiler output for sysdeps/generic/initfini.c.
57216 * sysdeps/sh/elf/initfini.c: Remove file.
57217
57218 2012-02-16 David S. Miller <davem@davemloft.net>
57219
57220 [BZ #11494]
57221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57222
57223 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57224 * sysdeps/sparc/crti.S: New file.
57225 * sysdeps/sparc/crtn.S: New file.
57226 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57227 * sysdeps/sparc/sparc64/Makefile: Likewise.
57228
57229 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57230
57231 [BZ #3335]
57232 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57233
57234 2012-02-15 Roland McGrath <roland@hack.frob.com>
57235
57236 [BZ #4822]
57237 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57238
57239 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57240 (write, read, close): Likewise.
57241 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57242
57243 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57244
57245 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57246 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57247 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57248 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57249 <bits/signalfd.h>.
57250 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57252 bits/signalfd.h.
57253
57254 2012-02-14 Marek Polacek <polacek@redhat.com>
57255
57256 * sysdeps/x86_64/crti.S: New file.
57257 * sysdeps/x86_64/crtn.S: New file.
57258 * sysdeps/x86_64/elf/initfini.c: Remove file.
57259
57260 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57261
57262 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57263 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57264 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57265 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57266 <bits/inotify.h>.
57267 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57269 bits/inotify.h.
57270
57271 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57272
57273 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57274 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57275 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57276 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57277 <bits/eventfd.h>.
57278 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57280 bits/eventfd.h.
57281
57282 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57283
57284 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57285 __feraiseexcept instead of feraiseexcept.
57286
57287 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57288 nanosleep invocations.
57289 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57290 strings, and add error checking for a nanosleep invocations.
57291
57292 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57293
57294 Replace FSF snail mail address with URLs, as per GNU coding standards.
57295 Most of the snail mail addresses were wrong anyway, and omitting
57296 them makes the source code easier to maintain. Almost all of the
57297 changes are to license notices and to locale LC_IDENTIFICATION
57298 addresses, except for this one:
57299 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57300 not its snail mail address.
57301
57302 2012-02-09 Richard Henderson <rth@twiddle.net>
57303
57304 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57305 of kernel-features.h.
57306
57307 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57308
57309 2012-02-08 Marek Polacek <polacek@redhat.com>
57310
57311 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57312 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57313 * sysdeps/gnu/_G_config.h: Likewise.
57314 * sysdeps/generic/_G_config.h: Likewise.
57315
57316 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57317
57318 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57319 tests.
57320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57321
57322 * sysdeps/powerpc/powerpc32/crti.S: New file.
57323 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57324 * sysdeps/powerpc/powerpc64/crti.S: New file.
57325 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57326
57327 * Makeconfig (have-initfini): Don't set.
57328 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57329 * configure.in (nopic_initfini): Don't substitute.
57330 * config.h.in (HAVE_INITFINI): Don't #undef.
57331 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57332 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57333
57334 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57335
57336 Support crti.S and crtn.S provided directly by architectures.
57337 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57338 [crti.S in sysdirs] (omit-deps): Likewise.
57339 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57340 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57341 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57342 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57343 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57344 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57345 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57346 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57347 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57348 compiler output for sysdeps/generic/initfini.c.
57349 * sysdeps/i386/elf/Makefile: Remove file.
57350 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57351
57352 2012-02-07 Marek Polacek <polacek@redhat.com>
57353
57354 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57355 * sysdeps/gnu/_G_config.h: Likewise.
57356 * sysdeps/mach/hurd/_G_config.h: Likewise.
57357
57358 2012-02-07 Marek Polacek <polacek@redhat.com>
57359
57360 * math/Makefile (tests): Add tst-CMPLX2.
57361 * math/tst-CMPLX2.c: New file.
57362
57363 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57364
57365 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57366
57367 * math/libm-test.inc (jn_test): Add missing L suffix.
57368
57369 2012-02-06 Marek Polacek <polacek@redhat.com>
57370
57371 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57372 * sysdeps/i386/fpu/e_powf.S: Likewise.
57373 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57374 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57376 * sysdeps/i386/fpu/e_pow.S: Likewise.
57377 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57378 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57379 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57380 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57381 * sysdeps/i386/fpu/e_log2.S: Likewise.
57382 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57383 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57384 * sysdeps/i386/fpu/e_powl.S: Likewise.
57385 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57386 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57387 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57388 * sysdeps/i386/fpu/e_logl.S: Likewise.
57389 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57390 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57391 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57392 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57393 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57394 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57395 * sysdeps/i386/fpu/e_log.S: Likewise.
57396 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57397 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57398 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57399 * sysdeps/i386/fpu/e_logf.S: Likewise.
57400 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57401 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57402 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57403 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57404 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57405 * sysdeps/i386/fpu/e_log10.S: Likewise.
57406 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57407 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57408 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57409 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57410 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57411 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57412 * sysdeps/i386/asm-syntax.h: Likewise.
57413 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57414 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57415 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57416 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57417 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57418 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57419 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57420 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57421 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57422 * sysdeps/powerpc/sysdep.h: Likewise.
57423 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57424 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57425
57426 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57427
57428 [BZ #411]
57429 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57430
57431 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57432
57433 * sysdeps/i386/sysdep.h: Include <features.h>.
57434 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57435 version.
57436
57437 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57438
57439 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57440 Define.
57441 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57442 LOAD_PIC_REG_STR.
57443
57444 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57445
57446 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57447 (SETUP_PIC_REG): Use GET_PC_THUNK.
57448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57449 macro.
57450
57451 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57452
57453 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57454 for non-PIC compilation.
57455 (SETUP_PIC_REG): Add .p2align directive.
57456 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57457 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57458 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57459 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57460 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57461 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57462 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57464 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57465 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57466 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57467 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57468 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57469 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57470 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57471 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57472 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57473 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57474 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57475 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57476 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57477 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57478 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57479 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57482 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57483 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57484 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57485 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57486 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57487 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57488 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57489 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57490 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57491 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57492 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57493 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57494 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57495 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57496 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57497
57498 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57499
57500 * math/tst-CMPLX.c: Include <stdio.h>.
57501
57502 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57503
57504 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57505 float.
57506 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57507 * sysdeps/sparc/bits/mathdef.h: Likewise.
57508
57509 2012-01-31 Marek Polacek <polacek@redhat.com>
57510
57511 * libio/libio.h: Don't define _PARAMS.
57512 * locale/programs/config.h: Don't define PARAMS.
57513 * stdlib/strtol_l.c: Likewise.
57514 (__strtol_l): Remove PARAMS from the prototype.
57515
57516 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57517
57518 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57519 names. Just use the correct names. Remove unnecessary wrapper
57520 functions.
57521 * malloc/arena.c: Likewise.
57522 * malloc/hooks.c: Likewise.
57523
57524 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57525 ARENA_TEST says not to. Simplify test for creation of a new arena.
57526 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57527
57528 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57529
57530 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57531 into tail calls.
57532 (update_get_addr): New function.
57533 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57534 GET_ADDR_MODULE parameter.
57535
57536 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57537
57538 * crypt/cert.c: Remove __STDC__ conditionals.
57539 * crypt/crypt-entry.c: Likewise.
57540 * crypt/crypt_util.c: Likewise.
57541 * libio/filedoalloc.c: Likewise.
57542 * libio/fileops.c: Likewise.
57543 * libio/genops.c: Likewise.
57544 * libio/iofclose.c: Likewise.
57545 * libio/iofdopen.c: Likewise.
57546 * libio/iofopen.c: Likewise.
57547 * libio/iofopen64.c: Likewise.
57548 * libio/iogetdelim.c: Likewise.
57549 * libio/iopopen.c: Likewise.
57550 * libio/obprintf.c: Likewise.
57551 * libio/oldfileops.c: Likewise.
57552 * libio/oldiofclose.c: Likewise.
57553 * libio/oldiofdopen.c: Likewise.
57554 * libio/oldiofopen.c: Likewise.
57555 * libio/oldiopopen.c: Likewise.
57556 * libio/wfiledoalloc.c: Likewise.
57557 * libio/wgenops.c: Likewise.
57558 * locale/programs/xmalloc.c: Likewise.
57559 * misc/syslog.c: Likewise.
57560 * stdio-common/xbug.c: Likewise.
57561 * string/memchr.c: Likewise.
57562 * string/memcmp.c: Likewise.
57563 * string/memrchr.c: Likewise.
57564 * string/rawmemchr.c: Likewise.
57565 * sysdeps/posix/getcwd.c: Likewise.
57566 * time/strftime_l.c: Likewise.
57567
57568 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57569
57570 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57571 * config.make.in (config-cflags-sse2avx): Define.
57572 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57573 Fix typo.
57574
57575 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57576
57577 * scripts/config.guess: Update from upstream config git repository.
57578 * scripts/config.sub: Likewise.
57579
57580 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57581
57582 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57583 (EM_NUM): Update.
57584 (R_TILEPRO_*, R_TILEGX_*): New macros.
57585
57586 * scripts/firstversions.awk: Fix bug in version range handling.
57587
57588 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57589
57590 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57591
57592 * include/sys/epoll.h: New file.
57593 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57594 libc_hidden_def.
57595
57596 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57597
57598 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57599 Avoid unnecessary __WORDSIZE == 64 test.
57600 (fmaxf): Use VEX format if possible.
57601 (fmax): Likewise.
57602 (fminf): Likewise.
57603 (fmin): Likewise.
57604
57605 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57606 * math/math_private.h: Remove libc_fegetround* and
57607 libc_fesetround*.
57608 * sysdeps/i386/configure.in: Check for -msse2avx.
57609 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57610 also if SSE2AVX is defined.
57611 Remove libc_fegetround* and libc_fesetround*.
57612 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57613 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57614 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57615 of HAS_YMM_USABLE.
57616 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57617 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57618 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57619 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57621
57622 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57623
57624 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57625
57626 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57627 size is not set.
57628 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57629
57630 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57631
57632 [BZ #13618]
57633 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57634 relocation.
57635 * Makeconfig (libm): Define.
57636 * elf/Makefile: Add rules to build and run tst-relsort1.
57637 * elf/tst-relsort1.c: New file.
57638 * elf/tst-relsort1mod1.c: New file.
57639 * elf/tst-relsort1mod2.c: New file.
57640
57641 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57642
57643 * math/s_ldexp.c: Remove __STDC__ conditionals.
57644 * math/s_ldexpf.c: Likewise.
57645 * math/s_ldexpl.c: Likewise.
57646 * math/s_nextafter.c: Likewise.
57647 * math/s_nexttowardf.c: Likewise.
57648 * math/s_significand.c: Likewise.
57649 * math/s_significandf.c: Likewise.
57650 * math/s_significandl.c: Likewise.
57651 * math/w_jnl.c: Likewise.
57652 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57653 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57654 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57655 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57656 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57658 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57659 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57660 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57661 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57662 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57663 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57664 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57665 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57666 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57667 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57668 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57669 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57671 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57672 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57673 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57674 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57675 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57676 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57677 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57679 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57680 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57681 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57682 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57683 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57684 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57685 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57686 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57687 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57688 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57689 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57690 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57691 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57692 * sysdeps/ieee754/k_standard.c: Likewise.
57693 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57694 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57695 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57696 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57697 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57698 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57699 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57700 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57701 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57702 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57703 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57704 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57705 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57706 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57707 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57708 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57709 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57710 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57711 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57712 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57713 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57714 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57715 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57716 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57717 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57718 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57721 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57722 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57723 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57724 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57725 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57726 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57728 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57729 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57730 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57731 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57732 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57733 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57734 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57735 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57736 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57737 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57738 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57739 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57742 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57743 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57745 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57746 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57747 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57748 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57749 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57750 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57751 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57752 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57753 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57754 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57755 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57756 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57757 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57758 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57759 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57760 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57761 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57762 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57763 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57764 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57765 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57766 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57768 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57769 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57770 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57771 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57772 * sysdeps/ieee754/s_matherr.c: Likewise.
57773 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57774 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57775 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57776 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57777
57778 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57779
57780 * crypt/md5.h: Remove __STDC__ conditionals.
57781 * libio/libioP.h: Likewise.
57782 * locale/programs/config.h: Likewise.
57783 * sysdeps/generic/sysdep.h: Likewise.
57784 * sysdeps/i386/asm-syntax.h: Likewise.
57785 * sysdeps/s390/asm-syntax.h: Likewise.
57786 * sysdeps/unix/sysdep.h: Likewise.
57787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57789
57790 2012-01-26 Joseph Myers <joseph@codesourcery.com>
57791
57792 * libio/libio.h: Remove __STDC__ conditionals.
57793 * malloc/obstack.h: Likewise.
57794 * math/complex.h: Likewise.
57795 * math/math.h: Likewise.
57796 * sysdeps/generic/_G_config.h: Likewise.
57797 * sysdeps/gnu/_G_config.h: Likewise.
57798 * sysdeps/mach/hurd/_G_config.h: Likewise.
57799 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57800 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57801 * sysdeps/sparc/bits/mathdef.h: Likewise.
57802
57803 2012-01-26 Ulrich Drepper <drepper@gmail.com>
57804
57805 [BZ #13583]
57806 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57807 Clean up HAS_* macros.
57808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57809 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57810 possible.
57811 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57812 HAS_AVX.
57813 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57814 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57815 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57816 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57817 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57818
57819 2012-01-25 Joseph Myers <joseph@codesourcery.com>
57820
57821 * elf/tst-unique3.cc (gets): Remove declaration.
57822 * elf/tst-unique3lib.cc (gets): Likewise.
57823 * elf/tst-unique3lib2.cc (gets): Likewise.
57824 * elf/tst-unique4.cc (gets): Likewise.
57825
57826 2012-01-24 Ulrich Drepper <drepper@gmail.com>
57827
57828 * include/stdio.h: Add C++ protection. Add gets declarations and
57829 definitions.
57830 * debug/tst-chk1.c: Don't declare gets here.
57831 * stdio-common/tst-gets.c: Likewise.
57832
57833 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57834
57835 * posix/glob: Remove directory.
57836
57837 2012-01-24 Joseph Myers <joseph@codesourcery.com>
57838
57839 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57840
57841 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
57842
57843 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57844 of the non-standard EPFNOSUPPORT.
57845
57846 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
57847
57848 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57849 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57850 ANYWHERE set to 1 only on KERN_NO_SPACE error.
57851
57852 2012-01-21 Ulrich Drepper <drepper@gmail.com>
57853
57854 * wcsmbs/uchar.h: Test __STDC_VERSION__.
57855
57856 2012-01-20 Ulrich Drepper <drepper@gmail.com>
57857
57858 * nscd/aicache.c (addhstaiX): Do not cache negative results of
57859 transient errors.
57860 * nscd/grpcache.c (cache_addgr): Likewise.
57861 * nscd/hstcache.c (cache_addhst): Likewise.
57862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57863 * nscd/pwdcache.c (cache_addpw): Likewise.
57864 * nscd/servicescache.c (cache_addserv): Likewise.
57865
57866 2012-01-16 Ulrich Drepper <drepper@gmail.com>
57867
57868 * malloc/malloc.c: Various cleanups.
57869 * malloc/hooks.c: Likewise.
57870
57871 * stdlib/Makefile (tests): Add bug-fmtmsg1.
57872 * stdlib/bug-fmtmsg1.c: New file.
57873
57874 * stdlib/fmtmsg.c (init): Add missing unlock.
57875 Patch by Peng Haitao <penght@cn.fujitsu.com>.
57876
57877 2012-01-12 Marek Polacek <polacek@redhat.com>
57878
57879 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57880 and _GNU_SOURCE.
57881
57882 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
57883
57884 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57885 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57886 macro to ensure uniqueness of label name.
57887 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57888 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57889
57890 2012-01-11 Ulrich Drepper <drepper@gmail.com>
57891
57892 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57893
57894 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57895 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57896 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57897 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57898
57899 2012-01-10 Ulrich Drepper <drepper@gmail.com>
57900
57901 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57902
57903 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57904 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57905 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57906
57907 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
57908
57909 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
57910 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57911 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
57913
57914 * math/bits/math-finite.h: Add ldexp support.
57915
57916 2012-01-10 Marek Polacek <polacek@redhat.com>
57917
57918 * locale/programs/localedef.h (show_archive_content): Add noreturn
57919 attribute.
57920
57921 2012-01-09 Ulrich Drepper <drepper@gmail.com>
57922
57923 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
57924
57925 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57926
57927 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
57928
57929 * io/Makefile (headers): Add bits/poll2.h.
57930
57931 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
57932
57933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
57934 typo #include statement.
57935
57936 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57937
57938 * include/sys/cdefs.h: Define __attribute_alloc_size.
57939 * catgets/gencat.c: Add alloc_size attribute and apply consistently
57940 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
57941 * elf/pldd.c: Likewise.
57942 * iconv/iconv_charmap.c: Likewise.
57943 * iconv/iconvconfig.c: Likewise.
57944 * iconv/strtab.c: Likewise.
57945 * locale/programs/locale.c: Likewise.
57946 * locale/programs/localedef.h: Likewise.
57947 * locale/programs/simple-hash.c: Likewise.
57948 * nscd/nscd.h: Likewise.
57949 * nss/makedb.c: Likewise.
57950 * sysdeps/generic/ldconfig.h: Likewise.
57951 * locale/programs/localedef.c: Remove xmalloc prototype.
57952 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
57953
57954 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57955
57956 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
57957 appropriate.
57958
57959 2012-01-08 Ulrich Drepper <drepper@gmail.com>
57960
57961 * math/Makefile (tests): Add tst-CMPLX.
57962 * math/tst-CMPLX.c: New file.
57963
57964 * math/complex.h (CMPLXL): Fix typo.
57965
57966 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
57967 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
57968 GLIBC_2.16.
57969 * debug/tst-chk1.c: Add poll and ppoll tests.
57970 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
57971 * include/sys/poll.h: Add hidden proto for ppoll.
57972 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
57973 * sysdeps/mach/hurd/ppoll.c: Likewise.
57974 * io/ppoll.c: Likewise.
57975 * debug/poll_chk.c: New file.
57976 * debug/ppoll_chk.c: New file.
57977 * include/bits/poll2.h: New file.
57978 * io/bits/poll2.h: New file.
57979
57980 [BZ #1350]
57981 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
57982
57983 * configure.in: static is always set to yes. Remove.
57984 * config.make.in: Don't set build-static.
57985 * Makeconfig: Remove use of build-static.
57986 * dlfcn/Makefile: Likewise.
57987 * elf/Makefile: Likewise.
57988 * math/Makefile: Likewise.
57989 * misc/Makefile: Likewise.
57990 * nptl/Makefile: Likewise.
57991 * sysdeps/mach/hurd/Makefile: Likewise.
57992
57993 * configure.in: PWD_P is not used anymore.
57994 * config.make.in: Remove PWD_P entry.
57995
57996 * configure.in: Remove last remnants of RANLIB.
57997 No need to check for signed size_t anymore.
57998 Don't set libc_commonpagesize and libc_relro_required here for Alpha
57999 and IA-64.
58000 Remove __builtin_expect test because we require at least gcc 3.4.
58001 * aclocal.m4: Likewise.
58002
58003 * wcsmbs/mbrtoc16.c: Implement using towc function.
58004 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58005 * wcsmbs/wcsmbsload.c: Likewise.
58006 * iconv/gconv_simple.c: Likewise.
58007 * iconv/gconv_int.h: Likewise.
58008 * iconv/gconv_builtin.h: Likewise.
58009 * iconv/iconv_prog.c: Remove CHAR16 handling.
58010
58011 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58012
58013 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58014
58015 * configure.in: Remove --with-elf and --enable-bounded options.
58016 Dont set base_machine for ia64. More non-ELF conditions removed.
58017 Remove testing and setting of leading underscore information.
58018 * config.make.in (build-bounded): Set to no.
58019 * config.h.in: Remove NO_UNDERSCORES entry.
58020 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58021 them.
58022 * csu/start.c: Remove !NO_UNDERSCORE code.
58023 * locale/localeinfo.h: Likewise.
58024 * sysdeps/generic/machine-gmon.h: Likewise.
58025 * sysdeps/generic/sysdep.h: Likewise.
58026 * sysdeps/i386/sysdep.h: Likewise.
58027 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58028 * sysdeps/mach/sysdep.h: Likewise.
58029 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58030 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58031 * sysdeps/sh/sysdep.h: Likewise.
58032 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58033 * sysdeps/unix/i386/sysdep.S: Likewise.
58034 * sysdeps/unix/sparc/start.c: Likewise.
58035 * sysdeps/unix/sparc/sysdep.S: Likewise.
58036 * sysdeps/unix/sparc/sysdep.h: Likewise.
58037 * sysdeps/unix/start.c: Likewise.
58038 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58039 * sysdeps/x86_64/sysdep.h: Likewise.
58040
58041 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58042
58043 [BZ #13553]
58044 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58045 for non-gcc.
58046 * argp/argp-fmtstream.h: Use const instead __const.
58047 * argp/argp.h: Likewise.
58048 * assert/assert.h: Likewise.
58049 * bits/fenv.h: Likewise.
58050 * bits/sched.h: Likewise.
58051 * bits/sigset.h: Likewise.
58052 * bits/sigthread.h: Likewise.
58053 * catgets/nl_types.h: Likewise.
58054 * conform/data/pthread.h-data: Likewise.
58055 * crypt/crypt-private.h: Likewise.
58056 * crypt/crypt.h: Likewise.
58057 * crypt/crypt_util.c: Likewise.
58058 * ctype/ctype.h: Likewise.
58059 * debug/execinfo.h: Likewise.
58060 * debug/mbsnrtowcs_chk.c: Likewise.
58061 * debug/mbsrtowcs_chk.c: Likewise.
58062 * debug/wcsnrtombs_chk.c: Likewise.
58063 * debug/wcsrtombs_chk.c: Likewise.
58064 * debug/wcstombs_chk.c: Likewise.
58065 * dirent/dirent.h: Likewise.
58066 * dlfcn/dlfcn.h: Likewise.
58067 * elf/neededtest4.c: Likewise.
58068 * grp/grp.h: Likewise.
58069 * gshadow/gshadow.h: Likewise.
58070 * iconv/gconv.h: Likewise.
58071 * iconv/gconv_int.h: Likewise.
58072 * iconv/gconv_simple.c: Likewise.
58073 * iconv/iconv.h: Likewise.
58074 * iconv/loop.c: Likewise.
58075 * iconv/skeleton.c: Likewise.
58076 * include/aio.h: Likewise.
58077 * include/aliases.h: Likewise.
58078 * include/argz.h: Likewise.
58079 * include/arpa/inet.h: Likewise.
58080 * include/assert.h: Likewise.
58081 * include/dirent.h: Likewise.
58082 * include/dlfcn.h: Likewise.
58083 * include/execinfo.h: Likewise.
58084 * include/fcntl.h: Likewise.
58085 * include/fenv.h: Likewise.
58086 * include/glob.h: Likewise.
58087 * include/grp.h: Likewise.
58088 * include/libintl.h: Likewise.
58089 * include/mntent.h: Likewise.
58090 * include/netdb.h: Likewise.
58091 * include/pwd.h: Likewise.
58092 * include/rpc/netdb.h: Likewise.
58093 * include/sched.h: Likewise.
58094 * include/search.h: Likewise.
58095 * include/shadow.h: Likewise.
58096 * include/signal.h: Likewise.
58097 * include/stdio.h: Likewise.
58098 * include/stdlib.h: Likewise.
58099 * include/string.h: Likewise.
58100 * include/sys/socket.h: Likewise.
58101 * include/sys/stat.h: Likewise.
58102 * include/sys/statfs.h: Likewise.
58103 * include/sys/statvfs.h: Likewise.
58104 * include/sys/syslog.h: Likewise.
58105 * include/sys/time.h: Likewise.
58106 * include/sys/uio.h: Likewise.
58107 * include/time.h: Likewise.
58108 * include/unistd.h: Likewise.
58109 * include/utmp.h: Likewise.
58110 * include/wchar.h: Likewise.
58111 * include/wctype.h: Likewise.
58112 * inet/aliases.h: Likewise.
58113 * inet/arpa/inet.h: Likewise.
58114 * inet/netinet/ether.h: Likewise.
58115 * inet/netinet/in.h: Likewise.
58116 * intl/libintl.h: Likewise.
58117 * io/bits/fcntl2.h: Likewise.
58118 * io/fcntl.h: Likewise.
58119 * io/ftw.h: Likewise.
58120 * io/sys/poll.h: Likewise.
58121 * io/sys/stat.h: Likewise.
58122 * io/sys/statfs.h: Likewise.
58123 * io/sys/statvfs.h: Likewise.
58124 * io/utime.h: Likewise.
58125 * libio/bits/stdio.h: Likewise.
58126 * libio/bits/stdio2.h: Likewise.
58127 * libio/libio.h: Likewise.
58128 * libio/libioP.h: Likewise.
58129 * libio/stdio.h: Likewise.
58130 * locale/lc-ctype.c: Likewise.
58131 * locale/locale.h: Likewise.
58132 * login/utmp.h: Likewise.
58133 * malloc/arena.c: Likewise.
58134 * malloc/malloc.c: Likewise.
58135 * malloc/malloc.h: Likewise.
58136 * malloc/mcheck.c: Likewise.
58137 * malloc/mtrace.c: Likewise.
58138 * math/bits/mathcalls.h: Likewise.
58139 * math/fenv.h: Likewise.
58140 * math/math_private.h: Likewise.
58141 * misc/bits/error.h: Likewise.
58142 * misc/bits/syslog.h: Likewise.
58143 * misc/err.h: Likewise.
58144 * misc/error.h: Likewise.
58145 * misc/fstab.h: Likewise.
58146 * misc/mntent.h: Likewise.
58147 * misc/regexp.h: Likewise.
58148 * misc/search.h: Likewise.
58149 * misc/sgtty.h: Likewise.
58150 * misc/sys/mman.h: Likewise.
58151 * misc/sys/syslog.h: Likewise.
58152 * misc/sys/uio.h: Likewise.
58153 * misc/sys/xattr.h: Likewise.
58154 * misc/ttyent.h: Likewise.
58155 * nis/rpcsvc/ypclnt.h: Likewise.
58156 * nss/nss.h: Likewise.
58157 * posix/bits/unistd.h: Likewise.
58158 * posix/fnmatch.h: Likewise.
58159 * posix/glob.h: Likewise.
58160 * posix/sched.h: Likewise.
58161 * posix/spawn.h: Likewise.
58162 * posix/sys/wait.h: Likewise.
58163 * posix/unistd.h: Likewise.
58164 * posix/wordexp.h: Likewise.
58165 * pwd/pwd.h: Likewise.
58166 * resolv/netdb.h: Likewise.
58167 * resource/sys/resource.h: Likewise.
58168 * rt/aio.h: Likewise.
58169 * rt/bits/mqueue2.h: Likewise.
58170 * rt/mqueue.h: Likewise.
58171 * shadow/shadow.h: Likewise.
58172 * signal/signal.h: Likewise.
58173 * socket/send.c: Likewise.
58174 * socket/sendto.c: Likewise.
58175 * socket/sys/socket.h: Likewise.
58176 * stdio-common/printf.h: Likewise.
58177 * stdlib/bits/stdlib.h: Likewise.
58178 * stdlib/fmtmsg.h: Likewise.
58179 * stdlib/monetary.h: Likewise.
58180 * stdlib/stdlib.h: Likewise.
58181 * stdlib/ucontext.h: Likewise.
58182 * streams/stropts.h: Likewise.
58183 * string/argz.h: Likewise.
58184 * string/bits/string2.h: Likewise.
58185 * string/string.h: Likewise.
58186 * string/strings.h: Likewise.
58187 * sunrpc/rpc/auth.h: Likewise.
58188 * sunrpc/rpc/auth_des.h: Likewise.
58189 * sunrpc/rpc/clnt.h: Likewise.
58190 * sunrpc/rpc/netdb.h: Likewise.
58191 * sunrpc/rpc/pmap_clnt.h: Likewise.
58192 * sunrpc/rpc/xdr.h: Likewise.
58193 * sysdeps/generic/inttypes.h: Likewise.
58194 * sysdeps/generic/net/if.h: Likewise.
58195 * sysdeps/generic/sys/swap.h: Likewise.
58196 * sysdeps/gnu/net/if.h: Likewise.
58197 * sysdeps/gnu/utmpx.h: Likewise.
58198 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58199 * sysdeps/i386/i486/bits/string.h: Likewise.
58200 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58201 * sysdeps/s390/bits/string.h: Likewise.
58202 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58203 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58204 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58205 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58206 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58207 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58208 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58209 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58210 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58211 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58212 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58213 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58214 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58215 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58216 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58217 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58218 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58220 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58221 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58222 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58223 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58224 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58225 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58226 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58227 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58228 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58230 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58231 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58232 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58233 * sysvipc/sys/ipc.h: Likewise.
58234 * sysvipc/sys/msg.h: Likewise.
58235 * sysvipc/sys/sem.h: Likewise.
58236 * sysvipc/sys/shm.h: Likewise.
58237 * termios/termios.h: Likewise.
58238 * time/sys/time.h: Likewise.
58239 * time/time.h: Likewise.
58240 * wcsmbs/bits/wchar2.h: Likewise.
58241 * wcsmbs/uchar.h: Likewise.
58242 * wcsmbs/wchar.h: Likewise.
58243 * wctype/wctype.h: Likewise.
58244
58245 [BZ #13551]
58246 * Makeconfig: Remove all but ELF support including AIX support.
58247 * Makerules: Likewise.
58248 * config.h.in: Likewise.
58249 * config.make.in: Likewise.
58250 * configure: Likewise.
58251 * configure.in: Likewise.
58252 * csu/Makefile: Likewise.
58253 * csu/version.c: Likewise.
58254 * debug/Makefile: Likewise.
58255 * dlfcn/Makefile: Likewise.
58256 * elf/Makefile: Likewise.
58257 * extra-lib.mk: Likewise.
58258 * iconv/Makefile: Likewise.
58259 * include/libc-symbols.h: Likewise.
58260 * include/shlib-compat.h: Likewise.
58261 * resolv/Makefile: Likewise.
58262 * resolv/res_libc.c: Likewise.
58263 * rt/Makefile: Likewise.
58264 * sysdeps/i386/asm-syntax.h: Likewise.
58265 * sysdeps/i386/sysdep.h: Likewise.
58266 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58267 * sysdeps/mach/sysdep.h: Likewise.
58268 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58269 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58270 * sysdeps/s390/asm-syntax.h: Likewise.
58271 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58272 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58273 * sysdeps/sh/sysdep.h: Likewise.
58274 * sysdeps/unix/sparc/sysdep.h: Likewise.
58275 * sysdeps/wordsize-32/divdi3.c: Likewise.
58276 * sysdeps/x86_64/sysdep.h: Likewise.
58277
58278 * argp/Versions: Remove _argp_unlock_xxx.
58279
58280 [BZ #13559]
58281 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58282 * abilist/libBrokenLocale.abilist: Likewise.
58283 * abilist/libanl.abilist: Likewise.
58284 * abilist/libc.abilist: Likewise.
58285 * abilist/libcrypt.abilist: Likewise.
58286 * abilist/libdl.abilist: Likewise.
58287 * abilist/libm.abilist: Likewise.
58288 * abilist/libnsl.abilist: Likewise.
58289 * abilist/libpthread.abilist: Likewise.
58290 * abilist/libresolv.abilist: Likewise.
58291 * abilist/librt.abilist: Likewise.
58292 * abilist/libthread_db.abilist: Likewise.
58293 * abilist/libutil.abilist: Likewise.
58294 * abilist/libnss_db.abilist: New file.
58295
58296 * scripts/abilist.awk: Add support for indirect functions.
58297
58298 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58299
58300 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58301
58302 * shlib-versions: Remove entries for ports architectures.
58303
58304 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58305 files in ports.
58306 * elf/stackguard-macros.h: Remove support for IA-64.
58307 * elf/tst-auditmod1.c: Likewise.
58308 * sysdeps/generic/ldsodefs.h: Likewise.
58309
58310 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58311 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58312 configure files.
58313
58314 [BZ #13552]
58315 * configure.in: Remove --enable-omitfp support.
58316 * FAQ.in: Adjust.
58317 * config.make.in: Likewise.
58318 * Makeconfig: Likewise.
58319 * manual/install.texi: Likewise.
58320
58321 In case anyone cares, the IA-64 architecture could move to ports.
58322 * sysdeps/ia64/*: Removed.
58323 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58324 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58325
58326 [BZ #13555]
58327 * configure.in: Remove entries for unsupported architectures.
58328
58329 [BZ #13533]
58330 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58331 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58332 routines.
58333 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58334 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58335 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58336 fall back to using wcrtomb.
58337 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58338 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58339 renaming.
58340 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58341 * wcsmbs/tst-c16c32-1.c: New file.
58342
58343 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58344 local variable.
58345
58346 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58347
58348 * elf/tst-unique3.cc: Add explicit declaration of gets.
58349 * elf/tst-unique3lib.cc: Likewise.
58350 * elf/tst-unique3lib2.cc: Likewise.
58351 * elf/tst-unique4.cc: Likewise.
58352
58353 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58354
58355 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58356
58357 [BZ #13566]
58358 * assert/assert.h (static_assert): Don't define for C++.
58359 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58360 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58361
58362 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58363
58364 * iconv/loop.c (single loop): Fix assertion in storing of
58365 remaining bytes.
58366
58367 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58368
58369 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58370
58371 * posix/getconf.c: Update copyright year.
58372 * nss/getent.c: Likewise.
58373 * nss/makedb.c: Likewise.
58374 * iconv/iconvconfig.c: Likewise.
58375 * iconv/iconv_prog.c: Likewise.
58376 * elf/ldconfig.c: Likewise.
58377 * elf/pldd.c: Likewise.
58378 * elf/sotruss.ksh: Likewise.
58379 * catgets/gencat.c: Likewise.
58380 * csu/version.c: Likewise.
58381 * elf/ldd.bash.in: Likewise.
58382 * elf/sprof.c (print_version): Likewise.
58383 * locale/programs/locale.c: Likewise.
58384 * locale/programs/localedef.c: Likewise.
58385 * login/programs/pt_chown.c: Likewise.
58386 * nscd/nscd.c (print_version): Likewise.
58387 * debug/xtrace.sh: Likewise.
58388 * malloc/memusage.sh: Likewise.
58389 * malloc/mtrace.pl: Likewise.
58390 * debug/catchsegv.sh: Likewise.
58391
58392 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58393
58394 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58395 pure attribute.
58396
58397 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58398
58399 [BZ #13533]
58400 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58401 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58402 transformations.
58403 * iconv/gconv_int.h: Likewise.
58404 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58405 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58406 from libc for GLIBC_2.16.
58407 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58408 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58409 * wcsmbs/uchar.h: Really define mbstate_t.
58410 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58411 * wcsmbs/c16rtomb.c: New file.
58412 * wcsmbs/mbrtoc16.c: New file.
58413 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58414 for C/POSIX locale.
58415 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58416 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58417
58418 * wcsmbs/wchar.h: Add missing __restrict.
58419
58420 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58421
58422 [BZ #13532]
58423 * time/Makefile (routines): Add timespec_get.
58424 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58425 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58426 timespec for ISO C11.
58427 * time/timespec_get.c: New file.
58428 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58429 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58430
58431 [BZ #13531]
58432 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58433 * stdlib/stdlib.h: Declare aligned_alloc.
58434 * Versions.def: Add GLIBC_2.16 for libc.
58435 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58436
58437 [BZ 13527]
58438 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58439 ISO C11.
58440
58441 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58442 code.
58443
58444 [BZ #13528]
58445 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58446
58447 [BZ #13529]
58448 * assert/assert.h (static_assert): Define.
58449
58450 * version.h: Update for 2.16 development version.
58451
58452 [BZ #13526]
58453 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58454 _ISOC11_SOURCE.
58455
58456 * version.h (RELEASE): Bump for 2.15 release.
58457 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58458
58459 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58460 Patch by Marek Polacek <mpolacek@redhat.com>.
58461
58462 * bits/byteswap.h: Protect long long constants with __extension__.
58463 * sysdeps/i386/bits/byteswap.h: Likewise.
58464 * sysdeps/ia64/bits/byteswap.h: Likewise.
58465 * sysdeps/s390/bits/byteswap.h: Likewise.
58466 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58467
58468 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58469
58470 [BZ #13540]
58471 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58472 destination buffer.
58473 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58474
58475 2011-12-23 Marek Polacek <polacek@redhat.com>
58476
58477 * elf/dl-addr.c (determine_info): Add inline keyword.
58478 * elf/tst-auditmod4b.c (check_avx): Likewise.
58479 * elf/tst-auditmod6b.c (check_avx): Likewise.
58480 * elf/tst-auditmod6c.c (check_avx): Likewise.
58481 * elf/tst-auditmod7b.c (check_avx): Likewise.
58482
58483 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58484
58485 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58486 !__SSE_MATH__.
58487
58488 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58489
58490 [BZ #13540]
58491 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58492 processing for last bytes.
58493
58494 2011-08-06 Bruno Haible <bruno@clisp.org>
58495
58496 [BZ #13061]
58497 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58498 U+0385, not to U+1FEE.
58499
58500 [BZ #13062]
58501 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58502 entry for U+00A5 U+0301.
58503
58504 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58505
58506 [BZ #13166]
58507 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58508 buffer for the output is too small.
58509
58510 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58511 optimization.
58512
58513 [BZ #13185]
58514 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58515 SSE flags if possible.
58516
58517 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58518
58519 [BZ #13540]
58520 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58521 processing for last bytes.
58522
58523 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58524
58525 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58526 (syscall-list-default-options, syscall-list-default-condition)
58527 (syscall-list-includes): Define.
58528 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58529 list of ABIs and options and #if conditions for each ABI. Do not
58530 handle common syscalls between ABIs specially.
58531 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58532 Remove.
58533 (syscall-list-variants, syscall-list-32bit-options)
58534 (syscall-list-32bit-condition, syscall-list-64bit-options)
58535 (syscall-list-64bit-condition): Define.
58536 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58537 (syscall-list-variants, syscall-list-32bit-options)
58538 (syscall-list-32bit-condition, syscall-list-64bit-options)
58539 (syscall-list-64bit-condition): Define.
58540 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58541 Remove.
58542 (syscall-list-variants, syscall-list-32bit-options)
58543 (syscall-list-32bit-condition, syscall-list-64bit-options)
58544 (syscall-list-64bit-condition): Define.
58545 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58546 Remove.
58547 (syscall-list-variants, syscall-list-32bit-options)
58548 (syscall-list-32bit-condition, syscall-list-64bit-options)
58549 (syscall-list-64bit-condition): Define.
58550
58551 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58552
58553 * locale/iso-639.def: Add brx entry.
58554
58555 [BZ #13328]
58556 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58557 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58558
58559 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58560 __feraiseexcept_renamed.
58561
58562 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58563
58564 [BZ #13538]
58565 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58566 EPOLLET with unsigned values.
58567 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58568 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58569
58570 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58571 to large cancellation.
58572 * math/s_cacoshf.c: Likewise.
58573 * math/s_cacoshl.c: Likewise.
58574
58575 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58576
58577 [BZ #13305]
58578 [BZ #12786]
58579 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58580 * math/s_cacoshf.c: Likewise.
58581 * math/s_cacoshl.c: Likewise.
58582
58583 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58584
58585 [BZ #13439]
58586 * iconv/gconv.h: Define __GCONV_SWAP.
58587 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58588 * iconvdata/utf-16.c: Likewise.
58589 * iconvdata/utf-32.c: Likewise.
58590
58591 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58592
58593 [BZ #13524]
58594 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58595 numerator after shifting it by one limb.
58596
58597 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58598
58599 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58600 under [__USE_EXTERN_INLINES].
58601
58602 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58603
58604 [BZ #13446]
58605 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58606
58607 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58608
58609 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58610 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58611 optimized code.
58612 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58613 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58614 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58615 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58616 for strncasecmp/strncasecmp_l compilation.
58617 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58618 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58619
58620 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58621
58622 [BZ #13484]
58623 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58624 of __asm__.
58625
58626 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58627
58628 [BZ #13506]
58629 * time/tzfile.c (__tzfile_read): Check values from file header.
58630
58631 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58632
58633 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58634 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58635 * powerpc/powerpc32/dl-start.S: Likewise.
58636 * powerpc/powerpc32/elf/start.S: Likewise.
58637 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58638 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58639 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58640 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58641 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58642 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58643 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58644 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58645 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58646 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58647 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58648 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58649 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58650 * powerpc/powerpc32/memset.S: Likewise.
58651 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58652 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58653 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58654 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58655 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58656 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58657 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58658 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58659 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58660 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58661 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58662 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58663 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58664
58665 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58666
58667 * math/libm-test.inc: Added more nearbyint tests.
58668 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58669 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58670 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58671 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58672
58673 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58674
58675 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58676 FD_CLOEXEC.
58677
58678 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58679
58680 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58681 Add wcscpy-ssse3 wcscpy-c.
58682 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58683 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58684 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58685 * sysdeps/x86_64/wcschr.S: New file.
58686 * sysdeps/x86_64/wcsrchr.S: New file.
58687 * string/test-strcmp.c: Remove checking of wcscmp function for
58688 wrong alignments.
58689 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58690 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58691 wcsrchr-sse2 wcsrchr-c.
58692 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58693 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58694 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58695 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58696 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58697 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58698 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58699 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58700 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58701 * wcsmbc/wcschr.c (WCSCHR): New macro.
58702
58703 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58704
58705 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58706 * wcsmbs/test-wcsrchr.c: New file.
58707 * string/test-strrchr.c: Add wcsrchr support.
58708 (WIDE): New macro.
58709 * wcsmbs/test-wcscpy.c: New file.
58710 * string/test-strcpy.c: Add wcscpy support.
58711 (WIDE): New macro.
58712
58713 2011-12-10 Ulrich Drepper <drepper@gmail.com>
58714
58715 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58716 the inner loop.
58717
58718 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
58719
58720 [BZ #13472]
58721 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58722
58723 2011-12-04 Ulrich Drepper <drepper@gmail.com>
58724
58725 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58726 Minor optimizations.
58727
58728 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58729 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58730 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58731
58732 2011-12-03 Ulrich Drepper <drepper@gmail.com>
58733
58734 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58735 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58736 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58737 for gcc to avoid warnings.
58738 * inet/Makefile (tests): Add tst-checks.
58739 * inet/tst-checks.c: New file.
58740
58741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58742 warning.
58743
58744 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58745 __wmemcmp_sse2.
58746
58747 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58748 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58749
58750 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58751
58752 2011-12-02 Ulrich Drepper <drepper@gmail.com>
58753
58754 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58755 problem.
58756
58757 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58758
58759 2011-11-29 Joseph Myers <joseph@codesourcery.com>
58760
58761 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58762 conditional on GCC version.
58763 (__arch_compare_and_exchange_val_8_acq)
58764 (__arch_compare_and_exchange_val_16_acq)
58765 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58766 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58767 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58768
58769 2011-12-02 Joseph Myers <joseph@codesourcery.com>
58770
58771 * sysdeps/sh/backtrace.c: New file.
58772
58773 2011-12-02 Andreas Schwab <schwab@redhat.com>
58774
58775 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
58776 parenthesis.
58777
58778 2011-12-01 Andreas Schwab <schwab@redhat.com>
58779
58780 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58781 falling back to utime.
58782
58783 2011-11-30 Andreas Schwab <schwab@redhat.com>
58784
58785 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58786 expectations for float.
58787
58788 2011-11-29 Andreas Schwab <schwab@redhat.com>
58789
58790 * locale/weight.h (findidx): Add parameter len.
58791 * locale/weightwc.h (findidx): Likewise.
58792 * posix/fnmatch_loop.c (FCT): Adjust caller.
58793 * posix/regcomp.c (build_equiv_class): Likewise.
58794 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58795 * posix/regexec.c (check_node_accept_bytes): Likewise.
58796 * string/strcoll_l.c (STRCOLL): Likewise.
58797 * string/strxfrm_l.c (STRXFRM): Likewise.
58798
58799 2011-11-17 Ulrich Drepper <drepper@gmail.com>
58800
58801 * Makefile.in: Remove CVSOPT handling.
58802 * configure.in: Remove use of AC_REVISION.
58803 * iconvdata/Makefile (distribute): No need to filter out CVS.
58804 * scripts/list-sources.sh: Remove CVS, subversion and monotone
58805 handling.
58806
58807 2011-11-16 Andreas Schwab <schwab@redhat.com>
58808
58809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58810 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58811 [USE_AS_STRNCASECMP_L]: Likewise.
58812 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58813 NO_TLS_DIRECT_SEG_REFS.
58814 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58815 Fix argument offsets for non-PIC.
58816 [USE_AS_STRNCASECMP_L]: Likewise.
58817 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58818 NO_TLS_DIRECT_SEG_REFS.
58819
58820 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58821
58822 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58823 O_CLOEXEC.
58824 * locale/loadlocale.c (_nl_load_locale): Likewise.
58825
58826 2011-11-15 Andreas Schwab <schwab@redhat.com>
58827
58828 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58829 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58830 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58831 (SYSCALL_GETTIME): Set errno on error.
58832
58833 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58834 count references to noai6ai_cached.
58835
58836 2011-11-15 Ulrich Drepper <drepper@gmail.com>
58837
58838 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58839
58840 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58841 FD_CLOEXEC for /proc/self/maps.
58842
58843 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58844 FD_CLOEXEC for /proc/meminfo.
58845
58846 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58847 gai.conf.
58848
58849 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
58850 FD_CLOEXEC for given file.
58851
58852 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58853
58854 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58855 FD_CLOEXEC for /etc/hosts.
58856 (_gethtent): Likewise.
58857
58858 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58859
58860 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58861 cancellation and set FD_CLOEXEC for /etc/netgroup.
58862
58863 * nss/nss_files/files-key.c (search): Don't allow cancellation when
58864 reading /etc/publickey.
58865
58866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58867 allow cancellation when reading /etc/group.
58868
58869 * nss/nss_files/files-alias.c (internal_setent): Don't allow
58870 cancellation.
58871 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
58872
58873 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58874 when using data file.
58875
58876 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58877
58878 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58879 (write_nis_obj): Use "c" and "e" in fopen.
58880
58881 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58882
58883 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58884
58885 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58886
58887 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58888
58889 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58890 locale.alias.
58891
58892 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58893
58894 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58895
58896 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58897
58898 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58899 file parsing and set FD_CLOEXEC.
58900
58901 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58902
58903 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58904
58905 2011-11-14 Andreas Schwab <schwab@redhat.com>
58906
58907 * malloc/arena.c (arena_get2): Don't call reused_arena when
58908 _int_new_arena failed.
58909
58910 2011-11-14 Ulrich Drepper <drepper@gmail.com>
58911
58912 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
58913 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
58914 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
58915 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58916 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58917 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
58918 to compile strcasecmp and strncasecmp.
58919 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
58920 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
58921
58922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
58923
58924 2011-11-13 Ulrich Drepper <drepper@gmail.com>
58925
58926 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
58927 locale-defines.sym to gen-as-const-headers.
58928 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
58929 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
58930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
58931 to compile strcasecmp and strncasecmp.
58932 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
58933 strcasecmp_l and strncasecmp_l.
58934 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
58935 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
58936 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
58937 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
58938 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
58939 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
58940 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
58941 * sysdeps/i386/i686/multiarch/strncase.S: New file.
58942 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
58943 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
58944 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
58945
58946 2011-11-12 Ulrich Drepper <drepper@gmail.com>
58947
58948 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
58949 result of SYSDEP_GETTIME_CPU to retval.
58950 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
58951 parameter list to macro. Remove trailing semicolon. Adjust users.
58952
58953 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
58954 variable.
58955
58956 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
58957 mantissa words.
58958 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
58959
58960 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
58961 from unused variable.
58962
58963 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
58964 DWARF definitions.
58965 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
58966 for assembling.
58967
58968 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
58969 over namespaces.
58970
58971 * sunrpc/rpc_prot.c (rejected): Fix case value.
58972
58973 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
58974 unsigned long long int to avoid warnings in shift.
58975
58976 * posix/regex_internal.c (re_string_reconstruct): Actually use result
58977 of use of trans.
58978 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
58979 variable tmp.
58980
58981 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
58982 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
58983 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
58984
58985 * nis/nis_table.c (nis_list): Use variable of correct type for
58986 result of __follow_path call.
58987
58988 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58989
58990 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
58991 of math functions ceil, trunc, floor, round, and sqrt, when
58992 avaliable on the platform.
58993 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
58994 name clash.
58995 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58996 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58997 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58998
58999 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59000
59001 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59002 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59003
59004 2011-11-11 Roland McGrath <roland@hack.frob.com>
59005
59006 * include/unistd.h: Fix __readlink return type.
59007 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59008
59009 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59010
59011 * stdlib/ucontext.h: Undo last change for makecontext.
59012
59013 2011-11-11 Andreas Schwab <schwab@redhat.com>
59014
59015 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59016
59017 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59018 * setjmp/setjmp.h: Mark functions as non-leaf.
59019 * setjmp/bits/setjmp2.h: Likewise.
59020 * stdlib/ucontext.h: Likewise.
59021
59022 2011-11-10 Andreas Schwab <schwab@redhat.com>
59023
59024 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59025 (reused_arena): Don't check arena limit.
59026 (arena_get2): Atomically check arena limit.
59027
59028 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59029
59030 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59031 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59032
59033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59034 instructions.
59035
59036 2011-11-07 Andreas Schwab <schwab@redhat.com>
59037
59038 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59039 handler when locking.
59040
59041 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59042 Fix size of allocated buffer.
59043
59044 2011-11-04 Andreas Schwab <schwab@redhat.com>
59045
59046 [BZ #10103]
59047 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59048 declarations for long double functions.
59049 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59050
59051 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59052
59053 2011-11-03 Andreas Schwab <schwab@redhat.com>
59054
59055 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59056 installed.
59057
59058 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59059 is disabled.
59060
59061 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59062
59063 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59064
59065 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59066
59067 * include/alloca.h (stackinfo_alloca_round): Define.
59068 (extend_alloca): Use it.
59069 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59070 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59071 here.
59072
59073 * scripts/check-local-headers.sh: Ignore libaudit.h.
59074
59075 * nscd/Makefile (extra-objs): Make recursively expanded.
59076
59077 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59078
59079 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59080 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59081
59082 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59083 * posix/tst-rfc3484-2.c: Likewise.
59084 * posix/tst-rfc3484-3.c: Likewise.
59085
59086 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59087 process_vm_writev.
59088 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59089 process_vm_writev.
59090 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59091 process_vm_writev from libc using GLIBC_2.15 version.
59092
59093 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59094
59095 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59096
59097 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59098 stack usage.
59099
59100 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59101
59102 [BZ #13367]
59103 * nss/getent.c (initgroups_keys): Show error message in case no group
59104 names are given.
59105
59106 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59107 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59108 __bump_nl_timestamp.
59109 * nscd/connections (nscd_init): When host database is served open
59110 netlink socket and request notification about configuration changes.
59111 (main_loop_poll): Track netlink file descriptor and bump timestamp
59112 in case data becomes available.
59113 (main_loop_epoll): Likewise.
59114 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59115 (database_pers_head): Add extra_data fileds.
59116 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59117 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59118 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59119 Adjust caller.
59120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59121 in6ai data, call __free_in6ai.
59122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59123 Add -DHAVE_NETLINK.
59124 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59125 interface information. Reuse previous data if netlink timestamp
59126 is not changed.
59127 (__bump_nl_timestamp): New function.
59128 (__free_in6ai): New function.
59129
59130 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59131
59132 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59133 close_not_cancel_no_status here.
59134 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59135
59136 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59137
59138 [BZ #13276]
59139 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59140 return value.
59141
59142 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59143 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59144 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59145
59146 2011-07-03 Andreas Jaeger <aj@suse.de>
59147
59148 [BZ #10709]
59149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59150 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59151 * math/libm-test.inc (sin_test): Add test case.
59152
59153 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59154
59155 [BZ #13337]
59156 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59157 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59158
59159 * elf/chroot_canon.c (chroot_canon): Cleanups.
59160
59161 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59162
59163 [BZ #13335]
59164 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59165 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59166
59167 * string/test-strchr.c: Make usable for strchrnul testing.
59168 * string/test-strchrnul.c: New file.
59169 * string/Makefile (strop-tests): Add strchrnul.
59170
59171 * po/it.po: Update from translation team.
59172 * po/es.po: Likewise.
59173
59174 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59175
59176 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59177 the three constants needed as parameters. Drop the others.
59178 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59179 __m128i_strloadu_tolower.
59180 Create and initialize variable zero and use it in all the places
59181 where _mm_setzero_si128 was used.
59182
59183 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59184 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59185 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59186 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59187 anymore.
59188 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59189 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59190 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59191 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59192 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59193 __mpranred, __mptan.
59194 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59195 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59196 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59197 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59198 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59199 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59200 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59201 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59202 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59203
59204 2011-10-28 Andreas Schwab <schwab@redhat.com>
59205
59206 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59207 redefine if SHARED.
59208 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59209
59210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59211 wide char related routines to wcsmbs subdir.
59212
59213 2011-10-27 Andreas Schwab <schwab@redhat.com>
59214
59215 [BZ #13344]
59216 * misc/sys/cdefs.h (__THROWNL): Define.
59217 * posix/unistd.h: Use __THREADNL instead of __THREAD
59218 for memory synchronization functions.
59219
59220 2011-10-26 Roland McGrath <roland@hack.frob.com>
59221
59222 [BZ #13349]
59223 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59224 doesn't exist.
59225 * manual/stdio.texi (Obstack Streams): Node removed.
59226
59227 2011-10-26 Andreas Schwab <schwab@redhat.com>
59228
59229 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59230 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59231 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59232
59233 * math/math_private.h (math_force_eval): Allow non-addressable
59234 arguments.
59235 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59236
59237 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59238
59239 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59240 file is not needed.
59241
59242 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59243 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59245 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59247 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59249 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59250 Add AVX variants.
59251 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59252 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59253 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59254 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59255 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59256 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59257 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59258 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59259 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59260 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59261 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59262 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59263 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59264 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59265 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59266 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59267 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59268 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59269 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59270
59271 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59272 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59273
59274 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59275 place. Use VEX encoding when compiling for AVX.
59276
59277 2011-10-25 Andreas Schwab <schwab@redhat.com>
59278
59279 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59280 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59281
59282 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59283
59284 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59285
59286 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59287 useless if() expression.
59288 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59289 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59290 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59292 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59293 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59294 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59295 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59296 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59297 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59298 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59299 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59300 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59301 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59302 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59303 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59304 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59305 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59306 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59307
59308 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59309
59310 2011-10-25 Andreas Schwab <schwab@redhat.com>
59311
59312 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59313 condition.
59314 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59315
59316 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59317
59318 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59319 .text section. Avoid duplicate constants.
59320 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59328 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59329 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59330 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59331 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59332 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59333 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59334 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59336 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59337 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59343 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59344 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59345 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59346 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59347 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59349 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59350 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59351 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59352 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59353 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59354 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59355 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59356 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59357 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59358 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59359 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59360 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59361 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59362 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59363 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59364 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59365
59366 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59367
59368 * sysdeps/x86_64/dla.h: Move to ...
59369 * sysdeps/x86_64/fpu/dla.h: ...here.
59370 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59371 situations. Use __builtin_fma only for gcc 4.6 and up.
59372
59373 * config.make.in: Add have-mfma4 entry.
59374 * configure.in: Substitute libc_cv_cc_fma4.
59375 * math/Makefile (dbl-only-routines): Add sincostab.
59376 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59377 Use __sincostab not sincos.
59378 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59379 name is a macro.
59380 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59384 using __copysign.
59385 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59386 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59387 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59388 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59389 and __inv.
59390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59391 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59392 __copysign.
59393 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59394 define aliases when function name is a macro.
59395 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59396 sysdeps/ieee754/dbl-64/sincos.tbl.
59397 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59398 fma4-enabled routines.
59399 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59400 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59401 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59402 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59403 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59404 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59405 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59406 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59407 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59408 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59409 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59410 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59411 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59412 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59413 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59414 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59415 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59416 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59417 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59418 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59419 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59420 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59421 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59422 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59423 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59424 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59426 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59427 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59428 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59429
59430 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59431 rename.
59432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59438 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59439 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59440
59441 2011-10-24 Andreas Schwab <schwab@redhat.com>
59442
59443 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59444
59445 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59446
59447 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59448
59449 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59450 prediction.
59451 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59452
59453 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59454 Remove unused variable magic_bits.
59455 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59456
59457 * string/strnlen.c: Define and use STRNLEN macro.
59458 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59459 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59461 * wcsmbs/wcslen.c: Define and use WCSLEN.
59462 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59463 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59464 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59465 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59466 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59467 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59468 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59469
59470 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59471
59472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59473 strnlen-sse2-no-bsf.
59474 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59475 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59476 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59477 Add strnlen support.
59478 (USE_AS_STRNLEN): New macro.
59479 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59480 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59481 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59482 * sysdeps/x86_64/wcslen.S: New file.
59483
59484 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59485
59486 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59487 XMM-moves are used for copying on small sizes.
59488
59489 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59490
59491 * wcsmbs/Makefile (strop-tests): Add wcschr.
59492 * wcsmbs/test-wcschr.c: New file.
59493 * string/test-strchr.c: Update.
59494 Add wcschr support.
59495 (WIDE): New macro.
59496
59497 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59498
59499 * wcsmbs/Makefile (strop-tests): Add wcslen.
59500 * wcsmbs/test-wcslen.c: New file.
59501 * string/test-strlen.c: Update.
59502 Add wcslen support.
59503 (WIDE): New macro.
59504
59505 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59506
59507 * po/it.po: Update from translation team.
59508
59509 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59510
59511 * sysdeps/x86_64/wcscmp.S: Update.
59512 Fix wrong comparison semantics.
59513 wcscmp shall use signed comparison not unsigned.
59514 Don't use substraction to avoid overflow bug.
59515 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59516 * wcsmbc/wcscmp.c: Likewise.
59517 * string/test-strcmp.c: Likewise.
59518 Add new tests to check cases with negative values.
59519
59520 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59521
59522 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59523 * sysdeps/x86_64/dla.h: ...here. New file.
59524 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59529 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59533
59534 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59535
59536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59537 __ynl_finite aliases.
59538
59539 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59540
59541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59542
59543 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59544 define DLA_FMA.
59545 [DLA_FMA] (EMULV): Use DLA_FMA.
59546 [DLA_FMA] (MUL12): Use EMULV.
59547 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59548 that are not needed.
59549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59552 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59553 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59554 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59555 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59556
59557 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59558
59559 * math/s_nan.c: Undef __nan.
59560 * math/s_nanf.c: Undef __nanf.
59561 * math/s_nanl.c: Undef __nanl.
59562 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59563 "math_private.h".
59564
59565 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59566
59567 * math/s_catan.c: Add branch predictions.
59568 * math/s_catanf.c: Likewise.
59569 * math/s_catanh.c: Likewise.
59570 * math/s_catanhf.c: Likewise.
59571 * math/s_catanhl.c: Likewise.
59572 * math/s_catanl.c: Likewise.
59573 * math/s_cexp.c: Likewise.
59574 * math/s_cexpf.c: Likewise.
59575 * math/s_cexpl.c: Likewise.
59576 * math/s_clog.c: Likewise.
59577 * math/s_clog10.c: Likewise.
59578 * math/s_clog10f.c: Likewise.
59579 * math/s_clog10l.c: Likewise.
59580 * math/s_clogf.c: Likewise.
59581 * math/s_clogl.c: Likewise.
59582 * math/s_csqrt.c: Likewise.
59583 * math/s_csqrtf.c: Likewise.
59584 * math/s_csqrtl.c: Likewise.
59585 * math/s_ctanf.c: Likewise.
59586 * math/s_ctanh.c: Likewise.
59587 * math/s_ctanhf.c: Likewise.
59588 * math/s_ctanhl.c: Likewise.
59589 * math/s_ctanl.c: Likewise.
59590
59591 * math/math_private.h: Define __nan, __nanf, __nanl.
59592 * math/s_cacosh.c: Include <math_private.h>.
59593 * math/s_cacoshl.c: Likewise.
59594 * math/s_casinh.c: Likewise.
59595 * math/s_casinhf.c: Likewise.
59596 * math/s_casinhl.c: Likewise.
59597 * math/s_ccos.c: Rely entire on ccosh.
59598 * math/s_ccosf.c: Rely entire on ccoshf.
59599 * math/s_ccosl.c: Rely entirely on ccoshl.
59600 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59601 Remove tests for FE_INVALID.
59602 * math/s_ccoshf.c: Likewise.
59603 * math/s_ccoshl.c: Likewise.
59604 * math/s_csin.c: Likewise.
59605 * math/s_csinf.c: Likewise.
59606 * math/s_csinh.c Likewise.
59607 * math/s_csinhf.c: Likewise.
59608 * math/s_csinhl.c: Likewise.
59609 * math/s_csinl.c: Likewise.
59610 * math/s_ctan.c: Likewise.
59611 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59612 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59614
59615 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59616
59617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59618 compilation problems.
59619
59620 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59621 __builtin_expect.
59622
59623 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59624
59625 * sysdeps/i386/configure.in: Test for -mfma4 option.
59626 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59627 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59628 COMMON_CPUID_INDEX_80000001.
59629 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59630 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59631 use it if FMA3 is not supported.
59632 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59633
59634 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59635 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59636
59637 2011-10-20 Andreas Schwab <schwab@redhat.com>
59638
59639 [BZ #12892]
59640 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59641 it would create a cycle with a link time dependency.
59642
59643 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59644
59645 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59646 instruction.
59647 * string/Makefile (strop-tests): Add rawmemchr.
59648 * string/test-rawmemchr.c: New file.
59649
59650 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59651 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59652 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59653 when compiling str{,n}casecmp and when AVX is available. Hook up
59654 new optimized code in initializers.
59655
59656 2011-10-19 Andreas Schwab <schwab@redhat.com>
59657
59658 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59659 __feraiseexcept instead of feraiseexcept.
59660
59661 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59662
59663 * math/math_private.h: Define defaults for libc_fetestexcept and
59664 libc_feupdateenv.
59665 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59666 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59667 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59668 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59669 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59670 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59671 libc_fetestexcept and libc_feupdateenv.
59672
59673 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59674 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59675 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59676 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59677 libc_feholdexcept_setround.
59678
59679 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59680 Add s_nearbyint-c and s_nearbyintf-c.
59681 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59682 nearbyintf inlines.
59683 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59684 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59685 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59686 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59687
59688 * math/math_private.h: Define defaults for libc_fegetround,
59689 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59690 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59691 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59692 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59693 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59694 standard functions.
59695 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59696 Remove comments and hacks for old compiler versions.
59697 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59698 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59699 libc_feholdexceptl.
59700
59701 2011-10-18 Andreas Schwab <schwab@redhat.com>
59702
59703 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59704 (__feraiseexcept_renamed): Add __NTH.
59705 (feraiseexcept): Add __NTH. Rename local variables to fix
59706 namespace violations.
59707
59708 2011-10-17 Ulrich Drepper <drepper@gmail.com>
59709
59710 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59711
59712 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59713
59714 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59715 recently added interfaces.
59716 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59717
59718 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59719 about macro parameter expansion.
59720
59721 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59722 __NO_MATH_INLINES is defined. Cleanups.
59723
59724 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59725 and __floorf is target has SSE4.1.
59726 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59727 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59728 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59729 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59730
59731 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59732 name.
59733 (floorf): Likewise.
59734
59735 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59736
59737 2011-10-17 Andreas Schwab <schwab@redhat.com>
59738
59739 * misc/sys/cdefs.h: Fix last change.
59740
59741 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59742 database lookup.
59743
59744 2011-10-16 Ulrich Drepper <drepper@gmail.com>
59745
59746 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59747
59748 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59750 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59751 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59752 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59753 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59754 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59755 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59756 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59757 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59758 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59759 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59760 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59761 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59762 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59763 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59764 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59765 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59766 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59767 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59768 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59769 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59770
59771 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59772 ceil, ceilf, floor, floorf.
59773
59774 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59775 Perform IRELATIVE relocations last.
59776
59777 * elf/do-rel.h: Add another parameter nrelative, replacing the
59778 local variable with the same name. Change name of the function
59779 to end in Rel or Rela (uppercase).
59780 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59781 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
59782 elf_dynamic_do_##reloc function.
59783
59784 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59785
59786 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59787 is sufficient, at least on modern CPUs.
59788
59789 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59790
59791 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59792 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59793
59794 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59795 __expl_finite.
59796 * math/bits/math-finite.h: Add entries for exp.
59797 * math/e_expl.c: Add __*_finite alias.
59798 * sysdeps/i386/fpu/e_exp.S: Likewise.
59799 * sysdeps/i386/fpu/e_expf.S: Likewise.
59800 * sysdeps/i386/fpu/e_expl.c: Likewise.
59801 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59802 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59803 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59804 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59805 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59806 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59807 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59808
59809 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59810 is sufficient, at least on modern CPUs.
59811
59812 * ctype/ctype-info.c (__ctype_init): Define.
59813 * include/ctype.h (__ctype_init): Declare.
59814 (__ctype_b_loc): The variable is always initialized.
59815 (__ctype_toupper_loc): Likewise.
59816 (__ctype_tolower_loc): Likewise.
59817 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59818 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59819
59820 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
59821
59822 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59823
59824 * configure.in: Also look in $cxxmachine/include for C++ system
59825 headers.
59826
59827 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59828
59829 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59830 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59831 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59832 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
59833 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59834 (USE_AS_WMEMCMP): New macro.
59835 Fixing indents.
59836 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59837 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59838 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59839 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59841 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59842 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59843 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59844 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59845 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59846 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59847 (USE_AS_WMEMCMP): New macro.
59848 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59849 * sysdeps/string/test-memcmp.c: Update.
59850 Fix simple_wmemcmp.
59851 Add new tests.
59852 * wcsmbs/wmemcmp.c: Update.
59853 (WMEMCMP): New macro.
59854 Fix overflow bug.
59855
59856 2011-10-12 Andreas Jaeger <aj@suse.de>
59857
59858 [BZ #13268]
59859 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59860
59861 2011-10-15 Ulrich Drepper <drepper@gmail.com>
59862
59863 * libio/iofwide.c (do_length): Avoid warning.
59864
59865 * ctype/ctype.h (__isctype_f): Add missing __THROW.
59866
59867 2011-10-14 Ulrich Drepper <drepper@gmail.com>
59868
59869 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59870
59871 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59872 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59873 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59874 * sysdeps/i386/i686/fpu/e_log.S: New file.
59875 * sysdeps/i386/i686/fpu/e_logf.S: New file.
59876 * sysdeps/i386/i686/fpu/e_logl.S: New file.
59877
59878 * ctype/ctype.h: Add support for inlined isXXX functions when
59879 compiling C++ code.
59880
59881 2011-10-14 Andreas Schwab <schwab@redhat.com>
59882
59883 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59884
59885 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59886
59887 2011-10-13 Roland McGrath <roland@hack.frob.com>
59888
59889 [BZ #13291]
59890 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59891
59892 2011-10-13 Andreas Schwab <schwab@redhat.com>
59893
59894 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59895 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59896 feraiseexcept.
59897
59898 * sysdeps/x86_64/memrchr.S: Check for zero size.
59899
59900 * string/stratcliff.c: Add memrchr tests.
59901
59902 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59903
59904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59905 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59906 rawmemchr-sse2 rawmemchr-sse2-bsf.
59907 * sysdeps/i386/i686/multiarch/memchr.S: New file.
59908 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
59909 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
59910 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
59911 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
59912 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
59913 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
59914 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
59915 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
59916 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
59917 * string/memrchr.c (MEMRCHR): New macro.
59918
59919 2011-10-12 Ulrich Drepper <drepper@gmail.com>
59920
59921 Add integration with gcc's -ffinite-math-only and optimize wrapper
59922 functions in libm.
59923 * Versions.def: Define GLIBC_2.15 version for libm.
59924 * math/Makefile (headers): Add bits/math-finite.h.
59925 * math/bits/math-finite.h: New file.
59926 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
59927 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
59928 * math/e_acoshl.c: Add __*_finite alias.
59929 * math/e_acosl.c: Likewise.
59930 * math/e_asinl.c: Likewise.
59931 * math/e_atan2l.c: Likewise.
59932 * math/e_atanhl.c: Likewise.
59933 * math/e_coshl.c: Likewise.
59934 * math/e_exp10.c: Likewise.
59935 * math/e_exp10f.c: Likewise.
59936 * math/e_exp10l.c: Likewise.
59937 * math/e_exp2l.c: Likewise.
59938 * math/e_fmodl.c: Likewise.
59939 * math/e_gammal_r.c: Likewise.
59940 * math/e_hypotl.c: Likewise.
59941 * math/e_j0l.c: Likewise.
59942 * math/e_j1l.c: Likewise.
59943 * math/e_jnl.c: Likewise.
59944 * math/e_lgammal_r.c: Likewise.
59945 * math/e_log10l.c: Likewise.
59946 * math/e_log2l.c: Likewise.
59947 * math/e_logl.c: Likewise.
59948 * math/e_powl.c: Likewise.
59949 * math/e_sinhl.c: Likewise.
59950 * math/e_sqrtl.c: Likewise.
59951 * math/e_scalb.c: Completely rewritten and optimized.
59952 * math/e_scalbf.c: Likewise.
59953 * math/e_scalbl.c: Likewise.
59954 * math/w_acos.c: Likewise.
59955 * math/w_acosf.c: Likewise.
59956 * math/w_acosl.c: Likewise.
59957 * math/w_acosh.c: Likewise.
59958 * math/w_acoshf.c: Likewise.
59959 * math/w_acoshl.c: Likewise.
59960 * math/w_asin.c: Likewise.
59961 * math/w_asinf.c: Likewise.
59962 * math/w_asinl.c: Likewise.
59963 * math/w_atan2.c: Likewise.
59964 * math/w_atan2f.c: Likewise.
59965 * math/w_atan2l.c: Likewise.
59966 * math/w_atanh.c: Likewise.
59967 * math/w_atanhf.c: Likewise.
59968 * math/w_atanhl.c: Likewise.
59969 * math/w_exp10.c: Likewise.
59970 * math/w_exp10f.c: Likewise.
59971 * math/w_exp10l.c: Likewise.
59972 * math/w_fmod.c: Likewise.
59973 * math/w_fmodf.c: Likewise.
59974 * math/w_fmodl.c: Likewise.
59975 * math/w_j0.c: Likewise.
59976 * math/w_j0f.c: Likewise.
59977 * math/w_j0l.c: Likewise.
59978 * math/w_j1.c: Likewise.
59979 * math/w_j1f.c: Likewise.
59980 * math/w_j1l.c: Likewise.
59981 * math/w_jn.c: Likewise.
59982 * math/w_jnf.c: Likewise.
59983 * math/w_log.c: Likewise.
59984 * math/w_logf.c: Likewise.
59985 * math/w_logl.c: Likewise.
59986 * math/w_log10.c: Likewise.
59987 * math/w_log10f.c: Likewise.
59988 * math/w_log10l.c: Likewise.
59989 * math/w_log2.c: Likewise.
59990 * math/w_log2f.c: Likewise.
59991 * math/w_log2l.c: Likewise.
59992 * math/w_pow.c: Likewise.
59993 * math/w_powf.c: Likewise.
59994 * math/w_powl.c: Likewise.
59995 * math/w_remainder.c: Likewise.
59996 * math/w_remainderf.c: Likewise.
59997 * math/w_remainderl.c: Likewise.
59998 * math/w_scalb.c: Likewise.
59999 * math/w_scalbf.c: Likewise.
60000 * math/w_scalbl.c: Likewise.
60001 * math/w_sqrt.c: Likewise.
60002 * math/w_sqrtf.c: Likewise.
60003 * math/w_sqrtl.c: Likewise.
60004 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60005 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60006 used.
60007 * math/math_private.h: Declare __kernel_standard_f.
60008 * math/w_cosh.c: Remove cruft and optimize a bit.
60009 * math/w_coshf.c: Likewise.
60010 * math/w_coshl.c: Likewise.
60011 * math/w_exp2.c: Likewise.
60012 * math/w_exp2f.c: Likewise.
60013 * math/w_exp2l.c: Likewise.
60014 * math/w_hypot.c: Likewise.
60015 * math/w_hypotf.c: Likewise.
60016 * math/w_hypotl.c: Likewise.
60017 * math/w_lgamma.c: Likewise.
60018 * math/w_lgamma_r.c: Likewise.
60019 * math/w_lgammaf.c: Likewise.
60020 * math/w_lgammaf_r.c: Likewise.
60021 * math/w_lgammal.c: Likewise.
60022 * math/w_lgammal_r.c: Likewise.
60023 * math/w_sinh.c: Likewise.
60024 * math/w_sinhf.c: Likewise.
60025 * math/w_sinhl.c: Likewise.
60026 * math/w_tgamma.c: Likewise.
60027 * math/w_tgammaf.c: Likewise.
60028 * math/w_tgammal.c: Likewise.
60029 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60030 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60031 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60032 Minor optimizations. Pretty printing. Remove cruft.
60033 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60034 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60035 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60036 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60037 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60038 * sysdeps/i386/fpu/e_asin.S: Likewise.
60039 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60040 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60041 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60042 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60043 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60044 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60045 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60046 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60047 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60048 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60049 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60050 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60051 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60052 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60053 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60054 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60055 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60056 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60057 * sysdeps/i386/fpu/e_log.S: Likewise.
60058 * sysdeps/i386/fpu/e_log10.S: Likewise.
60059 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60060 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60061 * sysdeps/i386/fpu/e_log2.S: Likewise.
60062 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60063 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60064 * sysdeps/i386/fpu/e_logf.S: Likewise.
60065 * sysdeps/i386/fpu/e_logl.S: Likewise.
60066 * sysdeps/i386/fpu/e_pow.S: Likewise.
60067 * sysdeps/i386/fpu/e_powf.S: Likewise.
60068 * sysdeps/i386/fpu/e_powl.S: Likewise.
60069 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60070 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60071 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60072 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60073 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60074 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60075 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60076 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60077 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60078 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60081 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60082 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60083 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60084 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60085 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60086 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60087 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60088 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60089 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60091 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60092 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60094 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60095 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60096 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60098 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60099 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60100 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60101 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60102 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60103 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60104 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60105 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60106 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60107 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60108 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60109 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60110 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60112 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60113 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60114 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60115 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60116 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60117 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60118 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60119 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60120 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60121 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60122 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60123 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60124 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60125 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60126 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60127 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60128 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60129 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60130 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60131 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60132 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60133 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60134 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60135 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60136 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60137 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60138 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60139 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60140 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60142 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60143 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60144 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60146 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60147 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60148 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60149 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60150 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60152 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60153 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60154 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60155 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60156 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60157 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60158 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60159 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60160 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60161 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60162 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60163 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60164 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60165 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60166 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60167 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60168 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60169 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60170 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60171 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60172 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60173 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60174 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60175 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60176 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60177 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60178 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60179 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60180 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60181 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60182 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60183 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60184 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60185 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60186 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60187 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60188 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60189 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60190 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60191 (__isnanf): Likewise.
60192 (__isinf_ns): Likewise.
60193 (__isinf_nsf): Likewise.
60194 (__finite): Likewise.
60195 (__finitef): Likewise.
60196 (__ieee754_sqrt): Define as macro.
60197 (__ieee754_sqrtf): Define as macro.
60198 (__ieee754_sqrtl): Define as macro.
60199 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60200 inlined copy.
60201 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60202 __FINITE_MATH_ONLY__ consistent.
60203 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60204
60205 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60206
60207 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60208 of rawmemchr.
60209
60210 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60211
60212 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60213
60214 * po/ja.po: Update from translation team.
60215
60216 2011-10-08 Roland McGrath <roland@hack.frob.com>
60217
60218 * locale/programs/locarchive.c (prepare_address_space): New function.
60219 (create_archive, enlarge_archive, open_archive): Use it.
60220
60221 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60222 inside [SHARED], where it is used.
60223
60224 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60225
60226 * nss/getent.c (netgroup_keys): Remove unused variable.
60227 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60228
60229 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60230
60231 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60232 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60234 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60235 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60236 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60237 * math/Makefile (libm-calls): Add s_isinf_ns.
60238 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60239 * math/multc3.c: Likewise.
60240 * math/s_casin.c: Likewise.
60241 * math/s_casinf.c: Likewise.
60242 * math/s_casinl.c: Likewise.
60243 * math/s_ccos.c: Likewise.
60244 * math/s_ccosf.c: Likewise.
60245 * math/s_ccosl.c: Likewise.
60246 * math/s_ctan.c: Likewise.
60247 * math/s_ctanf.c: Likewise.
60248 * math/s_ctanh.c: Likewise.
60249 * math/s_ctanhf.c: Likewise.
60250 * math/s_ctanhl.c: Likewise.
60251 * math/s_ctanl.c: Likewise.
60252 * math/w_fmod.c: Likewise.
60253 * math/w_fmodf.c: Likewise.
60254 * math/w_fmodl.c: Likewise.
60255 * math/w_remainder.c: Likewise.
60256 * math/w_remainderf.c: Likewise.
60257 * math/w_remainderl.c: Likewise.
60258 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60259 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60260 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60262 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60263 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60264 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60265 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60266
60267 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60268 of the number.
60269 * stdio-common/printf_fphex.c: Likewise.
60270 * stdio-common/printf_size.c: Likewise.
60271
60272 * math/e_exp10.c: Include math_private.h using <...> not "...".
60273 * math/e_exp10f.c: Likewise.
60274 * math/e_exp10l.c: Likewise.
60275 * math/e_exp2l.c: Likewise.
60276 * math/e_j0l.c: Likewise.
60277 * math/e_j1l.c: Likewise.
60278 * math/e_jnl.c: Likewise.
60279 * math/e_lgammal_r.c: Likewise.
60280 * math/e_rem_pio2l.c: Likewise.
60281 * math/e_scalb.c: Likewise.
60282 * math/e_scalbf.c: Likewise.
60283 * math/e_scalbl.c: Likewise.
60284 * math/k_cosl.c: Likewise.
60285 * math/k_sinl.c: Likewise.
60286 * math/k_tanl.c: Likewise.
60287 * math/s_cacoshf.c: Likewise.
60288 * math/s_catan.c: Likewise.
60289 * math/s_catanf.c: Likewise.
60290 * math/s_catanh.c: Likewise.
60291 * math/s_catanhf.c: Likewise.
60292 * math/s_catanhl.c: Likewise.
60293 * math/s_catanl.c: Likewise.
60294 * math/s_ccosh.c: Likewise.
60295 * math/s_ccoshf.c: Likewise.
60296 * math/s_ccoshl.c: Likewise.
60297 * math/s_cexp.c: Likewise.
60298 * math/s_cexpf.c: Likewise.
60299 * math/s_cexpl.c: Likewise.
60300 * math/s_clog.c: Likewise.
60301 * math/s_clog10.c: Likewise.
60302 * math/s_clog10f.c: Likewise.
60303 * math/s_clog10l.c: Likewise.
60304 * math/s_clogf.c: Likewise.
60305 * math/s_clogl.c: Likewise.
60306 * math/s_csin.c: Likewise.
60307 * math/s_csinf.c: Likewise.
60308 * math/s_csinh.c: Likewise.
60309 * math/s_csinhf.c: Likewise.
60310 * math/s_csinhl.c: Likewise.
60311 * math/s_csinl.c: Likewise.
60312 * math/s_csqrt.c: Likewise.
60313 * math/s_csqrtf.c: Likewise.
60314 * math/s_csqrtl.c: Likewise.
60315 * math/s_ctan.c: Likewise.
60316 * math/s_ctanf.c: Likewise.
60317 * math/s_ctanh.c: Likewise.
60318 * math/s_ctanhf.c: Likewise.
60319 * math/s_ctanhl.c: Likewise.
60320 * math/s_ctanl.c: Likewise.
60321 * math/s_ldexp.c: Likewise.
60322 * math/s_ldexpf.c: Likewise.
60323 * math/s_ldexpl.c: Likewise.
60324 * math/s_significand.c: Likewise.
60325 * math/s_significandf.c: Likewise.
60326 * math/s_significandl.c: Likewise.
60327 * math/w_acos.c: Likewise.
60328 * math/w_acosf.c: Likewise.
60329 * math/w_acosh.c: Likewise.
60330 * math/w_acoshf.c: Likewise.
60331 * math/w_acoshl.c: Likewise.
60332 * math/w_acosl.c: Likewise.
60333 * math/w_asin.c: Likewise.
60334 * math/w_asinf.c: Likewise.
60335 * math/w_asinl.c: Likewise.
60336 * math/w_atan2.c: Likewise.
60337 * math/w_atan2f.c: Likewise.
60338 * math/w_atan2l.c: Likewise.
60339 * math/w_atanh.c: Likewise.
60340 * math/w_atanhf.c: Likewise.
60341 * math/w_atanhl.c: Likewise.
60342 * math/w_cosh.c: Likewise.
60343 * math/w_coshf.c: Likewise.
60344 * math/w_coshl.c: Likewise.
60345 * math/w_dremf.c: Likewise.
60346 * math/w_exp10.c: Likewise.
60347 * math/w_exp10f.c: Likewise.
60348 * math/w_exp10l.c: Likewise.
60349 * math/w_exp2.c: Likewise.
60350 * math/w_exp2f.c: Likewise.
60351 * math/w_fmod.c: Likewise.
60352 * math/w_fmodf.c: Likewise.
60353 * math/w_fmodl.c: Likewise.
60354 * math/w_hypot.c: Likewise.
60355 * math/w_hypotf.c: Likewise.
60356 * math/w_hypotl.c: Likewise.
60357 * math/w_j0.c: Likewise.
60358 * math/w_j0f.c: Likewise.
60359 * math/w_j0l.c: Likewise.
60360 * math/w_j1.c: Likewise.
60361 * math/w_j1f.c: Likewise.
60362 * math/w_j1l.c: Likewise.
60363 * math/w_jn.c: Likewise.
60364 * math/w_jnf.c: Likewise.
60365 * math/w_jnl.c: Likewise.
60366 * math/w_lgamma.c: Likewise.
60367 * math/w_lgamma_r.c: Likewise.
60368 * math/w_lgammaf.c: Likewise.
60369 * math/w_lgammaf_r.c: Likewise.
60370 * math/w_lgammal.c: Likewise.
60371 * math/w_lgammal_r.c: Likewise.
60372 * math/w_log.c: Likewise.
60373 * math/w_log10.c: Likewise.
60374 * math/w_log10f.c: Likewise.
60375 * math/w_log10l.c: Likewise.
60376 * math/w_log2.c: Likewise.
60377 * math/w_log2f.c: Likewise.
60378 * math/w_log2l.c: Likewise.
60379 * math/w_logf.c: Likewise.
60380 * math/w_logl.c: Likewise.
60381 * math/w_pow.c: Likewise.
60382 * math/w_powf.c: Likewise.
60383 * math/w_powl.c: Likewise.
60384 * math/w_remainder.c: Likewise.
60385 * math/w_remainderf.c: Likewise.
60386 * math/w_remainderl.c: Likewise.
60387 * math/w_scalb.c: Likewise.
60388 * math/w_scalbf.c: Likewise.
60389 * math/w_scalbl.c: Likewise.
60390 * math/w_sinh.c: Likewise.
60391 * math/w_sinhf.c: Likewise.
60392 * math/w_sinhl.c: Likewise.
60393 * math/w_sqrt.c: Likewise.
60394 * math/w_sqrtf.c: Likewise.
60395 * math/w_sqrtl.c: Likewise.
60396 * math/w_tgamma.c: Likewise.
60397 * math/w_tgammaf.c: Likewise.
60398 * math/w_tgammal.c: Likewise.
60399
60400 * po/ja.po: Update from translation team.
60401
60402 2011-09-29 Andreas Jaeger <aj@suse.de>
60403
60404 [BZ #13179]
60405 * sunrpc/netname.c (netname2host): Fix logic.
60406
60407 [BZ #6779]
60408 [BZ #6783]
60409 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60410 correctly.
60411 * math/w_remainder.c (__remainder): Likewise.
60412 * math/w_remainderf.c (__remainderf): Likewise.
60413 * math/libm-test.inc (remainder_test): Add test cases.
60414
60415 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60416
60417 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60418 sdiv_qrnnd.
60419
60420 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60421
60422 * string/test-memcmp.c: Avoid unncessary #defines.
60423 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60424
60425 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60426
60427 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60428 Use new sse2 version for core i3 - i7 as it's faster
60429 than sse42 version.
60430 (bit_Prefer_PMINUB_for_stringop): New.
60431 * sysdeps/x86_64/rawmemchr.S: Update.
60432 Replace with faster SSE2 version.
60433 * sysdeps/x86_64/memrchr.S: New file.
60434 * sysdeps/x86_64/memchr.S: Update.
60435 Replace with faster SSE2 version.
60436
60437 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60438
60439 * elf/dl-load.c (lose): Add cast to avoid warning.
60440
60441 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60442
60443 * po/ca.po: Update from translation team.
60444
60445 * inet/getnetgrent_r.c: Hook up nscd.
60446 * nscd/Makefile (routines): Add nscd_netgroup.
60447 (nscd-modules): Add netgroupcache.
60448 (CFLAGS-netgroupcache.c): Define.
60449 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60450 (cache_search): Add const to second parameter.
60451 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60452 INNETGR.
60453 (dbs): Add netgrdb entry.
60454 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60455 (verify_persistent_db): Handle netgrdb.
60456 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60457 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60458 GETFDNETGR.
60459 (netgroup_response_header): Define.
60460 (innetgroup_response_header): Define.
60461 (datahead): Add netgroup_response_header and innetgroup_response_header
60462 elements.
60463 * nscd/nscd.conf: Add entries for netgroup cache.
60464 * nscd/nscd.h (dbtype): Add netgrdb.
60465 (_PATH_NSCD_NETGROUP_DB): Define.
60466 (netgroup_iov_disabled): Declare.
60467 (xmalloc, xcalloc, xrealloc): Move declarations here.
60468 (cache_search): Adjust prototype.
60469 Add netgroup-related prototypes.
60470 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60471 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60472 (__nscd_innetgr): Declare.
60473 * nscd/selinux.c (perms): Use access_vector_t as element type and
60474 add netgroup-related initializers.
60475 * nscd/netgroupcache.c: New file.
60476 * nscd/nscd_netgroup.c: New file.
60477 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60478 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60479 For four parameters use innetgr.
60480 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60481 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60482 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60483 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60484
60485 * nscd/connections.c (register_traced_file): Don't register file
60486 for disabled databases.
60487
60488 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60489
60490 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60491
60492 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60493 from tree and freeing node.
60494
60495 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60496
60497 * nss/nsswitch.c (__nss_database_lookup): Handle
60498 nss_parse_service_list out of memory case.
60499
60500 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60501
60502 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60503 out of memory case.
60504
60505 2011-10-04 Andreas Schwab <schwab@redhat.com>
60506
60507 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60508 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60509 pass it down.
60510 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60511 elf_machine_rela, elf_machine_lazy_rel.
60512 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60513 (ELF_DYNAMIC_DO_REL): Likewise.
60514 (ELF_DYNAMIC_DO_RELA): Likewise.
60515 (ELF_DYNAMIC_RELOCATE): Likewise.
60516 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60517 to ELF_DYNAMIC_DO_REL.
60518 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60519 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60520 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60521 elf_machine_rela.
60522 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60523 skip_ifunc, don't call ifunc function if non-zero.
60524 (elf_machine_rela): Likewise.
60525 (elf_machine_lazy_rel): Likewise.
60526 (elf_machine_lazy_rela): Likewise.
60527 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60528 (elf_machine_lazy_rel): Likewise.
60529 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60530 Likewise.
60531 (elf_machine_lazy_rel): Likewise.
60532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60533 Likewise.
60534 (elf_machine_lazy_rel): Likewise.
60535 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60536 (elf_machine_lazy_rel): Likewise.
60537 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60538 (elf_machine_lazy_rel): Likewise.
60539 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60540 (elf_machine_lazy_rel): Likewise.
60541 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60542 (elf_machine_lazy_rel): Likewise.
60543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60544 (elf_machine_lazy_rel): Likewise.
60545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60546 (elf_machine_lazy_rel): Likewise.
60547
60548 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60549
60550 * nss/nss_files/files-init.c (_nss_files_init): Use static
60551 initialization for all the *_traced_file variables.
60552
60553 2011-09-28 Andreas Schwab <schwab@redhat.com>
60554
60555 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60556
60557 2011-09-27 Roland McGrath <roland@hack.frob.com>
60558
60559 [BZ #13226]
60560 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60561
60562 2011-09-27 Andreas Schwab <schwab@redhat.com>
60563
60564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60565 Reread the line before reparsing it.
60566
60567 2011-09-26 Andreas Schwab <schwab@redhat.com>
60568
60569 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60570
60571 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60572 Maxim Kuvyrkov <maxim@codesourcery.com>
60573 Joseph Myers <joseph@codesourcery.com>
60574
60575 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60576 if needed for __stack_chk_guard.
60577
60578 2011-09-19 Roland McGrath <roland@hack.frob.com>
60579
60580 * sysdeps/posix/spawni.c (script_execute): Always define it.
60581 It will be optimized away if unused.
60582 (maybe_script_execute): New function.
60583 (__spawni): Call it.
60584
60585 * Makerules: Don't include tls.make.
60586 (config-tls): Always set to thread.
60587 * tls.make.c: File removed.
60588
60589 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60590
60591 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60592 * config.make.in (CPPFLAGS-config): New substituted variable.
60593
60594 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60595
60596 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60597
60598 [BZ #13192]
60599 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60600 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60601
60602 2011-09-15 Roland McGrath <roland@hack.frob.com>
60603
60604 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60605 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60606 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60607 (CALL_FAIL): Likewise.
60608 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60609 (CALL_FAIL): Macro removed.
60610 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60611
60612 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60613
60614 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60615 for __FINITE_MATH_ONLY__ == 1.
60616
60617 2011-09-15 Andreas Schwab <schwab@redhat.com>
60618
60619 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60620 __ieee754_sqrt instead of sqrt.
60621 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60622 __ieee754_sqrtf instead of sqrtf.
60623 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60624 __floorf instead of floorf.
60625 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60626 __floorf, __truncf instead of floorf, truncf.
60627
60628 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60629
60630 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60631
60632 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60633 __extern_always_inline.
60634 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60635 32-bit.
60636
60637 2011-09-14 Andreas Schwab <schwab@redhat.com>
60638
60639 * elf/rtld.c (dl_main): Also relocate in dependency order when
60640 doing symbol dependency testing.
60641
60642 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60643
60644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60645 Always define `refsym'.
60646
60647 2011-09-13 Andreas Schwab <schwab@redhat.com>
60648
60649 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60650 (__FD_ELT): Renamed from __FDELT.
60651 * misc/bits/select2.h (__FD_ELT): Likewise.
60652 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60653 __FD_MASK instead of __FDELT, __FDMASK.
60654 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60655 Likewise.
60656 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60657 Likewise.
60658
60659 * elf/Makefile (gen-ldd): Fix pattern.
60660
60661 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60662 (init_tls): Likewise.
60663
60664 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60665
60666 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60667
60668 2011-09-12 Andreas Schwab <schwab@redhat.com>
60669
60670 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60671 `struct cmsghdr *' instead of `void *'.
60672 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60673 Likewise.
60674
60675 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60676
60677 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60678 if non-absolute.
60679 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60680 ldd_rewrite_script.
60681
60682 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60683
60684 * configure.in: Remove --with-tls option.
60685 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60686 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60687 out in case it is missing.
60688 * sysdeps/ia64/elf/configure.in: Likewise.
60689 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60690 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60691 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60692 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60693 * sysdeps/sh/elf/configure.in: Likewise.
60694 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60695 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60696 * sysdeps/x86_64/elf/configure.in: Likewise.
60697 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60698 * sysdeps/mach/hurd/tls.h: Likewise.
60699
60700 [BZ #13067]
60701 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60702
60703 [BZ #13090]
60704 * configure.in: Fix use of AC_INIT.
60705
60706 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60707
60708 2011-09-10 Ulrich Drepper <drepper@gmail.com>
60709
60710 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60711 __set_errno.
60712 * malloc/hooks.c: Likewise.
60713
60714 [BZ #11929]
60715 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
60716 variables statically.
60717 (narenas): Initialize.
60718 (list_lock): Initialize.
60719 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
60720 initializtion of main_arena and list_lock. Small cleanups.
60721 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60722 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
60723 Add initializers to main_arena and mp_.
60724 (malloc_state): Remove pagesize member. Change all users to use
60725 GLRO(dl_pagesize).
60726
60727 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60728 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
60729 is always initialized.
60730
60731 * malloc/malloc.c: Removed unused configurations and dead code.
60732 * malloc/arena.c: Likewise.
60733 * malloc/hooks.c: Likewise.
60734 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60735
60736 * include/tls.h: Removed. USE___THREAD must always be defined.
60737 * bits/libc-tsd.h: Don't handle !USE___THREAD.
60738 * elf/dl-libc.c: Likewise.
60739 * elf/dl-tsd.c: Likewise.
60740 * include/errno.h: Likewise.
60741 * include/netdb.h: Likewise.
60742 * include/resolv.h: Likewise.
60743 * inet/herrno-loc.c: Likewise.
60744 * inet/herrno.c: Likewise.
60745 * malloc/arena.c: Likewise.
60746 * malloc/hooks.c: Likewise.
60747 * malloc/malloc.c: Likewise.
60748 * resolv/res-state.c: Likewise.
60749 * resolv/res_libc.c: Likewise.
60750 * sysdeps/i386/dl-machine.h: Likewise.
60751 * sysdeps/ia64/dl-machine.h: Likewise.
60752 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60753 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60754 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60755 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60756 * sysdeps/sh/dl-machine.h: Likewise.
60757 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60758 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60759 * sysdeps/unix/i386/sysdep.S: Likewise.
60760 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60761 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60762 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60765 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60766 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60770 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60771 * sysdeps/x86_64/dl-machine.h: Likewise.
60772 * tls.make.c: Likewise.
60773
60774 * configure.in: Remove --with-__thread option. Make tests for
60775 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60776 tls_model attribute fail if no support is available. Remove
60777 USE_IN_LIBIO.
60778 * Makeconfig: Adjust for dropped configure option. All features are
60779 now mandatory.
60780 * Makerules: Likewise.
60781 * Versions.def: Likewise.
60782 * argp/argp-fmtstream.c: Likewise.
60783 * argp/argp-fmtstream.h: Likewise.
60784 * argp/argp-help.c: Likewise.
60785 * assert/assert.c: Likewise.
60786 * config.h.in: Likewise.
60787 * config.make.in: Likewise.
60788 * configure: Likewise.
60789 * configure.in: Likewise.
60790 * csu/Versions: Likewise.
60791 * csu/init.c: Likewise.
60792 * elf/tst-audit2.c: Likewise.
60793 * elf/tst-tls10.c: Likewise.
60794 * elf/tst-tls10.h: Likewise.
60795 * elf/tst-tls11.c: Likewise.
60796 * elf/tst-tls12.c: Likewise.
60797 * elf/tst-tls14.c: Likewise.
60798 * elf/tst-tlsmod11.c: Likewise.
60799 * elf/tst-tlsmod12.c: Likewise.
60800 * elf/tst-tlsmod13.c: Likewise.
60801 * elf/tst-tlsmod13a.c: Likewise.
60802 * elf/tst-tlsmod14a.c: Likewise.
60803 * elf/tst-tlsmod15b.c: Likewise.
60804 * elf/tst-tlsmod16a.c: Likewise.
60805 * elf/tst-tlsmod16b.c: Likewise.
60806 * elf/tst-tlsmod7.c: Likewise.
60807 * elf/tst-tlsmod8.c: Likewise.
60808 * elf/tst-tlsmod9.c: Likewise.
60809 * gmon/gmon.c: Likewise.
60810 * grp/fgetgrent_r.c: Likewise.
60811 * grp/putgrent.c: Likewise.
60812 * hurd/fopenport.c: Likewise.
60813 * include/libc-symbols.h: Likewise.
60814 * include/tls.h: Likewise.
60815 * intl/gettextP.h: Likewise.
60816 * intl/loadinfo.h: Likewise.
60817 * locale/global-locale.c: Likewise.
60818 * locale/localeinfo.h: Likewise.
60819 * mach/devstream.c: Likewise.
60820 * malloc/arena.c: Likewise.
60821 * malloc/set-freeres.c: Likewise.
60822 * misc/err.c: Likewise.
60823 * misc/getttyent.c: Likewise.
60824 * misc/mntent_r.c: Likewise.
60825 * posix/getopt.c: Likewise.
60826 * posix/wordexp.c: Likewise.
60827 * pwd/fgetpwent_r.c: Likewise.
60828 * resolv/Versions: Likewise.
60829 * resolv/res_hconf.c: Likewise.
60830 * shadow/fgetspent_r.c: Likewise.
60831 * shadow/putspent.c: Likewise.
60832 * stdio-common/printf_fphex.c: Likewise.
60833 * stdio-common/tmpfile.c: Likewise.
60834 * stdlib/abort.c: Likewise.
60835 * stdlib/fmtmsg.c: Likewise.
60836 * sunrpc/auth_unix.c: Likewise.
60837 * sunrpc/clnt_perr.c: Likewise.
60838 * sunrpc/clnt_tcp.c: Likewise.
60839 * sunrpc/clnt_udp.c: Likewise.
60840 * sunrpc/clnt_unix.c: Likewise.
60841 * sunrpc/openchild.c: Likewise.
60842 * sunrpc/svc_simple.c: Likewise.
60843 * sunrpc/svc_tcp.c: Likewise.
60844 * sunrpc/svc_udp.c: Likewise.
60845 * sunrpc/svc_unix.c: Likewise.
60846 * sunrpc/xdr.c: Likewise.
60847 * sunrpc/xdr_array.c: Likewise.
60848 * sunrpc/xdr_rec.c: Likewise.
60849 * sunrpc/xdr_ref.c: Likewise.
60850 * sunrpc/xdr_stdio.c: Likewise.
60851
60852 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60853
60854 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60855
60856 2011-07-03 Andreas Jaeger <aj@suse.de>
60857
60858 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60859 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60860 regenerate with gen-libm-tests.pl.
60861
60862 2010-05-12 Petr Baudis <pasky@suse.cz>
60863
60864 [BZ #11589]
60865 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60866 around j0() zero points by switching to j1().
60867 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60868 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60870 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60871
60872 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60873
60874 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60875 instead of 0.
60876 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60877 instead of 0.
60878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60879 Patch in part by Pavel Roskin <proski@gnu.org>.
60880
60881 [BZ #13138]
60882 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60883 realloc.
60884 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
60885 Free memory block if necessary.
60886
60887 [BZ #12847]
60888 * libio/genops.c (INTDEF): For string streams the _lock pointer can
60889 be NULL. Don't lock in this case.
60890
60891 2011-09-09 Roland McGrath <roland@hack.frob.com>
60892
60893 * elf/elf.h (ELFOSABI_GNU): New macro.
60894 (ELFOSABI_LINUX): Define to that.
60895
60896 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
60897
60898 * string/strncat.c (strncat): Undef the symbol in case it has been
60899 defined in bits/string.h.
60900
60901 2011-09-09 Ulrich Drepper <drepper@gmail.com>
60902
60903 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60904
60905 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60906 link map.
60907
60908 2011-08-17 Andreas Jaeger <aj@suse.de>
60909
60910 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
60911
60912 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
60913 Ian Lance Taylor <iant@google.com>
60914
60915 * math/libm-test.inc (lround_test): New testcase.
60916 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
60917
60918 2011-09-08 Ulrich Drepper <drepper@gmail.com>
60919
60920 * Makefile: Remove support for automatic cvs check-ins.
60921 * Makerules: Likewise.
60922 * config.make.in: Likewise.
60923 * configure.in: Likewise.
60924 * intl/Makefile: Likewise.
60925 * locale/Makefile: Likewise.
60926 * po/Makefile: Likewise.
60927 * posix/Makefile: Likewise.
60928 * sysdeps/gnu/Makefile: Likewise.
60929 * sysdeps/mach/hurd/Makefile: Likewise.
60930 * sysdeps/sparc/sparc32/Makefile: Likewise.
60931
60932 [BZ #13118]
60933 * posix/Makefile (bug-regex32-ENV): Define.
60934 Patch by John Stanley <jpsinthemix@verizon.net>.
60935
60936 * misc/Makefile (headers): Add bits/select2.h.
60937 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
60938 * misc/bits/select2.h: New file.
60939 * include/bits/select2.h: New file.
60940 * debug/Makefile (routines): Add fdelt_chk.
60941 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
60942 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
60943 FD_ISSET.
60944 * debug/fdelt_chk.c: New file.
60945
60946 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
60947 * wcsmbs/test-wmemcmp.c: Likewise.
60948 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
60949 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
60950
60951 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60952
60953 * string/Makefile (strop-tests): Add memcmp.
60954 * string/test-wmemcmp.c: New file.
60955 * string/test-memcmp.c: Add wmemcmp support.
60956
60957 2011-09-08 Roland McGrath <roland@hack.frob.com>
60958
60959 [BZ #13153]
60960 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
60961 2011-07-19 change.
60962
60963 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
60964 garbage value in a __mach_port_mod_refs call in the cases of the
60965 task-self and thread-self ports.
60966
60967 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
60968
60969 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
60970
60971 2011-09-08 Andreas Schwab <schwab@redhat.com>
60972
60973 * elf/dl-load.c (lose): Check for non-null L.
60974
60975 2011-09-07 Ulrich Drepper <drepper@gmail.com>
60976
60977 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
60978
60979 * elf/dl-libc.c (dlerror_run): Pass back error code from
60980 dl_catch_error.
60981
60982 [BZ #13123]
60983 * elf/dl-load.c (lose): Free l_origin if it is valid.
60984
60985 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
60986 names.
60987 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
60988 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
60989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60990 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
60991 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
60992 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
60993
60994 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60995
60996 * sysdeps/powerpc/fpu/e_hypot.c: New file.
60997 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
60998 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
60999 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61000 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61001 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61002 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61003 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61004 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61005 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61006
61007 2011-08-15 Alan Modra <amodra@gmail.com>
61008
61009 [BZ #13092]
61010 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61011 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61012 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61013 ppc_mcount to static-only-routines.
61014 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61015 __mcount_internal.
61016 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61017 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61018
61019 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61020
61021 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61022 for finite and infinity parameters.
61023
61024 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61025
61026 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61027 and add nop instructions for throughput optimization.
61028 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61029
61030 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61031
61032 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61033 aligned copy for power7 with vector-scalar instructions.
61034 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61035
61036 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61037
61038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61039 AVX check.
61040
61041 2011-09-07 Andreas Schwab <schwab@redhat.com>
61042
61043 [BZ #13144]
61044 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61045 last change.
61046
61047 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61048
61049 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61050 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61051 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61052 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61053 clock_gettime.
61054
61055 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61056
61057 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61058 Forgot to demangle the pointer.
61059
61060 * sysdeps/i386/sysdep.h: Define atom_text_section.
61061 * sysdeps/x86_64/sysdep.h: Likewise.
61062 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61063 section with atom_text_section.
61064 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61065 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61066 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61067 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61068 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61069
61070 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61071 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61072 already be defined. Change to take two parameters and don't assign
61073 result to variable. Adjust all users.
61074 Define INTERNAL_GETTIME if not already defined.
61075 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61076 call.
61077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61078 HAVE_CLOCK_GETTIME_VSYSCALL.
61079 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61080
61081 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61082 gettimeofday vsyscall, just use time.
61083
61084 2011-09-06 Andreas Schwab <schwab@redhat.com>
61085
61086 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61087 <errno.h>.
61088
61089 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61090
61091 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61092 syscall on x86-64.
61093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61094 syscall.
61095 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61096 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61097 syscall if possible.
61098
61099 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61100
61101 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61102 e_ident. Don't pass to find_mapsXX.
61103 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61104
61105 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61106
61107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61108 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61109 * sysdeps/x86_64/multiarch/strchr.S: Update.
61110 Check bit_slow_BSF bit.
61111 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61112 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61113 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61114
61115 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61116
61117 [BZ #13134]
61118 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61119 before glibc 2.15.
61120 (tryshell): Define.
61121 (__spawni): Change last parameter to be flag. Test
61122 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61123 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61124 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61125 * posix/spawni.c: Likewise.
61126 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61127 * posix/spawnp.c: Likewise. Change normal version to use
61128 SPAWN_XFLAGS_USE_PATH.
61129 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61130 SPAWN_XFLAGS_TRY_SHELL.
61131
61132 [BZ #13150]
61133 * posix/glob.h: Remove gcc 1.x support.
61134
61135 [BZ #13068]
61136 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61137
61138 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61139
61140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61141 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61142 strrchr-sse2-bsf
61143 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61144 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61145 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61146 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61147 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61148 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61149
61150 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61151
61152 * sysdeps/x86_64/wcscmp.S: New file.
61153
61154 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61155 wcscmp-c wcscmp-sse2
61156 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61157 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61158 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61159 * wcsmbs/wcscmp.c: Allow renaming.
61160
61161 2011-09-05 David S. Miller <davem@davemloft.net>
61162
61163 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61164 stack slot, rather than the struct return pointer slot.
61165 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61166 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61168 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61169
61170 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61171
61172 * po/ja.po: Update from translation team.
61173
61174 [BZ #13144]
61175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61176 kernel in 64-bit binaries.
61177
61178 2011-09-01 David S. Miller <davem@davemloft.net>
61179
61180 * elf/elf.h (HWCAP_SPARC_*): Move to..
61181 * sysdeps/sparc/sysdep.h: this new file and add new values.
61182 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61183 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61184 _DL_HWCAP_COUNT to 24.
61185 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61186 entries.
61187 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61188 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61189 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61191 instead of magic constants.
61192 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61193
61194 2011-08-31 David S. Miller <davem@davemloft.net>
61195
61196 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61198 Reimplement to do errno handling inline.
61199 (SYSCALL_ERROR_HANDLER): New macro.
61200 (__SYSCALL_STRING): Do not do errno handling in asm.
61201 (__CLONE_SYSCALL_STRING): Delete.
61202 (__INTERNAL_SYSCALL_STRING): Delete.
61203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61204 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61205 (PSEUDO): Reimplement to do errno handling inline.
61206 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61207 (SYSCALL_ERROR_HANDLER): New macro.
61208 (__SYSCALL_STRING): Do not do errno handling in asm.
61209 (__CLONE_SYSCALL_STRING): Delete.
61210 (__INTERNAL_SYSCALL_STRING): Delete.
61211 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61212 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61213 i386.
61214 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61215 (inline_syscall*): Add 'err' argument.
61216 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61217 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61218 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61219 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61220
61221 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61222 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61223
61224 2011-08-30 Andreas Schwab <schwab@redhat.com>
61225
61226 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61227
61228 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61229
61230 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61231 directive.
61232
61233 2011-08-24 David S. Miller <davem@davemloft.net>
61234
61235 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61236
61237 2011-08-24 Andreas Schwab <schwab@redhat.com>
61238
61239 * elf/Makefile: Add rules to build and run unload8 test.
61240 * elf/unload8.c: New file.
61241 * elf/unload8mod1.c: New file.
61242 * elf/unload8mod1x.c: New file.
61243 * elf/unload8mod2.c: New file.
61244 * elf/unload8mod3.c: New file.
61245
61246 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61247 it wasn't used.
61248
61249 2011-08-23 David S. Miller <davem@davemloft.net>
61250
61251 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61252 subtract stack bias.
61253 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61254 %sp not %fp in calculations.
61255 (_JMPBUF_UNWINDS_ADJ): Likewise.
61256
61257 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61258 (aio_suspend): Call it to force an exception region around the
61259 AIO_MISC_WAIT() invocation.
61260
61261 2011-08-23 Andreas Schwab <schwab@redhat.com>
61262
61263 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61264 backslash.
61265
61266 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61267
61268 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61269 protection macro.
61270 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61271 and <dl-machine.h>.
61272 (Elf64_FuncDesc): Remove.
61273
61274 2011-08-22 David S. Miller <davem@davemloft.net>
61275
61276 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61277 sigaltstack check, add missing cfi directives.
61278 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61279 missing cfi directives, and sigaltstack handling.
61280
61281 2011-08-16 Andreas Schwab <schwab@redhat.com>
61282
61283 [BZ #11724]
61284 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61285 object is seen twice.
61286 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61287
61288 * elf/Makefile (distribute): Add tst-initorder2.c.
61289 (tests): Add tst-initorder2.
61290 (modules-names): Add tst-initorder2a tst-initorder2b
61291 tst-initorder2c tst-initorder2d. Add rules to build them.
61292 ($(objpfx)tst-initorder2.out): New rule.
61293 * elf/tst-initorder2.c: New file.
61294 * elf/tst-initorder2.exp: New file.
61295
61296 2011-08-22 Andreas Schwab <schwab@redhat.com>
61297
61298 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61299
61300 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61301 dependencies back to end of function.
61302
61303 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61304 $(elfobjdir)/ld.so.
61305
61306 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61307
61308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61309 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61311 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61312 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61313 of __vdso_gettimeofday.
61314 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61315 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61316 attribute_hidden.
61317 (_libc_vdso_platform_setup): Remove initialization of
61318 __vdso_gettimeofday and __vdso_time.
61319
61320 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61321
61322 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61323 and fgetc_unlocked.
61324 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61325 getc_unlocked.
61326
61327 * elf/dl-open.c (add_to_global): Report additions to the global scope
61328 for LD_DEBUG=scopes.
61329 (dl_open_worker): Also print scope of newly loaded dependencies.
61330 (_dl_show_scope): Indicate if there is no scope.
61331
61332 [BZ #13114]
61333 * stdio-common/Makefile (tests): Add bug24.
61334 * stdio-common/bug24.c: New file.
61335
61336 2011-08-19 Andreas Jaeger <aj@suse.de>
61337
61338 [BZ #13114]
61339 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61340 non-existant file when using close-on-exec mode.
61341
61342 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61343
61344 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61345 the very first instruction.
61346
61347 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61348 the CFI state in the end.
61349 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61350 inclusion of dl-trampoline.h.
61351 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61352
61353 2011-08-19 Andreas Schwab <schwab@redhat.com>
61354
61355 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61356 expectations for long double.
61357
61358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61359 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61360
61361 2011-08-14 David S. Miller <davem@davemloft.net>
61362
61363 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61364 artificual limit depends upon the system page size.
61365
61366 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61367
61368 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61369 * resolv/Makefile: Define CFLAGS-libresolv.
61370
61371 2011-08-17 Andreas Schwab <schwab@redhat.com>
61372
61373 * nss/makedb.c (compute_tables): Make variables used in nested
61374 function static.
61375
61376 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61377
61378 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61379 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61380 if buffer was too small.
61381
61382 * elf/pldd.c (main): Attach to all threads in the process.
61383 Rewrite /proc handling to use *at functions.
61384
61385 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61386
61387 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61388 specifies first scope to show.
61389 (dl_open_worker): Update callers. Move printing scope of new
61390 object to before the relocation.
61391 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61392 * sysdeps/generic/ldsodefs.h: Update declaration.
61393
61394 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61395 string for the scope number.
61396
61397 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61398
61399 * nscd/servicescache.c (cache_addserv): Make sure written is always
61400 initialized.
61401
61402 2011-08-14 Roland McGrath <roland@hack.frob.com>
61403
61404 * sysdeps/i386/i486/bits/atomic.h
61405 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61406 statement expression, so as to suppress "set but not used" warning.
61407 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61408
61409 * string/strncat.c (STRNCAT): Use prototype definition.
61410
61411 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61412 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61413 -Iprograms here.
61414 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61415 (localedef-modules): Add localedef.
61416 (locale-modules): Add locale.
61417
61418 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61419 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61420 to avoid a warning.
61421
61422 2011-08-14 David S. Miller <davem@davemloft.net>
61423
61424 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61425 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61426
61427 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61428
61429 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61430 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61431 * elf/rtld.c (dl_main): Set l_name of vDSO.
61432 Call _dl_show_scope when DL_DEBUG_SCOPES.
61433 (process_dl_debug): Recognize scopes flag and also set it for all.
61434 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61435 Declare _dl_show_scope.
61436
61437 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61438 (do_dlopen): Pass caller_dlopen to dl_open.
61439 (__libc_dlopen_mode): Initialize caller_dlopen.
61440
61441 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61442 of libc. Make tolower call locale-independent. Optimize a bit by
61443 using isdigit instead of isalnum.
61444 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61445
61446 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61447
61448 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61449 was a dependency or dynamically loaded.
61450
61451 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61452
61453 * intl/l10nflist.c: Allow architecture-specific pop function.
61454 * sysdeps/x86_64/l10nflist.c: New file.
61455
61456 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61457 classification.
61458
61459 2011-08-10 Andreas Schwab <schwab@redhat.com>
61460
61461 * include/dirent.h: Add libc_hidden_proto for scandirat and
61462 scandirat64. Don't declare __scandirat64.
61463 * dirent/scandirat.c: Add libc_hidden_def.
61464 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61465 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61466
61467 2011-08-10 David S. Miller <davem@davemloft.net>
61468
61469 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61470 enum.
61471 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61472 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61474
61475 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61476
61477 * Versions.def [libc]: Add GLIBC_2.15.
61478 * dirent/Makefile (routines): Add scandirat and scandirat64.
61479 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61480 GLIBC_2.15.
61481 * dirent/dirent.h: Declare scandirat and scandirat64.
61482 * dirent/scandirat.c: New file.
61483 * dirent/scandirat64.c: New file.
61484 * sysdeps/wordsize-64/scandirat.c: New file.
61485 * sysdeps/wordsize-64/scandirat64.c: New file.
61486 * dirent/opendir.c: Define opendirat.
61487 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61488 using scandirat.
61489 * dirent/scandir64.c: Adjust for scandir.c change.
61490 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61491 __scandirat64, and __scandir_cancel_handler.
61492 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61493 additional parameter and use openat instead of open (outside of ld.so).
61494 Add new __opendir as wrapper around __opendirat.
61495 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61496 here without requiring old scandirat implementation.
61497
61498 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61499
61500 * dirent/scandir.c (cancel_handler): Renamed to
61501 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61502 defined. Adjust users.
61503 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61504 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61505
61506 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61507
61508 * string/test-string.h (IMPL): Use __STRING to expand name and then
61509 stringify it.
61510
61511 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61512 of cleanups.
61513
61514 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61515
61516 * string/Makefile: Update.
61517 (strop-tests): Append strncat.
61518 * string/test-wcscmp.c: New file.
61519 New comprehensive test for wcscmp.
61520 * string/test-strcmp.c: Update.
61521 (WIDE): New define.
61522
61523 2011-07-22 Andreas Schwab <schwab@redhat.com>
61524
61525 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61526 line.
61527
61528 2011-07-26 Andreas Schwab <schwab@redhat.com>
61529
61530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61531 encoding to ACE if AI_IDN.
61532
61533 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61534
61535 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61536 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61537
61538 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61539
61540 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61541 Fix overflow bug in strncat.
61542 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61543
61544 * string/test-strncat.c: Update.
61545 Add new tests for checking overflow bugs.
61546
61547 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61548
61549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61550 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61551 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61552 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61554 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61555 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61556 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61557 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61558
61559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61560 (USE_AS_STRCAT): Define.
61561 Add strcat and strncat support.
61562 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61563
61564 2011-07-25 Andreas Schwab <schwab@redhat.com>
61565
61566 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61567 __n bigger than INT_MAX+1.
61568 (__strncmp_g): Likewise.
61569
61570 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61571
61572 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61573 * libio/stido.h: Likewise.
61574
61575 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61576 (AF_NFC): Define.
61577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61578 (AF_NFC): Define.
61579
61580 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61581 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61582 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61583 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61584 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61585
61586 [BZ #13021]
61587 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61588 installed.
61589
61590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61591 typo.
61592 (_dl_x86_64_save_sse): Likewise.
61593
61594 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61595
61596 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61597 OSXSAVE.
61598 (_dl_x86_64_save_sse): Likewise.
61599
61600 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61601
61602 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61603
61604 2011-07-21 Andreas Schwab <schwab@redhat.com>
61605
61606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61607 change.
61608 (_dl_x86_64_save_sse): Use correct AVX check.
61609
61610 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61611
61612 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61613 bug in strncpy/strncat.
61614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61615
61616 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61617
61618 * string/tester.c (test_strcat): Add tests for different alignments
61619 of source and destination.
61620 (test_strncat): Likewise.
61621
61622 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61623
61624 [BZ #12852]
61625 * posix/glob.c (glob): Check passed in values before using them in
61626 expressions to avoid some overflows.
61627 (glob_in_dir): Likewise.
61628
61629 [BZ #13007]
61630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61631 check for AVX enablement so that we don't crash with old kernels and
61632 new hardware.
61633 * elf/tst-audit4.c: Add same checks here.
61634 * elf/tst-audit6.c: Likewise.
61635
61636 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61637
61638 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61639
61640 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61641
61642 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61643
61644 * po/cs.po: Update from translation team.
61645 * po/bg.po: Likewise.
61646
61647 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61648
61649 * misc/sys/cdefs.h: Add support for const attribute.
61650 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61651 to gnu_dev_{major,minor,makedev} functions.
61652
61653 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61654
61655 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61656
61657 2011-07-20 Andreas Schwab <schwab@redhat.com>
61658
61659 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61660 strlen results.
61661
61662 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61663
61664 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61665 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61666 register in order to avoid conflicts with the soft frame pointer
61667 being held in r11 when necessary.
61668 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61669 (INTERNAL_VSYSCALL_NCS): Likewise.
61670
61671 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61672
61673 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61674 * elf/dl-fini.c (_dl_fini): Adjust caller.
61675 * elf/dl-close.c (_dl_close_worker): Likewise.
61676 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61677
61678 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61679
61680 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61681 "aux_cache->nlibs < 0".
61682
61683 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61684 in the reload-count case.
61685
61686 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61687
61688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61689 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61690 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61691 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61692 * sysdeps/x86_64/multiarch/strcat.S: New file.
61693 * sysdeps/x86_64/multiarch/strncat.S: New file.
61694 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61695 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61696 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61697 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61698 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61699 (USE_AS_STRCAT): Define.
61700 Add strcat and strncat support.
61701 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61703 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61704 * string/strncat.c: Update.
61705 (USE_AS_STRNCAT): Define.
61706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61707 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61708 and i7.
61709 * sysdeps/x86_64/multiarch/init-arch.h
61710 (bit_Prefer_PMINUB_for_stringop): New.
61711 (index_Prefer_PMINUB_for_stringop): Likewise.
61712 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61713 bit_Prefer_PMINUB_for_stringop.
61714
61715 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61716
61717 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61718 buffer64.
61719 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61720 of casting of buffer.
61721 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61722 buffer32 and buffer64.
61723 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61724 writes instead of casting of buffer.
61725 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61726 buffer32.
61727 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61728 casting of buffer.
61729
61730 2011-07-19 Andreas Schwab <schwab@redhat.com>
61731
61732 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61733
61734 2011-07-19 Ulrich Drepper <drepper@gmail.com>
61735
61736 * nscd/nscd.c (termination_handler): Don't do anything for a database
61737 if it has not yet been initialized.
61738
61739 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61740
61741 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61742
61743 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61744
61745 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61746
61747 2011-07-18 Ulrich Drepper <drepper@gmail.com>
61748
61749 * po/nl.po: Update from translation team.
61750 * po/sv.po: Likewise.
61751
61752 2011-07-16 Roland McGrath <roland@hack.frob.com>
61753
61754 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61755 now disallowed by GCC.
61756
61757 * configure.in (use-default-link): Default to yes if a test -shared
61758 link meets our qualifications.
61759 * configure: Regenerated.
61760
61761 * config.make.in (output-format): New variable.
61762 * configure.in: Check for ld --print-output-format support.
61763 * configure: Regenerated.
61764 * Makerules ($(common-objpfx)format.lds)
61765 [$(output-format) != unknown]: Just use $(output-format),
61766 instead of the linker-script munging.
61767
61768 2011-07-14 Roland McGrath <roland@hack.frob.com>
61769
61770 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61771 of $(common-objpfx)shlib.lds.
61772 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61773
61774 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61775 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61776
61777 * configure.in (-z relro check): Adjust test code to add a large
61778 writable data section after it.
61779 * configure: Regenerated.
61780
61781 2011-07-11 Roland McGrath <roland@hack.frob.com>
61782
61783 * configure.in (-z relro check): Fix test code to make the variable
61784 truly const.
61785 * configure: Regenerated.
61786
61787 2011-07-11 Ulrich Drepper <drepper@gmail.com>
61788
61789 * nscd/nscd.h (struct traced_file): Define.
61790 (struct database_dyn): Remove inotify_descr, reset_res, and filename
61791 elements. Add traced_files.
61792 (inotify_fd): Declare.
61793 (register_traced_file): Declare.
61794 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61795 (inotify_fd): Export.
61796 (resolv_conf_descr): Remove.
61797 (nscd_init): Move inotify descriptor creation to main.
61798 Don't register files for notification here.
61799 (register_traced_file): New function.
61800 (invalidate_cache): Don't use reset_res to determine whether to call
61801 res_init, go through the list of registered files.
61802 (main_loop_poll): The inotify descriptors are now stored in the
61803 structures for the traced files.
61804 (main_loop_epoll): Likewise
61805 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
61806 to __nss_disable_nscd.
61807 * nscd/cache.c (prune_cache): There is no single inotify descriptor
61808 for a database anymore. Check the records for all the registered
61809 files instead.
61810 * nss/Makefile (libnss_files-routines): Add files-init.
61811 (libnss_db-routines): Add db-init.
61812 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61813 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61814 * nss/nss_db/db-init.c: New file.
61815 * nss/nss_files/files-init.c: New file.
61816 * nss/nsswitch.c (nss_load_library): New function. Broken out of
61817 __nss_lookup_function.
61818 (__nss_lookup_function): Call nss_load_library.
61819 (nss_load_all_libraries): New function.
61820 (__nss_disable_nscd): Take parameter with callback function for files
61821 to register. Set is_nscd. Load all the DSOs for the NSS modules
61822 used for the cached services.
61823 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61824 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61825 options for features to all the files in nscd.
61826
61827 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61828
61829 2011-07-10 Roland McGrath <roland@hack.frob.com>
61830
61831 * csu/elf-init.c (__libc_csu_init): Comment typo.
61832
61833 2011-07-09 Ulrich Drepper <drepper@gmail.com>
61834
61835 * po/pl.po: Update from translation team.
61836 * po/ja.po: Likewise.
61837 * po/ru.po: Likewise.
61838 * po/ko.po: Likewise.
61839 * po/fr.po: Likewise.
61840
61841 2011-07-09 Roland McGrath <roland@hack.frob.com>
61842
61843 * configure.in (.ctors/.dtors header and trailer check):
61844 Use an empirical test on a built program.
61845 * configure: Regenerated.
61846
61847 * configure.in (-z relro check): Use an empirical test on a built DSO.
61848 Detect, but do not require, on ia64.
61849 * configure: Regenerated.
61850
61851 * configure.in (READELF): Find it with AC_CHECK_TOOL.
61852 Update tests that use readelf to use $READELF instead.
61853 * configure: Regenerated.
61854
61855 2011-07-08 Ulrich Drepper <drepper@gmail.com>
61856
61857 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61858 if the result is not used.
61859
61860 2011-07-05 Andreas Jaeger <aj@suse.de>
61861
61862 [BZ#9696]
61863 * stdlib/tst-strtod.c: Add testcase.
61864
61865 2011-07-07 Ulrich Drepper <drepper@gmail.com>
61866
61867 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61868 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61869 The latter has a higher limit. Take additional parameter to pass to
61870 the new function.
61871 (__pathconf): Pass file to __statfs_link_max.
61872 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61873 __statfs_link_max.
61874 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61875 __statfs_link_max.
61876
61877 [BZ #12868]
61878 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61879 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61880 Handle Lustre.
61881 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61882 (__statfs_filesize_max): Likewise.
61883 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61884
61885 2011-07-05 Andreas Jaeger <aj@suse.de>
61886
61887 * resolv/res_comp.c (dn_skipname): Remove unused variable.
61888
61889 2011-07-06 Marek Polacek <mpolacek@redhat.com>
61890
61891 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61892 `status' variable.
61893 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61894 Likewise.
61895
61896 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
61897
61898 * Makefile (strop-tests): Add strncat.
61899 * string/test-strncat.c: New file.
61900
61901 2011-06-30 Marek Polacek <mpolacek@redhat.com>
61902
61903 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61904
61905 2011-06-21 Andreas Jaeger <aj@suse.de>
61906
61907 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61908 Copy rule from iconvdata/Makefile.
61909
61910 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61911
61912 [BZ #12922]
61913 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
61914 but no long options are defined, just return 'W'.
61915
61916 2011-06-22 Marek Polacek <mpolacek@redhat.com>
61917
61918 [BZ #9696]
61919 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
61920
61921 2011-07-06 Ulrich Drepper <drepper@gmail.com>
61922
61923 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
61924 netgroups to read.
61925 (innetgr): Likewise.
61926
61927 2011-07-05 Roland McGrath <roland@hack.frob.com>
61928
61929 * config.make.in (install_root): Default to $(DESTDIR).
61930
61931 2011-07-05 Ulrich Drepper <drepper@gmail.com>
61932
61933 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
61934
61935 2011-07-02 Roland McGrath <roland@hack.frob.com>
61936
61937 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
61938
61939 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
61940 containing directory rather than embedding absolute directory names.
61941
61942 * scripts/check-local-headers.sh: Rewritten using awk.
61943 Match by word, not by line. Print error messages for matches.
61944 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
61945
61946 * Makerules [shlib-lds-flags empty]:
61947 ($(common-objpfx)libc_pic.opts): New target.
61948 ($(common-objpfx)libc_pic.os.clean): New target.
61949 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
61950
61951 * config.make.in (OBJCOPY): New variable.
61952 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
61953 * configure: Regenerated.
61954
61955 * config.make.in (use-default-link): New variable.
61956 * configure.in (use_default_link): Grok --with-default-link to set it.
61957 * configure: Regenerated.
61958 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
61959 (shlib-lds, shlib-lds-flags): Define to empty.
61960
61961 * Makerules (shlib-lds): New variable.
61962 (shlib-lds-flags): New variable.
61963 (build-shlib, build-moduile, build-module-asneeded): Use it.
61964 ($(common-objpfx)libc.so): Use $(shlib-lds).
61965 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
61966 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
61967
61968 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
61969 DT_FLAGS/DT_FLAGS_1 with zero flags.
61970
61971 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
61972 linker script munging.
61973
61974 2011-07-02 Ulrich Drepper <drepper@gmail.com>
61975
61976 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
61977 as 128-bit value.
61978 * crypt/sha512.c (sha512_process_block): Perform total addition using
61979 128-bit if possible.
61980 (__sha512_finish_ctx): Likewise.
61981 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
61982 as 64-bit value.
61983 * crypt/sha256.c (SWAP64): Define.
61984 (sha256_process_block): Perform total addition using 64-bit if
61985 possible.
61986 (__sha256_finish_ctx): Likewise.
61987
61988 2011-07-01 Ulrich Drepper <drepper@gmail.com>
61989
61990 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
61991 * nscd/initgrcache.c (addinitgroupsX): Likewise.
61992 * nscd/hstcache.c (cache_addhst): Likewise.
61993 * nscd/grpcache.c (cache_addgr): Likewise.
61994 * nscd/aicache.c (addhstaiX): Likewise
61995 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
61996
61997 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
61998
61999 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62000 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62001 * nscd/hstcache.c (cache_addhst): Likewise.
62002 * nscd/grpcache.c (cache_addgr): Likewise.
62003 * nscd/aicache.c (addhstaiX): Likewise
62004
62005 2011-07-01 Andreas Schwab <schwab@redhat.com>
62006
62007 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62008 domain only when needed.
62009
62010 2011-06-30 Andreas Schwab <schwab@redhat.com>
62011
62012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62013 is always restored.
62014
62015 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62016
62017 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62018 are re-adding the entry.
62019 * nscd/servicescache.c (cache_addserv): Likewise.
62020
62021 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62022
62023 * sysdeps/generic/dl-irel.h: fix protection against multiple
62024 inclusions.
62025 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62026
62027 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62028
62029 [BZ #12935]
62030 * malloc/memusage.sh: Fix quoting in message.
62031 * debug/xtrace.sh: Likewise.
62032
62033 * configure.in: Remove support for --experimental-malloc option, make
62034 it the default.
62035 * config.make.in: Likewise.
62036 * malloc/Makefile: Likewise.
62037
62038 2011-06-27 Andreas Schwab <schwab@redhat.com>
62039
62040 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62041 two-byte characters.
62042
62043 2011-06-27 Roland McGrath <roland@hack.frob.com>
62044
62045 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62046 AC_CACHE_CHECK invocation.
62047 * configure: Regenerated.
62048
62049 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62050
62051 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62052
62053 [BZ #12350]
62054 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62055 bit from old_res_options.
62056
62057 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62058
62059 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62060 value type for setfct.
62061
62062 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62063
62064 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62065 __gettimeofday instead of gettimeofday.
62066
62067 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62068
62069 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62070
62071 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62072
62073 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62074
62075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62076 info.
62077
62078 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62079
62080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62081 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62082 strcpy-sse2-unaligned strncpy-sse2-unaligned
62083 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62084 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62085 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62086 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62087 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62090 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62091 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62092 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62093 (STRCPY): Support SSE2 and SSSE3 versions.
62094
62095 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62096
62097 [BZ #12874]
62098 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62099 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62100 kernels which artificially limit size of requests.
62101
62102 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62103
62104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62105 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62106 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62107 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62108 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62109 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62110 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62111 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62113 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62114 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62115 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62116 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62117 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62118 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62120 Enable unaligned load optimization for Intel Core i3, i5 and i7
62121 processors.
62122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62123 Define.
62124 (index_Fast_Unaligned_Load): Define.
62125 (HAS_FAST_UNALIGNED_LOAD): Define.
62126
62127 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62128
62129 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62130
62131 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62132
62133 [BZ #12907]
62134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62135 until it is clear that the information is realy needed.
62136 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62137
62138 2011-06-22 Andreas Schwab <schwab@redhat.com>
62139
62140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62141
62142 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62143
62144 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62145 /sys/devices/system/cpu/online if it is usable.
62146
62147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62148 reading the information from the /proc filesystem to once a second.
62149
62150 2011-06-21 Andreas Jaeger <aj@suse.de>
62151
62152 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62153 NULL after inclusion of kernel headers.
62154
62155 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62156
62157 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62158 calls to internal_setent.
62159
62160 [BZ #12885]
62161 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62162 addresses using gethostbyname4_r ignore IPv4 addresses.
62163
62164 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62165 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62166
62167 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62168
62169 2011-06-20 David S. Miller <davem@davemloft.net>
62170
62171 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62172 inclusions.
62173 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62174
62175 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62176 (elf_irel): Use it.
62177 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62178 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62179 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62180 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62181 * sysdeps/x86_64/dl-irel.h: Likewise.
62182
62183 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62184 * elf/dl-sym.c: Likewise.
62185
62186 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62187
62188 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62189 need to dereference resplen2.
62190
62191 2011-06-14 Andreas Schwab <schwab@redhat.com>
62192
62193 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62194
62195 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62196
62197 * Makeconfig: Define vardbdir and inst_vardbdir.
62198 * nss/Makefile: Add rules to install db-Makefile.
62199
62200 * nss/nss_db/db-XXX.c: Cleanup.
62201
62202 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62203 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62204 GLIBC_PRIVATE.
62205 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62206 * nss/makedb.c: Implement -g option to specify that value strings
62207 are generated and should not be added to table iterated over for
62208 get*ent calls.
62209 * nss/nss_db/db-initgroups.c: New file.
62210
62211 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62212 interface.
62213
62214 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62215 (internal_getgrouplist): Adjust to name change.
62216 Update use_initgroups_entry if this is not the first call.
62217 * nss/databases.def: Add initgroups entry.
62218
62219 * nss/makedb.c (compute_tables): Check result of multiple hash table
62220 sizes to minimize maximum chain length.
62221
62222 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62223
62224 * Versions.def: Add entry for libnss_db.
62225 * shlib-versions: Likewise.
62226 * nss/Makefile: Add rules to build libnss_db.
62227 * nss/Versions: Add libnss_db information. Organize libnss_files
62228 entries better.
62229 * nss/db-Makefile: Add gshadow support. Change rules for the new
62230 makedb progra. Some minor improvements to generate smaller files.
62231 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62232 here from...
62233 * nss/makedb.c: ...here.
62234 Improve database format to be smaller and require less memory at
62235 runtime.
62236 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62237 db anymore.
62238 * nss/nss_db/db-netgrp.c: Likewise.
62239 * nss/nss_db/db-open.c: Likewise.
62240 * nss/nss_files/flies-XXX.x: Adjust comments.
62241 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62242 * nss/nss_files/files-grp.c: Likewise.
62243 * nss/nss_files/files-hosts.c: Likewise.
62244 * nss/nss_files/files-network.c: Likewise.
62245 * nss/nss_files/files-proto.c: Likewise.
62246 * nss/nss_files/files-pwd.c: Likewise.
62247 * nss/nss_files/files-rpc.c: Likewise.
62248 * nss/nss_files/files-service.c: Likewise.
62249 * nss/nss_files/files-sgrp.c: Likewise.
62250 * nss/nss_files/files-spwd.c: Likewise.
62251 * nss/nss_db/db-alias.c: Removed.
62252 * nss/nss_db/dummy-db.h: Removed.
62253
62254 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62255
62256 * nss/makedb.c: Rewritten to not use database library.
62257 * nss/Makefile: Update to build new makedb program.
62258
62259 2011-06-14 Andreas Jaeger <aj@suse.de>
62260
62261 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62262 memset declaration.
62263
62264 2011-06-10 Andreas Schwab <schwab@redhat.com>
62265
62266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62267 tmpbuf.
62268
62269 2011-06-10 Roland McGrath <roland@hack.frob.com>
62270
62271 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62272 * elf/Makefile ($(objpfx)ld.so): Likewise.
62273
62274 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62275 Don't list ld.so twice in dependencies.
62276
62277 * posix/bug-regex31.c: Include <stdlib.h>.
62278
62279 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62280
62281 * nis/nss_compat/compat-spwd.c
62282 (getspent_next_nss_netgr): Remove unused variable.
62283 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62284
62285 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62286 nonmembers" output to use the right array.
62287
62288 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62289
62290 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62291
62292 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62293 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62294 * catgets/gencat.c (read_input_file): Likewise.
62295 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62296
62297 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62298 variable definition inside #if's controlling its use.
62299
62300 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62301
62302 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62303
62304 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62305
62306 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62307 unreachable code.
62308
62309 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62310
62311 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62312 * configure: Regenerated.
62313
62314 * Makerules: Revert last change.
62315 * elf/Makefile: Likewise.
62316
62317 2011-06-09 Roland McGrath <roland@hack.frob.com>
62318
62319 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62320 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62321 (reloc-link): Likewise.
62322
62323 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62324
62325 * elf/Makefile: Add rules to build pldd.
62326 * elf/pldd.c: New file.
62327 * elf/pldd-xx.c: New file.
62328
62329 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62330
62331 * version.h: Update for 2.15 development version.
62332
62333 2011-06-07 David S. Miller <davem@davemloft.net>
62334
62335 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62336 ifuncs.
62337 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62338 elf_machine_lazy_rel): Likewise.
62339 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62341 elf_machine_lazy_rel): Likewise.
62342 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62343 dl_hwcap via passed in argument.
62344 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62345 Likewise.
62346
62347 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62348
62349 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62350
62351 2011-06-06 Roland McGrath <roland@hack.frob.com>
62352
62353 [BZ #12849]
62354 * manual/fdl-1.1.texi: New file, verbatim from:
62355 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62356 * manual/lgpl-2.1.texi: New file, verbatim from:
62357 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62358 * manual/Makefile (licenses): New variable, list those new file names.
62359 (texis): Use it.
62360 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62361
62362 * manual/fdl.texi: File removed.
62363 * manual/lesser.texi: File removed.
62364 * manual/libc.texinfo (Copying, Documentation License):
62365 Use new @include file names, put @appendix directive before @include.
62366
62367 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62368
62369 [BZ #12841]
62370 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62371 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62372 (mq_open): Add __NTH.
62373
62374 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62375
62376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62377 Assume Intel Core i3/i5/i7 processor if AVX is available.
62378
62379 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62380
62381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62382 typo.
62383
62384 2011-05-31 Andreas Schwab <schwab@redhat.com>
62385
62386 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62387 memory. Use alloca_account. Fix memory leak when retrying.
62388
62389 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62390
62391 * version.h (RELEASE): Bump for 2.14 release.
62392 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62393
62394 * config.make.in (RANLIB): Remove entry.
62395
62396 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62397
62398 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62399 (libc.pot): Work around missing support for .ksh extension in xgettext.
62400
62401 [BZ #12684]
62402 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62403 if both request failed.
62404 (send_dg): In case of server errors clear resplen or *resplen2.
62405
62406 [BZ #12454]
62407 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62408 when there are multiple maps.
62409 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62410 (_dl_fini): Remove test here.
62411
62412 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62413
62414 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62415
62416 [BZ #12350]
62417 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62418 bit from old_res_options.
62419 (gaih_inet): Likewise.
62420
62421 [BZ #11099]
62422 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62423 as signed.
62424
62425 * resolv/res_init.c (res_setoptions): Make the code more compact.
62426
62427 [BZ #11558]
62428 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62429 set RES_USEVC.
62430
62431 [BZ #11634]
62432 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62433
62434 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62435
62436 [BZ #11781]
62437 * malloc/malloc.h: Declare malloc hook variables as volatile.
62438
62439 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62440 in last patch.
62441
62442 [BZ #11799]
62443 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62444 raise in the comment.
62445 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62446 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62447 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62448
62449 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62450
62451 [BZ #12811]
62452 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62453 grow the buffers more if it already has to be sufficient.
62454 (build_wcs_upper_buffer): Likewise.
62455 * posix/regexec.c (check_matching): Likewise.
62456 (clean_state_log_if_needed): Likewise.
62457 (extend_buffers): Don't enlarge buffers beyond size of the input
62458 buffer.
62459 Patches mostly by Emil Wojak <emil@wojak.eu>.
62460 * posix/bug-regex32.c: New file.
62461 * posix/Makefile (tests): Add bug-regex32.
62462
62463 * locale/findlocale.c (_nl_find_locale): Return right away if
62464 _nl_explode_name failed.
62465 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62466
62467 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62468
62469 * debug/xtrace.sh: Unify messages.
62470 * malloc/memusage.sh: Likewise.
62471
62472 [BZ #12813]
62473 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62474 time symbol from vDSO. Substitute with vsyscall if not available.
62475 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62476 __vdso_time.
62477
62478 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62479 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62480 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62481 Add sendmmsg and internal_sendmmsg.
62482 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62483 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62484 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62485
62486 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62487 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62488 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62489
62490 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62491
62492 [BZ #12813]
62493 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62494 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62495 available.
62496 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62497 __vdso_getcpu.
62498
62499 [BZ #12814]
62500 * iconvdata/Makefile (tests): Add bug-iconv9.
62501 * iconvdata/bug-iconv9.c: New file.
62502
62503 2011-05-27 Andreas Schwab <schwab@redhat.com>
62504
62505 [BZ #12814]
62506 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62507
62508 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62509
62510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62511 (struct user_regs_struct): Change intcs field back to cs.
62512
62513 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62514
62515 * po/ja.po: Update from translation team.
62516
62517 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62518
62519 [BZ #12795]
62520 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62521 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62522
62523 2011-05-20 Andreas Schwab <schwab@redhat.com>
62524
62525 * stdlib/longlong.h: Update from GCC.
62526
62527 2011-05-23 Andreas Schwab <schwab@redhat.com>
62528
62529 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62530 parameter name.
62531 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62532 Add parameter name.
62533 (__sysconf): Pass it down.
62534
62535 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62536
62537 [BZ #12671]
62538 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62539 some situations.
62540 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62541 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62542 add in in __libc_use_alloca calls. Adjust callers.
62543 (glob): Use malloc in some situations.
62544
62545 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62546 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62547 pltexit.
62548
62549 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62550
62551 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62552 and CLOCK_BOOTTIME_ALARM.
62553
62554 [BZ #12782]
62555 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62556 is returned.
62557
62558 * string/_strerror.c (__strerror_r): Print negative errors as signed
62559 numbers.
62560
62561 [BZ #12777]
62562 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62563 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62564 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62565
62566 * configure.in: Fix typo in redirection and correct removal of test
62567 files in two cases.
62568
62569 [BZ #12788]
62570 * locale/setlocale.c (new_composite_name): Fix test to check for
62571 identical name of all categories.
62572
62573 [BZ #12792]
62574 * libio/filedoalloc.c (local_isatty): New function.
62575 (_IO_file_doallocate): Use local_isatty.
62576 * stdio-common/perror.c (perror): In case a new stream is used
62577 forward the stream error.
62578 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62579 error flag.
62580
62581 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62582
62583 [BZ #11869]
62584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62585 alloca.
62586 * include/alloca.h (extend_alloca_account): Define.
62587
62588 [BZ #11857]
62589 * posix/regex.h: Fix comments with documentation of user-accessible
62590 fields after compilation and describe correct free'ing of pattern
62591 after re_compile_pattern.
62592 Patch by Reuben Thomas <rrt@sc3d.org>.
62593
62594 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62595
62596 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62597 and -mno-altivec to prevent the compiler from using Altivec and/or
62598 VSX instructions when the corresponding registers are not available.
62599
62600 2011-05-19 Andreas Schwab <schwab@redhat.com>
62601
62602 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62603
62604 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62605
62606 * libio/freopen.c (freopen): Use __dup2, not dup2.
62607 * libio/freopen64.c (freopen64): Likewise.
62608
62609 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62610
62611 [BZ #12775]
62612 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62613 * math/Makefile (tests): Add test-powl.
62614 (CFLAGS-test-powl.c): Define.
62615 * math/test-powl.c: New file.
62616
62617 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62618
62619 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62620
62621 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62622
62623 [BZ #11837]
62624 * iconvdata/gb18030.c: Update to GB18020-2005.
62625
62626 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62627
62628 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62629 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62630 Patch by Aharon Robbins <arnold@skeeve.com>.
62631
62632 [BZ #11892]
62633 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62634 on the stack.
62635
62636 [BZ #11895]
62637 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62638 through underflows.
62639
62640 [BZ #12766]
62641 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62642 point to strings before performing equality test for error_one_per_line
62643 mode.
62644
62645 [BZ #11697]
62646 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62647
62648 [BZ #11820]
62649 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62650 (struct user_fpregs_struct): Avoid __uint*_t types.
62651
62652 [BZ #6420]
62653 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62654 symbol info. Use it instead of calling _dl_addr locally.
62655 (lock_and_info): New function.
62656 (tr_freehook): Call lock_and_info and pass symbol info as additional
62657 parameter to tr_where.
62658 (tr_mallochook): Likewise.
62659 (tr_reallochook): Likewise.
62660 (tr_memalignhook): Likewise.
62661
62662 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62663 used and couldn't be at all thread-safe.
62664
62665 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62666
62667 * libio/freopen.c (freopen): Don't close old file descriptor
62668 before the new one is opened. Instead dup the new file descriptor
62669 to the old one after the new stream is created.
62670 * libio/freopen64.c (freopen64): Likewise.
62671 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62672 * libio/fileops.c (_IO_new_file_close_it): Handle new
62673 _IO_FLAGS2_NOCLOSE flag.
62674 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62675 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62676 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62677 _IO_FLAGS2_NOCLOSE flag.
62678 * include/unistd.h: Add hidden_proto for dup3.
62679 Define __have_dup3.
62680 * io/dup3.c: Define hidden symbol.
62681 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62682
62683 [BZ #7101]
62684 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62685 when an incomplete long option is used.
62686 * posix/tst-getopt_long1.c: New file.
62687 * posix/Makefile (tests): Add tst-getopt_long1.
62688
62689 [BZ #10138]
62690 * scripts/config.guess: Update from autoconf-2.68.
62691 * scripts/config.sub: Likewise.
62692
62693 [BZ #10157]
62694 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62695 tests into ...
62696 (has_cpuclock): ...this. New function.
62697 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62698 macro here based on has_cpuclock code.
62699
62700 [BZ #10149]
62701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62702 First byte (not low byte) is now always NUL.
62703 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62704
62705 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62706 Use non-cancelable interfaces.
62707
62708 [BZ #9809]
62709 * locale/iso-639.def: Add entry for Sorani.
62710
62711 [BZ #11901]
62712 * include/stdlib.h: Move include protection to the right place.
62713 Define abort_msg_s. Declare __abort_msg with it.
62714 * stdlib/abort.c (__abort_msg): Adjust type.
62715 * assert/assert.c (__assert_fail_base): New function. Majority
62716 of code from __assert_fail. Allocate memory for __abort_msg with
62717 mmap.
62718 (__assert_fail): Now call __assert_fail_base.
62719 * assert/assert-perr.c: Remove bulk of implementation. Use
62720 __assert_fail_base.
62721 * include/assert.hL Declare __assert_fail_base.
62722 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62723 mmap.
62724 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62725
62726 2011-05-14 Ulrich Drepper <drepper@gmail.com>
62727
62728 [BZ #11952]
62729 [BZ #12453]
62730 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62731 until all modules are registered in the DTV.
62732 * elf/Makefile: Add rules to build and run tst-tls19.
62733 * elf/tst-tls19.c: New file.
62734 * elf/tst-tls19mod1.c: New file.
62735 * elf/tst-tls19mod2.c: New file.
62736 * elf/tst-tls19mod3.c: New file.
62737 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62738
62739 [BZ #12083]
62740 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62741 correctly.
62742
62743 [BZ #12601]
62744 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62745 two-byte sequence errors.
62746 * iconvdata/Makefile (tests): Add bug-iconv8.
62747 * iconvdata/bug-iconv8.c: New file.
62748
62749 [BZ #12626]
62750 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62751 buf2 definition.
62752
62753 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62754
62755 [BZ #12432]
62756 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62757 (dummy_getcfa): New function.
62758 (init): Get _Unwind_GetCFA address, use dummy if not found.
62759 (backtrace_helper): In recursion check, also check whether CFA changes.
62760 (__backtrace): Completely initialize arg.
62761
62762 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62763 storing incomplete byte sequence in state object. Avoid testing for
62764 guaranteed too small input if we know there is enough data available.
62765
62766 2011-05-11 Andreas Schwab <schwab@redhat.com>
62767
62768 * Makeconfig (+link-pie): Indent.
62769 * Rules (binaries-pie): Define if $(have-fpie) and
62770 $(build-shared).
62771 (binaries-shared): Also filter out $(binaries-pie).
62772 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62773 * nscd/Makefile (others-pie): Add nscd.
62774 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62775 ($(objpfx)nscd): Remove command override.
62776 * login/Makefile (others-pie): Add pt_chown.
62777 ($(objpfx)pt_chown): Remove command override.
62778 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62779 remove command overrides.
62780
62781 2011-05-13 Ulrich Drepper <drepper@gmail.com>
62782
62783 * libio/tst_putwc.c: Fix error messages.
62784
62785 [BZ #12724]
62786 * libio/fileops.c (_IO_new_file_close_it): Always flush when
62787 currently writing and seek to current position when not.
62788 * libio/Makefile (tests): Add bug-fclose1.
62789 * libio/bug-fclose1.c: New file.
62790
62791 2011-05-12 Ulrich Drepper <drepper@gmail.com>
62792
62793 [BZ #12511]
62794 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62795 don't set DF_1_NODELETE here.
62796 (do_lookup_x): When entering new entry test for copy relocation
62797 and if necessary set DF_1_NODELETE flag.
62798 * elf/tst-unique4.cc: New file.
62799 * elf/tst-unique4.h: New file.
62800 * elf/tst-unique4lib.cc: New file.
62801 * elf/Makefile: Add rules to build and run tst-unique4.
62802 Patch by Piotr Bury <pbury@goahead.com>.
62803
62804 2011-05-11 Ulrich Drepper <drepper@gmail.com>
62805
62806 [BZ #12052]
62807 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62808
62809 [BZ #12625]
62810 * misc/mntent_r.c (addmntent): Flush the stream after the output
62811
62812 [BZ #12393]
62813 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62814 (is_trusted_path_normalize): Skip initial colon. Append slash
62815 to empty buffer. Duplicate is_trusted_path code but allow
62816 constructed patch to be prefix.
62817 (is_dst): Allow $ORIGIN followed by /.
62818 (_dl_dst_substitute): Correct clearing of check_for_trusted.
62819 Correct testing of result of is_trusted_path_normalize
62820 (decompose_rpath): Fix warning.
62821
62822 2011-05-10 Ulrich Drepper <drepper@gmail.com>
62823
62824 [BZ #11257]
62825 * grp/initgroups.c (internal_getgrouplist): When we found the service
62826 list through the initgroups entry in nsswitch.conf do not always
62827 continue on a successful lookup. Don't always use the
62828 __nss_group_database value if it is set.
62829 * nss/nsswitch.conf (initgroups): Change action for successful db
62830 lookup to continue for compatibility.
62831
62832 2011-05-09 Ulrich Drepper <drepper@gmail.com>
62833
62834 [BZ #11532]
62835 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62836 and CP774 modules.
62837 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62838 and CP774 modules.
62839 * iconvdata/tst-tables.sh: Likewise.
62840 * iconvdata/cp770.c: New file.
62841 * iconvdata/cp771.c: New file.
62842 * iconvdata/cp772.c: New file.
62843 * iconvdata/cp773.c: New file.
62844 * iconvdata/cp774.c: New file.
62845 * iconvdata/testdata/CP770: New file.
62846 * iconvdata/testdata/CP770..UTF8: New file.
62847 * iconvdata/testdata/CP771: New file.
62848 * iconvdata/testdata/CP771..UTF8: New file.
62849 * iconvdata/testdata/CP772: New file.
62850 * iconvdata/testdata/CP772..UTF8: New file.
62851 * iconvdata/testdata/CP773: New file.
62852 * iconvdata/testdata/CP773..UTF8: New file.
62853 * iconvdata/testdata/CP774: New file.
62854 * iconvdata/testdata/CP774..UTF8: New file.
62855
62856 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62857 END CHARMAP line.
62858 * iconvdata/gen-8bit-gap.sh: Likewise.
62859 * iconvdata/gen-8bit.sh: Likewise.
62860
62861 * locale/iso-639.def: Add ary entry.
62862
62863 [BZ #11258]
62864 * locale/C-translit.h.in: Add U20A1 transliteration.
62865
62866 [BZ #12178]
62867 * locale/iso-639.def: Add wae entry.
62868 Patch by Kevin Bortis <bortis@translate-wae.ch>.
62869
62870 [BZ #12545]
62871 * locale/programs/localedef.c (construct_output_path): Use ssize_t
62872 for n.
62873
62874 [BZ #12711]
62875 * locale/C-translit.h.in: Add entry for U20B9.
62876 Patch by pravin.d.s@gmail.com.
62877
62878 2011-05-08 Ulrich Drepper <drepper@gmail.com>
62879
62880 [BZ #12713]
62881 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62882 ENAMETOOLONG use generic getcwd.
62883 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
62884 in rtld. Use *stat64.
62885 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62886 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62887 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62888 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62889 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62890 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62891 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62892 __fstatat64 macros.
62893 * include/dirent.h: Add libc_hidden_proto for rewinddir.
62894 * dirent/rewinddir.c: Add libc_hidden_def.
62895 * sysdeps/mach/hurd/rewinddir.c: Likewise.
62896 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
62897
62898 * include/dirent.h (__alloc_dir): Add flags parameter.
62899 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62900 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62901 __alloc_dir.
62902 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
62903 from fdopendir if O_CLOEXEC is already set.
62904
62905 2011-03-15 Alan Modra <amodra@gmail.com>
62906
62907 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62908 l_tls_firstbyte_offset non-zero. Save padding offset in
62909 l_tls_firstbyte_offset for later use.
62910 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
62911 freeing static tls block.
62912
62913 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
62914
62915 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
62916 where #ifdef was intended. The intent is to prevent ARG_MAX from
62917 being defined by the kernel headers.
62918
62919 2011-05-07 Ulrich Drepper <drepper@gmail.com>
62920
62921 [BZ #12734]
62922 * resolv/resolv.h: Define RES_NOTLDQUERY.
62923 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
62924 no-tld-query and set RES_NOTLDQUERY.
62925 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
62926 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
62927 modern BIND to search name as TLD unless forbidden.
62928
62929 2011-05-07 Petr Baudis <pasky@suse.cz>
62930 Ulrich Drepper <drepper@gmail.com>
62931
62932 [BZ #12393]
62933 * elf/dl-load.c (fillin_rpath): Move trusted path check...
62934 (is_trusted_path): ...to here.
62935 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
62936 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
62937 using is_trusted_path_normalize() in setuid scripts.
62938
62939 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
62940
62941 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
62942 __BEGIN/__END_DECLS.
62943
62944 2011-05-06 Ulrich Drepper <drepper@gmail.com>
62945
62946 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
62947 NSS_STATUS_NOTFOUND if no record was found.
62948
62949 2011-05-05 Andreas Schwab <schwab@redhat.com>
62950
62951 * sunrpc/Makefile (headers): Add rpc/netdb.h.
62952 (headers-not-in-tirpc): Remove rpc/netdb.h
62953 * resolv/netdb.h: Revert last change.
62954
62955 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
62956
62957 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
62958 circular dependency between libgcc.a and libc.a.
62959
62960 2011-05-05 Andreas Schwab <schwab@redhat.com>
62961
62962 * resolv/netdb.h: Don't include <rpc/netdb.h>.
62963 * nis/Makefile: Don't install rpcsvc/*.
62964 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
62965 instead of <rpc/types.h>.
62966 (MAXHOSTNAMELEN): Define.
62967
62968 2011-05-03 Andreas Schwab <schwab@redhat.com>
62969
62970 * elf/ldconfig.c (add_dir): Don't crash on empty path.
62971
62972 2011-04-28 Maciej Babinski <mbabinski@google.com>
62973
62974 [BZ #12714]
62975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
62976 gethostbyname4_r when IPv6 results are possible.
62977
62978 2011-05-02 Ulrich Drepper <drepper@gmail.com>
62979
62980 [BZ #12723]
62981 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
62982 _PC_PIPE_BUF handling.
62983
62984 2011-04-30 Bruno Haible <bruno@clisp.org>
62985
62986 [BZ #12717]
62987 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
62988 * resolv/netdb.h (getnameinfo): Change type of flags parameter
62989 to 'int'.
62990 * inet/getnameinfo.c (getnameinfo): Likewise.
62991
62992 2011-04-29 Ulrich Drepper <drepper@gmail.com>
62993
62994 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
62995 to groups setting in database lookup.
62996 * nss/nsswitch.conf: Add initgroups entry.
62997
62998 2011-04-22 Ulrich Drepper <drepper@gmail.com>
62999
63000 [BZ #12685]
63001 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63002 mode string.
63003 Patch by Eric Blake <eblake@redhat.com>.
63004
63005 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63006
63007 * sunrpc/Makefile (need-export-routines): Add svc_run.
63008 (routines): Remove svc_run.
63009 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63010 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63011 * sunrpc/svc_run.c (svc_run): Likewise.
63012 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63013
63014 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63015
63016 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63017 problem in reallocation in last patch.
63018
63019 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63020
63021 * sunrpc/Makefile: Move inclusion of Rules.
63022
63023 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63024
63025 * nss/nss_files/files-initgroups.c: New file.
63026 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63027 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63028 _nss_files_initgroups_dyn.
63029
63030 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63031
63032 * elf/elf.h (R_ARM_IRELATIVE): Define.
63033
63034 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63035
63036 * po/ru.po: Update from translation team.
63037
63038 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63039
63040 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63041 dependencies.
63042
63043 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63044
63045 [BZ #12653]
63046 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63047 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63048 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63049 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63050 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63051
63052 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63053
63054 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63055 differing bytes.
63056 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63057 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63059
63060 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63061
63062 [BZ #12420]
63063 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63064 storing it.
63065 * stdlib/bug-getcontext.c: New file.
63066 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63067
63068 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63069
63070 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63071 instructions into .machine "z9-109".
63072 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63073 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63074
63075 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63076
63077 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63078 between environment variables and auxiliary vector.
63079
63080 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63081
63082 * Makefile: Add rules to build linkobj/libc.so.
63083 * include/libc-symbols.h: Define libc_hidden_nolink.
63084 * include/rpc/auth.h: Mark functions which are to be hidden.
63085 * include/rpc/auth_des.h: Likewise.
63086 * include/rpc/auth_unix.h: Likewise.
63087 * include/rpc/clnt.h: Likewise.
63088 * include/rpc/des_crypt.h: Likewise.
63089 * include/rpc/key_prot.h: Likewise.
63090 * include/rpc/pmap_clnt.h: Likewise.
63091 * include/rpc/pmap_prot.h: Likewise.
63092 * include/rpc/pmap_rmt.h: Likewise.
63093 * include/rpc/rpc_msg.h: Likewise.
63094 * include/rpc/svc.h: Likewise.
63095 * include/rpc/svc_auth.h: Likewise.
63096 * include/rpc/xdr.h: Likewise.
63097 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63098 * nss/Makefile: Likewise.
63099 * sunrpc/Makefile: Don't install headers. Build library with normal
63100 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63101 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63102 for the compat linking library. Remove use of INTDEF/INTUSE.
63103 * sunrpc/auth_none.c: Likewise.
63104 * sunrpc/auth_unix.c: Likewise.
63105 * sunrpc/authdes_prot.c: Likewise.
63106 * sunrpc/authuxprot.c: Likewise.
63107 * sunrpc/clnt_gen.c: Likewise.
63108 * sunrpc/clnt_perr.c: Likewise.
63109 * sunrpc/clnt_raw.c: Likewise.
63110 * sunrpc/clnt_simp.c: Likewise.
63111 * sunrpc/clnt_tcp.c: Likewise.
63112 * sunrpc/clnt_udp.c: Likewise.
63113 * sunrpc/clnt_unix.c: Likewise.
63114 * sunrpc/des_crypt.c: Likewise.
63115 * sunrpc/des_soft.c: Likewise.
63116 * sunrpc/get_myaddr.c: Likewise.
63117 * sunrpc/key_call.c: Likewise.
63118 * sunrpc/key_prot.c: Likewise.
63119 * sunrpc/netname.c: Likewise.
63120 * sunrpc/pm_getmaps.c: Likewise.
63121 * sunrpc/pm_getport.c: Likewise.
63122 * sunrpc/pmap_clnt.c: Likewise.
63123 * sunrpc/pmap_prot.c: Likewise.
63124 * sunrpc/pmap_prot2.c: Likewise.
63125 * sunrpc/pmap_rmt.c: Likewise.
63126 * sunrpc/publickey.c: Likewise.
63127 * sunrpc/rpc_cmsg.c: Likewise.
63128 * sunrpc/rpc_common.c: Likewise.
63129 * sunrpc/rpc_dtable.c: Likewise.
63130 * sunrpc/rpc_prot.c: Likewise.
63131 * sunrpc/rpc_thread.c: Likewise.
63132 * sunrpc/rtime.c: Likewise.
63133 * sunrpc/svc.c: Likewise.
63134 * sunrpc/svc_auth.c: Likewise.
63135 * sunrpc/svc_authux.c: Likewise.
63136 * sunrpc/svc_raw.c: Likewise.
63137 * sunrpc/svc_run.c: Likewise.
63138 * sunrpc/svc_simple.c: Likewise.
63139 * sunrpc/svc_tcp.c: Likewise.
63140 * sunrpc/svc_udp.c: Likewise.
63141 * sunrpc/svc_unix.c: Likewise.
63142 * sunrpc/svcauth_des.c: Likewise.
63143 * sunrpc/xcrypt.c: Likewise.
63144 * sunrpc/xdr.c: Likewise.
63145 * sunrpc/xdr_array.c: Likewise.
63146 * sunrpc/xdr_float.c: Likewise.
63147 * sunrpc/xdr_intXX_t.c: Likewise.
63148 * sunrpc/xdr_mem.c: Likewise.
63149 * sunrpc/xdr_rec.c: Likewise.
63150 * sunrpc/xdr_ref.c: Likewise.
63151 * sunrpc/xdr_sizeof.c: Likewise.
63152 * sunrpc/xdr_stdio.c: Likewise.
63153
63154 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63155
63156 [BZ #12650]
63157 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63158 * sysdeps/ia64/dl-tls.h: Likewise.
63159 * sysdeps/powerpc/dl-tls.h: Likewise.
63160 * sysdeps/s390/dl-tls.h: Likewise.
63161 * sysdeps/sh/dl-tls.h: Likewise.
63162 * sysdeps/sparc/dl-tls.h: Likewise.
63163 * sysdeps/x86_64/dl-tls.h: Likewise.
63164 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63165
63166 2011-03-14 Andreas Schwab <schwab@redhat.com>
63167
63168 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63169 rpath element also skip the following colon.
63170 (expand_dynamic_string_token): Add is_path parameter and pass
63171 down to DL_DST_REQUIRED and _dl_dst_substitute.
63172 (decompose_rpath): Call expand_dynamic_string_token with
63173 non-zero is_path. Ignore empty rpaths.
63174 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63175 with zero is_path.
63176
63177 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63178
63179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63180 Make cancelable.
63181
63182 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63183
63184 [BZ #12655]
63185 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63186 Patch by Filipe David Manana <fdmanana@apache.org>.
63187
63188 2011-04-07 Andreas Schwab <schwab@redhat.com>
63189
63190 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63191 Maintain aligned stack.
63192 (CHECK_RSP): Remove unused macro.
63193
63194 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63195
63196 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63197 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63198
63199 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63200
63201 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63202
63203 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63204
63205 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63206
63207 [BZ #12518]
63208 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63209 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63210 * sysdeps/x86_64/memmove.c: New file.
63211 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63212 (memcpy): Renamed to ...
63213 (__new_memcpy): This.
63214 (memcpy): Provide GLIBC_2_14 memcpy.
63215 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63216 (memcpy): Provide GLIBC_2_2_5 memcpy.
63217
63218 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63219
63220 [BZ #12631]
63221 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63222
63223 2011-03-30 Andreas Schwab <schwab@redhat.com>
63224
63225 * misc/syncfs.c: New file.
63226 * misc/Makefile (routines): Add syncfs.
63227 * posix/unistd.h: Declare syncfs.
63228 * sysdeps/unix/syscalls.list: Add syncfs.
63229
63230 2011-04-01 Andreas Schwab <schwab@redhat.com>
63231
63232 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63233 open_by_handle_at.
63234 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63235 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63239 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63240 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63241
63242 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63243
63244 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63245 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63246 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63248 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63250 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63251
63252 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63253 sync_file_range.c with -fexceptions.
63254 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63255 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63256 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63257 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63258 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63259 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63261 sync_file_range as cancellation point
63262 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63263 now a wrapper around __call_sync_file_range with cancellation handling.
63264 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63265 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63266 function name to __call_sync_file_range.
63267 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63268 Add call_sync_file_range.
63269
63270 2011-04-01 Andreas Schwab <schwab@redhat.com>
63271
63272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63273 bits/timex.h.
63274
63275 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63276
63277 * iconv/iconv.h: Fix typo in comment.
63278 * io/fcntl.h: Likewise.
63279 * libio/stdio.h: Likewise.
63280 * posix/spawn.h: Likewise.
63281 * posix/unistd.h: Likewise.
63282 * stdlib/stdlib.h: Likewise.
63283 * time/time.h: Likewise.
63284 * wcsmbs/wchar.h: Likewise.
63285
63286 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63287 open_by_handle): Add.
63288 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63289 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63290 Augment a few comments.
63291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63293 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63296 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63297 open_by_handle.
63298
63299 * io/fcntl.h (AT_EMPTY_PATH): Define.
63300
63301 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63302
63303 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63304 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63305 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63306 to...
63307 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63308 * Versions.def: Add GLIBC_2.14.
63309 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63310 Export.
63311
63312 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63313
63314 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63315 round counter.
63316 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63317
63318 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63319
63320 [BZ #12597]
63321 * string/test-strncmp.c (do_page_test): New function.
63322 (check2): Likewise.
63323 (test_main): Call check2.
63324 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63325
63326 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63327
63328 [BZ #12587]
63329 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63330 Handle cache information in CPU leaf 4.
63331 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63332
63333 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63334
63335 [BZ #12583]
63336 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63337 character representation.
63338 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63339
63340 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63341
63342 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63343 END(__isnan) to END(__isnanf) to match function entry point/label
63344 EALIGN(__isnanf,...).
63345
63346 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63347
63348 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63349
63350 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63351
63352 [BZ #12510]
63353 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63354 copy from the symbol referenced in the relocation to initialize the
63355 used variable.
63356 Patch by Piotr Bury <pbury@goahead.com>.
63357 * elf/Makefile: Add rules to build and tst-unique3.
63358 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63359 * elf/tst-unique3.cc: New file.
63360 * elf/tst-unique3.h: New file.
63361 * elf/tst-unique3lib.cc: New file.
63362 * elf/tst-unique3lib2.cc: New file.
63363
63364 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63365
63366 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63367
63368 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63369 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63370 to _start.
63371
63372 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63373
63374 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63375 to-be-loaded object along a path to loader is ld.so.
63376
63377 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63378 Ulrich Drepper <drepper@gmail.com>
63379
63380 * sysdeps/x86_64/memset.S: After aligning destination, code
63381 branches to different locations depending on the value of
63382 misalignment, when multiarch is enabled. Fix this.
63383
63384 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63385
63386 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63387 Set _x86_64_preferred_memory_instruction for AMD processsors.
63388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63389 Set bit_Prefer_SSE_for_memop for AMD processors.
63390
63391 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63392
63393 * libio/fmemopen.c (fmemopen): Optimize a bit.
63394
63395 2011-03-03 Andreas Schwab <schwab@redhat.com>
63396
63397 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63398
63399 2011-03-03 Roland McGrath <roland@redhat.com>
63400
63401 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63402
63403 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63404
63405 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63406 __bzero_ultra1 instead of __memset_ultra1.
63407
63408 2011-02-23 Andreas Schwab <schwab@redhat.com>
63409 Ulrich Drepper <drepper@gmail.com>
63410
63411 [BZ #12509]
63412 * include/link.h (struct link_map): Add l_orig_initfini.
63413 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63414 returning unsuccessfully.
63415 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63416 close of a file loaded at startup, restore the original l_initfini
63417 list.
63418 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63419 list, store the pointer.
63420 * elf/Makefile ($(objpfx)noload-mem): New rule.
63421 (noload-ENV): Define.
63422 (tests): Add $(objpfx)noload-mem.
63423 * elf/noload.c: Include <memcheck.h>.
63424 (main): Call mtrace. Close all opened handles.
63425
63426 2011-02-17 Andreas Schwab <schwab@redhat.com>
63427
63428 [BZ #12454]
63429 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63430 dependencies are missing.
63431
63432 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63433
63434 Fix __if_freereq crash: Unlike the generic version which uses free,
63435 Hurd needs munmap.
63436 * sysdeps/mach/hurd/ifreq.h: New file.
63437
63438 2011-01-27 Petr Baudis <pasky@suse.cz>
63439 Ulrich Drepper <drepper@gmail.com>
63440
63441 [BZ 12445]#
63442 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63443 to extend_alloca().
63444 * stdio-common/bug23.c: New file.
63445 * stdio-common/Makefile (tests): Add bug23.
63446
63447 2010-09-28 Andreas Schwab <schwab@redhat.com>
63448 Ulrich Drepper <drepper@gmail.com>
63449
63450 [BZ #12489]
63451 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63452 before performing relro protection. At old place add assertion
63453 to make sure nothing changed.
63454
63455 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63456 Glauber de Oliveira Costa <glommer@gmail.com>
63457
63458 * elf/elf.h: Add new ARM TLS relocs.
63459
63460 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63461
63462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63463 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63464 cast from r3.
63465 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63466 'tests' variable.
63467 * sysdeps/wordsize-64/tst-writev.c: New file.
63468
63469 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63470
63471 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63472 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63473 insns in _dl_start to prevent a TOC reference before relocs are
63474 resolved.
63475
63476 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63477
63478 [BZ #12469]
63479 * Makeconfig: Remove RANLIB definition.
63480 * Makerules: Don't use RANLIB.
63481 * aclocal.m4: Remove ranlib test.
63482 * configure.in: No need to check for ranlib.
63483 * elf/rtld-Rules: Don't use RANLIB.
63484
63485 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63486
63487 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63488 protection macro.
63489 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63490 inclusion protection macro.
63491
63492 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63493 SIGRTMIN and SIGRTMAX and print information in that case only when
63494 SIGRTMIN is defined.
63495
63496 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63497
63498 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63499 arginfo fn returning -1.
63500
63501 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63502 and thousands string is zero terminated.
63503
63504 2011-02-03 Andreas Schwab <schwab@redhat.com>
63505
63506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63507 sysdeps/unix/sysv/linux/bits/socket.h.
63508
63509 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63510
63511 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63512 (__CPU_COUNT): Remove old macros.
63513 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63514 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63515 (__CPU_ALLOC, __CPU_FREE): Add macros.
63516 (__sched_cpualloc, __sched_cpufree): Add declarations.
63517
63518 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63519
63520 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63521 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63522 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63523 (readdhstai): Return value of addhstaiX call.
63524 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63525 (addgrbyX): Return value returned by cache_addgr.
63526 (readdgrbyname): Return value returned by addgrbyX.
63527 (readdgrbygid): Likewise.
63528 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63529 (addpwbyX): Return value returned by cache_addpw.
63530 (readdpwbyname): Return value returned by addhstbyX.
63531 (readdpwbyuid): Likewise.
63532 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63533 (addservbyX): Return value returned by cache_addserv.
63534 (readdservbyname): Return value returned by addservbyX:
63535 (readdservbyport): Likewise.
63536 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63537 (addhstbyX): Return value returned by cache_addhst.
63538 (readdhstbyname): Return value returned by addhstbyX.
63539 (readdhstbyaddr): Likewise.
63540 (readdhstbynamev6): Likewise.
63541 (readdhstbyaddrv6): Likewise.
63542 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63543 (readdinitgroups): Return value returned by addinitgroupsX.
63544 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63545 (prune_cache): Keep track of timeout value of re-added entries.
63546 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63547 * nscd/nscd.h: Adjust prototypes of readd* functions.
63548
63549 2011-02-04 Roland McGrath <roland@redhat.com>
63550
63551 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63552 (nis_stats): Likewise.
63553 * nis/nis_modify.c (nis_modify): Likewise.
63554 * nis/nis_remove.c (nis_remove): Likewise.
63555 * nis/nis_add.c (nis_add): Likewise.
63556
63557 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63558
63559 * posix/fnmatch_loop.c: Add some consts.
63560
63561 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63562
63563 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63564
63565 [BZ #12460]
63566 * config.make.in (config-cflags-novzeroupper): Define.
63567 * configure.in: Substitute libc_cv_cc_novzeroupper.
63568 * elf/Makefile (AVX-CFLAGS): Define.
63569 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63570 (CFLAGS-tst-auditmod4a.c): Likewise.
63571 (CFLAGS-tst-auditmod4b.c): Likewise.
63572 (CFLAGS-tst-auditmod6b.c): Likewise.
63573 (CFLAGS-tst-auditmod6c.c): Likewise.
63574 (CFLAGS-tst-auditmod7b.c): Likewise.
63575 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63576
63577 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63578
63579 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63580 function to the callback.
63581 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63582
63583 2011-02-02 Andreas Schwab <schwab@redhat.com>
63584
63585 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63586 of errno.
63587
63588 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63589
63590 [BZ #11724]
63591 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63592 of constructors.
63593 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63594 of destructors.
63595 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63596
63597 [BZ #11724]
63598 * elf/Makefile: Add rules to build and run new test.
63599 * elf/tst-initorder.c: New file.
63600 * elf/tst-initorder.exp: New file.
63601 * elf/tst-initordera1.c: New file.
63602 * elf/tst-initordera2.c: New file.
63603 * elf/tst-initordera3.c: New file.
63604 * elf/tst-initordera4.c: New file.
63605 * elf/tst-initorderb1.c: New file.
63606 * elf/tst-initorderb2.c: New file.
63607 * elf/tst-order-a1.c: New file.
63608 * elf/tst-order-a2.c: New file.
63609 * elf/tst-order-a3.c: New file.
63610 * elf/tst-order-a4.c: New file.
63611 * elf/tst-order-b1.c: New file.
63612 * elf/tst-order-b2.c: New file.
63613 * elf/tst-order-main.c: New file.
63614 New test case by George Gensure <werkt0@gmail.com>.
63615
63616 2010-10-01 Andreas Schwab <schwab@redhat.com>
63617
63618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63619 decoding ACE if AI_CANONIDN.
63620
63621 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63622
63623 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63624
63625 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63626
63627 * version.h (RELEASE): Bump for 2.13 release.
63628 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63629
63630 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63631
63632 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63633 MADV_NOHUGEPAGE.
63634 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63635 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63636 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63637 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63638 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63639 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63640
63641 * posix/getconf.c: Update copyright year.
63642 * catgets/gencat.c: Likewise.
63643 * csu/version.c: Likewise.
63644 * debug/catchsegv.sh: Likewise.
63645 * debug/xtrace.sh: Likewise.
63646 * elf/ldconfig.c: Likewise.
63647 * elf/ldd.bash.in: Likewise.
63648 * elf/sprof.c (print_version): Likewise.
63649 * iconv/iconv_prog.c: Likewise.
63650 * iconv/iconvconfig.c: Likewise.
63651 * locale/programs/locale.c: Likewise.
63652 * locale/programs/localedef.c: Likewise.
63653 * malloc/memusage.sh: Likewise.
63654 * malloc/mtrace.pl: Likewise.
63655 * nscd/nscd.c (print_version): Likewise.
63656 * nss/getent.c: Likewise.
63657
63658 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63659 PF_CAIF, and PF_ALG.
63660 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63661
63662 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63663
63664 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63665 (modules-names): Use them.
63666 (ifunc-test-modules, ifunc-pie-tests): Define.
63667 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63668 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63669 (test-extras): Likewise.
63670 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63671 $(compile-command.c).
63672 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63673 (all-built-dso): Define.
63674 (check-textrel.out, check-execstack.out): Depend on it.
63675
63676 * configure.in: Don't override --enable-multi-arch.
63677
63678 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63679
63680 [BZ #6812]
63681 * nscd/hstcache.c (tryagain): Define.
63682 (cache_addhst): Return tryagain not notfound for temporary errors.
63683 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63684 failed.
63685
63686 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63687
63688 [BZ #10563]
63689 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63690 to make the syscall.
63691 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63692
63693 [BZ #12378]
63694 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63695 and fall back to matching as normal character if the string ends before
63696 the matching ']' is found. This is what POSIX requires.
63697 * posix/testfnm.c: Adjust test result.
63698 * posix/globtest.sh: Adjust test result. Add new test.
63699 * posix/tst-fnmatch.input: Likewise.
63700 * posix/tst-fnmatch2.c: Add new test.
63701
63702 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
63703
63704 * elf/Makefile (check-execstack): Revert last change. Depend on
63705 check-execstack.h.
63706 (check-execstack.h): New target.
63707 (generated): Add check-execstack.h.
63708 * elf/check-execstack.c: Include "check-execstack.h".
63709 (main): Revert last change.
63710 (handle_file): Return zero if GNU_STACK is absent and
63711 DEFAULT_STACK_PERMS doesn't include PF_X.
63712
63713 2011-01-13 Ulrich Drepper <drepper@gmail.com>
63714
63715 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63716 in child fails because the descriptor is already closed.
63717 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63718 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63719 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63720
63721 [BZ #12397]
63722 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63723 syscall.
63724
63725 [BZ #10484]
63726 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63727 temporary buffer used to handle multi lookups locally.
63728 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63729
63730 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63731
63732 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63733 loader is ld.so.
63734
63735 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
63736
63737 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63738 alignment for SSE2.
63739
63740 2011-01-12 Ulrich Drepper <drepper@gmail.com>
63741
63742 [BZ #12394]
63743 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63744 characters. When rounding increased number of integer digits recompute
63745 number of groups.
63746 * stdio-common/tst-grouping.c: New file.
63747 * stdio-common/Makefile: Add rules to build and run tst-grouping.
63748
63749 2011-01-09 Ulrich Drepper <drepper@gmail.com>
63750
63751 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63752 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
63753
63754 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63755 void.
63756 * bits/select.h: Likewise.
63757
63758 2011-01-08 Ulrich Drepper <drepper@gmail.com>
63759
63760 * po/ja.po: Update from translation team.
63761
63762 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
63763
63764 [BZ #11155]
63765 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63766 implementation just like for lxstat, fxstatat, et al.
63767
63768 2010-12-27 Jim Meyering <meyering@redhat.com>
63769
63770 [BZ #12348]
63771 * posix/regexec.c (build_trtable): Return failure indication upon
63772 calloc failure. Otherwise, re_search_internal could infloop on OOM.
63773
63774 2010-12-25 Ulrich Drepper <drepper@gmail.com>
63775
63776 [BZ #12201]
63777 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63778 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63779 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63780 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63781
63782 [BZ #12207]
63783 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63784
63785 [BZ #12204]
63786 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63787 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63788
63789 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
63790
63791 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63792 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63793 script has SORT_BY_INIT_PRIORITY.
63794 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63795 NO_CTORS_DTORS_SECTIONS is defined.
63796 * elf/soinit.c: Likewise.
63797 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63798 NO_CTORS_DTORS_SECTIONS is defined.
63799 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63800 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63801 * sysdeps/sh/init-first.c: Likewise.
63802 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63803
63804 2010-12-24 Ulrich Drepper <drepper@gmail.com>
63805
63806 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63807 always use the slow path.
63808
63809 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
63810
63811 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63812 similar rule which adds the sysdep directories to the header search in
63813 order to pick up the correct platform stackinfo.h.
63814 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63815 perform test if it is, otherwise return successfully without testing.
63816 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63817 DEFAULT_STACK_PERMS define in stackinfo.h.
63818 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63819 defined in stackinfo.h.
63820 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63821 DEFAULT_STACK_PERMS defined in stackinfo.h.
63822 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63823 * sysdeps/ia64/stackinfo.h: Likewise.
63824 * sysdeps/s390/stackinfo.h: Likewise.
63825 * sysdeps/sh/stackinfo.h: Likewise.
63826 * sysdeps/sparc/stackinfo.h: Likewise.
63827 * sysdeps/x86_64/stackinfo.h: Likewise.
63828 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63829 PF_X for powerpc64. Retain PF_X for powerpc32.
63830
63831 2010-12-19 Ulrich Drepper <drepper@gmail.com>
63832
63833 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63834 accurately.
63835 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63836 GETDENTS_64BIT_ALIGNED.
63837
63838 2010-12-14 Ulrich Drepper <dreper@gmail.com>
63839
63840 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63841
63842 2010-12-10 Andreas Schwab <schwab@redhat.com>
63843
63844 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63845 _GNU_SOURCE.
63846
63847 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63848 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63849 Remove __restrict.
63850 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63851 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63852
63853 2010-12-09 Ulrich Drepper <drepper@gmail.com>
63854
63855 [BZ #11655]
63856 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63857 are initialized.
63858
63859 2010-12-09 Jakub Jelinek <jakub@redhat.com>
63860
63861 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63862
63863 2010-12-03 Ulrich Drepper <drepper@gmail.com>
63864
63865 * po/it.po: Update from translation team.
63866
63867 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
63868
63869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63870 unused codes.
63871
63872 2010-11-30 Ulrich Drepper <drepper@gmail.com>
63873
63874 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63875
63876 2010-11-24 Andreas Schwab <schwab@redhat.com>
63877
63878 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63879 specially.
63880 (gaih_getanswer_slice): Likewise.
63881
63882 2010-10-20 Jakub Jelinek <jakub@redhat.com>
63883
63884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63885
63886 2010-05-31 Petr Baudis <pasky@suse.cz>
63887
63888 [BZ #11149]
63889 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63890 silently even in the chroot mode.
63891
63892 2010-11-22 Ulrich Drepper <drepper@gmail.com>
63893
63894 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63895 last patch a bit. Pretty printing
63896
63897 2010-05-31 Petr Baudis <pasky@suse.cz>
63898
63899 [BZ #10085]
63900 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63901 initialization of skip_initgroups_dyn.
63902
63903 2010-11-19 Ulrich Drepper <drepper@gmail.com>
63904
63905 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63906 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63907
63908 2010-11-16 Ulrich Drepper <drepper@gmail.com>
63909
63910 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
63911
63912 2010-11-11 Andreas Schwab <schwab@redhat.com>
63913
63914 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
63915 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
63916 (tst-fnmatch-ENV): Set MALLOC_TRACE.
63917 ($(objpfx)tst-fnmatch-mem): New rule.
63918 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
63919 * posix/tst-fnmatch.c (main): Call mtrace.
63920
63921 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
63922
63923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63924 Support Intel processor model 6 and model 0x2c.
63925
63926 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
63927
63928 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
63929 signed comparison.
63930
63931 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
63932
63933 [BZ #12205]
63934 * string/test-strncasecmp.c (check_result): New function.
63935 (do_one_test): Use it.
63936 (check1): New function.
63937 (test_main): Use it.
63938 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
63939 Support strcasecmp and strncasecmp.
63940
63941 2010-11-08 Ulrich Drepper <drepper@gmail.com>
63942
63943 [BZ #12194]
63944 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
63945 * sysdeps/x86_64/bits/byteswap.h: Likewise.
63946
63947 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
63948
63949 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
63950 IFUNC support.
63951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63952 memset-x86-64.
63953 * sysdeps/x86_64/multiarch/bzero.S: New file.
63954 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
63955 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
63956 * sysdeps/x86_64/multiarch/memset.S: New file.
63957 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
63958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63959 Set bit_Prefer_SSE_for_memop for Intel processors.
63960 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
63961 Define.
63962 (index_Prefer_SSE_for_memop): Define.
63963 (HAS_PREFER_SSE_FOR_MEMOP): Define.
63964
63965 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
63966
63967 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
63968 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
63969
63970 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
63971
63972 [BZ #12191]
63973 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63974 (__x86_64_raw_data_cache_size_half): Likewise.
63975 (__x86_64_raw_shared_cache_size): Likewise.
63976 (__x86_64_raw_shared_cache_size_half): Likewise.
63977
63978 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
63979 (__x86_64_raw_data_cache_size_half): Likewise.
63980 (__x86_64_raw_shared_cache_size): Likewise.
63981 (__x86_64_raw_shared_cache_size_half): Likewise.
63982 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
63983 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
63984 and __x86_64_raw_shared_cache_size_half. Round
63985 __x86_64_data_cache_size_half, __x86_64_data_cache_size
63986 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
63987 to multiple of 256 bytes.
63988
63989 2010-11-03 Ulrich Drepper <drepper@gmail.com>
63990
63991 [BZ #12167]
63992 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
63993 of inacessible symlinks. Verify result of symlink before returning it.
63994 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
63995 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
63996
63997 2010-10-28 Erich Ritz <erichritz@gmail.com>
63998
63999 * math/math.h (isinf): Fix typo in comment.
64000
64001 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64002
64003 * po/da.po: Update from translation team.
64004
64005 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64006
64007 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64008 is added to the list.
64009
64010 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64011 Ulrich Drepper <drepper@gmail.com>
64012
64013 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64014 the global list here. Move code to...
64015 (_dl_add_to_namespace_list): ...here. New function.
64016 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64017 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64018 * elf/dl-load.c (lose): Don't remove the element from the list.
64019 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64020 (_dl_map_object): Likewise.
64021
64022 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64023
64024 [BZ #12159]
64025 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64026 into all bytes of SSE register.
64027 Patch by Richard Li <richardpku@gmail.com>.
64028
64029 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64030
64031 [BZ #12140]
64032 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64033 perturbing.
64034
64035 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64036
64037 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64038 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64039 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64040 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64042 submachine.
64043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64044
64045 2010-10-22 Andreas Schwab <schwab@redhat.com>
64046
64047 * include/dlfcn.h (__RTLD_SECURE): Define.
64048 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64049 mode & __RTLD_SECURE instead.
64050 (open_path): Rename preloaded parameter to secure.
64051 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64052 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64053 * elf/dl-deps.c (openaux): Likewise.
64054 * elf/rtld.c (struct map_args): Remove is_preloaded.
64055 (map_doit): Don't use it.
64056 (dl_main): Likewise.
64057 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64058 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64059
64060 2010-09-09 Andreas Schwab <schwab@redhat.com>
64061
64062 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64063 (sysd-rules-targets): Remove duplicates.
64064 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64065 rtld-%.$o dependency.
64066
64067 2010-10-18 Andreas Schwab <schwab@redhat.com>
64068
64069 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64070 _dl_map_object do it.
64071
64072 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64073
64074 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64075 fast fma builtins, define the macros in the C99 standard.
64076 (FP_FAST_FMAF): Likewise.
64077 (FP_FAST_FMAL): Likewise.
64078 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64079
64080 * bits/mathdef.h: Update copyright year.
64081 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64082
64083 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64084
64085 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64086 builtins, define the macros in the C99 standard.
64087 (FP_FAST_FMAF): Likewise.
64088 (FP_FAST_FMAL): Likewise.
64089 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64090 multiply/add.
64091 (FP_FAST_FMAF): Likewise.
64092
64093 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64094
64095 [BZ #3268]
64096 * math/libm-test.inc (fma_test): Some new testcases.
64097 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64098 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64099 y and infinite z. Do multiplication by C already in long double.
64100 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64102 y and infinite z. Do bitwise or of inexact bit into u.d.
64103 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64104 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64105 * sysdeps/i386/fpu/s_fma.S: Removed.
64106 * sysdeps/i386/fpu/s_fmal.S: Removed.
64107
64108 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64109
64110 [BZ #3268]
64111 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64113 computation is not scheduled after fetestexcept. Fix value
64114 of minimum denormal long double.
64115
64116 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64117
64118 [BZ #3268]
64119 * math/libm-test.inc (fma_test): Add some more tests.
64120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64121 correctly.
64122
64123 2010-10-15 Andreas Schwab <schwab@redhat.com>
64124
64125 * scripts/data/localplt-s390-linux-gnu.data: New file.
64126 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64127
64128 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64129
64130 [BZ #3268]
64131 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64132 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64133 instead of dbl-64.
64134 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64135 inlines.
64136 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64138 if one of x and y is very large and the other is subnormal.
64139 * sysdeps/s390/fpu/s_fmaf.c: New file.
64140 * sysdeps/s390/fpu/s_fma.c: New file.
64141 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64142 * sysdeps/powerpc/fpu/s_fma.S: New file.
64143 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64144 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64145 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64146
64147 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64148
64149 [BZ #3268]
64150 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64151 fma tests.
64152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64153 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64154 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64155 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64156 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64157 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64158 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64159
64160 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64161
64162 [BZ #12078]
64163 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64164 * posix/bug-regex31.input: Add test case.
64165
64166 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64167
64168 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64169 * posix/bug-regex31.input: New file.
64170
64171 [BZ #12078]
64172 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64173 (parse_sub_exp): Fix last change, use postorder.
64174
64175 * posix/bug-regex31.c: New file.
64176 * posix/Makefile: Add rules to build and run bug-regex31.
64177
64178 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64179
64180 [BZ #12078]
64181 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64182
64183 [BZ #12108]
64184 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64185 to have entries in sys_siglist.
64186
64187 [BZ #12093]
64188 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64189 be NULL.
64190
64191 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64192
64193 [BZ #3268]
64194 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64195 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64196 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64197 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64198 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64199 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64200 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64201 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64202 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64203 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64204 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64205 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64206 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64207 * math/ftestexcept.c (fetestexcept): Likewise.
64208 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64209 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64210 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64211 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64212 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64213 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64214 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64215
64216 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64217
64218 [BZ #12107]
64219 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64220 newline.
64221
64222 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64223
64224 * string/bug-strstr1.c: New file.
64225 * string/Makefile: Add rules to build and run bug-strstr1.
64226
64227 2010-10-05 Eric Blake <eblake@redhat.com>
64228
64229 [BZ #12092]
64230 * string/str-two-way.h (two_way_long_needle): Always clear memory
64231 when skipping input due to the shift table.
64232
64233 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64234
64235 [BZ #12005]
64236 * malloc/mcheck.c: Handle large requests.
64237
64238 [BZ #12077]
64239 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64240 for strncmp and strncasecmp.
64241 * string/stratcliff.c: Add tests for strcmp and strncmp.
64242 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64243
64244 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64245
64246 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64247 __set_fpscr.
64248
64249 2010-09-30 Andreas Jaeger <aj@suse.de>
64250
64251 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64252 (CGROUP_SUPER_MAGIC): Define.
64253 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64254 Handle btrfs and cgroup file systems.
64255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64256 Likewise.
64257
64258 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64259
64260 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64261 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64262
64263 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64264
64265 [BZ #12067]
64266 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64267 trying to locate the ELF header.
64268
64269 2010-09-27 Andreas Schwab <schwab@redhat.com>
64270
64271 [BZ #11611]
64272 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64273 Mask out sign-bit copies when constructing f_fsid.
64274
64275 2010-09-24 Petr Baudis <pasky@suse.cz>
64276
64277 * debug/stack_chk_fail_local.c: Add missing licence exception.
64278 * debug/warning-nop.c: Likewise.
64279
64280 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64281
64282 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64283 implementing getdents64 using getdents syscall, set d_type if
64284 __ASSUME_GETDENTS32_D_TYPE.
64285
64286 2010-09-16 Andreas Schwab <schwab@redhat.com>
64287
64288 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64289 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64290
64291 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64292
64293 [BZ #12037]
64294 * posix/unistd.h: Undo change of feature selection for ftruncate from
64295 2010-01-11.
64296
64297 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64298
64299 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64300 detection.
64301
64302 2010-09-20 Andreas Schwab <schwab@redhat.com>
64303
64304 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64305 fanotify_mark.
64306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64307
64308 2010-09-14 Andreas Schwab <schwab@redhat.com>
64309
64310 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64311 variables after CHECK_SP call.
64312 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64313
64314 2010-09-13 Andreas Schwab <schwab@redhat.com>
64315 Ulrich Drepper <drepper@redhat.com>
64316
64317 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64318 re-relocationg ld.so.
64319 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64320 _dl_init_paths call.
64321 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64322 here anymore.
64323
64324 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64325
64326 * resolv/res_init.c (__res_vinit): Count the default server we added.
64327
64328 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64329 Ulrich Drepper <drepper@redhat.com>
64330
64331 [BZ #11968]
64332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64333 (____longjmp_chk): Use %ebx for saving value across system call.
64334 Add unwind info.
64335
64336 2010-09-06 Andreas Schwab <schwab@redhat.com>
64337
64338 * manual/Makefile: Don't mix pattern rules with normal rules.
64339
64340 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64341
64342 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64343 operation.
64344 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64345 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64346 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64347 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64348 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64349 Likewise.
64350
64351 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64352
64353 [BZ #11979]
64354 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64355 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64356
64357 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64358
64359 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64360 * sysdeps/x86_64/addmul_1.S: Likewise.
64361 * sysdeps/x86_64/lshift.S: Likewise.
64362 * sysdeps/x86_64/mul_1.S: Likewise.
64363 * sysdeps/x86_64/rshift.S: Likewise.
64364 * sysdeps/x86_64/sub_n.S: Likewise.
64365 * sysdeps/x86_64/submul_1.S: Likewise.
64366
64367 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64368
64369 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64370 Define __sched_param instead of SCHED_* and sched_param when
64371 <bits/sched.h> is included with __need_schedparam defined.
64372 * bits/sched.h [__need_schedparam]
64373 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64374 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64375 (__defined_schedparam): Define to 1.
64376 (__sched_param): New structure, identical to sched_param.
64377 (__need_schedparam): Undefine.
64378
64379 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64380
64381 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64382 (epoll_create1): Declare.
64383
64384 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64385
64386 2010-08-31 Andreas Schwab <schwab@redhat.com>
64387
64388 [BZ #7066]
64389 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64390 shifting retval into place.
64391
64392 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64393
64394 * nis/rpcsvc/nis.h: Update copyright notice.
64395 * nis/rpcsvc/nis.x: Likewise.
64396 * nis/rpcsvc/nis_callback.h: Likewise.
64397 * nis/rpcsvc/nis_callback.x: Likewise.
64398 * nis/rpcsvc/nis_object.x: Likewise.
64399 * nis/rpcsvc/nis_tags.h: Likewise.
64400 * nis/rpcsvc/yp.h: Likewise.
64401 * nis/rpcsvc/yp.x: Likewise.
64402 * nis/rpcsvc/ypupd.h: Likewise.
64403 * nis/yp_xdr.c: Likewise.
64404 * nis/ypupdate_xdr.c: Likewise.
64405
64406 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64407 mainly the body of pmap_getport. Add parameters to specify timeouts.
64408 (pmap_getport): Use __libc_rpc_getport.
64409 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64410 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64411 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64412
64413 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64414
64415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64416 fanotify_mark.
64417
64418 2010-08-27 Roland McGrath <roland@redhat.com>
64419
64420 * sysdeps/i386/i686/multiarch/Makefile
64421 (CFLAGS-varshift.c): New variable.
64422
64423 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64424
64425 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64426 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64427
64428 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64429
64430 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64431
64432 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64433
64434 * sysdeps/x86_64/strlen.S: Unroll the loop.
64435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64436 strlen-sse2 strlen-sse2-bsf.
64437 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64438 __strlen_no_bsf if bit_Slow_BSF is set.
64439 (__strlen_sse42): Removed.
64440 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64441 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64442
64443 2010-08-25 Roland McGrath <roland@redhat.com>
64444
64445 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64446 * sysdeps/x86_64/multiarch/varshift.c: New file.
64447 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64448 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64449 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64450 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64451
64452 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64453
64454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64455 strlen-sse2 strlen-sse2-bsf.
64456 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64457 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64458 (__strlen_sse2): Removed.
64459 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64462 bit_Slow_BSF for Atom.
64463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64464 (index_Slow_BSF): Define.
64465 (HAS_SLOW_BSF): Define.
64466
64467 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64468
64469 [BZ #10851]
64470 * resolv/res_init.c (__res_vinit): When no server address at all
64471 is given default to loopback.
64472
64473 2010-08-24 Roland McGrath <roland@redhat.com>
64474
64475 * configure.in: Remove config-name.h generation.
64476 * configure: Regenerated.
64477 * config-name.in: File removed.
64478 * scripts/config-uname.sh: New file.
64479 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64480 ($(objdir)config-name.h): New target.
64481
64482 * sunrpc/rpc_parse.h: Avoid nested comment.
64483
64484 2010-08-24 Richard Henderson <rth@redhat.com>
64485 Ulrich Drepper <drepper@redhat.com>
64486 H.J. Lu <hongjiu.lu@intel.com>
64487
64488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64490 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64491 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64492 _mm_alignr_epi8 with _mm_loadu_si128.
64493 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64494 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64495 (__m128i_shift_right): Removed.
64496 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64497 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64498 * sysdeps/x86_64/multiarch/varshift.h: New file.
64499 * sysdeps/x86_64/multiarch/varshift.S: New file.
64500
64501 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64502
64503 * configure.in: Move assembler checks to before sysdep dir checking.
64504
64505 2010-08-20 Petr Baudis <pasky@suse.cz>
64506
64507 * LICENSES: Sync the sunrpc license.
64508
64509 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64510
64511 * sunrpc/auth_des.c: Update copyright notice once again.
64512 * sunrpc/auth_none.c: Likewise.
64513 * sunrpc/auth_unix.c: Likewise.
64514 * sunrpc/authdes_prot.c: Likewise.
64515 * sunrpc/authuxprot.c: Likewise.
64516 * sunrpc/bindrsvprt.c: Likewise.
64517 * sunrpc/clnt_gen.c: Likewise.
64518 * sunrpc/clnt_perr.c: Likewise.
64519 * sunrpc/clnt_raw.c: Likewise.
64520 * sunrpc/clnt_simp.c: Likewise.
64521 * sunrpc/clnt_tcp.c: Likewise.
64522 * sunrpc/clnt_udp.c: Likewise.
64523 * sunrpc/clnt_unix.c: Likewise.
64524 * sunrpc/des_crypt.c: Likewise.
64525 * sunrpc/des_soft.c: Likewise.
64526 * sunrpc/get_myaddr.c: Likewise.
64527 * sunrpc/getrpcport.c: Likewise.
64528 * sunrpc/key_call.c: Likewise.
64529 * sunrpc/key_prot.c: Likewise.
64530 * sunrpc/openchild.c: Likewise.
64531 * sunrpc/pm_getmaps.c: Likewise.
64532 * sunrpc/pm_getport.c: Likewise.
64533 * sunrpc/pmap_clnt.c: Likewise.
64534 * sunrpc/pmap_prot.c: Likewise.
64535 * sunrpc/pmap_prot2.c: Likewise.
64536 * sunrpc/pmap_rmt.c: Likewise.
64537 * sunrpc/rpc/auth.h: Likewise.
64538 * sunrpc/rpc/auth_unix.h: Likewise.
64539 * sunrpc/rpc/clnt.h: Likewise.
64540 * sunrpc/rpc/des_crypt.h: Likewise.
64541 * sunrpc/rpc/key_prot.h: Likewise.
64542 * sunrpc/rpc/netdb.h: Likewise.
64543 * sunrpc/rpc/pmap_clnt.h: Likewise.
64544 * sunrpc/rpc/pmap_prot.h: Likewise.
64545 * sunrpc/rpc/pmap_rmt.h: Likewise.
64546 * sunrpc/rpc/rpc.h: Likewise.
64547 * sunrpc/rpc/rpc_des.h: Likewise.
64548 * sunrpc/rpc/rpc_msg.h: Likewise.
64549 * sunrpc/rpc/svc.h: Likewise.
64550 * sunrpc/rpc/svc_auth.h: Likewise.
64551 * sunrpc/rpc/types.h: Likewise.
64552 * sunrpc/rpc/xdr.h: Likewise.
64553 * sunrpc/rpc_clntout.c: Likewise.
64554 * sunrpc/rpc_cmsg.c: Likewise.
64555 * sunrpc/rpc_common.c: Likewise.
64556 * sunrpc/rpc_cout.c: Likewise.
64557 * sunrpc/rpc_dtable.c: Likewise.
64558 * sunrpc/rpc_hout.c: Likewise.
64559 * sunrpc/rpc_main.c: Likewise.
64560 * sunrpc/rpc_parse.c: Likewise.
64561 * sunrpc/rpc_parse.h: Likewise.
64562 * sunrpc/rpc_prot.c: Likewise.
64563 * sunrpc/rpc_sample.c: Likewise.
64564 * sunrpc/rpc_scan.c: Likewise.
64565 * sunrpc/rpc_scan.h: Likewise.
64566 * sunrpc/rpc_svcout.c: Likewise.
64567 * sunrpc/rpc_tblout.c: Likewise.
64568 * sunrpc/rpc_util.c: Likewise.
64569 * sunrpc/rpc_util.h: Likewise.
64570 * sunrpc/rpcinfo.c: Likewise.
64571 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64572 * sunrpc/rpcsvc/key_prot.x: Likewise.
64573 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64574 * sunrpc/rpcsvc/mount.x: Likewise.
64575 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64576 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64577 * sunrpc/rpcsvc/rex.x: Likewise.
64578 * sunrpc/rpcsvc/rstat.x: Likewise.
64579 * sunrpc/rpcsvc/rusers.x: Likewise.
64580 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64581 * sunrpc/rpcsvc/spray.x: Likewise.
64582 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64583 * sunrpc/rtime.c: Likewise.
64584 * sunrpc/svc.c: Likewise.
64585 * sunrpc/svc_auth.c: Likewise.
64586 * sunrpc/svc_authux.c: Likewise.
64587 * sunrpc/svc_raw.c: Likewise.
64588 * sunrpc/svc_run.c: Likewise.
64589 * sunrpc/svc_simple.c: Likewise.
64590 * sunrpc/svc_tcp.c: Likewise.
64591 * sunrpc/svc_udp.c: Likewise.
64592 * sunrpc/svc_unix.c: Likewise.
64593 * sunrpc/svcauth_des.c: Likewise.
64594 * sunrpc/xcrypt.c: Likewise.
64595 * sunrpc/xdr.c: Likewise.
64596 * sunrpc/xdr_array.c: Likewise.
64597 * sunrpc/xdr_float.c: Likewise.
64598 * sunrpc/xdr_mem.c: Likewise.
64599 * sunrpc/xdr_rec.c: Likewise.
64600 * sunrpc/xdr_ref.c: Likewise.
64601 * sunrpc/xdr_sizeof.c: Likewise.
64602 * sunrpc/xdr_stdio.c: Likewise.
64603
64604 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64605 handling.
64606
64607 2010-08-19 Andreas Schwab <schwab@redhat.com>
64608
64609 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64610
64611 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64612
64613 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64614 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64615 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64616 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64617 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64618 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64619 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64620 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64621 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64622 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64623 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64624 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64625 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64626 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64627
64628 2010-07-26 Anton Blanchard <anton@samba.org>
64629
64630 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64631 * malloc/arena.c (heap_trim): Likewise.
64632
64633 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64634
64635 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64636 here. Not...
64637 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64638 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64639
64640 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64641
64642 * sysdeps/i386/elf/Makefile: New file.
64643
64644 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64645
64646 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64647 from fanotify_init.
64648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64650
64651 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64652
64653 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64654 of strncasecmp_l.
64655 * sysdeps/multiarch/strcmp.S: Likewise.
64656
64657 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64658
64659 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64660 strncase_l-nonascii.
64661 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64662 Add strncase_l-ssse3.
64663 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64664 * sysdeps/x86_64/strcmp.S: Likewise.
64665 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64666 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64667 * sysdeps/x86_64/strncase.S: New file.
64668 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64669 * sysdeps/x86_64/strncase_l.S: New file.
64670 * string/Makefile (strop-tests): Add strncasecmp.
64671 * string/test-strncasecmp.c: New file.
64672
64673 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64674 warning.
64675
64676 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64677 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64678
64679 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64680
64681 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64682
64683 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64684
64685 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64686 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64687 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64688
64689 2010-05-01 Alan Modra <amodra@gmail.com>
64690
64691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64692 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64693 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64694 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64695 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64696 tidying. Don't tail-call __sigjmp_save for static lib.
64697 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64698 save location.
64699 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64700 (CALL_MCOUNT): Add eh info, and nop after bl.
64701 (TAIL_CALL_SYSCALL_ERROR): New macro.
64702 (PSEUDO_RET): Use it.
64703 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64704 Correct save location of integer regs and cr.
64705 (_dl_profile_resolve): Correct cr save location. Delete nops
64706 after bl when SHARED. Reduce cfi size a little by better
64707 placement of cfi directives.
64708 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64709 make a stack frame. Instead use parm save area as a temp.
64710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64711 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
64712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64713 Don't make a stack frame for parent, use parm save area.
64714 Increase child stack frame to 112 bytes. Don't save unused reg,
64715 and adjust reg usage. Set up cfi on error recovery and
64716 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64718 (__makecontext): Add dummy nop after jump to exit.
64719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64720 Use correct parm save area and cr save, reduce stack frame.
64721 Correct cfi for possible PSEUDO_RET frame setup.
64722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64723 Branch to local label emitted by PSEUDO_RET rather than
64724 __syscall_error.
64725
64726 2010-08-12 Andreas Schwab <schwab@redhat.com>
64727
64728 [BZ #11904]
64729 * locale/programs/locale.c (print_assignment): New function.
64730 (show_locale_vars): Use it.
64731
64732 2010-08-11 Ulrich Drepper <drepper@redhat.com>
64733
64734 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64735 field.
64736 (struct statfs64): Likewise.
64737 (_STATFS_F_FLAGS): Define.
64738 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64739 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64740 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64741 (ST_VALID): Define locally.
64742 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64743 __statvfs_getflags, use the provided value.
64744 * sysdeps/unix/sysv/linux/kernel-features.h: Define
64745 __ASSUME_STATFS_F_FLAGS.
64746
64747 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64748
64749 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64750 Add sys/fanotify.h.
64751 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64752 fanotify_mask for GLIBC_2.13.
64753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64754 fanotify_init and fanotify_mark.
64755 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64756 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64757
64758 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64759 Add prlimit.
64760 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64761 prlimit64 for GLIBC_2.13.
64762 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64763 prlimit64.
64764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64765 syscall.
64766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64767 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64768 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64769 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
64771 add prlimit alias.
64772 * sysdeps/unix/sysv/linux/prlimit.c: New file.
64773
64774 [BZ #11903]
64775 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64776 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64777
64778 * nss/Makefile: Add rules to build and run tst-nss-test1.
64779 * shlib-versions: Add entry for libnss_test1.
64780 * nss/nss_test1.c: New file.
64781 * nss/tst-nss-test1.c: New file.
64782
64783 * nss/nsswitch.c (__nss_database_custom): Define new variable.
64784 (__nss_configure_lookup): Set appropriate entry in
64785 __nss_configure_lookup to true.
64786 * nss/nsswitch.h: Define enum with indeces of databases in
64787 databases and __nss_database_custom arrays. Declare
64788 __nss_database_custom.
64789 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64790 to avoid using nscd when custom rules are installed.
64791 * nss/getXXbyYY_r.c: Likewise.
64792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64793
64794 * nss/nss_files/files-parse.c: Whitespace fixes.
64795
64796 2010-08-09 Ulrich Drepper <drepper@redhat.com>
64797
64798 [BZ #11883]
64799 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64800 * posix/fnmatch_loop.c: Likewise.
64801
64802 2010-07-17 Andi Kleen <ak@linux.intel.com>
64803
64804 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64805 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64806 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64807 * Versions.def [GLIBC_2.13]: Add.
64808
64809 2010-08-06 Ulrich Drepper <drepper@redhat.com>
64810
64811 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64812 Also fail if tpwd after pwuid call is NULL.
64813
64814 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
64815
64816 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64817 when converting to ms.
64818
64819 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
64820
64821 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64822 EOPNOTSUPP errors with ENOTTY.
64823 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64824 EOPNOTSUPP errors with ENOTTY.
64825
64826 2010-07-31 Ulrich Drepper <drepper@redhat.com>
64827
64828 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64829 Add strcasecmp_l-ssse3.
64830 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64831 strcasecmp.
64832 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64833 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64834 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64835
64836 2010-07-30 Ulrich Drepper <drepper@redhat.com>
64837
64838 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64839
64840 * string/Makefile (strop-tests): Add strcasecmp.
64841 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64842 strcasecmp_l-nonascii.
64843 (gen-as-const-headers): Add locale-defines.sym.
64844 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64845 * sysdeps/x86_64/strcasecmp.S: New file.
64846 * sysdeps/x86_64/strcasecmp_l.S: New file.
64847 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64848 * sysdeps/x86_64/locale-defines.sym: New file.
64849 * string/test-strcasecmp.c: New file.
64850
64851 * string/test-strcasestr.c: Test both ends of the range of characters.
64852 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64853
64854 2010-07-29 Roland McGrath <roland@redhat.com>
64855
64856 [BZ #11856]
64857 * manual/locale.texi (Yes-or-No Questions): Fix example code.
64858
64859 2010-07-27 Ulrich Drepper <drepper@redhat.com>
64860
64861 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64862 for ld.so.
64863
64864 2010-07-27 Andreas Schwab <schwab@redhat.com>
64865
64866 * manual/memory.texi (Malloc Tunable Parameters): Document
64867 M_PERTURB.
64868
64869 2010-07-26 Roland McGrath <roland@redhat.com>
64870
64871 [BZ #11840]
64872 * configure.in (-fgnu89-inline check): Set and substitute
64873 gnu89_inline, not libc_cv_gnu89_inline.
64874 * configure: Regenerated.
64875 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64876
64877 2010-07-26 Ulrich Drepper <drepper@redhat.com>
64878
64879 * string/test-strnlen.c: New file.
64880 * string/Makefile (strop-tests): Add strnlen.
64881 * string/tester.c (test_strnlen): Add a few more test cases.
64882 * string/tst-strlen.c: Better error reporting.
64883
64884 * sysdeps/x86_64/strnlen.S: New file.
64885
64886 2010-07-24 Ulrich Drepper <drepper@redhat.com>
64887
64888 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64889 lower-latency instructions.
64890
64891 2010-07-23 Ulrich Drepper <drepper@redhat.com>
64892
64893 * string/test-strcasestr.c: New file.
64894 * string/test-strstr.c: New file.
64895 * string/Makefile (strop-tests): Add strstr and strcasestr.
64896 * string/str-two-way.h: Don't undefine MAX.
64897 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64898
64899 2010-07-21 Andreas Schwab <schwab@redhat.com>
64900
64901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64902 strcasestr-nonascii.
64903 (CFLAGS-strcasestr-nonascii.c): Define.
64904 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64905 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64906 Remove unused attribute.
64907
64908 2010-07-20 Roland McGrath <roland@redhat.com>
64909
64910 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
64911 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
64912 ld.so.cache was broken. With it, there is no way to disable dsocaps
64913 like LD_HWCAP_MASK can disable hwcaps.
64914
64915 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
64916
64917 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
64918
64919 2010-07-16 Ulrich Drepper <drepper@redhat.com>
64920
64921 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
64922 call in strcasestr.
64923 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
64924 __strcasestr_sse42_nonascii.
64925 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
64926 strcasestr-nonascii.c.
64927 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
64928
64929 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
64930
64931 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
64932 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
64933 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
64934 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
64935
64936 2010-07-09 Ulrich Drepper <drepper@redhat.com>
64937
64938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
64939 fcntl.
64940
64941 2010-07-06 Andreas Schwab <schwab@redhat.com>
64942
64943 [BZ #11577]
64944 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
64945 dl_signal_cerror.
64946
64947 2010-07-06 Ulrich Drepper <drepper@redhat.com>
64948
64949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
64950 _PC_PIPE_BUF using F_GETPIPE_SZ.
64951
64952 2010-07-05 Roland McGrath <roland@redhat.com>
64953
64954 * manual/arith.texi (Rounding Functions): Fix rint description
64955 implicit in round description.
64956
64957 2010-07-02 Ulrich Drepper <drepper@redhat.com>
64958
64959 * elf/Makefile: Fix linking for a few tests to make recent linker
64960 happy.
64961
64962 2010-06-30 Andreas Schwab <schwab@redhat.com>
64963
64964 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
64965 $(common-objpfx)libc_nonshared.a.
64966
64967 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
64968
64969 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
64970 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
64971 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64972 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64973 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
64974 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
64975 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64976 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
64978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
64979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
64980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
64981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
64982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
64983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
64984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
64985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
64986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
64987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
64988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
64989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
64990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
64991 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
64992 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
64993 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
64994 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
64995 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
64996 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
64997 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
64998 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
64999 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65000 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65001 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65002 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65017
65018 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65019
65020 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65021 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65022 * string/memmove.c (memmove): Renamed to ...
65023 (MEMMOVE): ...this. Default to memmove.
65024 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65025 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65026 (END_CHK): Define.
65027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65028 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65029 mempcpy-ssse3-back memmove-ssse3-back.
65030 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65032 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65033 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65034 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65035 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65036 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65037 * sysdeps/x86_64/multiarch/memmove.c: New file.
65038 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65039 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65040 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65041 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65042 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65043 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65044 Define.
65045 (index_Fast_Copy_Backward): Define.
65046 (HAS_ARCH_FEATURE): Define.
65047 (HAS_FAST_REP_STRING): Define.
65048 (HAS_FAST_COPY_BACKWARD): Define.
65049
65050 2010-06-21 Andreas Schwab <schwab@redhat.com>
65051
65052 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65053 Restore proper fallback handling.
65054
65055 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65056
65057 [BZ #11701]
65058 * posix/group_member.c (__group_member): Correct checking loop.
65059
65060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65061 OOM in getpwuid_r correctly. Return error number when the caller
65062 should return, otherwise -1.
65063 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65064 call returning > 0 value.
65065 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65066
65067 2010-06-07 Andreas Schwab <schwab@redhat.com>
65068
65069 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65070 libc_nonshared.a from targets in modules-names.
65071
65072 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65073
65074 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65075 requires it.
65076
65077 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65078
65079 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65080 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65082 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65083
65084 2010-06-02 Andreas Schwab <schwab@redhat.com>
65085
65086 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65087
65088 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65089
65090 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65091 and F_GETPIPE_SZ.
65092 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65093 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65094 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65095 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65096 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65097 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65098
65099 2010-06-14 Roland McGrath <roland@redhat.com>
65100
65101 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65102
65103 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65104
65105 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65106 __REDIRECT followed by __THROW.
65107 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65108 * posix/getopt.h (getopt): Likewise.
65109
65110 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65111
65112 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65113 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65114 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65115 in AT_FLAGS.
65116 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65117 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65118
65119 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65120
65121 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65122
65123 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65124
65125 [BZ #11640]
65126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65127 Properly check family and model.
65128
65129 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65130
65131 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65132
65133 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65134
65135 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65136
65137 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65138
65139 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65140 symbol reference.
65141
65142 2010-05-19 Andreas Schwab <schwab@redhat.com>
65143
65144 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65145 symbol reference.
65146
65147 2010-05-21 Andreas Schwab <schwab@redhat.com>
65148
65149 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65150 and internal_recvmmsg.
65151 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65152 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65153 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65154 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65155
65156 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65157 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65158 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65159
65160 2010-05-20 Andreas Schwab <schwab@redhat.com>
65161
65162 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65163
65164 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65165
65166 POWER7 optimizations.
65167 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65168 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65169
65170 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65171
65172 * version.h: Update for 2.13 development version.
65173
65174 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65175
65176 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65177 exceptions. Return 0.
65178
65179 2010-05-07 Roland McGrath <roland@redhat.com>
65180
65181 * elf/ldconfig.c (main): Add a const.
65182
65183 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65184
65185 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65186 (args_options): Add no-idn option.
65187 (ahosts_keys_int): Add idn_flags to ai_flags.
65188 (parse_option): Handle 'i' option to clear idn_flags.
65189
65190 * malloc/malloc.c (_int_free): Possible race in the most recently
65191 added check. Only act on the data if no current modification
65192 happened.
65193
65194 See ChangeLog.17 for earlier changes.