]> sourceware.org Git - glibc.git/blob - ChangeLog
conformtest: Fix namespace testing.
[glibc.git] / ChangeLog
1 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2
3 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4 errors.
5 (top level): Treat second token from macro or constant entries for
6 allowed headers as allowed.
7 * include/complex.h: Condition internal declarations on
8 [!_ISOMAC].
9 * include/fenv.h: Condition include of <stdbool.h> and internal
10 declarations on [!_ISOMAC].
11
12 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13
14 [BZ #15923]
15 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16
17 2013-09-04 Joseph Myers <joseph@codesourcery.com>
18
19 * configure.in (--enable-versioning): Remove configure option.
20 (libc_cv_asm_symver_directive): Remove configure test.
21 (libc_cv_ld_version_script_option): Likewise.
22 (VERSIONING): Remove variable and AC_SUBST.
23 (DO_VERSIONING): Remove AC_DEFINE.
24 * configure: Regenerated.
25 * config.h.in (DO_VERSIONING): Remove macro.
26 * Makerules [$(versioning) = yes]: Change conditionals to
27 [$(build-shared) = yes].
28 * config.make.in (versioning): Remove variable.
29 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
30 [$(build-shared) = yes].
31 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
33 * elf/Makefile [$(versioning) = yes]: Change conditionals to
34 [$(build-shared) = yes].
35 * extra-lib.mk [$(versioning) = yes]: Likewise.
36 * hurd/Makefile [$(versioning) = yes]: Likewise.
37 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38 [SHARED].
39 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40 [SHARED].
41 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42 [SHARED && !NO_HIDDEN].
43 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
44 [SHARED].
45 [SHARED && DO_VERSIONING]: Likewise..
46 * libio/Makefile [$(versioning) = yes]: Change conditionals to
47 [$(build-shared) = yes].
48 * manual/install.texi (--disable-versioning): Remove
49 documentation.
50 * INSTALL: Regenerated.
51 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52 to [SHARED].
53 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
54 [$(build-shared) = yes].
55 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56 * sysdeps/i386/i686/multiarch/strstr-c.c
57 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58 [SHARED && !NO_HIDDEN].
59 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
61 * sysdeps/powerpc/powerpc32/dl-machine.c
62 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63 * sysdeps/powerpc/powerpc32/sysdep.h
64 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
65 to [SHARED && PIC && !NO_HIDDEN].
66 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
67 conditional to [SHARED].
68
69 2013-09-04 Will Newton <will.newton@linaro.org>
70
71 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
72 * benchtests/bench-string.h: Include bench-timing.h instead
73 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
74 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
75 call to HP_TIMING_DIFF_INIT.
76 * benchtests/bench-memccpy.c: Use bench-timing.h macros
77 instead of hp-timing.h macros.
78 * benchtests/bench-memchr.c: Likewise.
79 * benchtests/bench-memcmp.c: Likewise.
80 * benchtests/bench-memcpy.c: Likewise.
81 * benchtests/bench-memmem.c: Likewise.
82 * benchtests/bench-memmove.c: Likewise.
83 * benchtests/bench-memset.c: Likewise.
84 * benchtests/bench-rawmemchr.c: Likewise.
85 * benchtests/bench-strcasecmp.c: Likewise.
86 * benchtests/bench-strcasestr.c: Likewise.
87 * benchtests/bench-strcat.c: Likewise.
88 * benchtests/bench-strchr.c: Likewise.
89 * benchtests/bench-strcmp.c: Likewise.
90 * benchtests/bench-strcpy.c: Likewise.
91 * benchtests/bench-strcpy_chk.c: Likewise.
92 * benchtests/bench-strlen.c: Likewise.
93 * benchtests/bench-strncasecmp.c: Likewise.
94 * benchtests/bench-strncat.c: Likewise.
95 * benchtests/bench-strncmp.c: Likewise.
96 * benchtests/bench-strncpy.c: Likewise.
97 * benchtests/bench-strnlen.c: Likewise.
98 * benchtests/bench-strpbrk.c: Likewise.
99 * benchtests/bench-strrchr.c: Likewise.
100 * benchtests/bench-strspn.c: Likewise.
101 * benchtests/bench-strstr.c: Likewise.
102
103 2013-09-04 Will Newton <will.newton@linaro.org>
104
105 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
106
107 2013-09-03 Joseph Myers <joseph@codesourcery.com>
108
109 [BZ #15427]
110 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
111 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
112 * math/libm-test.inc (lgamma_test_data): Add more tests.
113 * sysdeps/i386/fpu/libm-test-ulps: Update.
114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
115
116 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
117
118 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
120 Add ifunc.
121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
122 Add strcmp-sse2-unaligned
123 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
124
125 2013-09-02 Mike Frysinger <vapier@gentoo.org>
126
127 * Versions.def (libc): Add GLIBC_2.19.
128
129 2013-09-02 Mike Frysinger <vapier@gentoo.org>
130
131 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
132 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
133
134 2013-09-02 Joseph Myers <joseph@codesourcery.com>
135
136 [BZ #14155]
137 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
138 intermediate calculations in recurrence.
139 (__ieee754_ynf): Likewise.
140 * math/libm-test.inc (jn_test_data): Do not allow spurious
141 underflow exception. Add more tests.
142 (yn_test_data): Add more tests.
143 * sysdeps/i386/fpu/libm-test-ulps: Update.
144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145
146 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
147
148 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
149
150 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
151
152 * csu/init-first.c: Fix then/than typos.
153 * locale/programs/ld-collate.c: Likewise.
154 * locale/programs/linereader.h: Likewise.
155 * manual/charset.texi: Likewise.
156 * manual/filesys.texi: Likewise.
157 * manual/stdio.texi: Likewise.
158 * manual/string.texi: Likewise.
159 * stdlib/fmtmsg.c: Likewise.
160 * sysdeps/i386/stpncpy.S: Likewise.
161 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
162 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
163 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
164 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
165
166 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
167
168 * elf/dl-open.c: Fix typos.
169 * iconvdata/gbbig5.c: Likewise.
170 * iconvdata/iso-2022-jp.c: Likewise.
171 * iconv/gconv_int.h: Likewise.
172 * iconv/loop.c: Likewise.
173 * nis/rpcsvc/nis.h: Likewise.
174 * resolv/ns_name.c: Likewise.
175 * stdio-common/vfscanf.c: Likewise.
176 * streams/stropts.h: Likewise.
177 * sunrpc/rpc_thread.c: Likewise.
178 * sysdeps/i386/strpbrk.S: Likewise.
179 * sysdeps/ieee754/k_standard.c: Likewise.
180 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
181 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
182 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
183 * sysdeps/mach/hurd/profil.c: Likewise.
184 * sysdeps/s390/dl-procinfo.h: Likewise.
185 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
186 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
187 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
188 * sysdeps/x86_64/dl-trampoline.S: Likewise.
189 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
190
191 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
192
193 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
195
196 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
197
198 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
199 aix specific files.
200 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
201 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
202 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
203 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
204 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
205 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
206 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
207 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
208
209 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
210 Roland McGrath <roland@hack.frob.com>
211
212 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
213 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
214
215 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
216
217 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
218 __executable_start symbol instead of _start.
219
220 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
221
222 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
223 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
224 Move macros to...
225 * sysdeps/gnu/ldsodefs.h: ... this new file.
226
227 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
228 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
229 instead of ELFOSABI_LINUX.
230
231 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
232 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
233 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
234 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
235 Likewise.
236 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
237 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
238 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
239 Likewise.
240 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
241 (ibm_extended_long_double): Add ieee_nan member.
242 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
243 (do_test): New function.
244
245 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
246 TEST_TRUNC.
247 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
248 functions, renamed from truncdfsf_test, trunctfsf_test,
249 trunctfdf_test.
250 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
251 functions.
252 (do_test): Run all these.
253
254 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
255
256 * argp/argp-help.c: Fix typos.
257 * argp/argp-parse.c: Likewise.
258 * debug/backtracesyms.c: Likewise.
259 * elf/elf.h: Likewise.
260 * malloc/malloc.c: Likewise.
261 * nis/nis_print.c: Likewise.
262 * resolv/res_comp.c: Likewise.
263 * stdlib/stdlib.h: Likewise.
264 * sunrpc/clnt_tcp.c: Likewise.
265 * sunrpc/clnt_udp.c: Likewise.
266 * sunrpc/clnt_unix.c: Likewise.
267 * sysdeps/unix/bsd/ptsname.c: Likewise.
268 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
269 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
271 Likewise.
272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
273 Likewise.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
275 Likewise.
276 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
277
278 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
279
280 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
282
283 2013-08-27 Mike Frysinger <vapier@gentoo.org>
284
285 [BZ #15897]
286 * dlfcn/Makefile (tests): Add bug-dl-leaf.
287 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
288 ($(objpfx)bug-dl-leaf): New rule.
289 ($(objpfx)bug-dl-leaf.so): Likewise.
290 ($(objpfx)bug-dl-leaf.out): Likewise.
291 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
292 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
293 * dlfcn/bug-dl-leaf.c: New test.
294 * dlfcn/bug-dl-leaf-lib.c: Likewise.
295 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
296 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
297 (dlclose): Likewise.
298 (dlmopen): Likewise.
299
300 2013-08-27 Roland McGrath <roland@hack.frob.com>
301
302 * include/netdb.h [!_ISOMAC]:
303 Don't include <tls.h>.
304 (h_errno, __libc_h_errno): Move declaration and macros out of
305 [_LIBC_REENTRANT].
306
307 * include/resolv.h [_RESOLV_H_]:
308 Don't include <tls.h>.
309 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
310 * resolv/res_libc.c: Don't include <tls.h>.
311 (_res): Use __attribute__ ((nocommon)) in place of
312 __attribute__ ((section (".bss"))).
313
314 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
315 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
316
317 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
318
319 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
320 only under [SIOCGIFCONF && SIOCGIFNETMASK].
321
322 * resolv/res_mkquery.c: Include <sys/time.h>.
323
324 * inet/ifreq.c: Moved to ...
325 * sysdeps/unix/ifreq.c: ... here.
326 * inet/ifreq.c: New file, true stub version.
327
328 * socket/sa_len.c: New file.
329 * socket/Makefile (aux): Add it.
330 * sysdeps/unix/sysv/linux/Makefile
331 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
332 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
333 and #include <socket/sa_len.c>.
334 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
335 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
336
337 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
338 * bits/socket.h: ... here.
339
340 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
341 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
342 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
343
344 2013-08-27 Andreas Schwab <schwab@suse.de>
345
346 [BZ #15736]
347 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
348 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
349 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
350 * string/test-strcasecmp.c (test_main): Run tests in several
351 locales.
352 * string/test-strncasecmp.c (test_main): Likewise.
353
354 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
355 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
356 to __strcasecmp_nonascii and __strncasecmp_nonascii.
357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
358 (__strncasecmp_ssse3) [PIC]: Likewise.
359
360 2013-08-26 Roland McGrath <roland@hack.frob.com>
361
362 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
363
364 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
365 instead of explicitly declaring xdecrypt.
366 * nis/nss_nis/nis-publickey.c: Likewise.
367
368 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
369
370 [BZ #15890]
371 * nscd/aicache.c: Include res_hconf.h.
372 (addhstaiX): Initialize res_hconf.
373
374 2013-08-26 Andreas Schwab <schwab@suse.de>
375
376 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
377 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
378
379 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
380
381 * nscd/aicache.c (addhstaiX): Fix indentation.
382
383 2013-08-25 Mike Frysinger <vapier@gentoo.org>
384
385 * configure.ac: Quote $build_pt_chown test.
386 * configure: Regenerated.
387
388 2013-08-23 Joseph Myers <joseph@codesourcery.com>
389
390 [BZ #15532]
391 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
392 * math/s_cexpf.c (__cexpf): Likewise.
393 * math/s_cexpl.c (__cexpl): Likewise.
394 * math/libm-test.inc (cexp_test_data): Correct expected return
395 value for NaN + i0. Add another test.
396
397 2013-08-22 David S. Miller <davem@davemloft.net>
398
399 * po/ca.po: Update Catalan translation from translation project.
400 * po/uk.po: Add Ukrainian translations from translation project.
401
402 2013-08-21 Joseph Myers <joseph@codesourcery.com>
403
404 [BZ #15797]
405 * math/s_fdim.c (__fdim): Check for infinite arguments if result
406 is infinite, not alongside NaN test.
407 * math/s_fdimf.c (__fdimf): Likewise.
408 * math/s_fdiml.c (__fdiml): Likewise.
409 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
410 errno is unchanged.
411
412 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
413
414 * argp/argp-help.c: Fix typos.
415 * crypt/speeds.c: Likewise.
416 * csu/check_fds.c: Likewise.
417 * elf/dl-load.c: Likewise.
418 * elf/dl-open.c: Likewise.
419 * elf/reldep3.c: Likewise.
420 * elf/reldep.c: Likewise.
421 * elf/sprof.c: Likewise.
422 * iconv/iconv_charmap.c: Likewise.
423 * iconv/skeleton.c: Likewise.
424 * iconv/strtab.c: Likewise.
425 * io/lockf64.c: Likewise.
426 * libio/libioP.h: Likewise.
427 * resolv/gai_notify.c: Likewise.
428 * resolv/ns_name.c: Likewise.
429 * resolv/ns_samedomain.c: Likewise.
430 * resolv/res_send.c: Likewise.
431 * stdlib/random.c: Likewise.
432 * sunrpc/rpc/xdr.h: Likewise.
433 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
434 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
435 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
436 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
437 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
438 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
440 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
441 * sysdeps/mach/hurd/check_fds.c: Likewise.
442 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
443 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
444 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
445 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
446 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
447 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
448 * sysdeps/pthread/aio_notify.c: Likewise.
449 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
450 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
451 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
452 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
453 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
454
455 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
456
457 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
458 version if bit_Slow_SSE4_2 is set.
459 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
460 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
461
462 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
463
464 [BZ #15867]
465 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
466 trampoline stack frame information.
467 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
469 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
470 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
471 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
472 * sysdeps/unix/sysv/linux/powerpc/init-first.c
473 (_libc_vdso_platform_setup): Initialize the signal trampolines.
474 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
475 sa_flags value.
476 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
477 interrupting a syscall and set with option SA_SIGINFO.
478
479 2013-08-20 Joseph Myers <joseph@codesourcery.com>
480
481 [BZ #15531]
482 * math/s_cproj.c (__cproj): Only return an infinity if one part of
483 argument is infinite.
484 * math/s_cprojf.c (__cprojf): Likewise.
485 * math/s_cprojl.c (__cprojl): Likewise.
486 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
487 * math/libm-test.inc (cproj_test_data): Add more tests.
488
489 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
490
491 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
492 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
493 size. Use __ffs to determine corresponding shift.
494
495 2013-08-20 Joseph Myers <joseph@codesourcery.com>
496 Roland McGrath <roland@hack.frob.com>
497
498 * Makefile (INSTALL): Remove trailing blank lines from output of
499 makeinfo.
500
501 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
502
503 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
504 Align 32 bit compat elf_greg to 8 bytes.
505
506 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
507
508 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
509
510 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
511
512 * string/strcoll_l.c (coll_seq): New structure.
513 (get_next_seq_cached): New function.
514 (get_next_seq): New function.
515 (do_compare): New function.
516 (STRCOLL): Use GNU style definition. Simplify implementation
517 by using get_next_seq, get_next_seq_cached and do_compare.
518
519 2013-08-16 Florian Weimer <fweimer@redhat.com>
520
521 [BZ #14699]
522 CVE-2013-4237
523 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
524 member.
525 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
526 member.
527 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
528 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
529 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
530 conditional.
531 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
532 GETDENTS_64BIT_ALIGNED.
533 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
534 * manual/filesys.texi (Reading/Closing Directory): Document
535 ENAMETOOLONG return value of readdir_r. Recommend readdir more
536 strongly.
537 * manual/conf.texi (Limits for Files): Add portability note to
538 NAME_MAX, PATH_MAX.
539 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
540
541 2013-08-13 Andreas Schwab <schwab@suse.de>
542
543 [BZ #15749]
544 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
545 of fabs.
546 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
547 LDBL_MAX_EXP >= 16384]: Add tests for it.
548
549 2013-08-12 David S. Miller <davem@davemloft.net>
550
551 * version.h (RELEASE): Set to "development".
552 (VERSION): Set to "2.18.90".
553 * NEWS: Add 2.19 section.
554
555 2013-08-03 David S. Miller <davem@davemloft.net>
556
557 * po/ko.po: Update Korean translation from translation project.
558
559 2013-08-01 David S. Miller <davem@davemloft.net>
560
561 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
562 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
563 Bilka.
564
565 2013-07-30 David S. Miller <davem@davemloft.net>
566
567 * po/fr.po: Update French translation from translation project.
568
569 2013-07-28 David S. Miller <davem@davemloft.net>
570
571 * po/cs.po: Update Czech translation from translation project.
572
573 * po/sv.po: Update Swedish translation from translation project.
574
575 2013-07-27 David S. Miller <davem@davemloft.net>
576
577 * po/eo.po: Update Esperanto translation from translation project.
578
579 * po/vi.po: Update Vietnamese translation from translation project.
580
581 * po/de.po: Update German translation from translation project.
582
583 2013-07-26 David S. Miller <davem@davemloft.net>
584
585 * po/bg.po: Update Bulgarian translation from translation project.
586
587 * po/nl.po: Update Dutch translation from translation project.
588 * po/pl.po: Update Polish translation from translation project.
589 * po/ru.po: Update Russian translation from translation project.
590
591 2013-07-24 David S. Miller <davem@davemloft.net>
592
593 * po/libc.pot: Update.
594
595 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
596
597 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
598 variable page size.
599 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
600 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
601 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
602
603 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
604
605 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
606
607 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
608 Andreas Schwab <schwab@suse.de>
609 Roland McGrath <roland@hack.frob.com>
610 Joseph Myers <joseph@codesourcery.com>
611 Carlos O'Donell <carlos@redhat.com>
612
613 [BZ #15755]
614 * config.h.in: Define HAVE_PT_CHOWN.
615 * config.make.in (build-pt-chown): New variable.
616 * configure.in (--enable-pt_chown): New configure option.
617 * configure: Regenerate.
618 * login/Makefile: Include Makeconfig. Build pt_chown only if
619 build-pt-chown is enabled.
620 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
621 pt_chown to fix pty ownership.
622 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
623 CLOSE_ALL_FDS.
624 * manual/install.texi (Configuring and compiling): Mention
625 --enable-pt_chown. Add @findex for grantpt.
626 * INSTALL: Regenerate.
627
628 2013-07-20 David S. Miller <davem@davemloft.net>
629
630 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
631 difference between 32-bit and 64-bit.
632
633 2013-07-15 Carlos O'Donell <carlos@redhat.com>
634
635 [BZ #15711]
636 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
637 Avoid system header dependency with -ffreestanding.
638 ($(objpfx)bits/syscall%d): Likewise.
639
640 2013-07-13 David S. Miller <davem@davemloft.net>
641
642 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
643 underflows from atanl/atan2l due to bug 15319.
644 (casinh_test_data): Likewise.
645
646 2013-07-07 David S. Miller <davem@davemloft.net>
647
648 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
649
650 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
651
652 * sysdeps/i386/fpu/libm-test-ulps: Update.
653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
654
655 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
656
657 * configure.in (--enable-lock-elision): Fix message text.
658 * INSTALL: Regenerate.
659 * configure: Regenerate.
660
661 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
662
663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
664
665 2013-07-03 Andreas Jaeger <aj@suse.de>
666
667 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
668 define.
669 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
670 (ptrace_peeksiginfo_args): Add.
671 (__ptrace_peeksiginfo_flags): Add.
672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
673 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
674 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
675
676 2013-07-03 Allan McRae <allan@archlinux.org>
677
678 * sysdeps/i386/fpu/libm-test-ulps: Update.
679
680 2013-07-02 David S. Miller <davem@davemloft.net>
681
682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
683
684 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
685
686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
687
688 2013-07-02 Joseph Myers <joseph@codesourcery.com>
689
690 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
692
693 2013-07-02 Andi Kleen <ak@linux.intel.com>
694
695 * config.h.in (ENABLE_LOCK_ELISION): Add.
696 * configure.in (--enable-lock-elision): Add option.
697 * manual/install.texi: Document --enable lock elision.
698 * configure: Regenerate
699 * INSTALL: Regenerate.
700
701 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
702
703 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
704 SSE4.2 strcasecmp for libc.a.
705 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
706
707 2013-07-02 Joseph Myers <joseph@codesourcery.com>
708
709 [BZ #13304]
710 * soft-fp/op-common.h (_FP_FMA): New macro.
711 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
712 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
713 (_FP_MUL_MEAT_1_imm): ... here.
714 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
715 (_FP_MUL_MEAT_1_wide): ... here.
716 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
717 (_FP_MUL_MEAT_1_hard): ... here.
718 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
719 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
720 (_FP_MUL_MEAT_2_wide): ... here.
721 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
722 (_FP_MUL_MEAT_2_wide_3mul): ... here.
723 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
724 (_FP_MUL_MEAT_2_gmp): ... here.
725 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
726 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
727 (_FP_MUL_MEAT_4_wide): ... here.
728 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
729 (_FP_MUL_MEAT_4_gmp): ... here.
730 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
731 (_FP_WFRACBITS_DW_S): Likewise.
732 (_FP_WFRACXBITS_DW_S): Likewise.
733 (_FP_HIGHBIT_DW_S): Likewise.
734 (FP_FMA_S): Likewise.
735 (_FP_FRAC_HIGH_DW_S): Likewise.
736 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
737 (_FP_WFRACBITS_DW_D): Likewise.
738 (_FP_WFRACXBITS_DW_D): Likewise.
739 (_FP_HIGHBIT_DW_D): Likewise.
740 (FP_FMA_D): Likewise.
741 (_FP_FRAC_HIGH_DW_D): Likewise.
742 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
743 (_FP_WFRACBITS_DW_E): Likewise.
744 (_FP_WFRACXBITS_DW_E): Likewise.
745 (_FP_HIGHBIT_DW_E): Likewise.
746 (FP_FMA_E): Likewise.
747 (_FP_FRAC_HIGH_DW_E): Likewise.
748 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
749 (_FP_WFRACBITS_DW_Q): Likewise.
750 (_FP_WFRACXBITS_DW_Q): Likewise.
751 (_FP_HIGHBIT_DW_Q): Likewise.
752 (FP_FMA_Q): Likewise.
753 (_FP_FRAC_HIGH_DW_Q): Likewise.
754 * soft-fp/fmasf4.c: New file.
755 * soft-fp/fmadf4.c: Likewise.
756 * soft-fp/fmatf4.c: Likewise.
757
758 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
759
760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
761 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
762 Silvermont.
763 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
764 macro.
765 (index_Slow_SSE4_2): Likewise.
766 (index_Prefer_PMINUB_for_stringop): Likewise.
767 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
768 bit_Slow_SSE4_2 is set.
769 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
770 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
771
772 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
773
774 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
775 rtld_global._dl_hwcap2.
776 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
777 POWER8.
778 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
779 POWER8 feature descriptions defined in _dl_hwcap2.
780 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
781 string handling for POWER8 feature bits.
782 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
783 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
784 _dl_powerpc_cap_flags.
785 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
786 * sysdeps/powerpc/rtld-global-offsets.sym
787 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
788 _dl_hwcap2 in the rtld_global_ro structure.
789
790 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
791
792 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
793 hardware capabilities in support of AT_HWCAP2.
794 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
795 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
796 GLRO(dl_hwcap2).
797 (_dl_show_auxv): Add support for calling _dl_procinfo to display
798 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
799 explicitly the unknown a_type display mechanism is used.
800 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
801 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
802 struct member.
803 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
804 to macro prototype for AT_HWCAP2 support.
805 * sysdeps/i386/dl-procinfo.h: Likewise.
806 * sysdeps/s390/dl-procinfo.h: Likewise.
807 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
808 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
809 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
810 return -1 for unknown a_type display fallback.
811 * sysdeps/sparc/dl-procinfo.h: Likewise.
812 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
813 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
814
815 2013-06-28 Joseph Myers <joseph@codesourcery.com>
816
817 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
818 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
819
820 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
821
822 [BZ #12492]
823 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
824 mprotect making __stack_prot writable.
825
826 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
827 Joseph Myers <joseph@codesourcery.com>
828
829 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
830 as being properly aligned.
831
832 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
833
834 * dlfcn/modstatic5.c: New file.
835 * dlfcn/tststatic5.c: New file.
836 * dlfcn/Makefile (tests): Add tststatic5.
837 (tests-static): Likewise.
838 (modules-names): Add modstatic5.
839 (tststatic5-ENV): New variable.
840 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
841
842 [BZ #15022]
843 * elf/dl-support.c (_dl_main_map): New variable.
844 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
845 (_dl_nns, _dl_load_adds): Set to 1.
846 (_dl_initial_searchlist): Refer to _dl_main_map.
847 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
848 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
849 call to _dl_get_origin.
850 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
851 around call_map.
852 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
853 * dlfcn/modstatic3.c: New file.
854 * dlfcn/tststatic3.c: New file.
855 * dlfcn/tststatic4.c: New file.
856 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
857 (tests-static): Likewise.
858 (modules-names): Add modstatic3.
859 (tststatic3-ENV, tststatic4-ENV): New variables.
860 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
861 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
862
863 2013-06-26 Joseph Myers <joseph@codesourcery.com>
864
865 * configure.in (CC): Require GCC version 4.4 or later.
866 * configure: Regenerated.
867 * manual/install.texi (Tools for Compilation): Update GCC version
868 requirement.
869 * INSTALL: Regenerated.
870
871 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
872
873 [BZ #15674]
874 * string/test-memcmp.c (check2): New.
875 (main): Call check2.
876
877 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
878
879 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
880
881 [BZ #15022]
882 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
883 over to...
884 (dl_open_worker) [!SHARED]: ... here.
885
886 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
887
888 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
889
890 2013-06-25 Richard Henderson <rth@redhat.com>
891
892 * locale/programs/locarchive.c: Include <libc-internal.h>
893
894 2013-06-25 Joseph Myers <joseph@codesourcery.com>
895
896 * manual/texinfo.tex: Update to version 2013-06-21.17, with
897 trailing whitespace removed.
898
899 2013-06-24 Mike Frysinger <vapier@gentoo.org>
900
901 [BZ #10283]
902 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
903 * locale/programs/locarchive.c: Include libc-mmap.h.
904 (prepare_address_space): Take two new outputs (the mmap base and len).
905 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
906 values.
907 (create_archive): Declare new mmap base and len values for
908 prepare_address_space, and store the result in ah.
909 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
910 (enlarge_archive): If ah->mmap_base is not NULL, use that and
911 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
912 Declare new mmap base and len values for
913 prepare_address_space, and store the result in new_ah.
914 (open_archive): Declare new mmap base and len values for
915 prepare_address_space, and store the result in ah.
916 (close_archive): If ah->mmap_base is not NULL, use that and
917 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
918 * sysdeps/generic/libc-mmap.h: New file.
919
920 2013-06-24 Mike Frysinger <vapier@gentoo.org>
921
922 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
923 (ALIGN_UP): Likewise.
924 (PTR_ALIGN_DOWN): Likewise.
925 (PTR_ALIGN_UP): Likewise.
926
927 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
928
929 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
930 entry mapped to PPC_PLATFORM_POWER8.
931 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
932 POWER8.
933 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
934 (_dl_string_platform): Add case for exporting platform position for
935 POWER8.
936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
937 search path to sysdeps/powerpc/powerpc32/power8 directory.
938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
939 search path to sysdeps/powerpc/powerpc64/power8 directory.
940 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
941 power7 directories.
942 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
943 power7 directories.
944
945 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
946
947 * INSTALL: Regenerate.
948
949 * nscd/connections.c (nscd_init): Fix comment.
950
951 2013-06-22 Joseph Myers <joseph@codesourcery.com>
952
953 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
954
955 [BZ #15667]
956 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
957 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
958
959 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
960
961 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
962 DL_DST_REQ_STATIC.
963 (DL_DST_REQ_STATIC): Remove macro.
964
965 2013-06-21 Joseph Myers <joseph@codesourcery.com>
966
967 [BZ #7006]
968 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
969 with a shift of 0 bits.
970
971 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
972
973 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
974 $(tststatic-ENV).
975
976 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
977
978 [BZ #15655]
979 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
980
981 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
982
983 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
984 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
985 accepts -fno-tree-loop-distribute-patterns.
986 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
987 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
988 recursive call.
989 * string/memset.c (memset): Likewise.
990 * string/test-memmove.c (simple_memmove): Disable loop transformation
991 to library calls.
992 * string/test-memset.c (simple_memset): Likewise.
993 * benchtests/bench-memmove.c (simple_memmove): Likewise.
994 * benchtests/bench-memset.c (simple_memset): Likewise.
995 * configure: Regenerated.
996
997 2013-06-20 Joseph Myers <joseph@codesourcery.com>
998
999 * math/test-misc.c (main): Ignore fesetround failure when failures
1000 of subsequent rounding tests would be ignored.
1001
1002 [BZ #15654]
1003 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1004 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1005 * math/fegetenv.c (__fegetenv): Return 0.
1006 * math/fegetexcept.c (fegetexcept): Return 0.
1007 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1008 FE_TONEAREST.
1009 * math/feholdexcpt.c (feholdexcept): Return 0.
1010 * math/fesetenv.c (__fesetenv): Return 0.
1011 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1012 argument FE_TONEAREST.
1013 * math/feupdateenv.c (__feupdateenv): Return 0.
1014 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1015
1016 2013-06-18 Roland McGrath <roland@hack.frob.com>
1017
1018 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1019 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1020 ($(objpfx)rtld-%.os rules): Use them.
1021
1022 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1023
1024 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1025 fields.
1026
1027 2013-06-17 Roland McGrath <roland@hack.frob.com>
1028
1029 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1030 length of target pattern, then descending length of dependency pattern.
1031 * configure.in (AWK): Require gawk 3.1.2 or newer.
1032 * manual/install.texi (Tools for Compilation): Say that we do.
1033 * configure: Regenerated.
1034
1035 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1036 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1037 * scripts/sysd-rules.awk: ... this new script.
1038 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1039 than a glob-style pattern.
1040
1041 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1042
1043 * math/test-misc.c (main): Do not treat incorrectly rounded
1044 conversions as failure unless ROUNDING_TESTS passes.
1045
1046 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1047
1048 [BZ #15631]
1049 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1050 restore exception state around main square root computation, then
1051 check for inexactness explicitly.
1052
1053 * math/libm-test.inc (fma_test_data): Add another test.
1054
1055 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1056
1057 * manual/threads.texi (Non-POSIX Extensions): New document
1058 node. Document pthread_getattr_default_np and
1059 pthread_setattr_default_np.
1060
1061 * Versions.def (libpthread): Add GLIBC_2.18.
1062 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1064 Likewise.
1065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1066 Likewise.
1067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1068 Likewise.
1069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1070 Likewise.
1071 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1072 Likewise.
1073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1074 Likewise.
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1076 Likewise.
1077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1078 Likewise.
1079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1080 Likewise.
1081
1082 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1083
1084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1085 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1086
1087 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1088 H.J. Lu <hjl.tools@gmail.com>
1089
1090 [BZ #15627]
1091 * sysdeps/x86_64/rtld-memset.c: Remove file.
1092 * sysdeps/x86_64/rtld-memset.S: New file.
1093
1094 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1095
1096 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1097 (test_in_one_mode): Take arguments for whether the rounding mode
1098 is supported for each floating-point type.
1099 (do_test): Pass new arguments to test_in_one_mode using
1100 ROUNDING_TESTS.
1101
1102 2013-06-13 Roland McGrath <roland@hack.frob.com>
1103
1104 * posix/tst-waitid.c (do_test): Distinguish different instances of
1105 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1106 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1107 before entering the kernel for waitpid.
1108
1109 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1110
1111 * NEWS: Fix note on clock function precision. Text by Roland
1112 McGrath.
1113
1114 2013-06-13 Roland McGrath <roland@hack.frob.com>
1115
1116 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1117 it into place only when and if the sanity check passes.
1118
1119 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1120
1121 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1122 output for whether conversion result is exact. Take argument
1123 indicating whether type is IBM long double.
1124 (round_for_all): Change need_exact field to ibm_ld.
1125 * stdlib/tst-strtod-round.c (struct exactness): New type.
1126 (struct test): Change bool ld_ok field to struct exactness exact.
1127 (TEST): Update all definitions for change to field.
1128 (tests): Regenerate array contents.
1129 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1130 field value. Check for IBM long double here.
1131 (do_test): Update calls to test_in_one_mode.
1132
1133 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1134
1135 [BZ #12515]
1136 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1137 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1138
1139 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140
1141 [BZ #15605]
1142 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1143 generated by the compiler on loop optimizations.
1144 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1145 general definitions.
1146
1147 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1148
1149 * math/bug-nextafter.c: Include <math-tests.h>.
1150 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1151 the relevant type.
1152 * math/bug-nexttoward.c: Include <math-tests.h>.
1153 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1154 the relevant type.
1155 * math/test-misc.c: Include <math-tests.h>.
1156 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1157 the relevant type.
1158
1159 2013-06-12 Andreas Jaeger <aj@suse.de>
1160
1161 * po/ia.po: Update Interlingua translation from translation
1162 project.
1163
1164 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1165
1166 * include/fenv.h: Include stdbool.h.
1167 (struct rm_ctx): New structure.
1168 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1169 Define macro.
1170 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1171 (SET_RESTORE_ROUNDF): Likewise.
1172 (SET_RESTORE_ROUNDL): Likewise.
1173 (SET_RESTORE_ROUND_NOEX): Likewise.
1174 (SET_RESTORE_ROUND_NOEXF): Likewise.
1175 (SET_RESTORE_ROUND_NOEXL): Likewise.
1176 (SET_RESTORE_ROUND_53BIT): Likewise.
1177 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1178 (libc_feresetround_noexf_ctx): Likewise.
1179 (libc_feresetround_noexl_ctx): Likewise.
1180 (libc_feholdsetround_53bit_ctx): Likewise.
1181 (libc_feresetround_53bit_ctx): Likewise.
1182 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1183 (libc_feholdexcept_setround_sse_ctx): New function.
1184 (libc_fesetenv_sse_ctx): Likewise.
1185 (libc_feupdateenv_sse_ctx): Likewise.
1186 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1187 (libc_feholdexcept_setround_387_ctx): Likewise.
1188 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1189 (libc_feholdsetround_387_prec_ctx): Likewise.
1190 (libc_feholdsetround_387_ctx): Likewise.
1191 (libc_feholdsetround_387_53bit_ctx): Likewise.
1192 (libc_feholdsetround_sse_ctx): Likewise.
1193 (libc_feresetround_sse_ctx): Likewise.
1194 (libc_feresetround_387_ctx): Likewise.
1195 (libc_feupdateenv_387_ctx): Likewise.
1196 (libc_feholdexcept_setroundf_ctx): Define macro.
1197 (libc_fesetenvf_ctx): Likewise.
1198 (libc_feupdateenvf_ctx): Likewise.
1199 (libc_feholdsetroundf_ctx): Likewise.
1200 (libc_feresetroundf_ctx): Likewise.
1201 (libc_feholdexcept_setround_ctx): Likewise.
1202 (libc_fesetenv_ctx): Likewise.
1203 (libc_feupdateenv_ctx): Likewise.
1204 (libc_feholdsetround_ctx): Likewise.
1205 (libc_feresetround_ctx): Likewise.
1206 (libc_feholdexcept_setroundl_ctx): Likewise.
1207 (libc_feupdateenvl_ctx): Likewise.
1208 (libc_feholdsetroundl_ctx): Likewise.
1209 (libc_feresetroundl_ctx): Likewise.
1210 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1211 (libc_feresetround_53bit_ctx): Likewise.
1212
1213 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1214
1215 * locale/iso-639.def: Convert to UTF-8.
1216
1217 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1218
1219 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1220 (EXCEPTION_TESTS_double): Likewise.
1221 (EXCEPTION_TESTS_long_double): Likewise.
1222 (EXCEPTION_TESTS): Likewise.
1223 * math/libm-test.inc (test_exceptions): Only test exceptions if
1224 EXCEPTION_TESTS (FLOAT).
1225
1226 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1227
1228 * benchtests/Makefile (string-bench): Add strcpy_chk and
1229 stpcpy_chk.
1230 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1231 * benchtests/bench-stpcpy_chk.c: New file.
1232 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1233 * benchtests/bench-strcpy_chk.c: New file.
1234 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1235 code.
1236 (do_test): Likewise.
1237
1238 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1239
1240 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1241 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1242 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1243 with tabs where appropriate.
1244 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1245 dl-procinfo.h.
1246 [PPC_PLATFORM_PPC440]: Likewise.
1247 [PPC_PLATFORM_PPC464]: Likewise.
1248 [PPC_PLATFORM_PPC476]: Likewise.
1249 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1250 ppc464, and ppc476 platform strings merging from ports/
1251 dl-procinfo.h.
1252
1253 2013-06-11 Andreas Schwab <schwab@suse.de>
1254
1255 [BZ #14991]
1256 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1257 (from_ucs4_idx): Regenerate.
1258 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1259 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1260 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1261 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1262 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1263 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1264 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1265 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1266 from FROM_LOOP and TO_LOOP specific macros.
1267 (BODY): Handle combining characters.
1268 * iconvdata/BIG5HKSCS.irreversible: Update.
1269 * iconvdata/BIG5HKSCS.precomposed: New file.
1270 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1271 characters.
1272 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1273
1274 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1275
1276 * include/sys/time.h: Fix indentation and add copyright header.
1277
1278 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1279 (do_test): Likewise.
1280 * string/test-memchr.c (do_one_test): Likewise.
1281 (do_test): Likewise.
1282 * string/test-memcmp.c (do_one_test): Likewise.
1283 (do_test): Likewise.
1284 * string/test-memcpy.c (do_one_test): Likewise.
1285 (do_test): Likewise.
1286 * string/test-memmem.c (do_one_test): Likewise.
1287 (do_test): Likewise.
1288 (do_random_tests): Likewise.
1289 * string/test-memmove.c (do_one_test): Likewise.
1290 (do_test): Likewise.
1291 * string/test-memset.c (do_one_test): Likewise.
1292 (do_test): Likewise.
1293 * string/test-rawmemchr.c (do_one_test): Likewise.
1294 (do_test): Likewise.
1295 * string/test-strcasecmp.c (do_one_test): Likewise.
1296 (do_test): Likewise.
1297 * string/test-strcasestr.c (do_one_test): Likewise.
1298 (do_test): Likewise.
1299 * string/test-strcat.c (do_one_test): Likewise.
1300 (do_test): Likewise.
1301 * string/test-strchr.c (do_one_test): Likewise.
1302 (do_test): Likewise.
1303 * string/test-strcmp.c (do_one_test): Likewise.
1304 (do_test): Likewise.
1305 * string/test-strcpy.c (do_one_test): Likewise.
1306 (do_test): Likewise.
1307 * string/test-string.h: Likewise.
1308 (test_init): Likewise.
1309 * string/test-strlen.c (do_one_test): Likewise.
1310 (do_test): Likewise.
1311 * string/test-strncasecmp.c (do_one_test): Likewise.
1312 (do_test): Likewise.
1313 * string/test-strncat.c (do_one_test): Likewise.
1314 (do_test): Likewise.
1315 * string/test-strncmp.c (do_one_test): Likewise.
1316 (do_test_limit): Likewise.
1317 (do_test): Likewise.
1318 * string/test-strncpy.c (do_one_test): Likewise.
1319 (do_test): Likewise.
1320 * string/test-strnlen.c (do_one_test): Likewise.
1321 (do_test): Likewise.
1322 * string/test-strpbrk.c (do_one_test): Likewise.
1323 (do_test): Likewise.
1324 * string/test-strrchr.c (do_one_test): Likewise.
1325 (do_test): Likewise.
1326 * string/test-strspn.c (do_one_test): Likewise.
1327 (do_test): Likewise.
1328 * string/test-strstr.c (do_one_test): Likewise.
1329 (do_test): Likewise.
1330
1331 * benchtests/Makefile (string-bench): Add string benchmarks.
1332 * benchtests/bench-bcopy-ifunc.c: New file.
1333 * benchtests/bench-bcopy.c: New file.
1334 * benchtests/bench-bzero-ifunc.c: New file.
1335 * benchtests/bench-bzero.c: New file.
1336 * benchtests/bench-memccpy-ifunc.c: New file.
1337 * benchtests/bench-memccpy.c: New file.
1338 * benchtests/bench-memchr-ifunc.c: New file.
1339 * benchtests/bench-memchr.c: New file.
1340 * benchtests/bench-memcmp-ifunc.c: New file.
1341 * benchtests/bench-memcmp.c: New file.
1342 * benchtests/bench-memmem-ifunc.c: New file.
1343 * benchtests/bench-memmem.c: New file.
1344 * benchtests/bench-memmove-ifunc.c: New file.
1345 * benchtests/bench-memmove.c: New file.
1346 * benchtests/bench-mempcpy-ifunc.c: New file.
1347 * benchtests/bench-mempcpy.c: New file.
1348 * benchtests/bench-memset-ifunc.c: New file.
1349 * benchtests/bench-memset.c: New file.
1350 * benchtests/bench-rawmemchr-ifunc.c: New file.
1351 * benchtests/bench-rawmemchr.c: New file.
1352 * benchtests/bench-stpcpy-ifunc.c: New file.
1353 * benchtests/bench-stpcpy.c: New file.
1354 * benchtests/bench-stpncpy-ifunc.c: New file.
1355 * benchtests/bench-stpncpy.c: New file.
1356 * benchtests/bench-strcasecmp-ifunc.c: New file.
1357 * benchtests/bench-strcasecmp.c: New file.
1358 * benchtests/bench-strcasestr-ifunc.c: New file.
1359 * benchtests/bench-strcasestr.c: New file.
1360 * benchtests/bench-strcat-ifunc.c: New file.
1361 * benchtests/bench-strcat.c: New file.
1362 * benchtests/bench-strchr-ifunc.c: New file.
1363 * benchtests/bench-strchr.c: New file.
1364 * benchtests/bench-strchrnul-ifunc.c: New file.
1365 * benchtests/bench-strchrnul.c: New file.
1366 * benchtests/bench-strcmp-ifunc.c: New file.
1367 * benchtests/bench-strcmp.c: New file.
1368 * benchtests/bench-strcpy-ifunc.c: New file.
1369 * benchtests/bench-strcpy.c: New file.
1370 * benchtests/bench-strcspn-ifunc.c: New file.
1371 * benchtests/bench-strcspn.c: New file.
1372 * benchtests/bench-strlen-ifunc.c: New file.
1373 * benchtests/bench-strlen.c: New file.
1374 * benchtests/bench-strncasecmp-ifunc.c: New file.
1375 * benchtests/bench-strncasecmp.c: New file.
1376 * benchtests/bench-strncat-ifunc.c: New file.
1377 * benchtests/bench-strncat.c: New file.
1378 * benchtests/bench-strncmp-ifunc.c: New file.
1379 * benchtests/bench-strncmp.c: New file.
1380 * benchtests/bench-strncpy-ifunc.c: New file.
1381 * benchtests/bench-strncpy.c: New file.
1382 * benchtests/bench-strnlen-ifunc.c: New file.
1383 * benchtests/bench-strnlen.c: New file.
1384 * benchtests/bench-strpbrk-ifunc.c: New file.
1385 * benchtests/bench-strpbrk.c: New file.
1386 * benchtests/bench-strrchr-ifunc.c: New file.
1387 * benchtests/bench-strrchr.c: New file.
1388 * benchtests/bench-strspn-ifunc.c: New file.
1389 * benchtests/bench-strspn.c: New file.
1390 * benchtests/bench-strstr-ifunc.c: New file.
1391 * benchtests/bench-strstr.c: New file.
1392
1393 * benchtests/Makefile: Disable parallel execution of targets.
1394 (string-bench): Add memcpy.
1395 (benchset): New variable to store a list of benchmark sets.
1396 (bench-func): Renamed from bench.
1397 (bench-set): New target.
1398 (bench): Depend on bench-func and bench-set.
1399 * benchtests/README: Add section on benchmark sets.
1400 * benchtests/bench-memcpy-ifunc.c: New file.
1401 * benchtests/bench-memcpy.c: New file.
1402 * benchtests/bench-string.h: New file.
1403
1404 2013-06-11 Andreas Schwab <schwab@suse.de>
1405
1406 [BZ #15577]
1407 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1408 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1409 values in the triple.
1410 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1411 terminator in the group key.
1412
1413 2013-06-11 Andreas Jaeger <aj@suse.de>
1414
1415 * po/zh_TW.po: Update Chinese (traditional) translation from
1416 translation project.
1417
1418 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1419
1420 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1421 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1422 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1423 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1424 (clock_getcpuclockid): Likewise.
1425 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1426 Add weak_alias and libc_hidden_def.
1427 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1428 * rt/clock_gettime.c (clock_gettime): Rename to
1429 __clock_gettime. Add weak_alias and libc_hidden_def.
1430 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1431 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1432 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1433 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1434 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1435 Likewise.
1436 * rt/clock_settime.c (clock_settime): Rename to
1437 __clock_settime. Add weak_alias and libc_hidden_def.
1438 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1439
1440 2013-06-10 Joseph Myers <joseph@codesourcery.com>
1441
1442 * mach/err_boot.sub: Remove trailing whitespace.
1443 * mach/err_ipc.sub: Likewise.
1444 * mach/err_mach.sub: Likewise.
1445
1446 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1447 (ROUNDING_TESTS_double): Likewise.
1448 (ROUNDING_TESTS_long_double): Likewise.
1449 (ROUNDING_TESTS): Likewise.
1450 * math/libm-test.inc: Include <math-tests.h>.
1451 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1452 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1453 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1454 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1455
1456 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1457
1458 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1459 of assigning.
1460
1461 2013-06-08 Joseph Myers <joseph@codesourcery.com>
1462
1463 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1464 otherwise empty TRANS lines.
1465 * sysdeps/gnu/errlist.c: Regenerated.
1466
1467 * catgets/gencat.c (error_print): Use (void) in function
1468 definition.
1469 * crypt/crypt_util.c (__init_des): Likewise.
1470 * crypt/speeds.c (Stop): Likewise.
1471 (main): Likewise.
1472 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1473 * inet/ruserpass.c (token): Likewise.
1474 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1475 * intl/localealias.c (extend_alias_table): Likewise.
1476 * intl/plural-exp.c (init_germanic_plural): Likewise.
1477 * libio/fcloseall.c (__fcloseall): Likewise.
1478 * libio/genops.c (_IO_flush_all): Likewise.
1479 (_IO_flush_all_linebuffered): Likewise.
1480 (_IO_cleanup): Likewise.
1481 (_IO_iter_begin): Likewise.
1482 (_IO_iter_end): Likewise.
1483 (_IO_list_lock): Likewise.
1484 (_IO_list_unlock): Likewise.
1485 (_IO_list_resetlock): Likewise.
1486 * libio/getchar.c (getchar): Likewise.
1487 * libio/getchar_u.c (getchar_unlocked): Likewise.
1488 * libio/getwchar.c (getwchar): Likewise.
1489 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1490 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1491 * login/getpt.c (__getpt): Likewise.
1492 * login/tst-utmp.c (main): Likewise.
1493 * malloc/hooks.c (__malloc_check_init): Likewise.
1494 * malloc/malloc.c (__malloc_stats): Likewise.
1495 * malloc/mtrace.c (tr_break): Likewise.
1496 (mtrace): Likewise.
1497 (muntrace): Likewise.
1498 * misc/fstab.c (endfsent): Likewise.
1499 * misc/getclktck.c (__getclktck): Likewise.
1500 * misc/getdtsz.c (__getdtablesize): Likewise.
1501 * misc/gethostid.c (gethostid): Likewise.
1502 * misc/getpagesize.c (__getpagesize): Likewise.
1503 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1504 (__get_nprocs): Likewise.
1505 (__get_phys_pages): Likewise.
1506 (__get_avphys_pages): Likewise.
1507 * misc/getttyent.c (getttyent): Likewise.
1508 (setttyent): Likewise.
1509 (endttyent): Likewise.
1510 * misc/getusershell.c (getusershell): Likewise.
1511 (endusershell): Likewise.
1512 (setusershell): Likewise.
1513 (initshells): Likewise.
1514 * misc/hsearch.c (__hdestroy): Likewise.
1515 * misc/sync.c (sync): Likewise.
1516 * misc/syslog.c (closelog_internal): Likewise.
1517 (closelog): Likewise.
1518 * misc/ttyslot.c (ttyslot): Likewise.
1519 * misc/vhangup.c (vhangup): Likewise.
1520 * posix/fork.c (__fork): Likewise.
1521 * posix/getegid.c (__getegid): Likewise.
1522 * posix/geteuid.c (__geteuid): Likewise.
1523 * posix/getgid.c (__getgid): Likewise.
1524 * posix/getpid.c (__getpid): Likewise.
1525 * posix/getppid.c (__getppid): Likewise.
1526 * posix/getuid.c (__getuid): Likewise.
1527 * posix/pause.c (pause): Likewise.
1528 * posix/setpgrp.c (setpgrp): Likewise.
1529 * posix/setsid.c (__setsid): Likewise.
1530 * posix/test-vfork.c (noop): Likewise.
1531 * resolv/gethnamaddr.c (_endhtent): Likewise.
1532 (_gethtent): Likewise.
1533 (ht_endhostent): Likewise.
1534 (gethostent): Likewise.
1535 (dns_service): Likewise.
1536 * stdlib/drand48.c (drand48): Likewise.
1537 * stdlib/lrand48.c (lrand48): Likewise.
1538 * stdlib/mrand48.c (mrand48): Likewise.
1539 * stdlib/rand.c (rand): Likewise.
1540 * stdlib/random.c (__random): Likewise.
1541 * stdlib/setenv.c (clearenv): Likewise.
1542 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1543 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1544 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1545 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1546 (__get_nprocs): Likewise.
1547 (__get_phys_pages): Likewise.
1548 (__get_avphys_pages): Likewise.
1549 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1550 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1551 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1552 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1553 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1554 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1555 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1556 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1557 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1558 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1559 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1560 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1561 * sysdeps/posix/clock.c (clock): Likewise.
1562 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1563 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1564 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1565 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1566 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1567 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1568 (__get_nprocs_conf): Likewise.
1569 (__get_phys_pages): Likewise.
1570 (__get_avphys_pages): Likewise.
1571 * time/clock.c (clock): Likewise.
1572 * time/tzset.c (__tzname_max): Likewise.
1573
1574 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1575
1576 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1577 (__bswap_32): Do not use "register".
1578 * crypt/crypt.c (_ufc_doit_r): Likewise.
1579 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1580 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1581 * gmon/gmon.c (__monstartup): Likewise.
1582 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1583 * hurd/hurdmalloc.c (more_memory): Likewise.
1584 (malloc): Likewise.
1585 (free): Likewise.
1586 (realloc): Likewise.
1587 (malloc_fork_prepare): Likewise.
1588 (malloc_fork_parent): Likewise.
1589 (malloc_fork_child): Likewise.
1590 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1591 (_svcauth_des): Likewise.
1592 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1593 * inet/inet_net.c (inet_network): Likewise.
1594 * inet/inet_netof.c (inet_netof): Likewise.
1595 * inet/rcmd.c (__validuser2_sa): Likewise.
1596 * io/fts.c (fts_open): Likewise.
1597 (fts_load): Likewise.
1598 (fts_close): Likewise.
1599 (fts_read): Likewise.
1600 (fts_children): Likewise.
1601 (fts_build): Likewise.
1602 (fts_stat): Likewise.
1603 (fts_sort): Likewise.
1604 (fts_alloc): Likewise.
1605 (fts_lfree): Likewise.
1606 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1607 (_IO_file_xsgetn): Likewise.
1608 (_IO_file_xsgetn_mmap): Likewise.
1609 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1610 (_IO_cookie_write): Likewise.
1611 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1612 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1613 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1614 * malloc/obstack.c (_obstack_begin): Likewise.
1615 (_obstack_begin_1): Likewise.
1616 (_obstack_newchunk): Likewise.
1617 (_obstack_allocated_p): Likewise.
1618 (obstack_free): Likewise.
1619 (_obstack_memory_used): Likewise.
1620 * misc/getttyent.c (getttynam): Likewise.
1621 (getttyent): Likewise.
1622 (skip): Likewise.
1623 (value): Likewise.
1624 * misc/getusershell.c (initshells): Likewise.
1625 * misc/syslog.c (__vsyslog_chk): Likewise.
1626 * misc/ttyslot.c (ttyslot): Likewise.
1627 * nis/nis_hash.c (__nis_hash): Likewise.
1628 * posix/fnmatch_loop.c (FCT): Likewise.
1629 * posix/getconf.c (print_all): Likewise.
1630 (main): Likewise.
1631 * posix/getopt.c (exchange): Likewise.
1632 * posix/glob.c (globfree): Likewise.
1633 (prefix_array): Likewise.
1634 (__glob_pattern_type): Likewise.
1635 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1636 (NS_GET32): Likewise.
1637 (NS_PUT16): Likewise.
1638 (NS_PUT32): Likewise.
1639 * resolv/gethnamaddr.c (getanswer): Likewise.
1640 (gethostbyname2): Likewise.
1641 (gethostbyaddr): Likewise.
1642 (_gethtent): Likewise.
1643 (_gethtbyname2): Likewise.
1644 (_gethtbyaddr): Likewise.
1645 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1646 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1647 * resolv/res_init.c (__res_vinit): Likewise.
1648 (net_mask): Likewise.
1649 * resolv/res_mkquery.c (outchar): Likewise.
1650 (PRINT): Likewise.
1651 * stdio-common/printf_fp.c (outchar): Likewise.
1652 (PRINT): Likewise.
1653 * stdio-common/printf_fphex.c (outchar): Likewise.
1654 (PRINT): Likewise.
1655 * stdio-common/printf_size.c (outchar): Likewise.
1656 (PRINT): Likewise.
1657 * stdio-common/test_rdwr.c (main): Likewise.
1658 * stdio-common/tfformat.c (matches): Likewise.
1659 * stdio-common/vfprintf.c (outchar): Likewise.
1660 (printf_unknown): Likewise.
1661 (buffered_vfprintf): Likewise.
1662 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1663 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1664 (ReadFile): Likewise.
1665 * stdlib/qsort.c (SWAP): Likewise.
1666 (_quicksort): Likewise.
1667 * stdlib/setenv.c (__add_to_environ): Likewise.
1668 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1669 * stdlib/strtol_l.c (__strtol_l): Likewise.
1670 * stdlib/tst-strtod.c (main): Likewise.
1671 * stdlib/tst-strtol.c (main): Likewise.
1672 * stdlib/tst-strtoll.c (main): Likewise.
1673 * string/bits/string2.h (__strcmp_cc): Likewise.
1674 (__strcmp_cg): Likewise.
1675 (__strcspn_c1): Likewise.
1676 (__strcspn_c2): Likewise.
1677 (__strcspn_c3): Likewise.
1678 (__strspn_c1): Likewise.
1679 (__strspn_c2): Likewise.
1680 (__strspn_c3): Likewise.
1681 (__strsep_1c): Likewise.
1682 (__strsep_2c): Likewise.
1683 (__strsep_3c): Likewise.
1684 * string/memccpy.c (__memccpy): Likewise.
1685 * string/stpcpy.c (__stpcpy): Likewise.
1686 * string/strcmp.c (strcmp): Likewise.
1687 * string/strrchr.c (strrchr): Likewise.
1688 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1689 Likewise.
1690 * sysdeps/mach/hurd/getcwd.c
1691 (_hurd_canonicalize_directory_name_internal): Likewise.
1692 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1693 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1694 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1695 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1696 Likewise, in both definitions.
1697 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1698 definitions.
1699 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1700 64] (__bswap_64): Likewise.
1701 * time/test_time.c (main): Likewise.
1702 * time/tzfile.c (__tzfile_read): Likewise.
1703 (__tzfile_compute): Likewise.
1704 * time/tzset.c (__tzset_parse_tz): Likewise.
1705 (tzset_internal): Likewise.
1706 (compute_change): Likewise.
1707 * wcsmbs/wcscat.c (__wcscat): Likewise.
1708 * wcsmbs/wcschr.c (wcschr): Likewise.
1709 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1710 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1711 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1712 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1713 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1714 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1715 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1716 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1717 * wcsmbs/wmemset.c (wmemset): Likewise.
1718
1719 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1720
1721 * scripts/config.guess: Update to version 2013-05-16.
1722 * scripts/config.sub: Update to version 2013-04-24.
1723 * scripts/install-sh: Update to version 2011-11-20.07.
1724 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1725 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1726
1727 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1728
1729 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1730 * elf/sln.c: Likewise.
1731 * hurd/hurd/ioctl.h: Likewise.
1732 * hurd/hurdmalloc.c: Likewise.
1733 * hurd/xattr.c: Likewise.
1734 * include/shlib-compat.h: Likewise.
1735 * inet/ruserpass.c: Likewise.
1736 * libio/iofgets_u.c: Likewise.
1737 * libio/iofgetws_u.c: Likewise.
1738 * locale/programs/ld-identification.c: Likewise.
1739 * locale/programs/ld-time.c: Likewise.
1740 * mach/msg-destroy.c: Likewise.
1741 * nss/nss_files/files-netgrp.c: Likewise.
1742 * resolv/res_data.c: Likewise.
1743 * soft-fp/op-1.h: Likewise.
1744 * soft-fp/op-2.h: Likewise.
1745 * soft-fp/op-4.h: Likewise.
1746 * soft-fp/op-common.h: Likewise.
1747 * stdio-common/printf_fphex.c: Likewise.
1748 * stdlib/strtod_l.c: Likewise.
1749 * sunrpc/rpc/clnt.h: Likewise.
1750 * sysdeps/generic/framestate.c: Likewise.
1751 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1752 * sysdeps/i386/bsd-setjmp.S: Likewise.
1753 * sysdeps/i386/__longjmp.S: Likewise.
1754 * sysdeps/i386/setjmp.S: Likewise.
1755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1756 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1758 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1761 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1765 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1773 * sysdeps/ieee754/support.c: Likewise.
1774 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1775 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1776 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1777 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1778 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1779 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1780 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1781 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1782 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1783 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1784 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1785 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1786 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1787 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1788 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1789 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1790 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1792
1793 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1794
1795 * posix/transbug.c: Remove executable mode.
1796
1797 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1798
1799 * crypt/speeds.c: Remove trailing whitespace.
1800 * dlfcn/default.c: Likewise.
1801 * elf/ifuncdep2.c: Likewise.
1802 * elf/ifuncmain1.c: Likewise.
1803 * elf/ifuncmain1vis.c: Likewise.
1804 * elf/testobj.h: Likewise.
1805 * elf/tst-stackguard1.c: Likewise.
1806 * gmon/sys/gmon.h: Likewise.
1807 * hurd/hurdmsg.c: Likewise.
1808 * hurd/new-fd.c: Likewise.
1809 * hurd/ports-get.c: Likewise.
1810 * iconvdata/ibm1008_420.c: Likewise.
1811 * inet/tst-getni1.c: Likewise.
1812 * inet/tst-getni2.c: Likewise.
1813 * libio/ioungetc.c: Likewise.
1814 * libio/wfiledoalloc.c: Likewise.
1815 * manual/libm-err-tab.pl: Likewise.
1816 * math/w_dremf.c: Likewise.
1817 * misc/ftruncate.c: Likewise.
1818 * posix/bug-glob2.c: Likewise.
1819 * posix/tst-pcre.c: Likewise.
1820 * posix/wait4.c: Likewise.
1821 * resolv/README: Likewise.
1822 * resolv/res_debug.h: Likewise.
1823 * resolv/tst-inet_ntop.c: Likewise.
1824 * setjmp/bug269-setjmp.c: Likewise.
1825 * soft-fp/extended.h: Likewise.
1826 * soft-fp/op-1.h: Likewise.
1827 * soft-fp/op-2.h: Likewise.
1828 * soft-fp/op-4.h: Likewise.
1829 * soft-fp/op-8.h: Likewise.
1830 * soft-fp/testit.c: Likewise.
1831 * stdio-common/bug16.c: Likewise.
1832 * stdlib/random.c: Likewise.
1833 * sunrpc/rpcsvc/rquota.x: Likewise.
1834 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1835 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1836 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1837 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1838 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1839 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1840 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1841 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1842 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1843 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1844 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1861 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1863 * sysdeps/ieee754/s_lib_version.c: Likewise.
1864 * sysdeps/mach/hurd/check_fds.c: Likewise.
1865 * sysdeps/mach/hurd/getsockname.c: Likewise.
1866 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1867 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1868 * sysdeps/powerpc/bits/link.h: Likewise.
1869 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1870 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1871 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1872 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1873 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1874 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1875 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1876 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1877 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1878 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1879 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1880 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1881 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1882 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1883 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1884 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1885 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1888 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1889 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1890 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1891 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1892 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1893 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1894 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1896 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1897 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1898 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1901 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1902 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1903 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1904 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1905 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1906 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1907 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1908 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1909 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1910 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1911 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1912 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1913 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1914 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1915 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1916 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1917 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1918 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1921 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1922 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1923 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1924 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1925 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1926 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1927 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1928 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1929 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1930 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1931 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1932 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1933 * sysdeps/powerpc/sysdep.h: Likewise.
1934 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1935 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1936 * sysdeps/sh/dl-trampoline.S: Likewise.
1937 * sysdeps/sh/memset.S: Likewise.
1938 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1939 * sysdeps/sh/strlen.S: Likewise.
1940 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1941 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1942 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1943 * sysdeps/sparc/sparc32/rem.S: Likewise.
1944 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1945 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1946 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1947 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1948 * sysdeps/sparc/sparc32/urem.S: Likewise.
1949 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1950 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1951 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1952 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1953 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1954 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1955 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1956 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1957 * sysdeps/unix/bsd/times.c: Likewise.
1958 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1959 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1963 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1964 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1965 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1966 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1967 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1968 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1969 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1970 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1971 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1972 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1973 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1974 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1975 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1976 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1977 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1978 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1979 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1980 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1981 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1982 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1983 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1984 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1985 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1986 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1987 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1988 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1989 * sysdeps/x86_64/strcspn.S: Likewise.
1990
1991 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1992
1993 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1994 generated file. Regenerate properly from gen-translit.pl.
1995 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1996 locale/C-translit.h.
1997
1998 2013-06-05 Andreas Schwab <schwab@suse.de>
1999
2000 [BZ #15100]
2001 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2002 week as 6 instead of -1.
2003 * time/tst-strptime.c (day_tests): Add test case.
2004
2005 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2006
2007 * sysdeps/generic/math_private.h
2008 (libc_feholdexcept_setround_53bit): Replace with
2009 libc_feholdsetround_53bit.
2010 (libc_feupdateenv_53bit): Replace with
2011 libc_feresetround_53bit.
2012 (SET_RESTORE_ROUND_53BIT): Adjust.
2013
2014 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2015
2016 * string/test-strchrnul.c: Add copyright header.
2017
2018 * posix/tst-getaddrinfo4.c: Increase test timeout.
2019
2020 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2021
2022 [BZ #15536]
2023 * math/libm-test.inc (MAX_EXP): Remove
2024 (MIN_EXP): Define.
2025 (ulp): Use MIN_EXP - MANT_DIG.
2026 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2027
2028 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2029
2030 * po/be.po: Revert last change.
2031 * po/zh_CN.po: Likewise.
2032 * po/header.pot: Likewise.
2033
2034 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2035
2036 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2037 link-libc-deps to empty as target-specific variable.
2038 * Makerules (link-libc-args): New variable.
2039 (libc-for-link): Likewise.
2040 (link-libc-deps): Likewise.
2041 (lib%.so): Depend on $(link-libc-deps). Link with
2042 $(link-libc-args).
2043 (build-module): Link with $(link-libc-args).
2044 (build-module-asneeded): Likewise.
2045 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2046 list of objects.
2047 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2048 target-specific variable.
2049 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2050 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2051 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2052 libc.
2053 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2054 libc and ld.so.
2055 ($(objpfx)libpcprofile.so): Likewise.
2056 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2057 libc_nonshared.a.
2058 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2059 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2060 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2061 $(link-libc-deps).
2062 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2063 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2064 * login/Makefile ($(objpfx)libutil.so): Likewise.
2065 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2066 * math/Makefile ($(objpfx)libm.so): Likewise.
2067 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2068 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2069 variable instead of depending directly on libc.
2070 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2071 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2072 $(link-libc-deps).
2073 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2074 libc.
2075 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2076 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2077 ($(objpfx)libanl.so): Likewise.
2078 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2079 ld.so.
2080 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2081 $(link-libc-deps).
2082 * sysdeps/i386/fpu/Makefile: Remove file.
2083 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2084 ($(objpfx)libm.so): Remove dependency on ld.so.
2085
2086 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2087
2088 [BZ # 15553]
2089 * nis/yp_xdr.c (XDRMAXNAME): Define.
2090 (XDRMAXRECORD): Define.
2091 (xdr_domainname): Use XDRMAXNAME.
2092 (xdr_mapname): Likewise.
2093 (xdr_peername): Likewise.
2094 (xdr_keydat): Use XDRMAXRECORD.
2095 (xdr_valdat): Likewise.
2096
2097 2013-05-30 Jeff Law <law@redhat.com>
2098
2099 [BZ #14256]
2100 * manual/errno.texi (ESTALE): Update to account for more than
2101 just NFS file systems.
2102 * sysdeps/gnu/errlist.c: Regenerated.
2103
2104 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2105
2106 [BZ #15465]
2107 * elf/Makefile (tests): Add tst-null-argv.
2108 (modules-names): Add tst-null-argv-lib.
2109 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2110 (tst-null-argv-ENV): Set environment for tst-null-argv.
2111 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2112 (RTLD_PROGNAME): New macro.
2113 * elf/tst-null-argv.c: New test case.
2114 * elf/tst-null-argv-lib.c: Library for test case.
2115 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2116 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2117 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2118 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2119 * elf/dl-init.c (call_init): Likewise.
2120 (_dl_init): Likewise.
2121 * elf/dl-load.c (print_search_path): Likewise.
2122 (_dl_map_object): Likewise.
2123 * elf/dl-lookup.c (do_lookup_x): Likewise.
2124 (add_dependency): Likewise.
2125 (_dl_lookup_symbol_x): Likewise.
2126 (_dl_debug_bindings): Likewise.
2127 * elf/dl-open.c (_dl_show_scope): Likewise.
2128 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2129 * elf/dl-version.c (match_symbol): Likewise.
2130 (_dl_check_map_versions): Likewise.
2131 * elf/rtld.c (dl_main): Likewise.
2132 (print_unresolved): Use RTLD_PROGNAME.
2133 (print_missing_version): Likewise.
2134 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2135 (elf_machine_rela): Likewise.
2136 * sysdeps/powerpc/powerpc32/dl-machine.c
2137 (__process_machine_rela): Likewise.
2138 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2139 Likewise.
2140 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2141 Likewise.
2142 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2143 Likewise.
2144 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2145 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2146 Likewise.
2147 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2148 Likewise.
2149 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2150
2151 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2152
2153 * po/be.po: Add descriptive title.
2154 * po/zh_CN.po: Likewise.
2155 * po/header.pot: Likewise.
2156
2157 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2158
2159 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2160 error message.
2161 (enlarge_archive): Likewise.
2162
2163 2013-05-28 Ben North <ben@redfrontdoor.org>
2164
2165 * manual/arith.texi (frexp): It is the magnitude of the return
2166 value which lies in [0.5, 1), not the return value itself.
2167
2168 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2169
2170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2171
2172 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2173
2174 * stdio-common/bug26.c (main): Correct fscanf template.
2175
2176 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2177 declare _dl_skip_args.
2178
2179 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2180 Don't declare.
2181
2182 * manual/platform.texi: Add missing @end deftypefun.
2183
2184 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2185
2186 [BZ #15529]
2187 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2188 bit of mantissa of 2^16382.
2189 * math/libm-test.inc (hypot_test_data): Add more tests.
2190
2191 * math/libm-test.inc: Add drem and pow10 to list of tested
2192 functions.
2193 (pow10_test): New function.
2194 (drem_test): Likewise.
2195 (drem_test_tonearest): Likewise.
2196 (drem_test_towardzero): Likewise.
2197 (drem_test_downward): Likewise.
2198 (drem_test_upward): Likewise.
2199 (main): Call the new functions.
2200
2201 * math/libm-test.inc (finite_test_data): Remove.
2202 (finite_test): Run tests from isfinite_test_data.
2203 (gamma_test_data): Remove.
2204 (gamma_test): Run tests from lgamma_test_data.
2205 * sysdeps/i386/fpu/libm-test-ulps: Update.
2206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2207
2208 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2209
2210 * manual/platform.texi: Add PowerPC PPR function set documentation.
2211 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2212 implementation.
2213
2214 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2215
2216 * math/libm-test.inc (MAX_EXP): Define.
2217 (ULPDIFF): Define.
2218 (ulp): New function.
2219 (check_float_internal): Use ULPDIFF.
2220 (cpow_test): Disable failing test.
2221 (check_ulp): Test ulp() implemetnation.
2222 (main): Call check_ulp before starting tests.
2223
2224 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2225
2226 * math/gen-libm-test.pl (generate_testfile): Do not handle
2227 START_DATA and END_DATA.
2228 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2229 END_DATA.
2230 (acos_tonearest_test_data): Likewise.
2231 (acos_towardzero_test_data): Likewise.
2232 (acos_downward_test_data): Likewise.
2233 (acos_upward_test_data): Likewise.
2234 (acosh_test_data): Likewise.
2235 (asin_test_data): Likewise.
2236 (asin_tonearest_test_data): Likewise.
2237 (asin_towardzero_test_data): Likewise.
2238 (asin_downward_test_data): Likewise.
2239 (asin_upward_test_data): Likewise.
2240 (asinh_test_data): Likewise.
2241 (atan_test_data): Likewise.
2242 (atanh_test_data): Likewise.
2243 (atan2_test_data): Likewise.
2244 (cabs_test_data): Likewise.
2245 (cacos_test_data): Likewise.
2246 (cacosh_test_data): Likewise.
2247 (carg_test_data): Likewise.
2248 (casin_test_data): Likewise.
2249 (casinh_test_data): Likewise.
2250 (catan_test_data): Likewise.
2251 (catanh_test_data): Likewise.
2252 (cbrt_test_data): Likewise.
2253 (ccos_test_data): Likewise.
2254 (ccosh_test_data): Likewise.
2255 (ceil_test_data): Likewise.
2256 (cexp_test_data): Likewise.
2257 (cimag_test_data): Likewise.
2258 (clog_test_data): Likewise.
2259 (clog10_test_data): Likewise.
2260 (conj_test_data): Likewise.
2261 (copysign_test_data): Likewise.
2262 (cos_test_data): Likewise.
2263 (cos_tonearest_test_data): Likewise.
2264 (cos_towardzero_test_data): Likewise.
2265 (cos_downward_test_data): Likewise.
2266 (cos_upward_test_data): Likewise.
2267 (cosh_test_data): Likewise.
2268 (cosh_tonearest_test_data): Likewise.
2269 (cosh_towardzero_test_data): Likewise.
2270 (cosh_downward_test_data): Likewise.
2271 (cosh_upward_test_data): Likewise.
2272 (cpow_test_data): Likewise.
2273 (cproj_test_data): Likewise.
2274 (creal_test_data): Likewise.
2275 (csin_test_data): Likewise.
2276 (csinh_test_data): Likewise.
2277 (csqrt_test_data): Likewise.
2278 (ctan_test_data): Likewise.
2279 (ctan_tonearest_test_data): Likewise.
2280 (ctan_towardzero_test_data): Likewise.
2281 (ctan_downward_test_data): Likewise.
2282 (ctan_upward_test_data): Likewise.
2283 (ctanh_test_data): Likewise.
2284 (ctanh_tonearest_test_data): Likewise.
2285 (ctanh_towardzero_test_data): Likewise.
2286 (ctanh_downward_test_data): Likewise.
2287 (ctanh_upward_test_data): Likewise.
2288 (erf_test_data): Likewise.
2289 (erfc_test_data): Likewise.
2290 (exp_test_data): Likewise.
2291 (exp_tonearest_test_data): Likewise.
2292 (exp_towardzero_test_data): Likewise.
2293 (exp_downward_test_data): Likewise.
2294 (exp_upward_test_data): Likewise.
2295 (exp10_test_data): Likewise.
2296 (exp2_test_data): Likewise.
2297 (expm1_test_data): Likewise.
2298 (fabs_test_data): Likewise.
2299 (fdim_test_data): Likewise.
2300 (finite_test_data): Likewise.
2301 (floor_test_data): Likewise.
2302 (fma_test_data): Likewise.
2303 (fma_towardzero_test_data): Likewise.
2304 (fma_downward_test_data): Likewise.
2305 (fma_upward_test_data): Likewise.
2306 (fmax_test_data): Likewise.
2307 (fmin_test_data): Likewise.
2308 (fmod_test_data): Likewise.
2309 (fpclassify_test_data): Likewise.
2310 (frexp_test_data): Likewise.
2311 (gamma_test_data): Likewise.
2312 (hypot_test_data): Likewise.
2313 (ilogb_test_data): Likewise.
2314 (isfinite_test_data): Likewise.
2315 (isgreater_test_data): Likewise.
2316 (isgreaterequal_test_data): Likewise.
2317 (isinf_test_data): Likewise.
2318 (isless_test_data): Likewise.
2319 (islessequal_test_data): Likewise.
2320 (islessgreater_test_data): Likewise.
2321 (isnan_test_data): Likewise.
2322 (isnormal_test_data): Likewise.
2323 (issignaling_test_data): Likewise.
2324 (isunordered_test_data): Likewise.
2325 (j0_test_data): Likewise.
2326 (j1_test_data): Likewise.
2327 (jn_test_data): Likewise.
2328 (ldexp_test_data): Likewise.
2329 (lgamma_test_data): Likewise.
2330 (lrint_test_data): Likewise.
2331 (lrint_tonearest_test_data): Likewise.
2332 (lrint_towardzero_test_data): Likewise.
2333 (lrint_downward_test_data): Likewise.
2334 (lrint_upward_test_data): Likewise.
2335 (llrint_test_data): Likewise.
2336 (llrint_tonearest_test_data): Likewise.
2337 (llrint_towardzero_test_data): Likewise.
2338 (llrint_downward_test_data): Likewise.
2339 (llrint_upward_test_data): Likewise.
2340 (log_test_data): Likewise.
2341 (log10_test_data): Likewise.
2342 (log1p_test_data): Likewise.
2343 (log2_test_data): Likewise.
2344 (logb_test_data): Likewise.
2345 (logb_downward_test_data): Likewise.
2346 (lround_test_data): Likewise.
2347 (llround_test_data): Likewise.
2348 (modf_test_data): Likewise.
2349 (nearbyint_test_data): Likewise.
2350 (nextafter_test_data): Likewise.
2351 (nexttoward_test_data): Likewise.
2352 (pow_test_data): Likewise.
2353 (pow_tonearest_test_data): Likewise.
2354 (pow_towardzero_test_data): Likewise.
2355 (pow_downward_test_data): Likewise.
2356 (pow_upward_test_data): Likewise.
2357 (remainder_test_data): Likewise.
2358 (remainder_tonearest_test_data): Likewise.
2359 (remainder_towardzero_test_data): Likewise.
2360 (remainder_downward_test_data): Likewise.
2361 (remainder_upward_test_data): Likewise.
2362 (remquo_test_data): Likewise.
2363 (rint_test_data): Likewise.
2364 (rint_tonearest_test_data): Likewise.
2365 (rint_towardzero_test_data): Likewise.
2366 (rint_downward_test_data): Likewise.
2367 (rint_upward_test_data): Likewise.
2368 (round_test_data): Likewise.
2369 (scalb_test_data): Likewise.
2370 (scalbn_test_data): Likewise.
2371 (scalbln_test_data): Likewise.
2372 (signbit_test_data): Likewise.
2373 (sin_test_data): Likewise.
2374 (sin_tonearest_test_data): Likewise.
2375 (sin_towardzero_test_data): Likewise.
2376 (sin_downward_test_data): Likewise.
2377 (sin_upward_test_data): Likewise.
2378 (sincos_test_data): Likewise.
2379 (sinh_test_data): Likewise.
2380 (sinh_tonearest_test_data): Likewise.
2381 (sinh_towardzero_test_data): Likewise.
2382 (sinh_downward_test_data): Likewise.
2383 (sinh_upward_test_data): Likewise.
2384 (sqrt_test_data): Likewise.
2385 (tan_test_data): Likewise.
2386 (tan_tonearest_test_data): Likewise.
2387 (tan_towardzero_test_data): Likewise.
2388 (tan_downward_test_data): Likewise.
2389 (tan_upward_test_data): Likewise.
2390 (tanh_test_data): Likewise.
2391 (tgamma_test_data): Likewise.
2392 (trunc_test_data): Likewise.
2393 (y0_test_data): Likewise.
2394 (y1_test_data): Likewise.
2395 (yn_test_data): Likewise.
2396 (significand_test_data): Likewise.
2397
2398 * math/gen-libm-test.pl (@functions): Remove variable.
2399 (generate_testfile): Don't handle START and END lines.
2400 * math/libm-test.inc (START): New macro.
2401 (END): Likewise.
2402 (END_COMPLEX): Likewise.
2403 (acos_test): Use END macro without arguments.
2404 (acos_test_tonearest): Likewise.
2405 (acos_test_towardzero): Likewise.
2406 (acos_test_downward): Likewise.
2407 (acos_test_upward): Likewise.
2408 (acosh_test): Likewise.
2409 (asin_test): Likewise.
2410 (asin_test_tonearest): Likewise.
2411 (asin_test_towardzero): Likewise.
2412 (asin_test_downward): Likewise.
2413 (asin_test_upward): Likewise.
2414 (asinh_test): Likewise.
2415 (atan_test): Likewise.
2416 (atanh_test): Likewise.
2417 (atan2_test): Likewise.
2418 (cabs_test): Likewise.
2419 (cacos_test): Use END_COMPLEX macro without arguments.
2420 (cacosh_test): Likewise.
2421 (carg_test): Use END macro without arguments.
2422 (casin_test): Use END_COMPLEX macro without arguments.
2423 (casinh_test): Likewise.
2424 (catan_test): Likewise.
2425 (catanh_test): Likewise.
2426 (cbrt_test): Use END macro without arguments.
2427 (ccos_test): Use END_COMPLEX macro without arguments.
2428 (ccosh_test): Likewise.
2429 (ceil_test): Use END macro without arguments.
2430 (cexp_test): Use END_COMPLEX macro without arguments.
2431 (cimag_test): Use END macro without arguments.
2432 (clog_test): Use END_COMPLEX macro without arguments.
2433 (clog10_test): Likewise.
2434 (conj_test): Likewise.
2435 (copysign_test): Use END macro without arguments.
2436 (cos_test): Likewise.
2437 (cos_test_tonearest): Likewise.
2438 (cos_test_towardzero): Likewise.
2439 (cos_test_downward): Likewise.
2440 (cos_test_upward): Likewise.
2441 (cosh_test): Likewise.
2442 (cosh_test_tonearest): Likewise.
2443 (cosh_test_towardzero): Likewise.
2444 (cosh_test_downward): Likewise.
2445 (cosh_test_upward): Likewise.
2446 (cpow_test): Use END_COMPLEX macro without arguments.
2447 (cproj_test): Likewise.
2448 (creal_test): Use END macro without arguments.
2449 (csin_test): Use END_COMPLEX macro without arguments.
2450 (csinh_test): Likewise.
2451 (csqrt_test): Likewise.
2452 (ctan_test): Likewise.
2453 (ctan_test_tonearest): Likewise.
2454 (ctan_test_towardzero): Likewise.
2455 (ctan_test_downward): Likewise.
2456 (ctan_test_upward): Likewise.
2457 (ctanh_test): Likewise.
2458 (ctanh_test_tonearest): Likewise.
2459 (ctanh_test_towardzero): Likewise.
2460 (ctanh_test_downward): Likewise.
2461 (ctanh_test_upward): Likewise.
2462 (erf_test): Use END macro without arguments.
2463 (erfc_test): Likewise.
2464 (exp_test): Likewise.
2465 (exp_test_tonearest): Likewise.
2466 (exp_test_towardzero): Likewise.
2467 (exp_test_downward): Likewise.
2468 (exp_test_upward): Likewise.
2469 (exp10_test): Likewise.
2470 (exp2_test): Likewise.
2471 (expm1_test): Likewise.
2472 (fabs_test): Likewise.
2473 (fdim_test): Likewise.
2474 (finite_test): Likewise.
2475 (floor_test): Likewise.
2476 (fma_test): Likewise.
2477 (fma_test_towardzero): Likewise.
2478 (fma_test_downward): Likewise.
2479 (fma_test_upward): Likewise.
2480 (fmax_test): Likewise.
2481 (fmin_test): Likewise.
2482 (fmod_test): Likewise.
2483 (fpclassify_test): Likewise.
2484 (frexp_test): Likewise.
2485 (gamma_test): Likewise.
2486 (hypot_test): Likewise.
2487 (ilogb_test): Likewise.
2488 (isfinite_test): Likewise.
2489 (isgreater_test): Likewise.
2490 (isgreaterequal_test): Likewise.
2491 (isinf_test): Likewise.
2492 (isless_test): Likewise.
2493 (islessequal_test): Likewise.
2494 (islessgreater_test): Likewise.
2495 (isnan_test): Likewise.
2496 (isnormal_test): Likewise.
2497 (issignaling_test): Likewise.
2498 (isunordered_test): Likewise.
2499 (j0_test): Likewise.
2500 (j1_test): Likewise.
2501 (jn_test): Likewise.
2502 (ldexp_test): Likewise.
2503 (lgamma_test): Likewise.
2504 (lrint_test): Likewise.
2505 (lrint_test_tonearest): Likewise.
2506 (lrint_test_towardzero): Likewise.
2507 (lrint_test_downward): Likewise.
2508 (lrint_test_upward): Likewise.
2509 (llrint_test): Likewise.
2510 (llrint_test_tonearest): Likewise.
2511 (llrint_test_towardzero): Likewise.
2512 (llrint_test_downward): Likewise.
2513 (llrint_test_upward): Likewise.
2514 (log_test): Likewise.
2515 (log10_test): Likewise.
2516 (log1p_test): Likewise.
2517 (log2_test): Likewise.
2518 (logb_test): Likewise.
2519 (logb_test_downward): Likewise.
2520 (lround_test): Likewise.
2521 (llround_test): Likewise.
2522 (modf_test): Likewise.
2523 (nearbyint_test): Likewise.
2524 (nextafter_test): Likewise.
2525 (nexttoward_test): Likewise.
2526 (pow_test): Likewise.
2527 (pow_test_tonearest): Likewise.
2528 (pow_test_towardzero): Likewise.
2529 (pow_test_downward): Likewise.
2530 (pow_test_upward): Likewise.
2531 (remainder_test): Likewise.
2532 (remainder_test_tonearest): Likewise.
2533 (remainder_test_towardzero): Likewise.
2534 (remainder_test_downward): Likewise.
2535 (remainder_test_upward): Likewise.
2536 (remquo_test): Likewise.
2537 (rint_test): Likewise.
2538 (rint_test_tonearest): Likewise.
2539 (rint_test_towardzero): Likewise.
2540 (rint_test_downward): Likewise.
2541 (rint_test_upward): Likewise.
2542 (round_test): Likewise.
2543 (scalb_test): Likewise.
2544 (scalbn_test): Likewise.
2545 (scalbln_test): Likewise.
2546 (signbit_test): Likewise.
2547 (sin_test): Likewise.
2548 (sin_test_tonearest): Likewise.
2549 (sin_test_towardzero): Likewise.
2550 (sin_test_downward): Likewise.
2551 (sin_test_upward): Likewise.
2552 (sincos_test): Likewise.
2553 (sinh_test): Likewise.
2554 (sinh_test_tonearest): Likewise.
2555 (sinh_test_towardzero): Likewise.
2556 (sinh_test_downward): Likewise.
2557 (sinh_test_upward): Likewise.
2558 (sqrt_test): Likewise.
2559 (tan_test): Likewise.
2560 (tan_test_tonearest): Likewise.
2561 (tan_test_towardzero): Likewise.
2562 (tan_test_downward): Likewise.
2563 (tan_test_upward): Likewise.
2564 (tanh_test): Likewise.
2565 (tgamma_test): Likewise.
2566 (trunc_test): Likewise.
2567 (y0_test): Likewise.
2568 (y1_test): Likewise.
2569 (yn_test): Likewise.
2570 (significand_test): Likewise.
2571
2572 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2573
2574 [BZ #15381]
2575 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2576
2577 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2578
2579 [BZ #14894]
2580 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2581 __ppc_mdoio and __ppc_mdoom.
2582 * manual/platform.texi: Document new functions __ppc_yield,
2583 __ppc_mdoio and __ppc_mdoom.
2584
2585 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2586
2587 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2588 (main): Mention "tls" pseudo-hwcap is legacy.
2589 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2590
2591 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2592
2593 * math/gen-libm-test.pl (parse_args): Output only string of
2594 arguments as text for test name, not full call or descriptions of
2595 tests for extra outputs.
2596 (generate_testfile): Do not pass function name to parse_args.
2597 Generate this_func variable from START.
2598 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2599 field to arg_str.
2600 (struct test_ff_f_data): Likewise.
2601 (test_ff_f_data_nexttoward): Likewise.
2602 (struct test_fi_f_data): Likewise.
2603 (struct test_fl_f_data): Likewise.
2604 (struct test_if_f_data): Likewise.
2605 (struct test_fff_f_data): Likewise.
2606 (struct test_c_f_data): Likewise.
2607 (struct test_f_f1_data): Likewise. Remove field extra_name.
2608 (struct test_fF_f1_data): Likewise.
2609 (struct test_ffI_f1_data): Likewise.
2610 (struct test_c_c_data): Rename test_name field to arg_str.
2611 (struct test_cc_c_data): Likewise.
2612 (struct test_f_i_data): Likewise.
2613 (struct test_ff_i_data): Likewise.
2614 (struct test_f_l_data): Likewise.
2615 (struct test_f_L_data): Likewise.
2616 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2617 and extra2_name.
2618 (COMMON_TEST_SETUP): New macro.
2619 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2620 (COMMON_TEST_CLEANUP): Likewise.
2621 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2622 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2623 macros.
2624 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2625 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2626 macros.
2627 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2628 (RUN_TEST_fff_f): Take argument string. Call new setup and
2629 cleanup macros.
2630 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2631 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2632 macros.
2633 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2634 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2635 macros.
2636 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2637 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2638 cleanup macros.
2639 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2640 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2641 cleanup macros.
2642 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2643 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2644 cleanup macros.
2645 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2646 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2647 macros.
2648 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2649 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2650 macros.
2651 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2652 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2653 macros.
2654 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2655 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2656 cleanup macros.
2657 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2658 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2659 cleanup macros.
2660 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2661 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2662 macros.
2663 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2664 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2665 cleanup macros.
2666 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2667 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2668 macros.
2669 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2670 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2671 macros.
2672 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2673 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2674 cleanup macros.
2675 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2676
2677 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2678
2679 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2680 to _sifields.sigfault.
2681 (si_addr_lsb): Define new macro.
2682 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2684 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2685
2686 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2687
2688 [BZ #15441]
2689 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2690 returns -1.
2691 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2692 null return -1.
2693 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2694 loading the domain.
2695
2696 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2697
2698 * math/gen-libm-test.pl (parse_args): Do not include expected
2699 result in test name.
2700 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2701 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2702 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2703 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2704 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2706
2707 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2708
2709 * benchtests/Makefile: Sort function entries.
2710
2711 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2712 tanh, asinh, acosh, atanh.
2713 * benchtests/acos-inputs: New file.
2714 * benchtests/acosh-inputs: New file.
2715 * benchtests/asin-inputs: New file.
2716 * benchtests/asinh-inputs: New file.
2717 * benchtests/atanh-inputs: New file.
2718 * benchtests/cosh-inputs: New file.
2719 * benchtests/log-inputs: New file.
2720 * benchtests/sinh-inputs: New file.
2721 * benchtests/tanh-inputs: New file.
2722
2723 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2724
2725 [BZ #15339]
2726 * posix/tst-getaddrinfo4.c: New test.
2727 * posix/Makefile (tests): Add it.
2728
2729 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2730
2731 [BZ #15339]
2732 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2733 when no services were used.
2734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2735 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2736
2737 2013-05-21 Andreas Schwab <schwab@suse.de>
2738
2739 [BZ #15014]
2740 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2741 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2742 successful.
2743 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2744 redundant variable declarations and reallocation of buffer when
2745 parsing as IPv6 address. Always set NSS status when called from
2746 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2747 buffer too small. Correct computation of needed size.
2748 * nss/Makefile (tests): Add test-digits-dots.
2749 * nss/test-digits-dots.c: New test.
2750
2751 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2752
2753 * benchtests/Makefile: Remove instructions for adding
2754 benchmark tests.
2755 * benchtests/README: New file to explain how to execute and
2756 enhance the benchmark tests.
2757
2758 2013-05-21 Andreas Schwab <schwab@suse.de>
2759
2760 [BZ #15493]
2761 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2762 * setjmp/tst-sigsetjmp.c: New test.
2763
2764 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2765
2766 * sysdeps/x86_64/memset.S (memset): New implementation.
2767 (__bzero): Likewise.
2768 (__memset_tail): New function.
2769
2770 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2771
2772 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2773 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2774 __memcpy_sse2_unaligned ifunc selection.
2775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2776 Add memcpy-sse2-unaligned.S.
2777 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2778 Add: __memcpy_sse2_unaligned.
2779
2780 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2781
2782 [BZ #15490]
2783 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2784 math_force_eval before restoring floating-point envrionment.
2785 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2786 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2787 Likewise.
2788 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2789 <math_private.h>.
2790 (__nearbyintl): Use math_force_eval before restoring
2791 floating-point environment.
2792 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2793
2794 * math/gen-libm-test.pl (special_functions): Remove.
2795 (parse_args): Don't handle TEST_extra. Handle functions with no
2796 return value.
2797 * math/libm-test.inc (struct test_sincos_data): Replace with
2798 struct test_fFF_11_data.
2799 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2800 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2801 (sincos_test_data): Change element type to struct
2802 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2803 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2804 RUN_TEST_LOOP_sincos.
2805 * math/README.libm-test: Don't mention special handling of
2806 individual functions.
2807 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2808 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2809 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2810 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2811 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2813
2814 * math/gen-libm-test.pl (get_variable): Remove function.
2815 (parse_args): Don't show pointer parameters to call in test
2816 names. Use "extra output N" in test names for extra outputs
2817 rather than naming variables.
2818
2819 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2820
2821 [BZ #15488]
2822 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2823 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2824 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2825 double tests.
2826 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2827 disable.
2828 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2829 check_long_double.
2830
2831 * math/gen-libm-test.pl (@tests): Remove variable.
2832 ($count): Likewise.
2833 (new_test): Remove function.
2834 (show_exceptions): New function.
2835 (special_functions): Use show_exceptions instead of new_test.
2836 (parse_args): Likewise.
2837 (generate_testfile): Pass only function name in generated call to
2838 print_max_error or print_complex_max_error.
2839 (get_ulps): Do not handle complex tests specially.
2840 (output_test): Rename to ...
2841 (get_all_ulps_for_test): ... this. Return a string rather than
2842 printing to a file. Require ulps to be present.
2843 (output_ulps): Generate arrays rather than #defines.
2844 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2845 (struct ulp_data): New type.
2846 (BUILD_COMPLEX_ULP): Remove macro.
2847 (compare_ulp_data): New function.
2848 (find_ulps): Likewise.
2849 (find_test_ulps): Likewise.
2850 (find_function_ulps): Likewise.
2851 (find_complex_function_ulps): Likewise.
2852 (print_max_error): Determine allowed ulps using
2853 find_function_ulps.
2854 (print_complex_max_error): Determine allowed ulps using
2855 find_complex_function_ulps.
2856 (check_float_internal): Determine max ulps using find_test_ulps.
2857 (check_float): Do not take max_ulp parameter. Update call to
2858 check_float_internal.
2859 (check_complex): Likewise.
2860 (check_int): Do not take max_ulp parameter.
2861 (check_long): Likewise.
2862 (check_bool): Likewise.
2863 (check_longlong): Likewise.
2864 (struct test_f_f_data): Remove max_ulp field.
2865 (struct test_ff_f_data): Likewise.
2866 (struct test_ff_f_data_nexttoward): Likewise.
2867 (struct test_fi_f_data): Likewise.
2868 (struct test_fl_f_data): Likewise.
2869 (struct test_if_f_data): Likewise.
2870 (struct test_fff_f_data): Likewise.
2871 (struct test_c_f_data): Likewise.
2872 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2873 (struct test_fF_f1_data): Likewise.
2874 (struct test_ffI_f1_data): Likewise.
2875 (struct test_c_c_data): Remove max_ulp field.
2876 (struct test_cc_c_data): Likewise.
2877 (struct test_f_i_data): Likewise.
2878 (struct test_ff_i_data): Likewise.
2879 (struct test_f_l_data): Likewise.
2880 (struct test_f_L_data): Likewise.
2881 (struct test_sincos_data): Likewise.
2882 (RUN_TEST_f_f): Do not handle ulps.
2883 (RUN_TEST_LOOP_f_f): Likewise.
2884 (RUN_TEST_2_f): Likewise.
2885 (RUN_TEST_LOOP_2_f): Likewise.
2886 (RUN_TEST_fff_f): Likewise.
2887 (RUN_TEST_LOOP_fff_f): Likewise.
2888 (RUN_TEST_c_f): Likewise.
2889 (RUN_TEST_LOOP_c_f): Likewise.
2890 (RUN_TEST_f_f1): Likewise.
2891 (RUN_TEST_LOOP_f_f1): Likewise.
2892 (RUN_TEST_fF_f1): Likewise.
2893 (RUN_TEST_LOOP_fF_f1): Likewise.
2894 (RUN_TEST_fI_f1): Likewise.
2895 (RUN_TEST_LOOP_fI_f1): Likewise.
2896 (RUN_TEST_ffI_f1): Likewise.
2897 (RUN_TEST_LOOP_ffI_f1): Likewise.
2898 (RUN_TEST_c_c): Likewise.
2899 (RUN_TEST_LOOP_c_c): Likewise.
2900 (RUN_TEST_cc_c): Likewise.
2901 (RUN_TEST_LOOP_cc_c): Likewise.
2902 (RUN_TEST_f_i): Likewise.
2903 (RUN_TEST_LOOP_f_i): Likewise.
2904 (RUN_TEST_f_i_tg): Likewise.
2905 (RUN_TEST_LOOP_f_i_tg): Likewise.
2906 (RUN_TEST_ff_i_tg): Likewise.
2907 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2908 (RUN_TEST_f_b): Likewise.
2909 (RUN_TEST_LOOP_f_b): Likewise.
2910 (RUN_TEST_f_b_tg): Likewise.
2911 (RUN_TEST_LOOP_f_b_tg): Likewise.
2912 (RUN_TEST_f_l): Likewise.
2913 (RUN_TEST_LOOP_f_l): Likewise.
2914 (RUN_TEST_f_L): Likewise.
2915 (RUN_TEST_LOOP_f_L): Likewise.
2916 (RUN_TEST_sincos): Likewise.
2917 (RUN_TEST_LOOP_sincos): Likewise.
2918
2919 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2920
2921 [BZ #15480]
2922 [BZ #15485]
2923 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2924 main case of finite arguments, set rounding mode to FE_TONEAREST
2925 and discard exceptions.
2926 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2927 exceptions.
2928 (remainder_tonearest_test_data): New variable.
2929 (remainder_test_tonearest): New function.
2930 (remainder_towardzero_test_data): New variable.
2931 (remainder_test_towardzero): New function.
2932 (remainder_downward_test_data): New variable.
2933 (remainder_test_downward): New function.
2934 (remainder_upward_test_data): New variable.
2935 (remainder_test_upward): New function.
2936 (main): Call the new test functions.
2937
2938 * math/libm-test.inc (struct test_f_f1_data): Remove field
2939 extra_init.
2940 (struct test_fF_f1_data): Likewise.
2941 (struct test_ffI_f1_data): Likewise.
2942 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2943 based on value of EXTRA_EXPECTED.
2944 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2945 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2946 EXTRA_VAR based on value of EXTRA_EXPECTED.
2947 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2948 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2949 EXTRA_VAR based on value of EXTRA_EXPECTED.
2950 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2951 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2952 EXTRA_VAR based on value of EXTRA_EXPECTED.
2953 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2954 * math/gen-libm-test.pl (parse_args): Don't output initializers
2955 for extra output values.
2956
2957 * math/libm-test.inc (check_int): Expect result to be exactly
2958 equal to expected value and do not handle ulps.
2959 (check_long): Likewise.
2960 (check_longlong): Likewise.
2961
2962 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2963 exceptions.
2964 (cimag_test_data): Likewise.
2965 (conj_test_data): Likewise.
2966 (copysign_test_data): Likewise.
2967 (cproj_test_data): Likewise.
2968 (creal_test_data): Likewise.
2969 (fabs_test_data): Likewise.
2970 (fdim_test_data): Likewise.
2971 (finite_test_data): Likewise.
2972 (floor_test_data): Likewise.
2973 (fmax_test_data): Likewise.
2974 (fmin_test_data): Likewise.
2975 (fmod_test_data): Likewise.
2976 (fpclassify_test_data): Likewise.
2977 (frexp_test_data): Likewise.
2978 (ilogb_test_data): Likewise.
2979 (isfinite_test_data): Likewise.
2980 (isgreater_test_data): Likewise.
2981 (isgreaterequal_test_data): Likewise.
2982 (isinf_test_data): Likewise.
2983 (isless_test_data): Likewise.
2984 (islessequal_test_data): Likewise.
2985 (islessgreater_test_data): Likewise.
2986 (isnan_test_data): Likewise.
2987 (isnormal_test_data): Likewise.
2988 (issignaling_test_data): Likewise.
2989 (isunordered_test_data): Likewise.
2990 (ldexp_test_data): Likewise.
2991 (lrint_test_data): Likewise.
2992 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2993 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2994 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2995 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2996 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2997 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2998 test input.
2999 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3000 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3001 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3002 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3003 that test input.
3004 (lrint_downward_test_data): Test for "inexact" exceptions.
3005 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3006 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3007 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3008 test input.
3009 (lrint_upward_test_data): Test for "inexact" exceptions.
3010 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3011 test input.
3012 (llrint_test_data): Test for "inexact" exceptions.
3013 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3014 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3015 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3016 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3017 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3018 (llrint_downward_test_data): Test for "inexact" exceptions.
3019 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3020 (llrint_upward_test_data): Test for "inexact" exceptions.
3021 (logb_test_data): Likewise.
3022 (logb_downward_test_data): Likewise.
3023 (nextafter_test_data): Likewise.
3024 (nexttoward_test_data): Likewise.
3025 (remainder_test_data): Likewise.
3026 (remquo_test_data): Likewise.
3027 (scalbn_test_data): Likewise.
3028 (scalbln_test_data): Likewise.
3029 (signbit_test_data): Likewise.
3030 (sqrt_test_data): Likewise.
3031 (significand_test_data): Likewise.
3032
3033 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3034
3035 [BZ #15424]
3036 * benchtests/bench-modf.c (struct args): Mark arg0 as
3037 volatile.
3038 * scripts/bench.pl: Mark members of struct args as volatile.
3039
3040 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3041
3042 [BZ # 15497]
3043 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3044 negative infinity on POWER6 or lower.
3045 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3046
3047 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3048
3049 [BZ #15442]
3050 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3051 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3052 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3053 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3054 (_FP_SETQNAN): New macro.
3055 (_FP_SETQNAN_SEMIRAW): Likewise.
3056 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3057 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3058 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3059 (FP_EXTEND): Use _FP_FRAC_SNANP.
3060 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3061 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3062 into account.
3063 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3064 New macro.
3065 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3066 Likewise.
3067
3068 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3069
3070 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3071 with DIVIDE_BY_ZERO_EXCEPTION.
3072 (gamma_test_data): Likewise.
3073 (lgamma_test_data): Likewise.
3074 (log_test_data): Likewise.
3075 (log10_test_data): Likewise.
3076 (log2_test_data): Likewise.
3077 (tgamma_test_data): Likewise.
3078
3079 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3080 (acos_test_tonearest): Likewise.
3081 (acos_test_towardzero): Likewise.
3082 (acos_test_downward): Likewise.
3083 (acos_test_upward): Likewise.
3084 (acosh_test): Likewise.
3085 (asin_test): Likewise.
3086 (asin_test_tonearest): Likewise.
3087 (asin_test_towardzero): Likewise.
3088 (asin_test_downward): Likewise.
3089 (asin_test_upward): Likewise.
3090 (asinh_test): Likewise.
3091 (atan_test): Likewise.
3092 (atanh_test): Likewise.
3093 (atan2_test): Likewise.
3094 (cabs_test): Likewise.
3095 (cacos_test): Likewise.
3096 (cacosh_test): Likewise.
3097 (casin_test): Likewise.
3098 (casinh_test): Likewise.
3099 (catan_test): Likewise.
3100 (catanh_test): Likewise.
3101 (cbrt_test): Likewise.
3102 (ccos_test): Likewise.
3103 (ccosh_test): Likewise.
3104 (cexp_test): Likewise.
3105 (clog_test): Likewise.
3106 (clog10_test): Likewise.
3107 (cos_test): Likewise.
3108 (cos_test_tonearest): Likewise.
3109 (cos_test_towardzero): Likewise.
3110 (cos_test_downward): Likewise.
3111 (cos_test_upward): Likewise.
3112 (cosh_test): Likewise.
3113 (cosh_test_tonearest): Likewise.
3114 (cosh_test_towardzero): Likewise.
3115 (cosh_test_downward): Likewise.
3116 (cosh_test_upward): Likewise.
3117 (cpow_test): Likewise.
3118 (csin_test): Likewise.
3119 (csinh_test): Likewise.
3120 (csqrt_test): Likewise.
3121 (ctan_test): Likewise.
3122 (ctan_test_tonearest): Likewise.
3123 (ctan_test_towardzero): Likewise.
3124 (ctan_test_downward): Likewise.
3125 (ctan_test_upward): Likewise.
3126 (ctanh_test): Likewise.
3127 (ctanh_test_tonearest): Likewise.
3128 (ctanh_test_towardzero): Likewise.
3129 (ctanh_test_downward): Likewise.
3130 (ctanh_test_upward): Likewise.
3131 (erf_test): Likewise.
3132 (erfc_test): Likewise.
3133 (exp_test): Likewise.
3134 (exp_test_tonearest): Likewise.
3135 (exp_test_towardzero): Likewise.
3136 (exp_test_downward): Likewise.
3137 (exp_test_upward): Likewise.
3138 (exp10_test): Likewise.
3139 (exp2_test): Likewise.
3140 (expm1_test): Likewise.
3141 (fmod_test): Likewise.
3142 (gamma_test): Likewise.
3143 (hypot_test): Likewise.
3144 (j0_test): Likewise.
3145 (j1_test): Likewise.
3146 (jn_test): Likewise.
3147 (lgamma_test): Likewise.
3148 (log_test): Likewise.
3149 (log10_test): Likewise.
3150 (log1p_test): Likewise.
3151 (log2_test): Likewise.
3152 (logb_test_downward): Likewise.
3153 (pow_test): Likewise.
3154 (pow_test_tonearest): Likewise.
3155 (pow_test_towardzero): Likewise.
3156 (pow_test_downward): Likewise.
3157 (pow_test_upward): Likewise.
3158 (remainder_test): Likewise.
3159 (remquo_test): Likewise.
3160 (sin_test): Likewise.
3161 (sin_test_tonearest): Likewise.
3162 (sin_test_towardzero): Likewise.
3163 (sin_test_downward): Likewise.
3164 (sin_test_upward): Likewise.
3165 (sincos_test): Likewise.
3166 (sinh_test): Likewise.
3167 (sinh_test_tonearest): Likewise.
3168 (sinh_test_towardzero): Likewise.
3169 (sinh_test_downward): Likewise.
3170 (sinh_test_upward): Likewise.
3171 (sqrt_test): Likewise.
3172 (tan_test): Likewise.
3173 (tan_test_tonearest): Likewise.
3174 (tan_test_towardzero): Likewise.
3175 (tan_test_downward): Likewise.
3176 (tan_test_upward): Likewise.
3177 (tanh_test): Likewise.
3178 (tgamma_test): Likewise.
3179 (y0_test): Likewise.
3180 (y1_test): Likewise.
3181 (yn_test): Likewise.
3182
3183 * math/gen-libm-test.pl (adjust_arg): Remove function.
3184 (special_function): Remove argument $in_func. Only handle
3185 generating output for tables of tests, not inside functions.
3186 (parse_args): Likewise.
3187 (generate_testfile): Remove variable $in_func. Update call to
3188 parse_args.
3189 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3190 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3191 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3192 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3193 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3194 (MAX_VALUE_INIT): Rename macro to max_value.
3195 (MIN_VALUE_INIT): Rename macro to min_value.
3196 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3197 (plus_zero): Remove variable.
3198 (minus_zero): Likewise.
3199 (plus_infty): Likewise.
3200 (minus_infty): Likewise.
3201 (qnan_value): Likewise.
3202 (max_value): Likewise.
3203 (min_value): Likewise.
3204 (min_subnorm_value): Likewise.
3205
3206 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3207
3208 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3209 uint64_t or uint32_t usage.
3210 * crypt/sha256-block.c: Likewise.
3211 * crypt/sha256-crypt.c: Likewise.
3212 * crypt/sha256.c: Likewise.
3213 * crypt/sha512-block.c: Likewise.
3214 * crypt/sha512-crypt.c: Likewise.
3215 * crypt/sha512.c: Likewise.
3216 * debug/backtrace-tst.c: Likewise.
3217 * debug/pcprofiledump.c: Likewise.
3218 * elf/cache.c: Likewise.
3219 * elf/dl-cache.c: Likewise.
3220 * elf/dl-misc.c: Likewise.
3221 * elf/dl-profile.c: Likewise.
3222 * elf/dl-support.c: Likewise.
3223 * elf/ldconfig.c: Likewise.
3224 * elf/sprof.c: Likewise.
3225 * iconv/dummy-repertoire.c: Likewise.
3226 * iconv/iconv_charmap.c: Likewise.
3227 * iconv/skeleton.c: Likewise.
3228 * iconvdata/8bit-generic.c: Likewise.
3229 * iconvdata/cp737.h: Likewise.
3230 * iconvdata/cp775.h: Likewise.
3231 * iconvdata/ibm1008.h: Likewise.
3232 * iconvdata/ibm1025.h: Likewise.
3233 * iconvdata/ibm1046.h: Likewise.
3234 * iconvdata/ibm1097.h: Likewise.
3235 * iconvdata/ibm1112.h: Likewise.
3236 * iconvdata/ibm1122.h: Likewise.
3237 * iconvdata/ibm1123.h: Likewise.
3238 * iconvdata/ibm1124.h: Likewise.
3239 * iconvdata/ibm1129.h: Likewise.
3240 * iconvdata/ibm1130.h: Likewise.
3241 * iconvdata/ibm1132.h: Likewise.
3242 * iconvdata/ibm1133.h: Likewise.
3243 * iconvdata/ibm1137.h: Likewise.
3244 * iconvdata/ibm1140.h: Likewise.
3245 * iconvdata/ibm1141.h: Likewise.
3246 * iconvdata/ibm1142.h: Likewise.
3247 * iconvdata/ibm1143.h: Likewise.
3248 * iconvdata/ibm1144.h: Likewise.
3249 * iconvdata/ibm1145.h: Likewise.
3250 * iconvdata/ibm1146.h: Likewise.
3251 * iconvdata/ibm1147.h: Likewise.
3252 * iconvdata/ibm1148.h: Likewise.
3253 * iconvdata/ibm1149.h: Likewise.
3254 * iconvdata/ibm1153.h: Likewise.
3255 * iconvdata/ibm1154.h: Likewise.
3256 * iconvdata/ibm1155.h: Likewise.
3257 * iconvdata/ibm1156.h: Likewise.
3258 * iconvdata/ibm1157.h: Likewise.
3259 * iconvdata/ibm1158.h: Likewise.
3260 * iconvdata/ibm1160.h: Likewise.
3261 * iconvdata/ibm1161.h: Likewise.
3262 * iconvdata/ibm1162.h: Likewise.
3263 * iconvdata/ibm1163.h: Likewise.
3264 * iconvdata/ibm1164.h: Likewise.
3265 * iconvdata/ibm1166.h: Likewise.
3266 * iconvdata/ibm1167.h: Likewise.
3267 * iconvdata/ibm12712.h: Likewise.
3268 * iconvdata/ibm1390.h: Likewise.
3269 * iconvdata/ibm1399.h: Likewise.
3270 * iconvdata/ibm16804.h: Likewise.
3271 * iconvdata/ibm4517.h: Likewise.
3272 * iconvdata/ibm4899.h: Likewise.
3273 * iconvdata/ibm4909.h: Likewise.
3274 * iconvdata/ibm4971.h: Likewise.
3275 * iconvdata/ibm5347.h: Likewise.
3276 * iconvdata/ibm803.h: Likewise.
3277 * iconvdata/ibm856.h: Likewise.
3278 * iconvdata/ibm901.h: Likewise.
3279 * iconvdata/ibm902.h: Likewise.
3280 * iconvdata/ibm9030.h: Likewise.
3281 * iconvdata/ibm9066.h: Likewise.
3282 * iconvdata/ibm921.h: Likewise.
3283 * iconvdata/ibm922.h: Likewise.
3284 * iconvdata/ibm9448.h: Likewise.
3285 * iconvdata/isiri-3342.h: Likewise.
3286 * iconvdata/jis0201.h: Likewise.
3287 * include/link.h: Likewise.
3288 * include/netdb.h: Likewise.
3289 * inet/check_native.c: Likewise.
3290 * inet/check_pf.c: Likewise.
3291 * inet/getipv4sourcefilter.c: Likewise.
3292 * inet/getnameinfo.c: Likewise.
3293 * inet/getsourcefilter.c: Likewise.
3294 * inet/htonl.c: Likewise.
3295 * inet/setipv4sourcefilter.c: Likewise.
3296 * inet/setsourcefilter.c: Likewise.
3297 * inet/test-inet6_opt.c: Likewise.
3298 * inet/tst-network.c: Likewise.
3299 * locale/C-collate.c: Likewise.
3300 * locale/C-ctype.c: Likewise.
3301 * locale/C-time.c: Likewise.
3302 * locale/C-translit.h: Likewise.
3303 * locale/loadarchive.c: Likewise.
3304 * locale/programs/3level.h: Likewise.
3305 * locale/programs/charmap.c: Likewise.
3306 * locale/programs/charmap.h: Likewise.
3307 * locale/programs/ld-address.c: Likewise.
3308 * locale/programs/ld-collate.c: Likewise.
3309 * locale/programs/ld-ctype.c: Likewise.
3310 * locale/programs/ld-identification.c: Likewise.
3311 * locale/programs/ld-measurement.c: Likewise.
3312 * locale/programs/ld-messages.c: Likewise.
3313 * locale/programs/ld-monetary.c: Likewise.
3314 * locale/programs/ld-name.c: Likewise.
3315 * locale/programs/ld-numeric.c: Likewise.
3316 * locale/programs/ld-paper.c: Likewise.
3317 * locale/programs/ld-telephone.c: Likewise.
3318 * locale/programs/ld-time.c: Likewise.
3319 * locale/programs/linereader.c: Likewise.
3320 * locale/programs/locale.c: Likewise.
3321 * locale/programs/locarchive.c: Likewise.
3322 * locale/programs/locfile.h: Likewise.
3323 * locale/programs/repertoire.c: Likewise.
3324 * locale/programs/simple-hash.c: Likewise.
3325 * locale/programs/simple-hash.h: Likewise.
3326 * malloc/memusage.c: Likewise.
3327 * malloc/memusagestat.c: Likewise.
3328 * nis/nis_defaults.c: Likewise.
3329 * nis/nis_hash.c: Likewise.
3330 * nis/nis_print.c: Likewise.
3331 * nis/nis_xdr.c: Likewise.
3332 * nscd/connections.c: Likewise.
3333 * nscd/hstcache.c: Likewise.
3334 * nscd/nscd_gethst_r.c: Likewise.
3335 * nscd/nscd_getserv_r.c: Likewise.
3336 * nscd/nscd_helper.c: Likewise.
3337 * nscd/servicescache.c: Likewise.
3338 * nss/makedb.c: Likewise.
3339 * nss/nss_db/db-XXX.c: Likewise.
3340 * nss/nss_db/db-initgroups.c: Likewise.
3341 * nss/nss_db/db-netgrp.c: Likewise.
3342 * nss/nss_files/files-network.c: Likewise.
3343 * nss/nss_files/files-parse.c: Likewise.
3344 * posix/bug-regex5.c: Likewise.
3345 * posix/fnmatch_loop.c: Likewise.
3346 * posix/regcomp.c: Likewise.
3347 * posix/regexec.c: Likewise.
3348 * posix/tst-rfc3484-2.c: Likewise.
3349 * posix/tst-rfc3484-3.c: Likewise.
3350 * posix/tst-rfc3484.c: Likewise.
3351 * resolv/nss_dns/dns-canon.c: Likewise.
3352 * resolv/nss_dns/dns-network.c: Likewise.
3353 * resolv/res_init.c: Likewise.
3354 * resolv/res_mkquery.c: Likewise.
3355 * resolv/tst-aton.c: Likewise.
3356 * stdlib/cxa_atexit.c: Likewise.
3357 * stdlib/cxa_finalize.c: Likewise.
3358 * stdlib/gen-fpioconst.c: Likewise.
3359 * stdlib/strtol_l.c: Likewise.
3360 * string/tst-endian.c: Likewise.
3361 * sunrpc/auth_des.c: Likewise.
3362 * sunrpc/clnt_udp.c: Likewise.
3363 * sunrpc/rtime.c: Likewise.
3364 * sunrpc/svcauth_des.c: Likewise.
3365 * sunrpc/xdr.c: Likewise.
3366 * sunrpc/xdr_intXX_t.c: Likewise.
3367 * sunrpc/xdr_rec.c: Likewise.
3368 * sysdeps/generic/ldconfig.h: Likewise.
3369 * sysdeps/generic/ldsodefs.h: Likewise.
3370 * sysdeps/generic/memusage.h: Likewise.
3371 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3372 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3373 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3374 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3375 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3377 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3378 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3379 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3380 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3381 * sysdeps/posix/getaddrinfo.c: Likewise.
3382 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3383 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3384 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3385 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3386 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3387 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3388 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3389 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3390 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3391 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3392 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3393 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3394 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3395 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3396 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3397 * sysdeps/x86_64/dl-tls.h: Likewise.
3398 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3399 * time/alt_digit.c: Likewise.
3400 * time/era.c: Likewise.
3401 * wcsmbs/tst-c16c32-1.c: Likewise.
3402
3403 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3404
3405 * math/libm-test.inc (struct test_sincos_data): New type.
3406 (RUN_TEST_LOOP_sincos): New macro.
3407 (sincos_test_data): New variable.
3408 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3409
3410 2013-05-16 Richard Henderson <rth@redhat.com>
3411
3412 * math/atest-exp2.c (LIMB64): New macro.
3413 (CONSTSZ): New macro.
3414 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3415 (hexdig): Move ...
3416 (print_mpn_fp): ... to function scope.
3417 (read_mpn_hex): Remove.
3418 (get_log2): Remove.
3419 (exp2_mpn): Use mp_log2.
3420 (main): Use mp_exp1.
3421
3422 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3423
3424 * math/libm-test.inc: Remove comment about not testing "inexact"
3425 exceptions.
3426 (INEXACT_EXCEPTION): New macro.
3427 (NO_INEXACT_EXCEPTION): Likewise.
3428 (INVALID_EXCEPTION_OK): Update value.
3429 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3430 (OVERFLOW_EXCEPTION_OK): Likewise.
3431 (UNDERFLOW_EXCEPTION_OK): Likewise.
3432 (IGNORE_ZERO_INF_SIGN): Likewise.
3433 (ERRNO_UNCHANGED): Likewise.
3434 (ERRNO_EDOM): Likewise.
3435 (ERRNO_ERANGE): Likewise.
3436 (test_exceptions): Handle testing "inexact" exceptions.
3437 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3438 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3439 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3440 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3441 INEXACT_EXCEPTION.
3442 (rint_towardzero_test_data): Likewise.
3443 (rint_downward_test_data): Likewise.
3444 (rint_upward_test_data): Likewise.
3445
3446 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3447 with OVERFLOW_EXCEPTION.
3448 (exp10_test_data): Likewise.
3449 (exp2_test_data): Likewise.
3450 (expm1_test_data): Likewise.
3451 (lgamma_test_data): Likewise.
3452 (pow_test_data): Likewise.
3453 (tgamma_test_data): Likewise.
3454 (yn_test_data): Remove duplicate test of overflow.
3455
3456 * math/libm-test.inc (struct test_cc_c_data): New type.
3457 (RUN_TEST_LOOP_cc_c): New macro.
3458 (cpow_test_data): New variable.
3459 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3460
3461 * math/libm-test.inc (struct test_f_L_data): New type.
3462 (RUN_TEST_LOOP_f_L): New macro.
3463 (llrint_test_data): New variable.
3464 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3465 (llrint_tonearest_test_data): New variable.
3466 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3467 (llrint_towardzero_test_data): New variable.
3468 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3469 (llrint_downward_test_data): New variable.
3470 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3471 (llrint_upward_test_data): New variable.
3472 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3473 (llround_test_data): New variable.
3474 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3475
3476 2013-05-13 Peter Collingbourne <pcc@google.com>
3477
3478 * math/atest-exp2.c (get_log2): Remove const attribute.
3479
3480 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3481
3482 * math/libm-test.inc (struct test_f_l_data): New type.
3483 (RUN_TEST_LOOP_f_l): New macro.
3484 (lrint_test_data): New variable.
3485 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3486 (lrint_tonearest_test_data): New variable.
3487 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3488 (lrint_towardzero_test_data): New variable.
3489 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3490 (lrint_downward_test_data): New variable.
3491 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3492 (lrint_upward_test_data): New variable.
3493 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3494 (lround_test_data): New variable.
3495 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3496
3497 2013-05-15 Peter Collingbourne <pcc@google.com>
3498
3499 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3500 (EXTRACT_WORDS64) Use where appropriate.
3501 (INSERT_WORDS64) Likewise.
3502
3503 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3504 constraints with x constraints.
3505 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3506
3507 * malloc/obstack.c (_obstack_compat): Add initializer.
3508
3509 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3510
3511 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3512 si_trapno and add si_addr_lsb to _sifields.sigfault.
3513 (si_trapno): Remove macro.
3514 (si_addr_lsb): Define new macro.
3515 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3516
3517 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3518
3519 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3520 instead of TEST_f_l.
3521 (llrint_test_tonearest): Likewise.
3522 (llrint_test_towardzero): Likewise.
3523 (llrint_test_downward): Likewise.
3524 (llrint_test_upward): Likewise.
3525 (llround_test): Likewise.
3526
3527 * math/libm-test.inc (struct test_f_i_data): Add comment.
3528 (RUN_TEST_LOOP_f_b): New macro.
3529 (RUN_TEST_LOOP_f_b_tg): Likewise.
3530 (finite_test_data): New variable.
3531 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3532 (isfinite_test_data): New variable.
3533 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3534 (isinf_test_data): New variable.
3535 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3536 (isnan_test_data): New variable.
3537 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3538 (isnormal_test_data): New variable.
3539 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3540 (issignaling_test_data): New variable.
3541 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3542 (signbit_test_data): New variable.
3543 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3544
3545 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3546 with INVALID_EXCEPTION.
3547 (acosh_test_data): Likewise.
3548 (asin_test_data): Likewise.
3549 (atanh_test_data): Likewise.
3550 (fmod_test_data): Likewise.
3551 (log_test_data): Likewise.
3552 (log10_test_data): Likewise.
3553 (log2_test_data): Likewise.
3554 (pow_test_data): Likewise.
3555 (sqrt_test_data): Likewise.
3556 (y0_test_data): Likewise.
3557 (y1_test_data): Likewise.
3558 (yn_test_data): Likewise.
3559
3560 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3561 function contents.
3562
3563 * math/libm-test.inc (struct test_ff_i_data): New type.
3564 (RUN_TEST_LOOP_ff_i_tg): New macro.
3565 (isgreater_test_data): New variable.
3566 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3567 (isgreaterequal_test_data): New variable.
3568 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3569 (isless_test_data): New variable.
3570 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3571 (islessequal_test_data): New variable.
3572 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3573 (islessgreater_test_data): New variable.
3574 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3575 (isunordered_test_data): New variable.
3576 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3577
3578 2013-05-14 David S. Miller <davem@davemloft.net>
3579
3580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3581
3582 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3583
3584 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3585
3586 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3587 extra_test to int.
3588 (struct test_f_i_data): Change type of max_ulp to int.
3589
3590 * math/libm-test.inc (test_ffI_f1_data): New type.
3591 (RUN_TEST_LOOP_ffI_f1): New macro.
3592 (remquo_test_data): New variable.
3593 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3594
3595 * setjmp/tst-setjmp-fp.c: New file.
3596 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3597 (link-libm): New variable.
3598 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3599
3600 * math/libm-test.inc (struct test_f_i_data): New type.
3601 (RUN_TEST_LOOP_f_i): New macro.
3602 (RUN_TEST_LOOP_f_i_tg): Likewise.
3603 (fpclassify_test_data): New variable.
3604 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3605 (ilogb_test_data): New variable.
3606 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3607
3608 * math/libm-test.inc (scalbln_test): Correct function name in END
3609 call.
3610
3611 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3612 (RUN_TEST_LOOP_fI_f1): New macro.
3613 (frexp_test_data): New variable.
3614 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3615
3616 * math/libm-test.inc (struct test_fF_f1_data): New type.
3617 (RUN_TEST_LOOP_fF_f1): New macro.
3618 (modf_test_data): New variable.
3619 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3620
3621 * math/libm-test.inc (struct test_f_f1_data): New type.
3622 (RUN_TEST_LOOP_f_f1): New macro.
3623 (gamma_test_data): New variable.
3624 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3625 (lgamma_test_data): New variable.
3626 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3627
3628 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3629
3630 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3631 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3632 (main): Comment "tls" pseudo-hwcap.
3633
3634 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3635
3636 * math/libm-test.inc (struct test_fl_f_data): New type.
3637 (RUN_TEST_LOOP_fl_f): New variable.
3638 (scalbln_test_data): New variable.
3639 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3640
3641 * math/libm-test.inc (struct test_fi_f_data): New type.
3642 (RUN_TEST_LOOP_fi_f): New macro.
3643 (ldexp_test_data): New variable.
3644 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3645 (scalbn_test_data): New variable.
3646 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3647
3648 * math/libm-test.inc (struct test_c_f_data): New type.
3649 (RUN_TEST_LOOP_c_f): New macro.
3650 (cabs_test_data): New variable.
3651 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3652 (carg_test_data): New variable.
3653 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3654 (cimag_test_data): New variable.
3655 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3656 (creal_test_data): New variable.
3657 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3658
3659 * math/libm-test.inc (struct test_if_f_data): New type.
3660 (RUN_TEST_LOOP_if_f): New macro.
3661 (jn_test_data): New variable.
3662 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3663 (yn_test_data): New variable.
3664 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3665
3666 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3667
3668 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3669
3670 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3671 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3672
3673 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3674
3675 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3676 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3677 (bench-deps): Add bench-timing.h.
3678 * benchtests-bench-skeleton.c: Include bench-timing.h.
3679 (main): Use TIMING_* macros instead of clock_gettime.
3680 * benchtests/bench-timing.h: New file.
3681
3682 [BZ #14582]
3683 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3684 Renamed from _LIB_VERSION.
3685 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3686
3687 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3688
3689 * math/libm-test.inc (struct test_fff_f_data): New type.
3690 (RUN_TEST_LOOP_fff_f): New macro.
3691 (fma_test_data): New variable.
3692 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3693 (fma_towardzero_test_data): New variable.
3694 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3695 (fma_downward_test_data): New variable.
3696 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3697 (fma_upward_test_data): New variable.
3698 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3699
3700 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3701 (struct test_c_c_data): New type.
3702 (RUN_TEST_LOOP_c_c): New macro.
3703 (cacos_test_data): New variable.
3704 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3705 (cacosh_test_data): New variable.
3706 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3707 (casin_test_data): New variable.
3708 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3709 (casinh_test_data): New variable.
3710 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3711 (catan_test_data): New variable.
3712 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3713 (catanh_test_data): New variable.
3714 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3715 (ccos_test_data): New variable.
3716 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3717 (ccosh_test_data): New variable.
3718 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3719 (cexp_test_data): New variable.
3720 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3721 (clog_test_data): New variable.
3722 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3723 (clog10_test_data): New variable.
3724 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3725 (conj_test_data): New variable.
3726 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3727 (cproj_test_data): New variable.
3728 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3729 (csin_test_data): New variable.
3730 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3731 (csinh_test_data): New variable.
3732 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3733 (csqrt_test_data): New variable.
3734 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3735 (ctan_test_data): New variable.
3736 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3737 (ctan_tonearest_test_data): New variable.
3738 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3739 (ctan_towardzero_test_data): New variable.
3740 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3741 (ctan_downward_test_data): New variable.
3742 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3743 (ctan_upward_test_data): New variable.
3744 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3745 (ctanh_test_data): New variable.
3746 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3747 (ctanh_tonearest_test_data): New variable.
3748 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3749 (ctanh_towardzero_test_data): New variable.
3750 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3751 (ctanh_downward_test_data): New variable.
3752 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3753 (ctanh_upward_test_data): New variable.
3754 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3755 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3756 of BUILD_COMPLEX.
3757
3758 * math/libm-test.inc (struct test_ff_f_data): New type.
3759 (struct test_ff_f_data_nexttoward): Likewise.
3760 (RUN_TEST_LOOP_2_f): New macro.
3761 (RUN_TEST_LOOP_ff_f): Likewise.
3762 (atan2_test_data): New variable.
3763 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3764 (copysign_test_data): New variable.
3765 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3766 (fdim_test_data): New variable.
3767 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3768 (fmax_test_data): New variable.
3769 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3770 (fmin_test_data): New variable.
3771 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3772 (fmod_test_data): New variable.
3773 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3774 (hypot_test_data): New variable.
3775 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3776 (nextafter_test_data): New variable.
3777 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3778 (nexttoward_test_data): New variable.
3779 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3780 (pow_test_data): New variable.
3781 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3782 (pow_tonearest_test_data): New variable.
3783 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3784 (pow_towardzero_test_data): New variable.
3785 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3786 (pow_downward_test_data): New variable.
3787 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3788 (pow_upward_test_data): New variable.
3789 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3790 (remainder_test_data): New variable.
3791 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3792 (scalb_test_data): New variable.
3793 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3794 * sysdeps/i386/fpu/libm-test-ulps: Update.
3795
3796 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3797
3798 * math/libm-test.inc (fma_test): Use max_value instead of local
3799 variable fltmax.
3800 (nextafter_test): Likewise.
3801
3802 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3803 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3804 (acos_downward_test_data): New variable.
3805 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3806 (acos_upward_test_data): New variable.
3807 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3808 (acosh_test_data): New variable.
3809 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3810 (asin_test_data): New variable.
3811 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3812 (asin_tonearest_test_data): New variable.
3813 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3814 (asin_towardzero_test_data): New variable.
3815 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3816 (asin_downward_test_data): New variable.
3817 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3818 (asin_upward_test_data): New variable.
3819 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3820 (asinh_test_data): New variable.
3821 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3822 (atan_test_data): New variable.
3823 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3824 (atanh_test_data): New variable.
3825 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3826 (cbrt_test_data): New variable.
3827 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3828 (ceil_test_data): New variable.
3829 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3830 (cos_test_data): New variable.
3831 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3832 (cos_tonearest_test_data): New variable.
3833 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3834 (cos_towardzero_test_data): New variable.
3835 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3836 (cos_downward_test_data): New variable.
3837 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3838 (cos_upward_test_data): New variable.
3839 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3840 (cosh_test_data): New variable.
3841 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3842 (cosh_tonearest_test_data): New variable.
3843 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3844 (cosh_towardzero_test_data): New variable.
3845 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3846 (cosh_downward_test_data): New variable.
3847 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3848 (cosh_upward_test_data): New variable.
3849 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3850 (erf_test_data): New variable.
3851 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3852 (erfc_test_data): New variable.
3853 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3854 (exp_test_data): New variable.
3855 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3856 (exp_tonearest_test_data): New variable.
3857 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3858 (exp_towardzero_test_data): New variable.
3859 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3860 (exp_downward_test_data): New variable.
3861 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3862 (exp_upward_test_data): New variable.
3863 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3864 (exp10_test_data): New variable.
3865 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3866 (exp2_test_data): New variable.
3867 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3868 (expm1_test_data): New variable.
3869 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3870 (fabs_test_data): New variable.
3871 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3872 (floor_test_data): New variable.
3873 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3874 (j0_test_data): New variable.
3875 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3876 (j1_test_data): New variable.
3877 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3878 (log_test_data): New variable.
3879 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3880 (log10_test_data): New variable.
3881 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3882 (log1p_test_data): New variable.
3883 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3884 (log2_test_data): New variable.
3885 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3886 (logb_test_data): New variable.
3887 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3888 (logb_downward_test_data): New variable.
3889 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3890 (nearbyint_test_data): New variable.
3891 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3892 (rint_test_data): New variable.
3893 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3894 (rint_tonearest_test_data): New variable.
3895 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3896 (rint_towardzero_test_data): New variable.
3897 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3898 (rint_downward_test_data): New variable.
3899 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3900 (rint_upward_test_data): New variable.
3901 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3902 (round_test_data): New variable.
3903 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3904 (sin_test_data): New variable.
3905 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3906 (sin_tonearest_test_data): New variable.
3907 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3908 (sin_towardzero_test_data): New variable.
3909 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3910 (sin_downward_test_data): New variable.
3911 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3912 (sin_upward_test_data): New variable.
3913 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3914 (sinh_test_data): New variable.
3915 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3916 (sinh_tonearest_test_data): New variable.
3917 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3918 (sinh_towardzero_test_data): New variable.
3919 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3920 (sinh_downward_test_data): New variable.
3921 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3922 (sinh_upward_test_data): New variable.
3923 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3924 (sqrt_test_data): New variable.
3925 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3926 (tan_test_data): New variable.
3927 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3928 (tan_tonearest_test_data): New variable.
3929 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3930 (tan_towardzero_test_data): New variable.
3931 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3932 (tan_downward_test_data): New variable.
3933 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3934 (tan_upward_test_data): New variable.
3935 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3936 (tanh_test_data): New variable.
3937 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3938 (tgamma_test_data): New variable.
3939 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3940 (trunc_test_data): New variable.
3941 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3942 (y0_test_data): New variable.
3943 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3944 (y1_test_data): New variable.
3945 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3946 (significand_test_data): New variable.
3947 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3948
3949 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3950
3951 [BZ #12387]
3952 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3953
3954 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3955
3956 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3957
3958 2013-05-10 Andreas Jaeger <aj@suse.de>
3959
3960 [BZ #15448]
3961 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3962 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3963
3964 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3965
3966 * math/gen-libm-test.pl (adjust_arg): New function.
3967 (special_functions): Handle generating output in both functions
3968 and arrays.
3969 (parse_args): Likewise.
3970 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3971 $in_func argument to parse_args.
3972 * math/libm-test.inc (struct test_f_f_data): New type.
3973 (IF_ROUND_INIT_): New macro.
3974 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3975 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3976 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3977 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3978 (ROUND_RESTORE_): Likewise.
3979 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3980 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3981 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3982 (ROUND_RESTORE_FE_UPWARD): Likewise.
3983 (RUN_TEST_LOOP_f_f): New macro.
3984 (acos_test_data): New variable.
3985 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3986 (acos_tonearest_test_data): New variable.
3987 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3988
3989 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3990
3991 * benchtests/bench-skeleton.c (startup): Fix coding style.
3992
3993 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3994
3995 [BZ #6809]
3996 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3997 negative infinity argument.
3998 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3999 negative infinity argument.
4000 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4001 negative infinity argument.
4002 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4003 domain errors.
4004
4005 2013-05-10 Florian Weimer <fweimer@redhat.com>
4006
4007 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4008 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4009 * iconv/iconv_prog.c (main): Likewise.
4010 * locale/programs/charmap-dir.c (charmap_readdir)
4011 (fopen_uncompressed): Likewise.
4012 * locale/programs/locfile.c (siblings_uncached)
4013 (write_locale_data): Use lstat64 instead of lstat.
4014 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4015 stat.
4016
4017 2013-05-10 Andreas Jaeger <aj@suse.de>
4018
4019 [BZ #15395]
4020 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4021 localization.
4022 Include <locale.h>.
4023
4024 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4025
4026 * elf/dl-close.c (_dl_close_worker): Add comments.
4027
4028 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4029
4030 [BZ #15359]
4031 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4032 high part of pi/2.
4033 (__ieee754_rem_pio2l): Update comments.
4034
4035 [BZ #15429]
4036 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4037 high part of pi/2.
4038 (__ieee754_rem_pio2l): Update comments.
4039
4040 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4041 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4042
4043 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4044 M_PI_4l.
4045
4046 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4047 (M_PI_34_LOG10El): Likewise.
4048 (M_PI2_LOG10El): Likewise.
4049 (M_PI4_LOG10El): Likewise.
4050 (M_PI_LOG10El): Likewise.
4051
4052 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4053
4054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4055
4056 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4057
4058 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4059 (MINUS_ZERO_INIT): Likewise.
4060 (PLUS_INFTY_INIT): Likewise.
4061 (MINUS_INFTY_INIT): Likewise.
4062 (QNAN_VALUE_INIT): Likewise.
4063 (MAX_VALUE_INIT): Likewise.
4064 (MIN_VALUE_INIT): Likewise.
4065 (MIN_SUBNORM_VALUE_INIT): Likewise.
4066 (plus_zero): Initialize with PLUS_ZERO_INIT.
4067 (minus_zero): Initialize with MINUS_ZERO_INIT.
4068 (plus_infty): Initialize with PLUS_INFTY_INIT.
4069 (minus_infty): Initialize with MINUS_INFTY_INIT.
4070 (qnan_value): Initialize with QNAN_VALUE_INIT.
4071 (max_value): Initialize with MAX_VALUE_INIT.
4072 (min_value): Initialize with MIN_VALUE_INIT.
4073 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4074
4075 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4076 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4077 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4078 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4079
4080 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4081 (RUN_TEST_2_f): Likewise.
4082 (RUN_TEST_ff_f): Likewise.
4083 (RUN_TEST_fi_f): Likewise.
4084 (RUN_TEST_fl_f): Likewise.
4085 (RUN_TEST_fff_f): Likewise.
4086 (RUN_TEST_c_f): Likewise.
4087 (RUN_TEST_f_f1): Likewise.
4088 (RUN_TEST_fF_f1): Likewise.
4089 (RUN_TEST_fI_f1): Likewise.
4090 (RUN_TEST_ffI_f1): Likewise.
4091 (RUN_TEST_c_c): Likewise.
4092 (RUN_TEST_cc_c): Likewise.
4093 (RUN_TEST_f_i): Likewise.
4094 (RUN_TEST_f_i_tg): Likewise.
4095 (RUN_TEST_ff_i_tg): Likewise.
4096 (RUN_TEST_f_b): Likewise.
4097 (RUN_TEST_f_b_tg): Likewise.
4098 (RUN_TEST_f_l): Likewise.
4099 (RUN_TEST_f_L): Likewise.
4100 (RUN_TEST_sincos): Likewise.
4101 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4102 whether to show exceptions. Do not include ");\n" in return
4103 value.
4104 (special_functions): Output call to RUN_TEST_sincos instead of
4105 check_float calls. Update calls to new_test.
4106 (parse_args): Output call to single RUN_TEST_* macro instead of
4107 check_* calls and other assignments. Update calls to new_test.
4108
4109 [BZ #2546]
4110 [BZ #2560]
4111 [BZ #5159]
4112 [BZ #15426]
4113 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4114 input to result for tgamma overflow.
4115 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4116 (gamma_coeff): New variable.
4117 (NCOEFF): New macro.
4118 (gamma_positive): New function.
4119 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4120 underflow here. Use gamma_positive instead of exp (lgamma) for
4121 other arguments.
4122 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4123 (gamma_coeff): New variable.
4124 (NCOEFF): New macro.
4125 (gammaf_positive): New function.
4126 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4127 underflow here. Use gamma_positive instead of exp (lgamma) for
4128 other arguments.
4129 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4130 (gamma_coeff): New variable.
4131 (NCOEFF): New macro.
4132 (gammal_positive): New function.
4133 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4134 underflow here. Use gamma_positive instead of exp (lgamma) for
4135 other arguments.
4136 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4137 (gamma_coeff): New variable.
4138 (NCOEFF): New macro.
4139 (gammal_positive): New function.
4140 (__ieee754_gammal_r): Handle positive infinity, overflow and
4141 underflow here. Handle NaN the same as positive infinity. Remove
4142 check x < 0xffffffff for negative integers. Use gamma_positive
4143 instead of exp (lgamma) for other arguments.
4144 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4145 (gamma_coeff): New variable.
4146 (NCOEFF): New macro.
4147 (gammal_positive): New function.
4148 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4149 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4150 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4153 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4154 * sysdeps/generic/math_private.h (__gamma_productf): New
4155 prototype.
4156 (__gamma_product): Likewise.
4157 (__gamma_productl): Likewise.
4158 * math/Makefile (libm-calls): Add gamma_product.
4159 * math/libm-test.inc (tgamma_test): Add more tests.
4160 * sysdeps/i386/fpu/libm-test-ulps: Update.
4161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4162
4163 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4164
4165 * benchtests/bench-skeleton.c (main): Preheat CPU.
4166
4167 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4168
4169 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4170
4171 2013-05-07 Roland McGrath <roland@hack.frob.com>
4172
4173 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4174 and _dl_skip_args_internal.
4175
4176 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4177
4178 * manual/message.texi (Message Translation): Talk about users.
4179 Message to key mapping impacts design.
4180
4181 2013-05-06 Roland McGrath <roland@hack.frob.com>
4182
4183 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4184
4185 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4186
4187 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4188 * sysdeps/wordsize-64/glob64.c: ... here.
4189
4190 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4191 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4192 New macros.
4193
4194 * debug/getlogin_r_chk.c: Moved to ...
4195 * login/getlogin_r_chk.c: ... here.
4196 * debug/Makefile (routines): Move getlogin_r_chk to ...
4197 * login/Makefile (routines): ... here.
4198 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4199 * login/Versions (libc: GLIBC_2.4): ... here.
4200
4201 * io/poll.c (__poll): Renamed from poll.
4202 Add libc_hidden_def.
4203 (poll): Define as weak alias.
4204
4205 * debug/ptsname_r_chk.c: Moved to ...
4206 * login/ptsname_r_chk.c: ... here.
4207 * debug/Makefile (routines): Move ptsname_r_chk to ...
4208 * login/Makefile (routines): ... here.
4209 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4210 * login/Versions (libc: GLIBC_2.4): ... here.
4211
4212 * posix/getlogin.c: Moved to ...
4213 * login/getlogin.c: ... here.
4214 * posix/getlogin_r.c: Moved to ...
4215 * login/getlogin_r.c: ... here.
4216 * posix/getlogin_r.c: Moved to ...
4217 * login/getlogin_r.c: ... here.
4218 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4219 * login/Makefile (routines): ... here.
4220 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4221 * login/Versions (libc: GLIBC_2.0): ... here.
4222
4223 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4224 (setrlimit): Define as weak alias.
4225
4226 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4227 Call __ names for open, ftruncate, and close.
4228 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4229 (truncate): Define as weak alias.
4230
4231 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4232
4233 * math/gen-libm-test.pl (parse_args): Initialize x before each
4234 test of frexp, modf and remquo.
4235
4236 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4237 test signgam value.
4238
4239 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4240
4241 [BZ #15418]
4242 [BZ #15419]
4243 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4244 internal tests.
4245 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4246
4247 2013-05-06 Roland McGrath <roland@hack.frob.com>
4248
4249 * elf/dl-writev.h: New file.
4250 * elf/dl-misc.c: Include it.
4251 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4252 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4253
4254 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4255
4256 * math/libm-test.inc (noXFails): Remove variable.
4257 (noXPasses): Likewise.
4258 (BUILD_COMPLEX_INT): Remove macro.
4259 (print_screen): Remove xfail argument.
4260 (print_screen_max_error): Likewise.
4261 (update_stats): Likewise.
4262 (print_max_error): Likewise. Update calls to other affected
4263 functions.
4264 (print_complex_max_error): Likewise.
4265 (test_single_exception): Update calls to print_screen.
4266 (test_single_errno): Likewise.
4267 (check_float_internal): Remove xfail argument. Update calls to
4268 other affected functions.
4269 (check_float): Likewise.
4270 (check_complex): Likewise.
4271 (check_int): Likewise.
4272 (check_long): Likewise.
4273 (check_bool): Likewise.
4274 (check_longlong): Likewise.
4275 (main): Don't print noXFails and noXPasses.
4276 * math/gen-libm-test.pl (top level): Don't mention expected
4277 failure handling in comment.
4278 (new_test): Don't handle expected failures.
4279 (parse_args): Don't mention expected failure handling in comment.
4280 (generate_testfile): Don't handle expected failures.
4281 (parse_ulps): Likewise.
4282 (print_ulps_file): Likewise.
4283 (get_failure): Remove function.
4284 (output_test): Don't handle expected failures.
4285 * make/README.libm-test: Don't mention expected failure handling.
4286
4287 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4288 (minus_zero): Likewise.
4289 (plus_infty): Likewise.
4290 (minus_infty): Likewise.
4291 (qnan_value): Likewise.
4292 (max_value): Likewise.
4293 (min_value): Likewise.
4294 (min_subnorm_value): Likewise.
4295 (initialize): Do not initialize those variables dynamically.
4296
4297 2013-05-03 Roland McGrath <roland@hack.frob.com>
4298
4299 * io/open.c (__open_2): Moved to ...
4300 * io/open_2.c: ... this new file.
4301 * io/open64.c (__open64_2): Moved to ...
4302 * io/open64_2.c: ... this new file.
4303 * io/openat.c (__openat_2): Moved to ...
4304 * io/openat_2.c: ... this new file.
4305 * io/openat64.c (__openat64_2): Moved to ...
4306 * io/openat64_2.c: ... this new file.
4307 * io/Makefile (routines): Add them.
4308 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4309 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4310 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4311 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4312 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4313 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4314 (__openat64): Add hidden_ver.
4315 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4316 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4317
4318 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4319 Separately conditionalize setting of GLRO(dl_sysinfo) so
4320 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4321 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4322
4323 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4324
4325 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4326 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4327 definition.
4328 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4329 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4330 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4331 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4332 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4333
4334 2013-05-03 Joseph Myers <joseph@codesourcery.com>
4335
4336 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4337 test signgam value.
4338
4339 * math/libm-test.inc (hypot_test): Do not use
4340 IGNORE_ZERO_INF_SIGN.
4341
4342 2013-05-03 Andreas Jaeger <aj@suse.de>
4343
4344 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4345 Linux 3.9.
4346 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4347 (PF_MAX): Adjust for VSOCK change.
4348
4349 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4350
4351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4352
4353 2013-05-02 Carlos O'Donell <carlos@redhat.com>
4354
4355 [BZ #15264]
4356 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4357 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4358 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4359
4360 2013-05-02 David S. Miller <davem@davemloft.net>
4361
4362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4363
4364 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
4365
4366 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4367
4368 2013-05-01 Roland McGrath <roland@hack.frob.com>
4369
4370 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4371
4372 2013-05-01 Richard Smith <richard@metafoo.co.uk>
4373
4374 [BZ #14952]
4375 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4376 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4377 Use __attribute__ ((__gnu_inline__)).
4378 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4379 Don't use __attribute__ ((__gnu_inline__)).
4380
4381 2013-05-01 Joseph Myers <joseph@codesourcery.com>
4382
4383 [BZ #15423]
4384 * math/s_catan.c (__catan): Handle small real or imaginary part of
4385 input specially to avoid spurious underflow.
4386 * math/s_catanf.c (__catanf): Likewise.
4387 * math/s_catanh.c (__catanh): Likewise.
4388 * math/s_catanhf.c (__catanhf): Likewise.
4389 * math/s_catanhl.c (__catanhl): Likewise.
4390 * math/s_catanl.c (__catanl): Likewise.
4391 * math/libm-test.inc (catan_test): Add more tests.
4392 (catanh_test): Likewise.
4393 * sysdeps/i386/fpu/libm-test-ulps: Update.
4394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4395
4396 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4397
4398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4399
4400 2013-04-30 Joseph Myers <joseph@codesourcery.com>
4401
4402 [BZ #15416]
4403 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4404 accurately for denominator in atan2.
4405 * math/s_catanf.c (__catanf): Likewise.
4406 * math/s_catanh.c (__catanh): Likewise.
4407 * math/s_catanhf.c (__catanhf): Likewise.
4408 * math/s_catanhl.c (__catanhl): Likewise.
4409 * math/s_catanl.c (__catanl): Likewise.
4410 * math/libm-test.inc (catan_test): Add more tests.
4411 (catanh_test): Likewise.
4412 * sysdeps/i386/fpu/libm-test-ulps: Update.
4413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4414
4415 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4416
4417 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4418
4419 * benchtests/Makefile (bench): Remove slow benchmarks.
4420 * benchtests/atan-inputs: Add slow benchmark inputs.
4421 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4422 (BENCH_FUNC): Accept variant offset.
4423 (VARIANT): Define.
4424 * benchtests/bench-skeleton.c (main): Run benchmark for each
4425 variant.
4426 * benchtests/cos-inputs: Add slow benchmark inputs.
4427 * benchtests/exp-inputs: Likewise.
4428 * benchtests/pow-inputs: Likewise.
4429 * benchtests/sin-inputs: Likewise.
4430 * benchtests/slowatan-inputs: Remove.
4431 * benchtests/slowatan.c: Remove.
4432 * benchtests/slowcos-inputs: Remove.
4433 * benchtests/slowcos.c: Remove.
4434 * benchtests/slowexp-inputs: Remove.
4435 * benchtests/slowexp.c: Remove.
4436 * benchtests/slowpow-inputs: Remove.
4437 * benchtests/slowpow.c: Remove.
4438 * benchtests/slowsin-inputs: Remove.
4439 * benchtests/slowsin.c: Remove.
4440 * benchtests/slowtan-inputs: Remove.
4441 * benchtests/slowtan.c: Remove.
4442 * benchtests/tan-inputs: Add slow benchmark inputs.
4443 * scripts/bench.pl: Parse comments and directives.
4444
4445 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4446 in CPPFLAGS.
4447 ($(objpfx)bench-%.c): Remove *-ITER.
4448 * benchtests/bench-modf.c: Remove definition of ITER.
4449 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4450 (main): Loop for DURATION seconds instead of fixed number of
4451 iterations.
4452 * scripts/bench.pl: Don't expect iterations in parameters.
4453
4454 2013-04-29 Roland McGrath <roland@hack.frob.com>
4455
4456 * io/fchdir.c (__fchdir): Renamed from fchdir.
4457 (fchdir): Define as weak alias.
4458
4459 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4460
4461 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4462 (ERRNO_EDOM): Likewise.
4463 (ERRNO_ERANGE): Likewise.
4464 (noErrnoTests): New variable.
4465 (init_max_error): Set errno to 0.
4466 (test_single_errno): New function.
4467 (test_errno): Likewise.
4468 (check_float_internal): Call test_errno. Set errno to 0.
4469 (check_complex): Refer to errno tests in comment.
4470 (check_int): Call test_errno. Set errno to 0.
4471 (check_long): Likewise.
4472 (check_bool): Likewise.
4473 (check_longlong): Likewise.
4474 (cos_test): Use ERRNO_* flags for errno tests instead of
4475 check_int.
4476 (expm1_test): Likewise.
4477 (fmod_test): Likewise.
4478 (ilogb_test): Likewise.
4479 (lgamma_test): Likewise.
4480 (pow_test): Likewise.
4481 (remainder_test): Likewise.
4482 (sin_test): Likewise.
4483 (tan_test): Likewise.
4484 (yn_test): Likewise.
4485 (initialize): Set errno to 0.
4486 (main): Print number of errno tests.
4487 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4488
4489 2013-04-29 Andreas Jaeger <aj@suse.de>
4490
4491 [BZ #15084]
4492 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4493 and RES_USEVC.
4494
4495 [BZ #15085]
4496 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4497 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4498 unimplemented.
4499
4500 [BZ #15380]
4501 * stdlib/random.c (__initstate): Return NULL if
4502 __initstate fails.
4503
4504 [BZ #15086]
4505 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4506 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4507 RES_SNGLKUPREOP.
4508
4509 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4510
4511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4512
4513 2013-04-29 Joseph Myers <joseph@codesourcery.com>
4514
4515 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4516 of individual tests.
4517 (casin_test): Likewise.
4518 (casinh_test): Likewise.
4519
4520 2013-04-27 Joseph Myers <joseph@codesourcery.com>
4521
4522 [BZ #15409]
4523 * math/s_catan.c (__catan): Handle arguments with large real or
4524 imaginary part separately without squaring.
4525 * math/s_catanf.c (__catanf): Likewise.
4526 * math/s_catanh.c (__catanh): Likewise.
4527 * math/s_catanhf.c (__catanhf): Likewise.
4528 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4529 and redefine.
4530 (__catanhl): Handle arguments with large real or imaginary part
4531 separately without squaring.
4532 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4533 and redefine.
4534 (__catanl): Handle arguments with large real or imaginary part
4535 separately without squaring.
4536 * math/libm-test.inc (catan_test): Add more tests.
4537 (catanh_test): Likewise.
4538 * sysdeps/i386/fpu/libm-test-ulps: Update.
4539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4540
4541 2013-04-27 Andreas Jaeger <aj@suse.de>
4542
4543 [BZ #15007]
4544 * stdlib/stdlib.h: Update guards for qecvt.
4545 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4546 <stdlib.h>.
4547
4548 2013-04-27 Allan McRae <allan@archlinux.org>
4549
4550 * sysdeps/i386/fpu/libm-test-ulps: Update.
4551
4552 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4553
4554 [BZ #15406]
4555 * math/s_catan.c: Include <float.h>.
4556 (__catan): Ensure underflow exception occurs for underflowed
4557 result.
4558 * math/s_catanf.c: Include <float.h>.
4559 (__catanf): Ensure underflow exception occurs for underflowed
4560 result.
4561 * math/s_catanh.c: Include <float.h>.
4562 (__catanh): Ensure underflow exception occurs for underflowed
4563 result.
4564 * math/s_catanhf.c: Include <float.h>.
4565 (__catanhf): Ensure underflow exception occurs for underflowed
4566 result.
4567 * math/s_catanhl.c: Include <float.h>.
4568 (__catanhl): Ensure underflow exception occurs for underflowed
4569 result.
4570 * math/s_catanl.c: Include <float.h>.
4571 (__catanl): Ensure underflow exception occurs for underflowed
4572 result.
4573 * math/libm-test.inc (catan_test): Add more tests.
4574 (catanh_test): Likewise.
4575
4576 [BZ #15405]
4577 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4578 underflowed result.
4579 * math/s_ccoshf.c (__ccoshf): Likewise.
4580 * math/s_ccoshl.c (__ccoshl): Likewise.
4581 * math/s_csin.c (__csin): Likewise.
4582 * math/s_csinf.c (__csinf): Likewise.
4583 * math/s_csinh.c (__csinh): Likewise.
4584 * math/s_csinhf.c (__csinhf): Likewise.
4585 * math/s_csinhl.c (__csinhl): Likewise.
4586 * math/s_csinl.c (__csinl): Likewise.
4587 * math/libm-test.inc (ccos_test): Add more tests.
4588 (ccosh_test): Likewise.
4589 (csin_test): Likewise.
4590 (csinh_test): Likewise.
4591
4592 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4593
4594 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4595 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4596 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4597 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4598 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4599 powerpc/power5+/fpu folders.
4600 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4601
4602
4603 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4604
4605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4606
4607 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4608
4609 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4610 additions to variable.
4611 [$(config-machine) = x86_64] (modules-names): Likewise.
4612 ($(objpfx)tst-audit3): Remove dependency.
4613 ($(objpfx)tst-audit3.out): Likewise.
4614 ($(objpfx)tst-audit4): Likewise.
4615 ($(objpfx)tst-audit4.out): Likewise.
4616 ($(objpfx)tst-audit5): Likewise.
4617 ($(objpfx)tst-audit5.out): Likewise.
4618 ($(objpfx)tst-audit6): Likewise.
4619 ($(objpfx)tst-audit6.out): Likewise.
4620 ($(objpfx)tst-audit7): Likewise.
4621 ($(objpfx)tst-audit7.out): Likewise.
4622 (tst-audit3-ENV): Remove variable.
4623 (tst-audit4-ENV): Likewise.
4624 (tst-audit5-ENV): Likewise.
4625 (tst-audit6-ENV): Likewise.
4626 (tst-audit7-ENV): Likewise.
4627 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4628 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4629 addition to variable.
4630 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4631 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4632 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4633 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4634 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4635 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4636 tst-audit3, tst-audit4 and tst-audit5.
4637 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4638 tst-audit6 and tst-audit7.
4639 [$(subdir) = elf] (modules-names): Add audit modules for those
4640 tests.
4641 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4642 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4643 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4644 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4645 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4646 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4647 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4648 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4649 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4650 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4651 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4652 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4653 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4654 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4655 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4656 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4657 Likewise.
4658 [$(subdir) = elf && $(config-cflags-avx) = yes]
4659 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4660 [$(subdir) = elf && $(config-cflags-avx) = yes]
4661 (CFLAGS-tst-auditmod4a.c): Likewise.
4662 [$(subdir) = elf && $(config-cflags-avx) = yes]
4663 (CFLAGS-tst-auditmod4b.c): Likewise.
4664 [$(subdir) = elf && $(config-cflags-avx) = yes]
4665 (CFLAGS-tst-auditmod6b.c): Likewise.
4666 [$(subdir) = elf && $(config-cflags-avx) = yes]
4667 (CFLAGS-tst-auditmod6c.c): Likewise.
4668 [$(subdir) = elf && $(config-cflags-avx) = yes]
4669 (CFLAGS-tst-auditmod7b.c): Likewise.
4670 * elf/tst-audit3.c: Move to ...
4671 * sysdeps/x86_64/tst-audit3.c: ... here.
4672 * elf/tst-audit4.c: Move to ...
4673 * sysdeps/x86_64/tst-audit4.c: ... here.
4674 * elf/tst-audit5.c: Move to ...
4675 * sysdeps/x86_64/tst-audit5.c: ... here.
4676 * elf/tst-audit6.c: Move to ...
4677 * sysdeps/x86_64/tst-audit6.c: ... here.
4678 * elf/tst-audit7.c: Move to ...
4679 * sysdeps/x86_64/tst-audit7.c: ... here.
4680 * elf/tst-auditmod3a.c: Move to ...
4681 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4682 * elf/tst-auditmod3b.c: Move to ...
4683 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4684 * elf/tst-auditmod4a.c: Move to ...
4685 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4686 * elf/tst-auditmod4b.c: Move to ...
4687 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4688 * elf/tst-auditmod5a.c: Move to ...
4689 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4690 * elf/tst-auditmod5b.c: Move to ...
4691 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4692 * elf/tst-auditmod6a.c: Move to ...
4693 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4694 * elf/tst-auditmod6b.c: Move to ...
4695 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4696 * elf/tst-auditmod6c.c: Move to ...
4697 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4698 * elf/tst-auditmod7a.c: Move to ...
4699 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4700 * elf/tst-auditmod7b.c: Move to ...
4701 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4702
4703 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4704
4705 [BZ #15366]
4706 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4707 define unconditionally.
4708 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4709 define unconditionally.
4710 (INT8_C, INT16_C, etc.): Likewise.
4711
4712 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4713
4714 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4715 __ehdr_start with hidden visibility.
4716
4717 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4718
4719 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4720
4721 * math/libm-test.inc (cos_test): Use accurate hex constants.
4722 (sincost_test): Likewise.
4723
4724 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4725
4726 * math/libm-test.inc (catan_test): Add more tests.
4727 (catanh_test): Likewise.
4728
4729 * math/s_catanf.c (__catanf): Use suffixed floating-point
4730 constants.
4731 * math/s_catanhf.c (__catanhf): Likewise.
4732 * math/s_catanhl.c (__catanhl): Likewise.
4733 * math/s_catanl.c (__catanl): Likewise.
4734
4735 [BZ #15394]
4736 * math/s_catan.c (__catan): Calculate imaginary part of result
4737 with log1p not log unless computing log of number close to 0.
4738 * math/s_catanf.c (__catanf): Likewise.
4739 * math/s_catanl.c (__catanl): Likewise.
4740 * math/s_catanh.c (__catanh): Calculate real part of result with
4741 log1p not log unless computing log of number close to 0.
4742 * math/s_catanhf.c (__catanhf): Likewise.
4743 * math/s_catanhl.c (__catanhl): Likewise.
4744 * math/libm-test.inc (catan_test): Add more tests.
4745 (catanh_test): Likewise.
4746 * sysdeps/i386/fpu/libm-test-ulps: Update.
4747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4748
4749 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4750
4751 * benchtests/Makefile: Mention files in which fast and slow
4752 paths of math functions are implemented.
4753
4754 2013-04-23 Roland McGrath <roland@hack.frob.com>
4755
4756 * sysdeps/posix/timespec_get.c: New file.
4757
4758 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4759
4760 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4761 POWER.
4762 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4763 for POWER.
4764 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4765 powerpc/power5/fpu folders.
4766 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4767 * benchtests/Makefile: Add modf testcase.
4768 * benchtests/bench-modf.c: New file: Benchmark test for mo
4769
4770 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4771
4772 [BZ #14888]
4773 * time/Makefile (tests): Add tst-strptime-whitespace.
4774 * time/strptime_l.c (get_number): Use ISSPACE.
4775 (__strptime_internal): Likewise.
4776 * time/tst-strptime-whitespace.c: New test case.
4777
4778 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4779
4780 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4781 member.
4782 (_nss_files_init): Set it here.
4783
4784 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4785
4786 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4787 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4788 unsigned.
4789
4790 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4791
4792 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4793
4794 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4795
4796 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4797 size just once.
4798
4799 2013-04-21 David S. Miller <davem@davemloft.net>
4800
4801 * po/ru.po: Update Russion translation from translation project.
4802
4803 2013-04-17 Adam Conrad <adconrad@0c3.net>
4804
4805 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4806 and setfsgid.
4807
4808 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4809
4810 * configure.in: Remove i386 configure warning. Remove i386 case.
4811 * configure: Regenerate.
4812 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4813 Add example to error message.
4814 * sysdeps/i386/configure: Regenerate.
4815
4816 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4817
4818 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4819 slowtan.
4820 * benchtests/cos-inputs: New file.
4821 * benchtests/slowcos-inputs: New file.
4822 * benchtests/slowcos.c: New file.
4823 * benchtests/slowtan-inputs: New file.
4824 * benchtests/slowtan.c: New file.
4825 * benchtests/tan-inputs: New file.
4826
4827 2013-04-16 Roland McGrath <roland@hack.frob.com>
4828
4829 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4830 considered kosher.
4831
4832 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4833
4834 * benchtests/Makefile: Include cppflags-iterator.mk to add
4835 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4836
4837 * Makefile.in (bench-clean): New target.
4838 * benchtests/Makefile (bench-clean): Likewise.
4839
4840 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4841
4842 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4843
4844 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4845
4846 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4847
4848 2013-04-15 Andreas Schwab <schwab@suse.de>
4849
4850 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4852 * nscd/pwdcache.c (cache_addpw): Likewise.
4853 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4854 more than recsize.
4855
4856 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4857
4858 * benchtests/Makefile (bench): Write all output to
4859 bench-out.tmp together.
4860
4861 2013-04-15 Andreas Schwab <schwab@suse.de>
4862
4863 * nscd/nscd.c (main): Don't fork again after closing files.
4864
4865 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4866
4867 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4868
4869 * benchtests/Rules (bench-deps): Collect dependencies into a
4870 single variable. Add Makefile to dependencies.
4871 ($(objpfx)bench-%.c): Depend on bench-deps.
4872
4873 2013-04-12 Roland McGrath <roland@hack.frob.com>
4874 Xavier Roche <roche+kml2@exalead.com>
4875
4876 [BZ #15361]
4877 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4878 just that it's a file descriptor.
4879 * manual/llio.texi (Synchronizing AIO Operations): Update description
4880 for EBADF error from aio_fsync.
4881
4882 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4883
4884 * Rules (bench): Move target definition...
4885 * benchtests/Makefile: ... here.
4886
4887 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4888
4889 * math/libm-test.inc (cos_test): Fix PI/2 test.
4890 (sincos_test): Likewise.
4891 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4892 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4893
4894 2013-04-11 Andreas Schwab <schwab@suse.de>
4895
4896 [BZ #13988]
4897 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4898 accept exponent character only when digits were seen.
4899 * stdio-common/Makefile (tests): Add bug26.
4900 * stdio-common/bug26.c: New file.
4901
4902 [BZ #14293]
4903 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4904 non-freeable.
4905
4906 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4907
4908 * Makeconfig (rtld-prefix): Define built linker prefix.
4909 * Rules (run-bench): Use it.
4910 * math/Makefile (run-regen-ulps): Likewise.
4911
4912 * Rules (bench): Remove eval.
4913
4914 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4915 Roland McGrath <roland@hack.frob.com>
4916 Ondrej Bilka <neleai@seznam.cz>
4917
4918 [BZ #15346]
4919 * time/getdate.c: Include ctype.h and alloca.h.
4920 (__getdate_r): Trim leading and trailing spaces of input.
4921 * time/tst-getdate.c (tests): Add tests with leading and
4922 trailing spaces.
4923
4924 2013-04-08 Roland McGrath <roland@hack.frob.com>
4925
4926 [BZ #14280]
4927 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4928 when computing value.
4929
4930 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4931
4932 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4933 Use testrun.sh to run libm tests.
4934
4935 [BZ #15309]
4936 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4937
4938 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4939
4940 [BZ #15264]
4941 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4942
4943 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4944
4945 * Makefile.in (regen-ulps): New target.
4946 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4947 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4948 [ifneq (no,$(PERL)] (regen-ulps): New target.
4949 [ifeq (no,$(PERL)] (regen-ulps): New target.
4950 * math/libm-test.inc (ulps_file_name): Define.
4951 (output_dir): New variable.
4952 (options): Add "output-dir" option.
4953 (parse_opt): Handle 'o' case.
4954 (main): If output_dir is non-NULL use it as a prefix
4955 otherwise use "".
4956 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4957
4958 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4959
4960 [BZ #10060, #10062]
4961 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4962 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4963 fail configure if __sync_val_compare_and_swap is not inlined.
4964 * sysdeps/i386/configure: Regenerate.
4965 * configure.in: Build for i686 when configured for i386.
4966 * configure: Regenerate.
4967 * README: Remove i386 reference.
4968
4969 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4970
4971 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4972 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4973
4974 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4975
4976 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4977 (lmsnanval): New variables.
4978 (F): Add conversion tests.
4979 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4980 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4981
4982 * stdio-common/tstdiomisc.c (F): Properly collect individual
4983 tests' results.
4984
4985 [BZ #14686, #15336]
4986 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4987 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4988 Instead, use input NaN values or generate a qNaN by arithmetic
4989 operation. Also fix bugs to comply with the standard.
4990 * math/libm-test.inc (remainder_test): Add more tests.
4991
4992 [BZ #15335, #15342]
4993 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4995 input NaN values or generate a qNaN by arithmetic operation.
4996
4997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4998 unreachable code.
4999
5000 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5001 definitions.
5002
5003 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5004
5005 [BZ #14478]
5006 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5007 underflowed result.
5008 * math/s_cexpf.c (__cexpf): Likewise.
5009 * math/s_cexpl.c (__cexpl): Likewise.
5010 * math/libm-test.inc (cexp_test): Add more tests.
5011
5012 2013-04-03 Andreas Schwab <schwab@suse.de>
5013
5014 [BZ #15330]
5015 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5016 order arrays from heap if bigger than alloca cutoff.
5017
5018 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5019
5020 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5021 (SNAN_TESTS_double): Refer to GCC PR56831.
5022 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5023 GCC PR56828.
5024
5025 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5026
5027 * Rules (bench): Move bench.out after the run is complete.
5028
5029 * Rules (bench): Echo currently running benchmark.
5030
5031 * benchtests/Makefile (bench): Add atan and slowatan.
5032 * benchtests/atan-inputs: New file.
5033 * benchtests/slowatan-inputs: New file.
5034 * benchtests/slowatan.c: New file.
5035
5036 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5037 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5038 its value.
5039
5040 [BZ #15305]
5041 * sysdeps/unix/sysv/linux/kernel-features.h
5042 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5043 __ASSUME_XFS_RESTRICTED_CHOWN.
5044 * sysdeps/unix/sysv/linux/pathconf.c
5045 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5046 Save and restore errno.
5047
5048 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5049
5050 [BZ #15327]
5051 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5052 arguments using __kernel_casinh.
5053 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5054 arguments using __kernel_casinhf.
5055 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5056 arguments using __kernel_casinhl.
5057 * math/libm-test.inc (cacosh_test): Add more tests.
5058 * sysdeps/i386/fpu/libm-test-ulps: Update.
5059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5060
5061 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5062
5063 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5065
5066 * bench/Makefile (bench): Add sin and slowsin.
5067 * benchtests/sin-inputs: New file.
5068 * benchtests/slowsin-inputs: New file.
5069 * benchtests/slowsin.c: New file.
5070
5071 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5072 (bench): Add slowexp and slowpow.
5073 (exp-ITER): Increase iterations.
5074 (pow-ITER): Likewise.
5075 * benchtests/exp-inputs: Change input.
5076 * benchtests/pow-inputs: Likewise.
5077 * benchtests/slowexp-inputs: New file.
5078 * benchtests/slowexp.c: New file.
5079 * benchtests/slowpow-inputs: New file.
5080 * benchtests/slowpow.c: New file.
5081
5082 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5083
5084 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5085 instructions.
5086 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5087 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5088 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5089 * benchtests/Makefile: Add rint benchtest.
5090 * benchtests/rint-inputs: Input for rint benchtest.
5091
5092 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5093
5094 * Versions.def (libm): Add GLIBC_2.18.
5095 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5096 hidden libm prototypes.
5097 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5098 * math/Makefile (libm-calls): Add s_issignaling.
5099 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5100 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5101 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5102 declaration.
5103 * math/math.h [__USE_GNU] (issignaling): New macro.
5104 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5105 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5106 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5107 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5108 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5109 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5110 * manual/arith.texi (issignaling): New section.
5111 * manual/libm-err-tab.pl (@all_functions): Update comment.
5112 * math/gen-libm-test.pl (parse_args): Apply special handling for
5113 issignaling.
5114 * math/libm-test.inc (print_float, issignaling_test): New
5115 functions.
5116 (check_float_internal): Add issignaling checks.
5117 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5118 default definition.
5119 * sysdeps/powerpc/math-tests.h: New file.
5120 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5121 tests.
5122 * math/test-snan.c (TEST_FUNC): Likewise.
5123
5124 2013-03-30 David S. Miller <davem@davemloft.net>
5125
5126 * po/de.po: Update from translation team.
5127
5128 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5129
5130 [BZ #10357]
5131 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5132 imaginary part less than 1.0 and real part less than 0.5
5133 specially.
5134 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5135 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5136 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5137 (cacos_test): Add more tests.
5138 (casin_test): Likewise.
5139 (casinh_test): Likewise.
5140 * sysdeps/i386/fpu/libm-test-ulps: Update.
5141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5142
5143 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5144
5145 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5146 ONE with its value.
5147
5148 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5149 (__pow_mp): Replace ONE and MONE with their values.
5150 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5151 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5152 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5153 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5154 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5155 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5156
5157 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5158
5159 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5160 (__pow_mp): Replace ZERO and MZERO with their values.
5161 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5163 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5164 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5165 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5166 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5167 (__sqr): Likewise.
5168
5169 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5170
5171 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5172
5173 2013-03-28 Roland McGrath <roland@hack.frob.com>
5174
5175 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5176 Declare with __attribute__ ((weak)).
5177 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5178 Call __call_tls_dtors only if it's not NULL.
5179
5180 2013-03-28 Roland McGrath <roland@hack.frob.com>
5181
5182 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5183 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5184 magic __ehdr_start linker symbol if it's defined.
5185 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5186 them up here if it was already done.
5187
5188 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5189 (_dl_aux_init): Use const in cast when setting it.
5190 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5191 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5192 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5193
5194 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5195 Declare them here.
5196 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5197 * csu/libc-tls.c: Nor here.
5198 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5199
5200 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5201 (__libc_message): Never call vsyslog.
5202
5203 2013-03-28 Alan Modra <amodra@gmail.com>
5204
5205 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5206 Define as empty.
5207 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5208 Likewise.
5209
5210 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5211
5212 [BZ #15214]
5213 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5214 underflow.
5215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5216
5217 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5218
5219 [BZ #15304]
5220 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5221 Don't add gid passed as argument.
5222
5223 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5224
5225 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5226
5227 [BZ #15307]
5228 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5229 imaginary part between 1.0 and 1.5 and real part less than 0.5
5230 specially.
5231 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5232 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5233 * math/libm-test.inc (cacos_test): Add more tests.
5234 (casin_test): Likewise.
5235 (casinh_test): Likewise.
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5238
5239 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5240
5241 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5242 constants.
5243 (norm): Likewise.
5244 (denorm): Likewise.
5245 (__dbl_mp): Likewise.
5246 (add_magnitudes): Likewise.
5247 (sub_magnitudes): Likewise.
5248 (__add): Likewise.
5249 (__sub): Likewise.
5250 (__mul): Likewise.
5251 (__sqr): Likewise.
5252 (__inv): Likewise.
5253 (__dvd): Likewise.
5254
5255 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5256 commented code.
5257 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5258 (__dubcos): Likewise.
5259 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5260 (__ieee754_acos): Likewise.
5261 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5262 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5263 (__exp1): Likewise.
5264 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5265 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5266 (log1): Likewise.
5267 (my_log2): Likewise.
5268 (checkint): Likewise.
5269 * sysdeps/ieee754/dbl-64/e_remainder.c
5270 (__ieee754_remainder): Likewise.
5271 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5272 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5273 (bsloww): Likewise.
5274 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5275
5276 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5277 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5278 MANTISSA_STORE_T to store computations on mantissa. Use
5279 macros for rounding and division.
5280 (denorm): Likewise.
5281 (__dbl_mp): Likewise.
5282 (add_magnitudes): Likewise.
5283 (sub_magnitudes): Likewise.
5284 (__mul): Likewise.
5285 (__sqr): Likewise.
5286 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5287 powers of two in terms of TWOPOW macro.
5288 (mp_no): Make type of mantissa as MANTISSA_T.
5289 [!RADIXI]: Define RADIXI.
5290 [!TWO52]: Define TWO52.
5291 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5292
5293 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5294
5295 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5296 llroundl symbol when building for PPC32.
5297
5298 2013-03-24 Mark H Weaver <mhw@netris.org>
5299
5300 * manual/arith.texi (Normalization Functions): Fix prototypes for
5301 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5302
5303 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5304
5305 [BZ #13889]
5306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5307 high value to check if expl overflow.
5308 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5309 to check for underflow and overflow.
5310 * math/libm-test.inc: Add exp test.
5311
5312 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5313
5314 [BZ #11120]
5315 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5316 with NOT_IN_libc.
5317
5318 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5319
5320 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5321 symbol.
5322
5323 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5324
5325 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5326 wrap blocks consisting of several statements.
5327
5328 * sysdeps/generic/math-tests.h: New file.
5329 * sysdeps/i386/fpu/math-tests.h: Likewise.
5330 * math/test-snan.c: Include it.
5331 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5332
5333 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5334
5335 [BZ #15285]
5336 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5337 (__ieee754_j0l): Do not improve calculations using cos of twice
5338 input for inputs above LDBL_MAX / 2.0L.
5339 (__ieee754_y0l): Likewise.
5340 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5341 (__ieee754_j1l): Do not improve calculations using cos of twice
5342 input for inputs above LDBL_MAX / 2.0L.
5343 (__ieee754_y1l): Likewise.
5344 * math/libm-test.inc (j0_test): Add another test.
5345 (j1_test): Likewise.
5346 (y0_test): Likewise.
5347 (y1_test): Likewise.
5348 * sysdeps/i386/fpu/libm-test-ulps: Update.
5349
5350 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5351
5352 * Rules ($(objpfx)bench-%.c): Include code from a C source
5353 file.
5354
5355 2013-03-21 Joseph Myers <joseph@codesourcery.com>
5356
5357 [BZ #15287]
5358 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5359 imaginary part 1.0 and real part less than 0.5 specially.
5360 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5361 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5362 * math/libm-test.inc (cacos_test): Add more tests.
5363 (casin_test): Likewise.
5364 (casinh_test): Likewise.
5365 * sysdeps/i386/fpu/libm-test-ulps: Update.
5366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5367
5368 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5369
5370 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5371 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5372
5373 2013-03-20 Joseph Myers <joseph@codesourcery.com>
5374
5375 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5376 * config.make.in (config-cflags-sse4): Remove variable.
5377 (config-cflags-avx): Likewise.
5378 (config-cflags-sse2avx): Likewise.
5379 (config-cflags-novzeroupper): Likewise.
5380 (config-asflags-i686): Likewise.
5381 (have-mfma4): Likewise.
5382 (have-as-vis3): Likewise.
5383 (MIG): Likewise.
5384 * configure.in (MIG): Do not AC_SUBST.
5385 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5386 (libc_cv_cc_sse4): Do not AC_SUBST.
5387 (libc_cv_cc_avx): Likewise.
5388 (libc_cv_cc_sse2avx): Likewise.
5389 (libc_cv_cc_novzeroupper): Likewise.
5390 (libc_cv_cc_fma4): Likewise.
5391 (libc_cv_as_i686): Likewise.
5392 (libc_cv_sparc_as_vis3): Likewise.
5393 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5394 LIBC_CONFIG_VAR.
5395 (config-asflags-i686): Likewise.
5396 (config-cflags-avx): Likewise.
5397 (config-cflags-sse2avx): Likewise.
5398 (have-mfma4): Likewise.
5399 (config-cflags-novzeroupper): Likewise.
5400 * sysdeps/mach/configure.in (MIG): Likewise.
5401 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5402 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5403 LIBC_CONFIG_VAR.
5404 (config-cflags-avx): Likewise.
5405 (config-cflags-sse2avx): Likewise.
5406 (have-mfma4): Likewise.
5407 (config-cflags-novzeroupper): Likewise.
5408 * configure: Regenerated.
5409 * sysdeps/i386/configure: Likewise.
5410 * sysdeps/mach/configure: Likewise.
5411 * sysdeps/sparc/configure: Likewise.
5412 * sysdeps/x86_64/configure: Likewise.
5413
5414 2013-03-20 Roland McGrath <roland@hack.frob.com>
5415
5416 [BZ #14812]
5417 * locale/programs/localedef.c (options): Put N_ translation marker
5418 on argument names, not just descriptions.
5419
5420 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5421
5422 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5423
5424 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
5425
5426 [BZ #14176]
5427 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5428
5429 2013-03-19 Roland McGrath <roland@hack.frob.com>
5430
5431 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5432 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5433 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5434 [!BEFORE_ABORT] (before_abort): New function.
5435 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5436 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5437 (writev_for_fatal): New function.
5438 (WRITEV_FOR_FATAL): New macro; call that.
5439 (backtrace_and_maps): New function.
5440 (BEFORE_ABORT): New macro; call that.
5441 (struct str_list): Type removed.
5442 (__libc_message, __libc_fatal): Functions removed.
5443 Include <sysdeps/posix/libc_fatal.c> instead.
5444
5445 2013-03-19 Joseph Myers <joseph@codesourcery.com>
5446
5447 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5448 constants.
5449 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5450 double constants.
5451
5452 2013-03-19 Andreas Schwab <schwab@suse.de>
5453
5454 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5455 * sysdeps/gnu/configure: Regenerate.
5456
5457 * configure.in: Substitute libc_cv_rtlddir.
5458 * configure: Regenerate.
5459 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5460 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5461 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5462 * elf/Makefile (install-others, CFLAGS-interp.c)
5463 (ldso_install, common-ldd-rewrite): Likewise.
5464 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5465 $(inst_slibdir)/$(rtld-installed-name).
5466 * scripts/rellns-sh: Add -p option.
5467 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5468 for source.
5469
5470 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5471
5472 * manual/nptl.texi: Renamed to ...
5473 * manual/threads.texi: ... this.
5474 * manual/Makefile (chapters): Update.
5475
5476 2013-03-18 Roland McGrath <roland@hack.frob.com>
5477
5478 [BZ #14812]
5479 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5480 on argument names, not just descriptions.
5481 * malloc/memusagestat.c (options): Likewise.
5482 * nss/getent.c (options): Likewise.
5483
5484 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
5485
5486 [BZ #14812]
5487 * iconv/iconv_prog.c (options): Put N_ translation marker
5488 on argument names, not just descriptions.
5489 * iconv/iconvconfig.c (options): Likewise.
5490
5491 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
5492
5493 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5494 implementation which is faster on all x86_64 architectures.
5495 Tested on AMD, Intel Nehalem, SNB, IVB.
5496 * sysdeps/x86_64/strnlen.S: Likewise.
5497
5498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5499 Remove all multiarch strlen and strnlen versions.
5500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5501 Remove strlen and strnlen related parts.
5502
5503 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5504 Inline strlen part.
5505 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5506
5507 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5508 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5509 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5510 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5511 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5512 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5513
5514 2013-03-17 Carlos O'Donell <carlos@redhat.com>
5515
5516 * manual/memory.texi (Malloc Tunable Parameters):
5517 Sort parameters alphabetically. Add comments for missing entries.
5518
5519 2013-03-17 David S. Miller <davem@davemloft.net>
5520
5521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5522
5523 2013-03-16 Joseph Myers <joseph@codesourcery.com>
5524
5525 [BZ #15283]
5526 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5527 for arguments at most half maximum finite value.
5528 * math/libm-test.inc (j0_test): Add more tests.
5529 (j1_test): Likewise.
5530 (y0_test): Likewise.
5531 (y1_test): Likewise.
5532 * sysdeps/i386/fpu/libm-test-ulps: Update.
5533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5534
5535 [BZ #14155]
5536 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5537 1 / x and functions P and Q for arguments above 0x1p256L.
5538 (__ieee754_y0l): Likewise.
5539 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5540 (__ieee754_y1l): Likewise.
5541 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5542 (j1_test): Likewise.
5543 (y0_test): Likewise.
5544 (y1_test): Likewise.
5545
5546 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5547
5548 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5549 variable.
5550
5551 2013-03-15 Roland McGrath <roland@hack.frob.com>
5552
5553 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5554 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5555 zero since it's initialized to EXEC_PAGESIZE.
5556
5557 * sysdeps/unix/sysv/linux/ldsodefs.h
5558 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5559 * sysdeps/generic/ldsodefs.h: ... here.
5560
5561 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5562
5563 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5564
5565 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5566 math/test-snan.c.
5567 * math/test-snan.c: Renamed from
5568 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5569 * math/Makefile (tests): Add test-snan.
5570 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5571 test-powerpc-snan.
5572
5573 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5574 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5575 functions.
5576 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5577 __builtin_nan family of functions.
5578 * math/libm-test.inc (initialize): Initialize qnan_value with
5579 __builtin_nan family of functions.
5580 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5581 Remove variables.
5582 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5583 Remove functions.
5584 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5585 storage class. Initialize qNaN_var and sNaN_var with
5586 __builtin_nan and __builtin_nans families of functions,
5587 respectively.
5588
5589 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5590 (sqrt_test): Remove duplicate test with qNaN input.
5591 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5592 (round_test, signbit_test, significand_test): Note missing +/-Inf
5593 as well as qNaN tests.
5594
5595 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5596 qNaN_var. Fix a few strings, too.
5597 * math/libm-test.inc (nan_value): Rename to qnan_value.
5598 * math/gen-libm-test.pl (%beautify): Adjust to that.
5599 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5600 * math/test-misc.c (main): Likewise.
5601 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5602 to __qnan_bytes, and __qnan_union, respectively.
5603 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5604 Likewise.
5605 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5606 and lqnanval, respectively.
5607 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5608 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5609 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5610 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5611
5612 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5613 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5614 doubles.
5615
5616 * math/test-misc.c (main): Fix copy'n'pastos.
5617 * misc/tst-efgcvt.c (special): Likewise.
5618
5619 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5620 Remove declarations.
5621
5622 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5623
5624 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5625 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5626 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5627 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5628
5629 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5630
5631 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5632 macro to return vdso values correctly in IFUNC implementations.
5633 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5634 Optimization by using IFUNC.
5635
5636 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5637 Richard Henderson <rth@redhat.com>
5638 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5639
5640 * Makefile.in (bench): New target.
5641 * NEWS: Mention the benchmark framework.
5642 * Rules (bench): Likewise.
5643 (binaries-bench): Generate binaries for functions to
5644 benchmark.
5645 * benchtests/Makefile: New makefile for benchmark tests.
5646 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5647 programs.
5648 * benchtests/exp-inputs: New input file for EXP function.
5649 * benchtests/pow-inputs: New input file for POW function.
5650 * scripts/bench.pl: New script to generate source files for
5651 benchmark programs.
5652
5653 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5654
5655 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5656 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5657 computations on mantissa. Use macros for rounding and
5658 division.
5659 (denorm): Likewise.
5660 (__dbl_mp): Likewise.
5661 (add_magnitudes): Likewise.
5662 (sub_magnitudes): Likewise.
5663 (__mul): Likewise.
5664 (__sqr): Likewise.
5665 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5666 powers of two in terms of TWOPOW macro.
5667 (mp_no): Make type of mantissa as MANTISSA_T.
5668 [!RADIXI]: Define RADIXI.
5669 [!TWO52]: Define TWO52.
5670 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5671
5672 * manual/nptl.texi (cindex): Modify threads to pthreads.
5673
5674 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5675
5676 * sysdeps/x86_64/preconfigure: Regenerated.
5677
5678 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5679
5680 [BZ #14155]
5681 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5682 0x1p28 and above.
5683 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5684 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5685 0x1p28 and above.
5686 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5687 * math/libm-test.inc (j0_test): Do not allow one spurious
5688 underflow exception.
5689 (y1_test): Likewise.
5690
5691 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5692
5693 * manual/Makefile (chapters): Add nptl.
5694 * manual/debug.texi (Debugging Support): Add link to Threads
5695 chapter.
5696 * manual/nptl.texi: New file.
5697
5698 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5699
5700 2013-03-14 Petr Baudis <pasky@ucw.cz>
5701
5702 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5703 for non-NULL pointer before the memory validity test. Pointed
5704 out by Holger Brunck <holger.brunck@keymile.com>.
5705
5706 2013-03-13 Andreas Schwab <schwab@suse.de>
5707
5708 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5709 instead of .os.
5710
5711 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5712
5713 * timezone/zic.c: Update from tzcode 2013b.
5714
5715 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5716
5717 * manual/install.texi (Configuring and compiling):
5718 Mention i686 and i586.
5719 * INSTALL: Regenerate.
5720
5721 2013-03-12 Roland McGrath <roland@hack.frob.com>
5722
5723 * sysdeps/init_array/elf-init.c: New file.
5724 * csu/elf-init.c
5725 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5726 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5727
5728 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5729 __gmon_start__ as global, but as static with a .preinit_array pointer.
5730 * sysdeps/init_array/gmon-start.c: New file. Use that.
5731 * sysdeps/init_array/crti.S: New file, empty except for comments.
5732 * sysdeps/init_array/crtn.S: Likewise.
5733
5734 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5735
5736 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5737 definining bcopy.
5738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5739 Remove Prefer_SSE_for_memop.
5740 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5741 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5742 HAS_PREFER_SSE_FOR_MEMOP.
5743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5744 memset-x86-64.
5745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5746 Remove bzero, memset ifunc support.
5747 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5748 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5749 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5750 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5751
5752 2013-03-11 Andreas Schwab <schwab@suse.de>
5753
5754 [BZ #15234]
5755 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5756 by SHLIB_COMPAT.
5757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5758 (GLIBC_2.16): Remove pthread_atfork.
5759
5760 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5761
5762 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5763 (ptestcases.h): Likewise.
5764
5765 2013-03-08 Roland McGrath <roland@hack.frob.com>
5766
5767 * Makeconfig ($(common-objpfx)config.status): Depend on
5768 sysdeps/*/preconfigure{,.in} too.
5769
5770 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5771
5772 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5773 (__free_hook): Use void * instead of __malloc_ptr_t.
5774 (__malloc_hook): Likewise.
5775 (__realloc_hook): Likewise.
5776 (__memalign_hook): Likewise.
5777 (__after_morecore_hook): Likewise.
5778 * malloc/arena.c (save_malloc_hook): Likewise.
5779 (save_free_hook): Likewise.
5780 * malloc/hooks.c (malloc_hook_ini): Likewise.
5781 (realloc_hook_ini): Likewise.
5782 (memalign_hook_ini): Likewise.
5783 * malloc/malloc.c (malloc_hook_ini): Likewise.
5784 (realloc_hook_ini): Likewise.
5785 (memalign_hook_ini): Likewise.
5786 (__free_hook): Likewise.
5787 (__malloc_hook): Likewise.
5788 (__realloc_hook): Likewise.
5789 (__memalign_hook): Likewise.
5790 (__libc_malloc): Likewise.
5791 (__libc_free): Likewise.
5792 (__libc_realloc): Likewise.
5793 (__libc_memalign): Likewise.
5794 (__libc_valloc): Likewise.
5795 (__libc_pvalloc): Likewise.
5796 (__libc_calloc): Likewise.
5797 (__posix_memalign): Likewise.
5798 * malloc/morecore.c (__sbrk): Likewise.
5799 (__default_morecore): Likewise.
5800
5801 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5802
5803 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5804 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5805 __malloc_ptrdiff_t.
5806
5807 * malloc/malloc.h (__malloc_size_t): Remove macro.
5808 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5809 __malloc_size_t.
5810 (old_memalign_hook): Likewise.
5811 (old_realloc_hook): Likewise.
5812 (struct hdr): Likewise.
5813 (flood): Likewise.
5814 (mallochook): Likewise.
5815 (memalignhook): Likewise.
5816 (reallochook): Likewise.
5817 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5818 (tr_old_realloc_hook): Likewise.
5819 (tr_old_memalign_hook): Likewise.
5820 (tr_mallochook): Likewise.
5821 (tr_reallochook): Likewise.
5822 (tr_memalignhook): Likewise.
5823
5824 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5825
5826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5827 default_ldbl_pack and using as default implementation.
5828 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5829 implementation.
5830 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5831 redundant definition.
5832 (ldbl_insert_mantissa): Likewise.
5833 (ldbl_canonicalize): Likewise.
5834 (ldbl_nearbyint): Likewise.
5835 (ldbl_pack): Rename to ldbl_pack_ppc.
5836 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5837 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5838 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5839
5840 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5841
5842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5843 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5844 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5845 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5847 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5848 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5849 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5850
5851 2013-03-07 Andreas Jaeger <aj@suse.de>
5852
5853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5854 bits/mman-linux.h.
5855
5856 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5857
5858 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5859 Include mpa.h and declare __MPEXP.
5860 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5861 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5862 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5863 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5864 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5865 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5866 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5867
5868 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5869 (__slowpow): Use long double EXPL and LOGL functions to
5870 compute POW.
5871 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5872 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5873 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5874 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5875 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5876 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5877
5878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5879 intermediate variable to calculate exponent.
5880 (__sqr): Likewise.
5881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5882 Likewise.
5883 (__sqr): Likewise.
5884
5885 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5886 [!NO__SQR]: Define __sqr.
5887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5888 and NO__SQR. Remove all code except __mul and __sqr. Include
5889 sysdeps/ieee754/dbl-64/mpa.c.
5890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5891
5892 [BZ #12723]
5893 * posix/Makefile (tests): Add tst-pathconf.
5894 * posix/tst-pathconf.c: New test case.
5895 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5896 _PC_PIPE_BUF.
5897 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5898
5899 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5900
5901 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5902
5903 2013-03-06 Andreas Jaeger <aj@suse.de>
5904
5905 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5906 definition via __MAP_ANONYMOUS.
5907
5908 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5909 it's not part of Linux headers.
5910
5911 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5912 (MAP_HUGE_MASK): Define.
5913
5914 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5915 Define.
5916 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5918 Define.
5919 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5920 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5921 Define.
5922 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5923 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5924 Define.
5925 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5926
5927 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5928 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5929 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5930 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5931 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5932 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5933
5934 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5935 Handle f2fs.
5936
5937 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5938 Handle f2fs and efivarfs.
5939
5940 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5941 f2fs.
5942
5943 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5944 (EFIVARFS_MAGIC): Add.
5945 (F2FS_LINK_MAX): Add.
5946
5947 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5948
5949 * stdio-common/vfprintf.c: Replace __builtin_expect with
5950 __glibc_unlikely.
5951
5952 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5953
5954 [BZ #13550]
5955 * sysdeps/generic/bp-sym.h: Remove file.
5956 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5957 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5958 <bp-sym.h> and <bp-asm.h>.
5959 (__longjmp): Don't use BP_SYM.
5960 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5961 and <bp-asm.h>.
5962 (memcpy): Don't use BP_SYM.
5963 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5964 <bp-sym.h> and <bp-asm.h>.
5965 (memcpy): Don't use BP_SYM.
5966 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5967 <bp-asm.h>.
5968 (memcpy): Don't use BP_SYM.
5969 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5970 <bp-asm.h>.
5971 (memset): Don't use BP_SYM.
5972 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5973 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5974 (__bzero): Don't use BP_SYM.
5975 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5976 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5977 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5978 <bp-sym.h> and <bp-asm.h>.
5979 (memcmp): Don't use BP_SYM. Remove comment about bounded
5980 pointers.
5981 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5982 <bp-sym.h> and <bp-asm.h>.
5983 (memcpy): Don't use BP_SYM.
5984 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5985 <bp-sym.h> and <bp-asm.h>.
5986 (memset): Don't use BP_SYM.
5987 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5988 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5989 (__bzero): Don't use BP_SYM.
5990 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5991 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5992 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5993 <bp-sym.h> and <bp-asm.h>.
5994 (strncmp): Don't use BP_SYM. Remove comment about bounded
5995 pointers.
5996 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5997 <bp-sym.h> and <bp-asm.h>.
5998 (memcpy): Don't use BP_SYM.
5999 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6000 <bp-sym.h> and <bp-asm.h>.
6001 (memset): Don't use BP_SYM.
6002 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6003 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6004 (__bzero): Don't use BP_SYM.
6005 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6006 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6007 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6008 <bp-sym.h> and <bp-asm.h>.
6009 (__memchr): Don't use BP_SYM.
6010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6011 <bp-sym.h> and <bp-asm.h>.
6012 (memcmp): Don't use BP_SYM. Remove comment about bounded
6013 pointers.
6014 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6015 <bp-sym.h> and <bp-asm.h>.
6016 (memcpy): Don't use BP_SYM.
6017 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6018 <bp-sym.h> and <bp-asm.h>.
6019 (__mempcpy): Don't use BP_SYM.
6020 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6021 <bp-sym.h> and <bp-asm.h>.
6022 (__memrchr): Don't use BP_SYM.
6023 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6024 <bp-sym.h> and <bp-asm.h>.
6025 (memset): Don't use BP_SYM.
6026 (__bzero): Likewise.
6027 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6028 <bp-sym.h> and <bp-asm.h>.
6029 (__rawmemchr): Don't use BP_SYM.
6030 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6031 <bp-sym.h> and <bp-asm.h>.
6032 (__STRCMP): Don't use BP_SYM.
6033 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6034 <bp-sym.h> and <bp-asm.h>.
6035 (strchr): Don't use BP_SYM.
6036 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6037 <bp-sym.h> and <bp-asm.h>.
6038 (__strchrnul): Don't use BP_SYM.
6039 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6040 <bp-sym.h> and <bp-asm.h>.
6041 (strlen): Don't use BP_SYM.
6042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6043 <bp-sym.h> and <bp-asm.h>.
6044 (strncmp): Don't use BP_SYM. Remove comment about bounded
6045 pointers.
6046 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6047 <bp-sym.h> and <bp-asm.h>.
6048 (__strnlen): Don't use BP_SYM.
6049 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6050 <bp-sym.h> and <bp-asm.h>.
6051 (__GI__setjmp): Don't use BP_SYM.
6052 (_setjmp): Likewise.
6053 (__sigsetjmp): Likewise.
6054 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6055 (L(start_addresses)): Don't use BP_SYM.
6056 (_start): Likewise.
6057 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6058 <bp-asm.h>.
6059 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6060 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6061 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6062 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6063 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6064 <bp-asm.h>.
6065 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6066 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6067 about bounded pointers.
6068 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6069 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6070 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6071 <bp-asm.h>.
6072 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6073 about bounded pointers. Remove GKM FIXME comments.
6074 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6075 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6076 <bp-asm.h>.
6077 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6078 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6079 Remove GKM FIXME comments.
6080 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6081 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6082 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6083 <bp-asm.h>.
6084 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6085 about bounded pointers. Remove GKM FIXME comment.
6086 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6087 and <bp-asm.h>.
6088 (strncmp): Don't use BP_SYM. Remove comment about bounded
6089 pointers.
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6091 <bp-sym.h> and <bp-asm.h>.
6092 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6094 <bp-sym.h> and <bp-asm.h>.
6095 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6096 comment.
6097
6098 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6099
6100 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6101 call free(NULL).
6102
6103 2013-03-05 David S. Miller <davem@davemloft.net>
6104
6105 * po/es.po: Update from translation team.
6106
6107 2013-03-05 Andreas Jaeger <aj@suse.de>
6108
6109 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6110 <bits/mman-linux.h>.
6111 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6112 is fine.
6113 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6114 <bits/mman-linux.h> to end of file.
6115 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6116 is fine.
6117 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6118 <bits/mman-linux.h> to end of file.
6119 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6120 is fine.
6121 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6122 <bits/mman-linux.h> to end of file.
6123
6124 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6125 (MCL_CURRENT, MCL_FUTURE): Define here.
6126
6127 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6128
6129 [BZ #15232]
6130 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6131 attribute_hidden.
6132 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6133
6134 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6135
6136 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6137 fourth parameter needed for rt_sigprocmask syscall.
6138 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6139 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6140 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6141 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6142 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6143 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6144
6145 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6146
6147 [BZ #13550]
6148 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6149 comment about bounded pointers.
6150 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6151 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6152
6153 2013-03-04 Andreas Jaeger <aj@suse.de>
6154
6155 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6156 common definitions.
6157
6158 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6159 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6160 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6161 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6162 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6163 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6164
6165 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6166
6167 [BZ #15055]
6168 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6169 __ieee754_sqrl instead of __sqrl.
6170
6171 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6172
6173 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6174 * sysdeps/powerpc/fpu_control.h: ... here.
6175 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6176 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6177 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6178 * sysdeps/powerpc/bits/mathinline.h: ... here.
6179
6180 2013-03-01 Roland McGrath <roland@hack.frob.com>
6181
6182 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6183 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6184 to just [NEED_DL_SYSINFO_DSO].
6185 * elf/dl-support.c: Likewise.
6186 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6187 * elf/rtld.c (dl_main): Likewise.
6188 * elf/setup-vdso.h (setup_vdso): Likewise.
6189 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6190 * sysdeps/unix/sysv/linux/dl-sysdep.c
6191 (_dl_discover_osversion): Likewise.
6192
6193 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6194
6195 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6196 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6197
6198 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6199
6200 * NEWS: Mention libm performance improvements and non-x86 PI
6201 futex support.
6202
6203 * csu/libc-start.c (__pthread_initialize_minimal): Change
6204 function arguments.
6205 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6206
6207 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6208
6209 [BZ #13550]
6210 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6211 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6212 <bp-sym.h> and <bp-asm.h>.
6213 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6214 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6215 and <bp-asm.h>.
6216 (memcpy): Don't use BP_SYM.
6217 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6218 <bp-asm.h>.
6219 (__mpn_add_n): Don't use BP_SYM.
6220 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6221 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6222 and <bp-asm.h>.
6223 (__mpn_addmul_1): Don't use BP_SYM.
6224 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6225 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6226 <bp-sym.h>.
6227 (_setjmp): Don't use BP_SYM.
6228 (__novmx_setjmp): Likewise.
6229 (__GI__setjmp): Likewise.
6230 (__vmx_setjmp): Likewise.
6231 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6232 <bp-sym.h>.
6233 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6234 (__bzero): Don't use BP_SYM.
6235 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6236 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6237 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6238 <bp-sym.h> and <bp-asm.h>.
6239 (memcpy): Don't use BP_SYM.
6240 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6241 <bp-sym.h> and <bp-asm.h>.
6242 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6243 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6244 <bp-sym.h> and <bp-asm.h>.
6245 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6246 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6247 <bp-asm.h>.
6248 (__mpn_lshift): Don't use BP_SYM.
6249 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6250 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6251 <bp-asm.h>.
6252 (memset): Don't use BP_SYM.
6253 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6254 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6255 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6256 <bp-asm.h>.
6257 (__mpn_mul_1): Don't use BP_SYM.
6258 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6259 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6260 <bp-sym.h> and <bp-asm.h>.
6261 (memcmp): Don't use BP_SYM.
6262 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6263 <bp-sym.h> and <bp-asm.h>.
6264 (memcpy): Don't use BP_SYM.
6265 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6266 <bp-sym.h> and <bp-asm.h>.
6267 (memset): Don't use BP_SYM.
6268 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6269 <bp-sym.h> and <bp-asm.h>.
6270 (strncmp): Don't use BP_SYM.
6271 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6272 <bp-sym.h> and <bp-asm.h>.
6273 (memcpy): Don't use BP_SYM.
6274 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6275 <bp-sym.h> and <bp-asm.h>.
6276 (memset): Don't use BP_SYM.
6277 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6278 <bp-sym.h> and <bp-asm.h>.
6279 (__memchr): Don't use BP_SYM.
6280 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6281 <bp-sym.h> and <bp-asm.h>.
6282 (memcmp): Don't use BP_SYM.
6283 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6284 <bp-sym.h> and <bp-asm.h>.
6285 (memcpy): Don't use BP_SYM.
6286 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6287 <bp-sym.h> and <bp-asm.h>.
6288 (__mempcpy): Don't use BP_SYM.
6289 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6290 <bp-sym.h> and <bp-asm.h>.
6291 (__memrchr): Don't use BP_SYM.
6292 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6293 <bp-sym.h> and <bp-asm.h>.
6294 (memset): Don't use BP_SYM.
6295 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6296 <bp-sym.h> and <bp-asm.h>.
6297 (__rawmemchr): Don't use BP_SYM.
6298 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6299 <bp-sym.h> and <bp-asm.h>.
6300 (__STRCMP): Don't use BP_SYM.
6301 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6302 <bp-sym.h> and <bp-asm.h>.
6303 (strchr): Don't use BP_SYM.
6304 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6305 <bp-sym.h> and <bp-asm.h>.
6306 (__strchrnul): Don't use BP_SYM.
6307 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6308 <bp-sym.h> and <bp-asm.h>.
6309 (strlen): Don't use BP_SYM.
6310 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6311 <bp-sym.h> and <bp-asm.h>.
6312 (strncmp): Don't use BP_SYM.
6313 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6314 <bp-sym.h> and <bp-asm.h>.
6315 (__strnlen): Don't use BP_SYM.
6316 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6317 <bp-asm.h>.
6318 (__mpn_rshift): Don't use BP_SYM.
6319 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6320 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6321 <bp-sym.h> and <bp-asm.h>.
6322 (__sigsetjmp): Don't use BP_SYM.
6323 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6324 (L(start_addresses)): Don't use BP_SYM.
6325 (_start): Likewise.
6326 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6327 <bp-asm.h>.
6328 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6329 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6330 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6331 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6332 <bp-asm.h>.
6333 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6334 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6335 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6336 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6337 <bp-asm.h>.
6338 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6339 comments.
6340 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6341 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6342 <bp-asm.h>.
6343 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6344 FIXME comments.
6345 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6346 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6347 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6348 <bp-asm.h>.
6349 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6350 comment.
6351 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6352 and <bp-asm.h>.
6353 (strncmp): Don't use BP_SYM,
6354 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6355 <bp-asm.h>.
6356 (__mpn_sub_n): Don't use BP_SYM.
6357 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6358 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6359 and <bp-asm.h>.
6360 (__mpn_submul_1): Don't use BP_SYM.
6361 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6363 <bp-sym.h> and <bp-asm.h>.
6364 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6366 <bp-sym.h> and <bp-asm.h>.
6367 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6368 comment.
6369
6370 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6371
6372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6373 Use ZK to minimize writes to Z.
6374 (sub_magnitudes): Simplify code a bit.
6375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6376 Use ZK to minimize writes to Z.
6377 (sub_magnitudes): Simplify code a bit.
6378
6379 2013-02-27 Roland McGrath <roland@hack.frob.com>
6380
6381 * csu/gmon-start.c: Add special exception to license text.
6382
6383 2013-02-27 Richard Henderson <rth@redhat.com>
6384
6385 * scripts/config.guess: Update from config.git.
6386 * scripts/config.sub: Likewise.
6387
6388 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6389
6390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6391
6392 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6393
6394 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6395
6396 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6397
6398 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6399
6400 2013-02-26 Roland McGrath <roland@hack.frob.com>
6401
6402 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6403 [$(build-shared = yes].
6404
6405 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6406
6407 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6408 (__mul): Reduce iterations for calculating mantissa.
6409
6410 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6411 MPTWO.
6412 (__mpranred): Likewise.
6413
6414 [BZ #15160]
6415 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6416 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6417
6418 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6419
6420 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6421 Define __attribute__.
6422
6423 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6424
6425 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6426 unused.
6427 * posix/regex_internal.h (__attribute): Remove.
6428 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6429 (re_string_context_at): Likewise.
6430 (bitset_not): Use __attribute__ and mark function as possibly
6431 unused.
6432 (bitset_merge): Likewise.
6433 (bitset_mask): Likewise.
6434 (re_string_char_size_at): Likewise.
6435 (re_string_wchar_at): Likewise.
6436 (re_string_elem_size_at): Likewise.
6437
6438 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6439
6440 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6441 code.
6442 (cc32): Likewise.
6443
6444 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6445 (__acr): Likewise.
6446 (__cpy): Likewise.
6447 (norm): Likewise.
6448 (denorm): Likewise.
6449 (__dbl_mp): Likewise.
6450 (add_magnitudes): Likewise.
6451 (sub_magnitudes): Likewise.
6452 (__mul): Likewise.
6453 (__inv): Likewise.
6454
6455 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6456 style.
6457
6458 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6459 style.
6460
6461 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6462 code.
6463
6464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6465 up changes with default code.
6466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6467 Likewise.
6468
6469 2013-02-24 Allan McRae <allan@archlinux.org>
6470
6471 * manual/socket.texi (The Internet Namespace): Order menu items
6472 to match that in the file.
6473
6474 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6475 node listing of the info page menu.
6476
6477 2013-02-21 Joseph Myers <joseph@codesourcery.com>
6478
6479 [BZ #13550]
6480 * sysdeps/i386/bp-asm.h: Remove file.
6481 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6482 (PARMS): Do not use macros from bp-asm.h.
6483 (S1): Likewise.
6484 (S2): Likewise.
6485 (SIZE): Likewise.
6486 (__mpn_add_n): Do not use BP_SYM
6487 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6488 "bp-asm.h".
6489 (PARMS): Do not use macros from bp-asm.h.
6490 (S1): Likewise.
6491 (SIZE): Likewise.
6492 (__mpn_addmul_1): Do not use BP_SYM
6493 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6494 "bp-asm.h".
6495 (PARMS): Do not use macros from bp-asm.h.
6496 (SIGMSK): Likewise.
6497 (_setjmp): Likewise. Do not use BP_SYM.
6498 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6499 "bp-asm.h".
6500 (PARMS): Do not use macros from bp-asm.h.
6501 (SIGMSK): Likewise.
6502 (setjmp): Likewise. Do not use BP_SYM.
6503 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6504 "bp-asm.h".
6505 (PARMS): Do not use macros from bp-asm.h.
6506 (__frexp): Do not use BP_SYM.
6507 (frexp): Likewise.
6508 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6509 "bp-asm.h".
6510 (PARMS): Do not use macros from bp-asm.h.
6511 (__frexpf): Do not use BP_SYM.
6512 (frexpf): Likewise.
6513 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6514 "bp-asm.h".
6515 (PARMS): Do not use macros from bp-asm.h.
6516 (__frexpl): Do not use BP_SYM.
6517 (frexpl): Likewise.
6518 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6519 "bp-asm.h".
6520 (PARMS): Do not use macros from bp-asm.h.
6521 (__remquo): Do not use BP_SYM.
6522 (remquo): Likewise.
6523 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6524 "bp-asm.h".
6525 (PARMS): Do not use macros from bp-asm.h.
6526 (__remquof): Do not use BP_SYM.
6527 (remquof): Likewise.
6528 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6529 "bp-asm.h".
6530 (PARMS): Do not use macros from bp-asm.h.
6531 (__remquol): Do not use BP_SYM.
6532 (remquol): Likewise.
6533 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6534 "bp-asm.h".
6535 (PARMS): Do not use macros from bp-asm.h.
6536 (DEST): Likewise.
6537 (SRC): Likewise.
6538 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6539 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6540 "bp-asm.h".
6541 (PARMS): Do not use macros from bp-asm.h.
6542 (strlen): Do not use BP_SYM.
6543 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6544 "bp-asm.h".
6545 (PARMS): Do not use macros from bp-asm.h.
6546 (S1): Likewise.
6547 (S2): Likewise.
6548 (SIZE): Likewise.
6549 (__mpn_add_n): Do not use BP_SYM.
6550 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6551 "bp-asm.h".
6552 (PARMS): Do not use macros from bp-asm.h.
6553 (S1): Likewise.
6554 (SIZE): Likewise.
6555 (__mpn_addmul_1): Do not use BP_SYM.
6556 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6557 weak_alias.
6558 (bzero): Likewise.
6559 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6560 "bp-asm.h".
6561 (PARMS): Do not use macros from bp-asm.h.
6562 (S): Likewise.
6563 (SIZE): Likewise.
6564 (__mpn_lshift): Do not use BP_SYM.
6565 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6566 "bp-asm.h".
6567 (PARMS): Do not use macros from bp-asm.h.
6568 (DEST): Likewise.
6569 (SRC): Likewise.
6570 (LEN): Likewise.
6571 (memcpy): Likewise. Do not use BP_SYM.
6572 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6573 libc_hidden_def and weak_alias.
6574 (mempcpy): Do not use BP_SYM in weak_alias.
6575 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6576 "bp-asm.h".
6577 (PARMS): Do not use macros from bp-asm.h.
6578 (DEST): Likewise.
6579 (LEN): Likewise.
6580 [!BZERO_P] (CHR): Likewise.
6581 (memset): Likewise. Do not use BP_SYM.
6582 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6583 "bp-asm.h".
6584 (PARMS): Do not use macros from bp-asm.h.
6585 (S1): Likewise.
6586 (SIZE): Likewise.
6587 (__mpn_mul_1): Do not use BP_SYM.
6588 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6589 "bp-asm.h".
6590 (PARMS): Do not use macros from bp-asm.h.
6591 (S): Likewise.
6592 (SIZE): Likewise.
6593 (__mpn_rshift): Do not use BP_SYM.
6594 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6595 "bp-asm.h".
6596 (PARMS): Do not use macros from bp-asm.h.
6597 (STR): Likewise.
6598 (CHR): Likewise.
6599 (strchr): Likewise. Do not use BP_SYM.
6600 (index): Do not use BP_SYM in weak_alias.
6601 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6602 "bp-asm.h".
6603 (PARMS): Do not use macros from bp-asm.h.
6604 (DEST): Likewise.
6605 (SRC): Likewise.
6606 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6607 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6608 "bp-asm.h".
6609 (PARMS): Do not use macros from bp-asm.h.
6610 (strlen): Do not use BP_SYM.
6611 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6612 "bp-asm.h".
6613 (PARMS): Do not use macros from bp-asm.h.
6614 (S1): Likewise.
6615 (S2): Likewise.
6616 (SIZE): Likewise.
6617 (__mpn_sub_n): Do not use BP_SYM.
6618 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6619 "bp-asm.h".
6620 (PARMS): Do not use macros from bp-asm.h.
6621 (S1): Likewise.
6622 (SIZE): Likewise.
6623 (__mpn_submul_1): Do not use BP_SYM.
6624 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6625 "bp-asm.h".
6626 (PARMS): Do not use macros from bp-asm.h.
6627 (S1): Likewise.
6628 (S2): Likewise.
6629 (SIZE): Likewise.
6630 (__mpn_add_n): Do not use BP_SYM.
6631 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6632 weak_alias.
6633 (bzero): Likewise.
6634 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6635 "bp-asm.h".
6636 (PARMS): Do not use macros from bp-asm.h.
6637 (BLK2): Likewise.
6638 (LEN): Likewise.
6639 (memcmp): Do not use BP_SYM.
6640 (bcmp): Do not use BP_SYM in weak_alias.
6641 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6642 "bp-asm.h".
6643 (PARMS): Do not use macros from bp-asm.h.
6644 (DEST): Likewise.
6645 (SRC): Likewise.
6646 (LEN): Likewise.
6647 (memcpy): Likewise. Do not use BP_SYM.
6648 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6649 "bp-asm.h".
6650 (PARMS): Do not use macros from bp-asm.h.
6651 (DEST): Likewise.
6652 (SRC): Likewise.
6653 (LEN): Likewise.
6654 (memmove): Likewise. Do not use BP_SYM.
6655 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6656 "bp-asm.h".
6657 (PARMS): Do not use macros from bp-asm.h.
6658 (DEST): Likewise.
6659 (SRC): Likewise.
6660 (LEN): Likewise.
6661 (__mempcpy): Likewise. Do not use BP_SYM.
6662 (mempcpy): Do not use BP_SYM in weak_alias.
6663 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6664 "bp-asm.h".
6665 (PARMS): Do not use macros from bp-asm.h.
6666 (DEST): Likewise.
6667 (LEN): Likewise.
6668 [!BZERO_P] (CHR): Likewise.
6669 (memset): Likewise. Do not use BP_SYM.
6670 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6671 "bp-asm.h".
6672 (PARMS): Do not use macros from bp-asm.h.
6673 (STR2): Likewise.
6674 (strcmp): Do not use BP_SYM.
6675 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6676 "bp-asm.h".
6677 (PARMS): Do not use macros from bp-asm.h.
6678 (STR): Likewise.
6679 (DELIM): Likewise.
6680 [USE_AS_STRTOK_R] (SAVE): Likewise.
6681 (FUNCTION): Likewise. Do not use BP_SYM.
6682 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6683 aliases.
6684 (strtok_r): Likewise.
6685 (__GI___strtok_r): Likewise.
6686 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6687 (PARMS): Do not use macros from bp-asm.h.
6688 (S): Likewise.
6689 (SIZE): Likewise.
6690 (__mpn_lshift): Do not use BP_SYM.
6691 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6692 (PARMS): Do not use macros from bp-asm.h.
6693 (STR): Likewise.
6694 (CHR): Likewise.
6695 (__memchr): Do not use BP_SYM.
6696 (memchr): Do not use BP_SYM in weak_alias.
6697 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6698 (PARMS): Do not use macros from bp-asm.h.
6699 (BLK2): Likewise.
6700 (LEN): Likewise.
6701 (memcmp): Do not use BP_SYM.
6702 (bcmp): Do not use BP_SYM in weak_alias.
6703 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6704 (PARMS): Do not use macros from bp-asm.h.
6705 (S1): Likewise.
6706 (SIZE): Likewise.
6707 (__mpn_mul_1): Do not use BP_SYM.
6708 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6709 "bp-asm.h".
6710 (PARMS): Do not use macros from bp-asm.h.
6711 (STR): Likewise.
6712 (CHR): Likewise.
6713 (__rawmemchr): Do not use BP_SYM.
6714 (rawmemchr): Do not use BP_SYM in weak_alias.
6715 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6716 (PARMS): Do not use macros from bp-asm.h.
6717 (S): Likewise.
6718 (SIZE): Likewise.
6719 (__mpn_rshift): Do not use BP_SYM.
6720 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6721 (PARMS): Do not use macros from bp-asm.h.
6722 (SIGMSK): Likewise.
6723 (__sigsetjmp): Likewise. Do not use BP_SYM.
6724 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6725 (_start): Do not use BP_SYM.
6726 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6727 (PARMS): Do not use macros from bp-asm.h.
6728 (DEST): Likewise.
6729 (SRC): Likewise.
6730 (__stpcpy): Likewise. Do not use BP_SYM.
6731 (stpcpy): Do not use BP_SYM in weak_alias.
6732 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6733 "bp-asm.h".
6734 (PARMS): Do not use macros from bp-asm.h.
6735 (DEST): Likewise.
6736 (SRC): Likewise.
6737 (LEN): Likewise.
6738 (__stpncpy): Likewise. Do not use BP_SYM.
6739 (stpncpy): Do not use BP_SYM in weak_alias.
6740 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6741 (PARMS): Do not use macros from bp-asm.h.
6742 (STR): Likewise.
6743 (CHR): Likewise.
6744 (strchr): Likewise. Do not use BP_SYM.
6745 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6746 "bp-asm.h".
6747 (PARMS): Do not use macros from bp-asm.h.
6748 (STR): Likewise.
6749 (CHR): Likewise.
6750 (__strchrnul): Likewise. Do not use BP_SYM.
6751 (strchrnul): Do not use BP_SYM in weak_alias.
6752 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6753 "bp-asm.h".
6754 (PARMS): Do not use macros from bp-asm.h.
6755 (STOP): Likewise.
6756 (strcspn): Do not use BP_SYM.
6757 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6758 "bp-asm.h".
6759 (PARMS): Do not use macros from bp-asm.h.
6760 (STR): Likewise.
6761 (STOP): Likewise.
6762 (strpbrk): Likewise. Do not use BP_SYM.
6763 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6764 "bp-asm.h".
6765 (PARMS): Do not use macros from bp-asm.h.
6766 (STR): Likewise.
6767 (CHR): Likewise.
6768 (strrchr): Likewise. Do not use BP_SYM.
6769 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6770 (PARMS): Do not use macros from bp-asm.h.
6771 (SKIP): Likewise.
6772 (strspn): Do not use BP_SYM.
6773 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6774 (PARMS): Do not use macros from bp-asm.h.
6775 (STR): Likewise.
6776 (DELIM): Likewise.
6777 (SAVE): Likewise.
6778 (FUNCTION): Likewise. Do not use BP_SYM.
6779 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6780 aliases.
6781 (strtok_r): Likewise.
6782 (__GI___strtok_r): Likewise.
6783 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6784 (PARMS): Do not use macros from bp-asm.h.
6785 (S1): Likewise.
6786 (S2): Likewise.
6787 (SIZE): Likewise.
6788 (__mpn_sub_n): Do not use BP_SYM.
6789 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6790 "bp-asm.h".
6791 (PARMS): Do not use macros from bp-asm.h.
6792 (S1): Likewise.
6793 (SIZE): Likewise.
6794 (__mpn_submul_1): Do not use BP_SYM.
6795 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6796 <bp-sym.h>.
6797 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6798 and <bp-asm.h>.
6799 (PARMS): Do not use macros from bp-asm.h.
6800 (FLAGS): Likewise.
6801 (PTID): Likewise.
6802 (TLS): Likewise.
6803 (CTID): Likewise.
6804 (__clone): Do not use BP_SYM.
6805 (clone): Do not use BP_SYM in weak_alias.
6806 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6807 and <bp-asm.h>.
6808 (PARMS): Do not use macros from bp-asm.h.
6809 (LEN): Likewise.
6810 (__mmap64): Do not use BP_SYM.
6811 (mmap64): Do not use BP_SYM in weak_alias.
6812 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6813 <bp-sym.h> and <bp-asm.h>.
6814 (PARMS): Do not use macros from bp-asm.h.
6815 (__posix_fadvise64_l64): Do not use BP_SYM.
6816 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6817 (PARMS): Do not use macros from bp-asm.h.
6818 (NSOPS): Likewise.
6819 (semtimedop): Do not use BP_SYM.
6820 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6821 and <bp-asm.h>.
6822
6823 2013-02-21 Allan McRae <allan@archlinux.org>
6824
6825 * manual/message.texi (Charset conversion in gettext):
6826 Move @end statement to beginning of line.
6827
6828 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6829
6830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6831 static.
6832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6833 Likewise.
6834
6835 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6836 (denorm): Likewise.
6837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6839
6840 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6841
6842 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6843 tail-call to the resolved function if pltexit isn't needed.
6844
6845 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6846
6847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6848 or Y being zero as being unlikely.
6849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6850 Likewise.
6851
6852 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6853
6854 * manual/nss.texi (System Databases and Name Service Switch):
6855 Remove frobnicate @pxref.
6856
6857 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6858
6859 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6860 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6861
6862 2013-02-20 Petr Machata <pmachata@redhat.com>
6863
6864 * elf/elf.h (R_ARM_TARGET1): New macro.
6865 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6866 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6867 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6868 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6869 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6870 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6871 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6872 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6873 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6874 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6875 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6876 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6877 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6878 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6879 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6880 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6881 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6882 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6883 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6884 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6885 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6886 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6887 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6888 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6889 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6890 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6891 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6892 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6893 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6894 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6895 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6896 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6897 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6898 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6899 (R_ARM_THM_GOT_BREL12): Likewise.
6900 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6901 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6902 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6903 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6904 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6905 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6906 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6907 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6908 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6909
6910 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6911
6912 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6913 __attribute_used__ to __attribute__ ((unused)).
6914
6915 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6916
6917 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6918 powerpc mpa.c.
6919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6920 comment formatting.
6921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6922
6923 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6924
6925 [BZ #13550]
6926 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6927 Remove macro.
6928 (ENTER): Remove both macro definitions.
6929 (LEAVE): Likewise.
6930 (CHECK_BOUNDS_LOW): Likewise.
6931 (CHECK_BOUNDS_HIGH): Likewise.
6932 (CHECK_BOUNDS_BOTH): Likewise.
6933 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6934 (RETURN_BOUNDED_POINTER): Likewise.
6935 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6936 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6937 (POP_ERRNO_LOCATION_RETURN): Likewise.
6938 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6939 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6940 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6941 macros.
6942 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6943 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6944 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6945 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6946 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6947 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6948 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6949 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6950 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6951 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6952 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6953 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6954 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6955 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6956 removed macros.
6957 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6958 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6959 macros.
6960 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6961 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6962 * sysdeps/i386/i586/memset.S (memset): Likewise.
6963 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6964 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6965 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6966 macros.
6967 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6968 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6969 Change uses of L(2) to L(out).
6970 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6971 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6972 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6973 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6974 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6975 removed macros.
6976 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6977 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6978 macros.
6979 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6980 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6981 (RETURN): Do not use macro LEAVE.
6982 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6983 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6984 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6985 * sysdeps/i386/i686/memset.S (memset): Likewise.
6986 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6987 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6988 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6989 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6990 Likewise.
6991 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6992 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6993 L(1_2) and L(1_3) into L(1).
6994 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6995 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6996 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6997 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6998 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6999 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7000 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7001 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7002 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7003 macros.
7004 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7005 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7006 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7007 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7008 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7009 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7010 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7011 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7012 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7013 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7014 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7015 * sysdeps/i386/strspn.S (strspn): Likewise.
7016 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7017 conditional code.
7018 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7019 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7020 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7021 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7022 L(1_3) into L(1_1).
7023 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7024 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7025 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7026 macros.
7027 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7028
7029 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7030
7031 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7032 macro.
7033
7034 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7035
7036 * math/atest-exp.c (exp_mpn): Remove ROUND.
7037 * math/atest-exp2.c (exp_mpn): Likewise.
7038 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7039
7040 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7041 * stdlib/tst-tls-atexit-lib.c: Likewise.
7042 * stdlib/tst-tls-atexit.c: Likewise.
7043
7044 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7045
7046 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7047 and __attribute_alloc_size__.
7048
7049 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7050
7051 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7052 __attribute_alloc_size__.
7053 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7054 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7055
7056 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7057
7058 * include/programs/xmalloc.h: New file.
7059 * catgets/gencat.c: Include it.
7060 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7061 * elf/pldd.c: Likewise.
7062 * iconv/iconv_charmap.c: Likewise.
7063 * iconv/iconvconfig.c: Likewise.
7064 * iconv/strtab.c: Likewise.
7065 * locale/programs/locale.c: Likewise.
7066 * locale/programs/localedef.h: Likewise.
7067 * locale/programs/simple-hash.c: Likewise.
7068 * nscd/nscd.h: Likewise.
7069 * nss/makedb.c: Likewise.
7070 * sysdeps/generic/ldconfig.h: Likewise.
7071
7072 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7073
7074 * Versions.def: Add GLIBC_2.18.
7075 * include/link.h (struct link_map): New member l_tls_dtor_count.
7076 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7077 (__call_tls_dtors): Likewise.
7078 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7079 __cxa_thread_atexit_impl.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7081 Likewise.
7082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7083 Likewise.
7084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7085 Likewise.
7086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7087 Likewise.
7088 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7090 Likewise.
7091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7092 Likewise.
7093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7095 Likewise.
7096 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7097 (tests): Add test case tst-tls-atexit.
7098 (modules-names): Add shared library for tst-tls-atexit.
7099 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7100 (GLIBC_PRIVATE): Add __call_tls_dtors.
7101 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7102 for libstdc++.
7103 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7104 * stdlib/tst-tls-atexit.c: New test case.
7105 * stdlib/tst-tls-atexit-lib.c: New test case.
7106
7107 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7108
7109 * elf/Versions (ld): Add _dl_find_dso_for_object.
7110 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7111 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7112 (dl_open_worker): Use _dl_find_dso_for_object.
7113 * elf/dl-sym.c (do_sym): Likewise.
7114 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7115
7116 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7117
7118 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7119 Syntactic changes only.
7120 (_dl_runtime_profile): Do a tail-call to the resolved function.
7121
7122 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7123
7124 [BZ #13550]
7125 * sysdeps/x86_64/bp-asm.h: Remove file.
7126 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7127 <bp-sym.h> and <bp-asm.h>.
7128 (__clone): Do not use BP_SYM.
7129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7130 <bp-sym.h> and <bp-asm.h>.
7131 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7132 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7133 "bp-asm.h".
7134 (_setjmp): Do not use BP_SYM.
7135 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7136 "bp-asm.h".
7137 (setjmp): Do not use BP_SYM.
7138 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7139 libc_hidden_def.
7140 (mempcpy): Do not use BP_SYM in weak_alias.
7141 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7142 "bp-asm.h".
7143 (strchr): Do not use BP_SYM.
7144 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7145 "bp-asm.h".
7146 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7147 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7148 (_start): Do not use BP_SYM.
7149 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7150 "bp-asm.h".
7151 (strcat): Do not use BP_SYM.
7152 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7153 "bp-asm.h".
7154 (STRCMP): Do not use BP_SYM.
7155 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7156 "bp-asm.h".
7157 (STRCPY): Do not use BP_SYM.
7158 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7159 "bp-asm.h".
7160 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7161 "bp-asm.h".
7162 (FUNCTION): Do not use BP_SYM.
7163 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7164 weak_alias.
7165 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7166
7167 2013-02-17 Andreas Jaeger <aj@suse.de>
7168
7169 * time/Versions: Sort entries.
7170 * string/Versions: Likewise.
7171 * resolv/Versions: Likewise.
7172 * posix/Versions: Likewise.
7173 * iconv/Versions: Likewise.
7174 * elf/Versions: Likewise.
7175 * wcsmbs/Versions: Likewise.
7176
7177 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7178
7179 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7180 loop termination condition.
7181
7182 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7183 variable to calculate EZ.
7184 (__sqr): Likewise.
7185
7186 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7187 the lower precision input.
7188
7189 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7190
7191 [BZ #13550]
7192 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7193 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7194 (run-via-rtld-prefix): Do not handle %-bp tests.
7195 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7196 (all-object-suffixes): Remove .ob.
7197 (bppfx): Remove variable.
7198 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7199 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7200 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7201 [$(build-bounded) = yes] (libtype.ob): Likewise.
7202 * Makerules (elide-routines.ob): Remove variable.
7203 (do-tests-clean): Do not handle *-bp.out.
7204 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7205 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7206 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7207 (tests): Do not include $(tests-bp.out).
7208 (xtests): Do not include $(xtests-bp.out).
7209 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7210 [$(build-bounded) = yes] ($(addprefix
7211 $(objpfx),$(binaries-bounded))): Remove rule.
7212 ($(objpfx)%-bp.out): Remove rule.
7213 * config.make.in (build-bounded): Remove variable.
7214 * crypt/Makefile [$(build-bounded) = yes]
7215 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7216 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7217 append to variable.
7218 [$(build-bounded) = yes] (install-lib): Likewise.
7219 [$(build-bounded) = yes] (generated): Likewise.
7220 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7221 Remove rule.
7222 * intl/Makefile [$(build-bounded) = yes]
7223 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7224 * math/Makefile [$(build-bounded) = yes]
7225 ($(tests:%=$(objpfx)%-bp): Likewise.
7226 * misc/Makefile [$(build-bounded) = yes]
7227 ($(objpfx)tst-tsearch-bp): Likewise.
7228 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7229 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7230 Remove dependency.
7231 * string/Makefile (o-objects.ob): Remove variable.
7232 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7233 (CFLAGS-.ob): Remove variable.
7234 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7235 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7236 both definitions of variable.
7237 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7238 (ASFLAGS-.ob): Remove variable.
7239
7240 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7241
7242 [BZ #13550]
7243 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7244 Remove __BOUNDED_POINTERS__ from condition.
7245 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7246 * string/bits/string2.h [!__NO_STRING_INLINES &&
7247 !__BOUNDED_POINTERS__]: Likewise.
7248 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7249 Likewise.
7250 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7251 Remove conditional code.
7252 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7253 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7254 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7255 condition.
7256
7257 [BZ #13550]
7258 * csu/libc-start.c: Do not include <bp-sym.h>.
7259 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7260 * elf/dl-open.c: Do not include <bp-sym.h>.
7261 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7262 * math/fegetenv.c: Do not include <bp-sym.h>.
7263 (fegetenv): Do not use BP_SYM in versioned symbols.
7264 * nptl/sysdeps/pthread/bits/libc-lockP.h
7265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7266 <bp-sym.h>.
7267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7268 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7270 (__pthread_mutex_destroy): Likewise.
7271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7272 (__pthread_mutex_lock): Likewise.
7273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7274 (__pthread_mutex_trylock): Likewise.
7275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7276 (__pthread_mutex_unlock): Likewise.
7277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7278 (__pthread_mutexattr_init): Likewise.
7279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7280 (__pthread_mutexattr_destroy): Likewise.
7281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7282 (__pthread_mutexattr_settype): Likewise.
7283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7284 (__pthread_rwlock_init): Likewise.
7285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7286 (__pthread_rwlock_destroy): Likewise.
7287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7288 (__pthread_rwlock_rdlock): Likewise.
7289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7290 (__pthread_rwlock_tryrdlock): Likewise.
7291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7292 (__pthread_rwlock_wrlock): Likewise.
7293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7294 (__pthread_rwlock_trywrlock): Likewise.
7295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7296 (__pthread_rwlock_unlock): Likewise.
7297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7298 (__pthread_key_create): Likewise.
7299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7300 (__pthread_setspecific): Likewise.
7301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7302 (__pthread_getspecific): Likewise.
7303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7304 Likewise.
7305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7306 (_pthread_cleanup_push_defer): Likewise.
7307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7308 (_pthread_cleanup_pop_restore): Likewise.
7309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7310 (pthread_setcancelstate): Likewise.
7311 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7312 <bp-sym.h>.
7313 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7314 (memchr): Do not use BP_SYM in weak_alias.
7315 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7316 (fegetenv): Do not use BP_SYM in versioned symbols.
7317 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7318 (fesetenv): Do not use BP_SYM in versioned symbols.
7319 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7320 (feupdateenv): Do not use BP_SYM in versioned symbols.
7321 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7322 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7323 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7324 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7325 (open64): Do not use BP_SYM in weak_alias.
7326 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7327 (fegetenv): Do not use BP_SYM in versioned symbols.
7328 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7329 (fesetenv): Do not use BP_SYM in versioned symbols.
7330 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7331 (feupdateenv): Do not use BP_SYM in versioned symbols.
7332 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7333 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7334 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7335 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7336 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7337 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7338 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7339 <bp-sym.h>.
7340 (__libc_start_main): Do not use BP_SYM.
7341
7342 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7343
7344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7345 redundant return line.
7346 (norm): Likewise.
7347 (denorm): Likewise.
7348 (dbl_mp): Likewise.
7349 (sub_magnitudes): Likewise.
7350 (__add): Likewise.
7351 (__sub): Likewise.
7352 (__mul): Likewise.
7353 (__inv): Likewise.
7354 (__dvd): Likewise.
7355 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7356 (norm): Likewise.
7357 (denorm): Likewise.
7358 (dbl_mp): Likewise.
7359 (sub_magnitudes): Likewise.
7360 (__add): Likewise.
7361 (__sub): Likewise.
7362 (__mul): Likewise.
7363 (__inv): Likewise.
7364 (__dvd): Likewise.
7365
7366 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7367 instead of __mul.
7368 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7369 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7370 (cc32): Likewise.
7371
7372 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7373 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7374 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7375 of __mul for squares.
7376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7377 function
7378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7379 Likewise.
7380 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7381 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7382
7383 2013-02-13 Joseph Myers <joseph@codesourcery.com>
7384
7385 [BZ #13550]
7386 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7387 code.
7388 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7389 prototype or function definition. Rename ubp_* variables and
7390 parameters. Remove argv definitions conditional on
7391 [__BOUNDED_POINTERS__].
7392 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7393 * elf/dl-runtime.c (_dl_fixup): Likewise.
7394 * include/set-hooks.h (RUN_HOOK): Likewise.
7395 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7396 definition.
7397 * string/strcpy.c (strcpy): Do not use __unbounded.
7398 * sysdeps/generic/frame.h (struct layout): Likewise.
7399 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7400 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7401 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7402 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7403 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7404 (__backtrace): Likewise.
7405 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7406 use __ptrvalue.
7407 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7408 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7409 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7410 Likewise.
7411 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7412 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7413 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7414 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7415 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7416 Do not use __unbounded.
7417 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7418 Rename __unboundedrlimits parameter to rlimits in prototype.
7419 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7420 Do not use __unbounded.
7421 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7422 not use __ptrvalue.
7423 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7424 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7425 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7426 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7427 __ptrvalue or __unbounded.
7428 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7429 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7430 use __unbounded.
7431 (__new_msgctl): Do not use __ptrvalue.
7432 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7433 __unbounded.
7434 (__libc_msgrcv): Do not use __ptrvalue.
7435 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7436 startup_info): Do not use __unbounded.
7437 (__libc_start_main): Likewise. Rename ubp_* variables and
7438 parameters. Remove argv definitions conditional on
7439 [__BOUNDED_POINTERS__].
7440 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7441 __ptrvalue.
7442 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7443 use __unbounded.
7444 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7445 or __ptrvalue.
7446 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7447 use __unbounded.
7448 (__new_shmctl): Do not use __ptrvalue.
7449 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7450 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7451 Likewise.
7452 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7453 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7454 (__libc_sigaction): Likewise.
7455 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7456 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7457 Likewise.
7458 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7459
7460 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
7461
7462 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7463
7464 * string/mempcpy.c: Implement by calling memcpy.
7465
7466 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7467
7468 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7469
7470 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7471 evaluation.
7472
7473 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7474 values in the mantissa.
7475
7476 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7477 minimize writes to Z.
7478 (sub_magnitudes): Simplify code a bit.
7479
7480 2013-02-12 Roland McGrath <roland@hack.frob.com>
7481
7482 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7483 from the message. The linker prefixes all warnings with that already.
7484
7485 2013-02-12 Andreas Schwab <schwab@suse.de>
7486
7487 [BZ #15078]
7488 * posix/regexec.c (extend_buffers): Add parameter min_len.
7489 (check_matching): Pass minimum needed length.
7490 (clean_state_log_if_needed): Likewise.
7491 (get_subexp): Likewise.
7492 * posix/Makefile (tests): Add bug-regex34.
7493 (bug-regex34-ENV): Define.
7494 * posix/bug-regex34.c: New file.
7495
7496 [BZ #11561]
7497 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7498 elements compare against the byte sequence of it, not its name.
7499 * posix/Makefile (tests): Add bug-regex35.
7500 (bug-regex35-ENV): Define.
7501 * posix/bug-regex35.c: New file.
7502
7503 2013-02-11 Tom de Vries <tom@codesourcery.com>
7504
7505 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7506 comment.
7507 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7508 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7509 (CHECK_EOL): Add undef.
7510
7511 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
7512
7513 * bits/stdlib-bsearch.h: New file.
7514 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7515 * stdlib/stdlib.h: Likewise.
7516
7517 2013-02-11 Roland McGrath <roland@hack.frob.com>
7518
7519 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7520 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7521 declaration.
7522 * manual/search.texi (Array Search Function): Add missing const in
7523 lfind prototype.
7524 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7525 declaration to use rlim_t.
7526 (Basic Scheduling Functions): Remove erroneous const from
7527 sched_getparam prototype. Remove erroneous * from
7528 sched_get_priority_max and sched_get_priority_min prototypes.
7529 (Resource Usage): Fix summary @comment on vtimes to refer to
7530 sys/vtimes.h rather than vtimes.h.
7531 Add missing *s in vtimes prototype.
7532 (Limits on Resources): Fix ulimit prototype to return long int.
7533 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7534 prototypes to use long int rather than double.
7535 (BSD Random): Fix initstate and setstate to use char *, not void *.
7536 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7537 prototype to make second argument 'struct aiocb64 *const[]'.
7538 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7539 (Status of AIO Operations): Remove erroneous const in aio_return and
7540 aio_return64 prototypes.
7541 (Synchronizing I/O): Fix sync prototype to return void.
7542 * manual/startup.texi (Suboptions): Remove an erroneous const in
7543 getsubopt prototype.
7544 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7545 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7546 use size_t rather than int.
7547 (Scanning All Users): Likewise for getpwent_r.
7548 (Setting Groups): Add missing const to setgroups prototype.
7549 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7550 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7551 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7552 'const void *' rather than 'const char *'.
7553 (Host Address Functions): Likewise for inet_ntop.
7554 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7555 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7556 ssize_t for return value.
7557 (Sending Data): Likewise for send, sendto, sendmsg.
7558 (Socket Option Functions): Add a missing const in setsockopt prototype.
7559 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7560 use wchar_t for the argument.
7561 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7562 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7563 take no arguments.
7564 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7565 double/float/long double for second argument.
7566 Fix return types of significand, significandf, significandl.
7567 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7568 argument in fchmod prototype.
7569 (File Owner): Use uid_t and gid_t in fchown prototype.
7570 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7571 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7572 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7573 use 'const struct dirent **' as argument types to CMP function pointer
7574 argument.
7575 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7576 (File Times): Fix summary magic @comment for struct utimbuf and utime
7577 to refer to utime.h, not time.h.
7578 * manual/string.texi (Argz Functions): Add missing const in
7579 argz_extract and argz_next prototypes.
7580 (Finding Tokens in a String): Likewise for basename.
7581 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7582 (Copying and Concatenation): Fix typo in wmemmove prototype.
7583 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7584 (Signal Stack): Remove erroneous const in sigstack prototype.
7585 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7586 prototype.
7587 (Simple Calendar Time): Likewise for stime.
7588 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7589 prototype.
7590 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7591 say sys/sysctl.h instead.
7592 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7593 and vsyslog prototypes.
7594
7595 2013-02-11 Tom de Vries <tom@codesourcery.com>
7596
7597 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7598 Remove.
7599
7600 2013-02-11 Roland McGrath <roland@hack.frob.com>
7601
7602 * misc/sys/mman.h: Fix typo in mremap comment.
7603
7604 2013-02-08 Roland McGrath <roland@hack.frob.com>
7605
7606 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7607 the '\0' terminator.
7608
7609 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7610
7611 [BZ #13550]
7612 * debug/segfault.c: Don't include <bp-checks.h>.
7613 * sysdeps/generic/bp-checks.h: Remove file.
7614 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7615 (__GETDENTS): Don't use CHECK_N.
7616 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7617 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7618 (__getgroups): Don't use CHECK_N.
7619 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7620 (setgroups): Don't use CHECK_N.
7621 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7622 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7623 (__libc_msgrcv): Don't use CHECK_N.
7624 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7625 (__libc_msgsnd): Don't use CHECK_N.
7626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7627 <bp-checks.h>.
7628 (__libc_pread): Don't use CHECK_N.
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7630 include <bp-checks.h>.
7631 (__libc_pread64): Don't use CHECK_N.
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7633 include <bp-checks.h>.
7634 (__libc_pwrite): Don't use CHECK_N.
7635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7636 include <bp-checks.h>.
7637 (__libc_pwrite64): Don't use CHECK_N.
7638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7639 <bp-checks.h>.
7640 (__libc_pread): Don't use CHECK_N.
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7642 include <bp-checks.h>.
7643 (__libc_pread64): Don't use CHECK_N.
7644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7645 include <bp-checks.h>.
7646 (__libc_pwrite): Don't use CHECK_N.
7647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7648 include <bp-checks.h>.
7649 (__libc_pwrite64): Don't use CHECK_N.
7650 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7651 (do_pread): Don't use CHECK_N.
7652 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7653 (do_pread64): Don't use CHECK_N.
7654 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7655 (do_pwrite): Don't use CHECK_N.
7656 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7657 (do_pwrite64): Don't use CHECK_N.
7658 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7659 (__libc_readv): Don't use CHECK_N.
7660 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7661 (semop): Don't use CHECK_N.
7662 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7663 <bp-checks.h>.
7664 (semtimedop): Don't use CHECK_N.
7665 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7666 (__libc_pread): Don't use CHECK_N.
7667 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7668 <bp-checks.h>.
7669 (__libc_pread64): Don't use CHECK_N.
7670 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7671 <bp-checks.h>.
7672 (__libc_pwrite): Don't use CHECK_N.
7673 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7674 <bp-checks.h>.
7675 (__libc_pwrite64): Don't use CHECK_N.
7676 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7677 <bp-checks.h>.
7678 (__libc_msgrcv): Don't use CHECK_N.
7679 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7680 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7681 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7682 (__libc_writev): Don't use CHECK_N.
7683
7684 2013-02-08 Roland McGrath <roland@hack.frob.com>
7685
7686 * string/strcpy.c: Removed unused variable.
7687
7688 * Makeconfig (+sysdep-includes): Define with := rather than =.
7689 Use an existing include/ subdir of each sysdeps dir before it.
7690
7691 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7692
7693 * nscd/connection.c (register_traced_file): Comment function.
7694 [HAVE_INOTIFY] (union __inev): Define.
7695 [HAVE_INOTIFY] (inotify_check_files): New function.
7696 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7697 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7698 clear_db_cache.
7699 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7700
7701 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7702
7703 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7704 loaded if not already and that a failure is permanent.
7705
7706 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7707
7708 [BZ #15006]
7709 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7710 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7711
7712 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7713
7714 [BZ #13550]
7715 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7716 (CHECK_1_NULL_OK): Likewise.
7717 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7718 (__fxstat): Do not use CHECK_1.
7719 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7720 <bp-checks.h>.
7721 (___fxstat64): Do not use CHECK_1.
7722 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7723 <bp-checks.h>.
7724 (__fxstatat): Do not use CHECK_1.
7725 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7726 <bp-checks.h>.
7727 (__fxstatat64): Do not use CHECK_1.
7728 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7729 <bp-checks.h>.
7730 (__fxstat): Do not use CHECK_1.
7731 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7732 <bp-checks.h>.
7733 (__fxstatat): Do not use CHECK_1.
7734 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7735 <bp-checks.h>.
7736 (__getresgid): Do not use CHECK_1.
7737 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7738 <bp-checks.h>.
7739 (__getresuid): Do not use CHECK_1.
7740 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7741 <bp-checks.h>.
7742 (__lxstat): Do not use CHECK_1.
7743 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7744 <bp-checks.h>.
7745 (__old_msgctl): Do not use CHECK_1.
7746 (__new_msgctl): Likewise.
7747 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7748 <bp-checks.h>.
7749 (__new_setrlimit): Do not use CHECK_1.
7750 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7751 <bp-checks.h>.
7752 (__old_shmctl): Do not use CHECK_1.
7753 (__new_shmctl): Likewise.
7754 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7755 <bp-checks.h>.
7756 (__xstat): Do not use CHECK_1.
7757 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7758 (__lxstat): Do not use CHECK_1.
7759 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7760 <bp-checks.h>.
7761 (___lxstat64): Do not use CHECK_1.
7762 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7763 (__old_msgctl): Do not use CHECK_1.
7764 (__new_msgctl): Likewise.
7765 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7766 <bp-checks.h>.
7767 (__gettimeofday): Do not use CHECK_1.
7768 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7769 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7770 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7771 <bp-checks.h>.
7772 (__gettimeofday): Do not use CHECK_1.
7773 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7774 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7775 (__new_shmctl): Do not use CHECK_1.
7776 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7777 <bp-checks.h>.
7778 (do_sigtimedwait): Do not use CHECK_1.
7779 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7780 <bp-checks.h>.
7781 (do_sigwaitinfo): Do not use CHECK_1.
7782 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7783 <bp-checks.h>.
7784 (msgctl): Do not use CHECK_1.
7785 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7786 <bp-checks.h>.
7787 (shmctl): Do not use CHECK_1.
7788 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7789 (ustat): Do not use CHECK_1.
7790 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7791 <bp-checks.h>.
7792 (__fxstat): Do not use CHECK_1.
7793 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7794 <bp-checks.h>.
7795 (__fxstatat): Do not use CHECK_1.
7796 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7797 <bp-checks.h>.
7798 (__lxstat): Do not use CHECK_1.
7799 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7800 <bp-checks.h>.
7801 (__xstat): Do not use CHECK_1.
7802 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7803 (__xstat): Do not use CHECK_1.
7804 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7805 (___xstat64): Do not use CHECK_1.
7806
7807 [BZ #13550]
7808 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7809 definitions.
7810 (CHECK_BOUNDS_HIGH): Likewise.
7811 * string/strcpy.c: Do not include <bp-checks.h>.
7812 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7813
7814 2013-02-07 Roland McGrath <roland@hack.frob.com>
7815
7816 * nscd/nscd-client.h (__nscd_drop_map_ref):
7817 Add __attribute__ ((unused)).
7818 * nis/nss-nisplus.h (niserr2nss): Likewise.
7819
7820 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7821 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7822
7823 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7824 Remove inline keyword.
7825 * include/rounding-mode.h (round_away): Likewise.
7826 * libio/wfileops.c (adjust_wide_data): Likewise.
7827 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7828 (__m128i_strloadu_tolower): Likewise.
7829 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7830 (__m128i_strloadu_tolower): Likewise.
7831 * time/mktime.c (ydhms_diff): Likewise.
7832 * locale/elem-hash.h (elem_hash): Likewise.
7833 * locale/setlocale.c (setdata): Likewise.
7834 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7835 (re_string_wchar_at): Likewise.
7836 (bitset_not, bitset_merge, bitset_mask): Likewise.
7837 [!(__GNUC__ > 3)] (inline): Remove macro.
7838 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7839 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7840 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7841 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7842 * string/memcmp.c (memcmp_bytes): Likewise.
7843 * locale/programs/locarchive.c (compute_hashval): Likewise.
7844 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7845 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7846 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7847 * nss/getent.c (print_rpc, print_protocols): Likewise.
7848 (print_passwd, print_group, print_aliases): Likewise.
7849 * nis/nss-nisplus.h (niserr2nss): Likewise.
7850 * nscd/connections.c (restart_p): Likewise.
7851 Change return type to bool.
7852
7853 2013-02-05 Roland McGrath <roland@hack.frob.com>
7854
7855 * Makeconfig (all-Depend-files): Add existing
7856 $(sorted-subdirs:=/Depend) files.
7857 (all-subdirs): Remove nss.
7858 * sysdeps/unix/inet/Subdirs: Add it here instead.
7859 * hesiod/Depend: New file.
7860
7861 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7862 instead of calling alloca.
7863
7864 * io/lseek.c (__lseek): Rename to __libc_lseek.
7865 Define __lseek as an alias.
7866
7867 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7868
7869 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7870
7871 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7872 else clause and remove check for non-standard endianness.
7873
7874 2013-02-04 David S. Miller <davem@davemloft.net>
7875
7876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7877
7878 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7879
7880 [BZ #13550]
7881 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7882 (__ubp_memchr): Remove prototype.
7883 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7884 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7885 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7886 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7887 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7888 Remove alias.
7889 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7890 (__ubp_memchr): Likewise.
7891 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7892 (__ubp_memchr): Likewise.
7893 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7894 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7895 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7896 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7897 CHECK_STRING.
7898 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7899 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7900 (__getcwd): Do not use CHECK_STRING.
7901 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7902 <bp-checks.h>.
7903 (__real_chown): Do not use CHECK_STRING.
7904 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7905 <bp-checks.h>.
7906 (fchownat): Do not use CHECK_STRING.
7907 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7908 CHECK_STRING.
7909 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7910 <bp-checks.h>.
7911 (__lchown): Do not use CHECK_STRING.
7912 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7913 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7914 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7915 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7917 include <bp-checks.h>.
7918 (truncate64): Do not use CHECK_STRING.
7919 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7920 <bp-checks.h>.
7921 (__real_chown): Do not use CHECK_STRING.
7922 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7923 <bp-checks.h>.
7924 (__lchown): Do not use CHECK_STRING.
7925 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7926 <bp-checks.h>.
7927 (__chown): Do not use CHECK_STRING.
7928 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7929 <bp-checks.h>.
7930 (truncate64): Do not use CHECK_STRING.
7931 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7932 Likewise.
7933 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7934 (__xmknod): Do not use CHECK_STRING.
7935 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7936 <bp-checks.h>.
7937 (__xmknodat): Do not use CHECK_STRING.
7938 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7939 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7940
7941 2013-02-04 Andreas Schwab <schwab@suse.de>
7942
7943 [BZ #14142]
7944 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7945 * include/netdb.h: Likewise for h_errno.
7946 * elf/tst-stackguard1.c: Include <tls.h>.
7947
7948 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7949
7950 * elf/link.h (struct link_map): Extend the l_addr comment.
7951 * include/link.h (struct link_map): Likewise.
7952
7953 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7954
7955 [BZ #13550]
7956 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7957 (BOUNDED_1): Remove macro.
7958 * debug/backtrace.c: Don't include <bp-checks.h>.
7959 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7960 (__backtrace): Likewise.
7961 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7962 <bp-checks.h>.
7963 (__backtrace): Don't use BOUNDED_1.
7964 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7965 <bp-checks.h>.
7966 (__backtrace): Don't use BOUNDED_1.
7967 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7968 (__backtrace): Don't use BOUNDED_1.
7969 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7970 (shmat): Don't use BOUNDED_N.
7971
7972 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7973
7974 [BZ #13550]
7975 * sysdeps/generic/bp-start.h: Remove file.
7976 * csu/libc-start.c: Don't include <bp-start.h>.
7977 (LIBC_START_MAIN): Set up __environ directly instead of using
7978 INIT_ARGV_and_ENVIRON.
7979 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7980 <bp-start.h>.
7981
7982 [BZ #13550]
7983 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7984 definitions.
7985 (CHECK_FCNTL): Likewise.
7986 (CHECK_N_PAGES): Likewise.
7987
7988 [BZ #13550]
7989 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7990 definitions.
7991 (CHECK_SIGSET_NULL_OK): Likewise.
7992 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7993 <bp-checks.h>.
7994 (sigpending): Don't use CHECK_SIGSET.
7995 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7996 <bp-checks.h>.
7997 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7998 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7999 <bp-checks.h>.
8000 (do_sigsuspend): Don't use CHECK_SIGSET.
8001 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8002 use CHECK_SIGSET.
8003 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8004 (do_sigwait): Don't use CHECK_SIGSET.
8005 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8006 use CHECK_SIGSET.
8007 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8008 include <bp-checks.h>.
8009 (sigpending): Don't use CHECK_SIGSET.
8010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8011 include <bp-checks.h>.
8012 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8013 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8014 <bp-checks.h>.
8015 (sigpending): Don't use CHECK_SIGSET.
8016 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8017 <bp-checks.h>.
8018 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8019
8020 [BZ #13550]
8021 * sysdeps/generic/bp-semctl.h: Remove file.
8022 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8023 <bp-checks.h> and <bp-semctl.h>.
8024 (__old_semctl): Don't use CHECK_SEMCTL.
8025 (__new_semctl): Likewise.
8026 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8027 and <bp-semctl.h>.
8028 (__old_semctl): Don't use CHECK_SEMCTL.
8029 (__new_semctl): Likewise.
8030 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8031 <bp-checks.h> and <bp-semctl.h>.
8032 (__old_semctl): Don't use CHECK_SEMCTL.
8033 (__new_semctl): Likewise.
8034 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8035 <bp-checks.h> and <bp-semctl.h>.
8036 (semctl): Don't use CHECK_SEMCTL.
8037
8038 [BZ #13550]
8039 * Makerules (elide-bp-thunks): Remove variable.
8040 (elide-routines.oS): Don't use $(elide-bp-thunks).
8041 (elide-routines.os): Likewise.
8042 (elide-routines.o): Likewise.
8043 (elide-routines.op): Likewise.
8044 (elide-routines.og): Likewise.
8045 (objects): Don't use $(bp-thunks).
8046 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8047 include.
8048 (common-generated): Do not add s-proto-bp.d.
8049 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8050 (int): Likewise.
8051 (typ): Likewise.
8052 Do not generate makefile rules for bounded-pointer thunks.
8053 * sysdeps/generic/bp-thunks.h: Remove file.
8054 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8055 * sysdeps/unix/s-proto-bp.S: Likewise.
8056
8057 [BZ #15062]
8058 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8059 parts of result separately when argument is not close to line from
8060 -i to i and one part of argument is small.
8061 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8062 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8063 * math/libm-test.inc (cacos_test): Add more tests.
8064 (casin_test): Likewise.
8065 (casinh_test): Likewise.
8066 * sysdeps/i386/fpu/libm-test-ulps: Update.
8067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8068
8069 2013-01-31 David S. Miller <davem@davemloft.net>
8070
8071 * po/de.po: Update from translation team.
8072
8073 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8074
8075 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8076
8077 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8078
8079 * configure.in (_AC_PROG_CC_C89): New definition.
8080 * configure: Regenerate.
8081
8082 * configure.in (AC_PROG_CPP): New definition.
8083 * configure: Regenerate.
8084
8085 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8086
8087 * debug/tst-backtrace.h: New file.
8088 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8089 (ret): Remove variable.
8090 (x): Likewise.
8091 (FAIL): Remove macro.
8092 (NO_INLINE): Likewise.
8093 (fn1): Use match function instead of strstr.
8094 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8095 (ret): Remove variable.
8096 (x): Likewise.
8097 (FAIL): Remove macro.
8098 (NO_INLINE): Likewise.
8099 (fn): Use match function instead of strstr.
8100 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8101 (ret): Remove variable.
8102 (x): Likewise.
8103 (FAIL): Remove macro.
8104 (NO_INLINE): Likewise.
8105 (handle_signal): Use match function instead of strstr.
8106 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8107 (ret): Remove variable.
8108 (x): Likewise.
8109 (FAIL): Remove macro.
8110 (NO_INLINE): Likewise.
8111 (handle_signal): Use match function instead of strstr.
8112
8113 2013-01-23 Roland McGrath <roland@hack.frob.com>
8114
8115 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8116
8117 2013-01-23 David S. Miller <davem@davemloft.net>
8118
8119 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8120 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8121 argument of CAS if possible.
8122 * sysdeps/sparc/sparc64/bits/atomic.h
8123 (__arch_compare_and_exchange_val_32_acq): Likewise.
8124 (__arch_compare_and_exchange_val_64_acq): Likewise.
8125
8126 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8127
8128 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8129 * sysdeps/posix/ulimit.c: ... this.
8130 Include <limits.h>.
8131 * sysdeps/unix/bsd/ulimit.c: Remove file.
8132
8133 2013-01-23 Adam Conrad <adconrad@0c3.net>
8134
8135 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8136 (LDFLAGS-tst-array5): Likewise.
8137
8138 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8139
8140 [BZ #15036]
8141 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8142 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8143 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8144 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8145
8146 2013-01-21 David S. Miller <davem@davemloft.net>
8147
8148 * sysdeps/sparc/backtrace.c: New file.
8149 * sysdeps/sparc/sparc32/backtrace.h: New file.
8150 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8151 * sysdeps/sparc/sparc64/backtrace.h: New file.
8152 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8153 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8154 -funwind-tables.
8155
8156 2013-01-21 Andreas Schwab <schwab@suse.de>
8157
8158 [BZ #15020]
8159 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8160 closed its stdout.
8161
8162 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8163
8164 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8165 "mpa2.h".
8166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8167
8168 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8169 Mark Mitchell <mark@codesourcery.com>
8170 Tom de Vries <tom@codesourcery.com>
8171 Paul Pluzhnikov <ppluzhnikov@google.com>
8172
8173 * debug/tst-backtrace2.c: New file.
8174 * debug/tst-backtrace3.c: Likewise.
8175 * debug/tst-backtrace4.c: Likewise.
8176 * debug/tst-backtrace5.c: Likewise.
8177 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8178 (CFLAGS-tst-backtrace3.c): Likewise.
8179 (CFLAGS-tst-backtrace4.c): Likewise.
8180 (CFLAGS-tst-backtrace5.c): Likewise.
8181 (LDFLAGS-tst-backtrace2): Likewise.
8182 (LDFLAGS-tst-backtrace3): Likewise.
8183 (LDFLAGS-tst-backtrace4): Likewise.
8184 (LDFLAGS-tst-backtrace5): Likewise.
8185 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8186 tst-backtrace4 and tst-backtrace5.
8187
8188 2013-01-18 Anton Blanchard <anton@samba.org>
8189 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8190
8191 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8192 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8193 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8194 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8196 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8197 "+r" and remove output regs list as redundant. Add explicit inline
8198 asm to specify register of return val to work around compiler codegen
8199 bug. Remove (int) cast on return value. Add return type parameter to
8200 use in macro so that this macro does not truncate return value for
8201 64-bit values.
8202 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8203 pass to INTERNAL_VSYSCALL_NCS.
8204 (INLINE_VSYSCALL): Add 'long int' as return type to
8205 INTERNAL_VSYSCALL_NCS macro invocation.
8206 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8207 INTERNAL_VSYSCALL_NCS macro invocation.
8208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8209
8210 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8211
8212 [BZ #14496]
8213 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8214 Fix application of SIMD FP exception mask.
8215
8216 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8217 mp_no from a power of two.
8218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8219 __mpexp_twomm1. Use __pow_mp.
8220
8221 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8222 multiplication.
8223
8224 2013-01-17 David S. Miller <davem@davemloft.net>
8225
8226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8227
8228 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8229
8230 [BZ #15023]
8231 * include/complex.h: Condition contents on [!_COMPLEX_H].
8232 (__kernel_casinhf): New prototype.
8233 (__kernel_casinh): Likewise.
8234 (__kernel_casinhl): Likewise.
8235 * math/Makefile (libm_calls): Add k_casinh.
8236 * math/k_casinh.c: New file.
8237 * math/k_casinhf.c: Likewise.
8238 * math/k_casinhl.c: Likewise.
8239 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8240 finite nonzero arguments.
8241 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8242 finite nonzero arguments.
8243 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8244 finite nonzero arguments.
8245 * math/s_casinh.c: Do not include <float.h>.
8246 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8247 * math/s_casinhf.c: Do not include <float.h>.
8248 (__casinhf): Move code for finite nonzero arguments to
8249 k_casinhf.c.
8250 * math/s_casinhl.c: Do not include <float.h>.
8251 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8252 redefine.
8253 (__casinhl): Move code for finite nonzero arguments to
8254 k_casinhl.c.
8255 * math/libm-test.inc (cacos_test): Add more tests.
8256 * sysdeps/i386/fpu/libm-test-ulps: Update.
8257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8258
8259 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8260
8261 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8262 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8263 [!HAVE_MREMAP]: Remove [defined linux] case.
8264 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8265
8266 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8267
8268 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8269
8270 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 * elf/elf.h (R_386_SIZE32): New relocation.
8273 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8274 R_386_SIZE32.
8275 (elf_machine_rela): Likewise.
8276 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8277 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8278
8279 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8280
8281 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8282 (FP_FAST_FMA): Do not define.
8283 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8284 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8285 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8286 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8287 !_SOFT_FLOAT]: Likewise.
8288 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8289 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8290 value.
8291 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8292 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8293 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8294 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8295 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8296 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8297 file.
8298
8299 2013-01-16 Andreas Schwab <schwab@suse.de>
8300
8301 [BZ #14327]
8302 * include/stdlib.h (__mktemp): Add declaration.
8303 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8304 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8305
8306 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8307
8308 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8309 definitions.
8310 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8311 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8312 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8313 definitions here.
8314 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8315 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8316 definitions.
8317 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8318 and ONE.
8319 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8320 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8321 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8322 definitions.
8323 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8324 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8325 definitions.
8326 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8327
8328 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8329
8330 2013-01-15 David S. Miller <davem@davemloft.net>
8331
8332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8333 trunc{,f} to libm-sysdep_routes.
8334 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8336 file.
8337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8339 file.
8340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8341 file.
8342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8344 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8345 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8346 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8347 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8348 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8349 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8350
8351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8352 nearbyint{,f} to libm-sysdep_routes.
8353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8355 New file.
8356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8357 file.
8358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8359 New file.
8360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8361 file.
8362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8364 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8365 file.
8366 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8367 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8368 file.
8369 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8370 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8371 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8372
8373 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8374 libc_feholdexcept and libc_fesetenv.
8375
8376 2013-01-15 Mike Frysinger <vapier@gentoo.org>
8377
8378 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8379
8380 2013-01-14 David S. Miller <davem@davemloft.net>
8381
8382 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8383 (SPARC_ASM_VIS2_IFUNC): Likewise.
8384 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8386 use of 'siam' instruction.
8387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8388 Likewise.
8389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8390 Likewise.
8391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8392 Likewise.
8393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8398 file.
8399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8400 file.
8401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8402 file.
8403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8404 file.
8405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8410 new VIS2 routines.
8411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8414 Likewise.
8415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8420 routines to libm-sysdep_routines.
8421 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8422
8423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8424 fdim/fdimf to libm-sysdep_routines.
8425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8426 file.
8427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8429 file.
8430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8433 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8434 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8435 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8436 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8437
8438 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8439
8440 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8441 to optimize copies.
8442
8443 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8446
8447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8448 local variable MPTWO.
8449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8450 Likewise.
8451
8452 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8453
8454 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8455 GLOB_NOESCAPE.
8456
8457 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8458
8459 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8460
8461 2013-01-13 Mike Frysinger <vapier@gentoo.org>
8462
8463 * manual/pattern.texi (glob_t): Document gl_flags.
8464 (glob64_t): Likewise.
8465
8466 2013-01-11 David S. Miller <davem@davemloft.net>
8467
8468 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8469 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8470 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8471 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8472 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8473 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8474 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8475 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8476 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8477 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8478 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8479 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8480 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8481
8482 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8483 sparc V9 rather than using V8 code.
8484 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8485 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8486
8487 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8488 Move to...
8489 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8490 Here.
8491
8492 2013-01-11 Roland McGrath <roland@hack.frob.com>
8493
8494 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8495 not in the main loop.
8496 * configure: Regenerated.
8497
8498 2013-01-11 Joseph Myers <joseph@codesourcery.com>
8499
8500 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8501 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8502 to just #else.
8503 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8504 [!__GLIBC_HAVE_LONG_LONG] case.
8505 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8506 condition to just #else.
8507 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8508 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8509 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8510 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8511 unconditional.
8512 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8513 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8514 #elif condition to just #else.
8515 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8516 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8517 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8518 #elif condition to just #else.
8519
8520 2013-01-11 Steve Ellcey <sellcey@mips.com>
8521
8522 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8523 (EF_MIPS_ARCH_64): Fix value.
8524 (EF_MIPS_ARCH_32R2): New.
8525 (EF_MIPS_ARCH_64R2): New.
8526
8527 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8528
8529 * Makeconfig (+link-pie-before-libc): New.
8530 (+link-pie-after-libc): Likewise.
8531 (+link-pie-tests): Likewise.
8532 (+link-pie): Rewritten.
8533 (link-before-libc): Remove $(config-LDFLAGS).
8534 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8535 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8536 (config-LDFLAGS): Renamed to ...
8537 (rtld-LDFLAGS): This.
8538 (rtld-tests-LDFLAGS): New macro.
8539 (link-libc-rpath-link): Likewise.
8540 (link-libc-tests-rpath-link): Likewise.
8541 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8542 (link-libc): Prepand $(link-libc-rpath-link).
8543 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8544 (test-program-prefix): New macro.
8545 (test-via-rtld-prefix): Likewise.
8546 (test-program-cmd): Likewise.
8547 (host-test-program-cmd): Likewise.
8548 * Makefile ($(common-objpfx)testrun.sh): Replace
8549 $(run-program-prefix) with $(test-program-prefix).
8550 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8551 $(rtld-LDFLAGS).
8552 ($(common-objpfx)shlib.lds): Likewise.
8553 (build-module-helper): Likewise.
8554 ($(common-objpfx)format.lds): Likewise.
8555 * Rules (binaries-pie-tests): New.
8556 (binaries-pie-notests): Likewise.
8557 (binaries-pie): Rewritten.
8558 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8559 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8560 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8561 (make-test-out): Replace $(host-built-program-cmd) with
8562 $(host-test-program-cmd).
8563 * config.make.in (build-hardcoded-path-in-tests): New variable.
8564 * configure.in (--enable-hardcoded-path-in-tests): New configure
8565 option.
8566 (hardcoded_path_in_tests): New AC_SUBST.
8567 * configure: Regenerated.
8568 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8569 $(built-program-cmd) with $(test-program-cmd).
8570 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8571 (test_program_cmd): This.
8572 * elf/Makefile ($(objpfx)order.out): Run test with
8573 $(test-program-prefix).
8574 ($(objpfx)order2.out): Likewise.
8575 ($(objpfx)tst-initorder.out): Likewise.
8576 ($(objpfx)tst-initorder2.out): Likewise.
8577 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8578 $(test-program-cmd).
8579 ($(objpfx)tst-array1-static.out): Likewise.
8580 ($(objpfx)tst-array2.out): Likewise.
8581 ($(objpfx)tst-array3.out): Likewise.
8582 ($(objpfx)tst-array4.out): Likewise.
8583 ($(objpfx)tst-array5.out): Likewise.
8584 ($(objpfx)tst-array5-static.out): Likewise.
8585 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8586 $(test-program-cmd).
8587 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8588 $(run-program-prefix) with $(test-program-prefix).
8589 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8590 (test_program_prefix): This.
8591 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8592 $(run-program-prefix) with $(test-program-prefix).
8593 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8594 (test_program_prefix): This.
8595 * iconvdata/tst-tables.sh: Likewise.
8596 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8597 $(run-program-prefix) with $(test-program-prefix).
8598 ($(objpfx)tst-translit.out): Likewise.
8599 ($(objpfx)tst-gettext2.out): Likewise.
8600 ($(objpfx)tst-gettext4.out): Likewise.
8601 ($(objpfx)tst-gettext6.out): Likewise.
8602 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8603 (test_program_prefix): This.
8604 * intl/tst-gettext2.sh: Likewise.
8605 * intl/tst-gettext4.sh Likewise.
8606 * intl/tst-gettext6.sh: Likewise.
8607 * intl/tst-translit.sh: Likewise.
8608 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8609 with $(test-program-cmd).
8610 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8611 $(run-program-prefix) with $(test-program-prefix).
8612 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8613 (test_program_prefix): This.
8614 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8615 $(run-program-prefix) with $(test-program-prefix).
8616 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8617 (test_program_prefix): This.
8618 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8619 * posix/Makefile ($(objpfx)globtest.out): Replace
8620 $(run-via-rtld-prefix) and $(test-wrapper) with
8621 $(test-program-prefix) and $(test-via-rtld-prefix).
8622 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8623 $(test-program-prefix).
8624 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8625 $(host-test-program-cmd).
8626 (tst-spawn-ARGS): Likewise.
8627 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8628 $(test-program-prefix).
8629 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8630 (test_via_rtld_prefix): This.
8631 (test_wrapper): Renamed to ...
8632 (test_program_prefix): This.
8633 (run_program_prefix): Replaced by test_program_prefix.
8634 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8635 (test_program_prefix): This.
8636 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8637 with $(host-test-program-cmd).
8638 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8639 $(run-program-prefix) with $(test-program-prefix).
8640 ($(objpfx)tst-printf.out): Likewise.
8641 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8642 $(test-program-cmd).
8643 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8644 (test_program_prefix): This.
8645 * stdio-common/tst-unbputc.sh: Likewise.
8646 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8647 $(run-program-prefix) with $(test-program-prefix).
8648 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8649 (test_program_prefix): This.
8650 * string/Makefile ($(objpfx)tst-svc.out): Replace
8651 $(built-program-cmd) with $(test-program-cmd).
8652
8653 2013-01-11 Andreas Jaeger <aj@suse.de>
8654
8655 [BZ #15003]
8656 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8657 value. Sync with Linux 3.7.
8658
8659 2013-01-10 David S. Miller <davem@davemloft.net>
8660
8661 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8662 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8663 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8664
8665 2013-01-10 Roland McGrath <roland@hack.frob.com>
8666
8667 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8668 never set.
8669 * configure: Regenerated.
8670
8671 2013-01-10 David S. Miller <davem@davemloft.net>
8672
8673 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8674 sparc V9 rather than using V8 code.
8675 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8676 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8677
8678 2013-01-10 Roland McGrath <roland@hack.frob.com>
8679
8680 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8681 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8682 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8683 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8684 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8685 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8686 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8687 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8688 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8689 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8690 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8691 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8692 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8693 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8694 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8695 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8696 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8697 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8698 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8699 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8700 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8701 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8702 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8703 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8704 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8705 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8706 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8707
8708 2013-01-10 David S. Miller <davem@davemloft.net>
8709
8710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8711
8712 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8713
8714 * posix/Makefile (tests-static): New variable.
8715 (tests): Add $(tests-static).
8716 (tst-exec-static-ARGS): New variable.
8717 (tst-spawn-static-ARGS): Likewise.
8718 * posix/tst-exec-static.c: New file.
8719 * posix/tst-spawn-static.c: Likewise.
8720 * posix/tst-exec.c: Support run directly.
8721 * posix/tst-spawn.c: Likewise.
8722
8723 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8724
8725 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8726 long.
8727 * math/bits/mathcalls.h (llrint): Likewise.
8728 (llround): Likewise.
8729 * stdlib/stdlib.h (struct drand48_data): Likewise.
8730 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8731 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8732 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8733 Likewise.
8734 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8735 Likewise.
8736 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8737 (elf_greg_t): Likewise.
8738 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8739 (__jmp_buf): Likewise.
8740 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8741 definitions.
8742 (llrint): Likewise, for all definitions.
8743 (llrintl): Likewise.
8744
8745 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8746 Remove [__GNUC__] condition.
8747 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8748 condition to just [__USE_ISOC99].
8749 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8750
8751 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8752
8753 [BZ #14200]
8754 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8755 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8756 defined.
8757 (_POSIX_V6_ILP32_OFF32): Likewise.
8758 (_XBS5_ILP32_OFF32): Likewise.
8759 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8760 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8761
8762 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8763
8764 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8765
8766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8767 doubles __mpexp_twomm1. Adjust usage.
8768 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8769 Remove.
8770
8771 2013-01-10 Andreas Schwab <schwab@suse.de>
8772
8773 [BZ #14964]
8774 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8775 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8776
8777 2013-01-09 David S. Miller <davem@davemloft.net>
8778
8779 [BZ #15003]
8780 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8781 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8782 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8783 TCP_FASTOPEN): Define.
8784 (tcp_repair_opt): New structure.
8785 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8786 enum values.
8787 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8788 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8789 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8790 (tcp_cookie_transactions): New structure.
8791
8792 2013-01-09 Anton Blanchard <anton@samba.org>
8793
8794 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8795 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8796 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8797 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8798
8799 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8800
8801 * include/features.h (__USE_ANSI): Remove.
8802
8803 2013-01-09 Roland McGrath <roland@hack.frob.com>
8804
8805 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8806
8807 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8808
8809 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8810
8811 * sysdeps/s390/fpu/libm-test-ulps: Update.
8812
8813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8814
8815 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8816 (__acr): Likewise.
8817 (__cpy): Likewise.
8818 (norm): Likewise.
8819 (denorm): Likewise.
8820 (__mp_dbl): Likewise.
8821 (__dbl_mp): Likewise.
8822 (add_magnitudes): Likewise.
8823 (sub_magnitudes): Likewise.
8824 (__add): Likewise.
8825 (__sub): Likewise.
8826 (__mul): Likewise.
8827 (__inv): Likewise.
8828 (__dvd): Likewise.
8829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8830 (__acr): Likewise.
8831 (__cpy): Likewise.
8832 (norm): Likewise.
8833 (denorm): Likewise.
8834 (__mp_dbl): Likewise.
8835 (__dbl_mp): Likewise.
8836 (add_magnitudes): Likewise.
8837 (sub_magnitudes): Likewise.
8838 (__add): Likewise.
8839 (__sub): Likewise.
8840 (__mul): Likewise.
8841 (__inv): Likewise.
8842 (__dvd): Likewise.
8843 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8844 (__acr): Likewise.
8845 (__cpy): Likewise.
8846 (norm): Likewise.
8847 (denorm): Likewise.
8848 (__mp_dbl): Likewise.
8849 (__dbl_mp): Likewise.
8850 (add_magnitudes): Likewise.
8851 (sub_magnitudes): Likewise.
8852 (__add): Likewise.
8853 (__sub): Likewise.
8854 (__mul): Likewise.
8855 (__inv): Likewise.
8856 (__dvd): Likewise.
8857
8858 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8859
8860 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8861 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8862 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8863 2 && __USE_EXTERN_INLINES]: Likewise.
8864
8865 2013-01-08 Andreas Jaeger <aj@suse.de>
8866
8867 [BZ# 14985]
8868 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8869 Remove.
8870 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8871 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8872
8873 2013-01-07 Anton Blanchard <anton@samba.org>
8874
8875 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8876 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8877 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8878 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8879 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8880 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8881 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8882 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8884 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8885 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8886 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8887 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8888 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8889 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8890 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8891 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8892 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8893 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8894 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8895 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8896 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8897 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8898 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8899 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8900 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8901 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8902 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8903 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8904 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8905 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8907 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8908 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8909 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8910 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8912 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8913 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8914 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8916 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8917 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8918
8919 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8920
8921 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8922 (__MALLOC_PMT): Likewise.
8923 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8924 [__GNUC__], only on [_LIBC].
8925 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8926 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8927 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8928 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8929 forward declaration.
8930 (realloc_hook_ini): Likewise.
8931 (memalign_hook_ini): Likewise.
8932 (__libc_memalign): Do not use __MALLOC_PMT in variable
8933 declaration.
8934 (__libc_valloc): Likewise.
8935 (__libc_pvalloc): Likewise.
8936 (__libc_calloc): Likewise.
8937 (__posix_memalign): Likewise.
8938
8939 [BZ #14996]
8940 * math/s_casinh.c: Include <float.h>.
8941 (__casinh): Do not do computation with squaring and square root
8942 for large arguments.
8943 * math/s_casinhf.c: Include <float.h>.
8944 (__casinhf): Do not do computation with squaring and square root
8945 for large arguments.
8946 * math/s_casinhl.c: Include <float.h>.
8947 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8948 (__casinhl): Do not do computation with squaring and square root
8949 for large arguments.
8950 * math/libm-test.inc (casin_test): Add more tests.
8951 (casinh_test): Likewise.
8952 * sysdeps/i386/fpu/libm-test-ulps: Update.
8953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8954
8955 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8956
8957 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8958 (__x86_64_raw_data_cache_size): Likewise.
8959 (__x86_64_data_cache_size_half): Likewise.
8960 (__x86_64_raw_data_cache_size_half): Likewise.
8961 (__x86_64_shared_cache_size): Likewise.
8962 (__x86_64_raw_shared_cache_size): Likewise.
8963 (__x86_64_shared_cache_size_half): Likewise.
8964 (__x86_64_raw_shared_cache_size_half): Likewise.
8965 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8966 to ...
8967 (__x86_data_cache_size): This.
8968 (__x86_64_raw_data_cache_size): Renamed to ...
8969 (__x86_raw_data_cache_size): This.
8970 (__x86_64_data_cache_size_half): Renamed to ...
8971 (__x86_data_cache_size_half): This.
8972 (__x86_64_raw_data_cache_size_half): Renamed to ...
8973 (__x86_raw_data_cache_size_half): This.
8974 (__x86_64_shared_cache_size): Renamed to ...
8975 (__x86_shared_cache_size): This.
8976 (__x86_64_raw_shared_cache_size): Renamed to ...
8977 (__x86_raw_shared_cache_size): This.
8978 (__x86_64_shared_cache_size_half): Renamed to ...
8979 (__x86_shared_cache_size_half): This.
8980 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8981 (__x86_raw_shared_cache_size_half): This.
8982 * sysdeps/x86_64/memcpy.S: Updated.
8983 * sysdeps/x86_64/memset.S: Likewise.
8984 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8985 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8986 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8987
8988 2013-01-04 David S. Miller <davem@davemloft.net>
8989
8990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8991
8992 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8993
8994 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8995 1 to avoid redefinition warning.
8996 (__USE_GNU): Don't define.
8997 (init_signaling_nan): Protoize.
8998
8999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9000
9001 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9002
9003 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9005 (__cpymn): Likewise.
9006 (norm): Remove commented code.
9007 (denorm): Likewise.
9008 (__mp_dbl): Likewise.
9009 (__inv): Likewise.
9010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9011 (__cpymn): Likewise.
9012 (norm): Remove commented code.
9013 (denorm): Likewise.
9014 (__mp_dbl): Likewise.
9015 (__inv): Likewise.
9016
9017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9018 mp_no value for 1.0 and 2.0.
9019 (norm): Use RADIXI instead of radixi.d.
9020 (denorm): Likewise.
9021 (__mul): Use 0.0 instead of zero.d.
9022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9023 mp_no value for 1.0 and 2.0.
9024 (norm): Use RADIXI instead of radixi.d.
9025 (denorm): Likewise.
9026 (__mul): Use 0.0 instead of zero.d.
9027
9028 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9029
9030 [BZ #14994]
9031 * math/s_casinh.c (__casinh): Reduce finite argument to first
9032 quadrant then set signs of results at the end.
9033 * math/s_casinhf.c (__casinhf): Likewise.
9034 * math/s_casinhl.c (__casinhl): Likewise.
9035 * math/libm-test.inc (casin_test): Add more tests.
9036 (casinh_test): Likewise.
9037 * sysdeps/i386/fpu/libm-test-ulps: Update.
9038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9039
9040 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9041
9042 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9043
9044 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9045
9046 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9047 declarations.
9048 (denorm): Likewise.
9049 (__mp_dbl): Likewise.
9050 (__inv): Likewise.
9051
9052 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9053 and adjust the header comment.
9054
9055 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9056 variable name from declaration.
9057
9058 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9059
9060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9061 Initialize COMMON_CPUID_INDEX_7 element.
9062 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9063 (CPUID_RTM): Likewise.
9064 (HAS_RTM): Likewise.
9065 (COMMON_CPUID_INDEX_7): New enum.
9066
9067 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9068
9069 [BZ #14981]
9070 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9071 size is zero, record memory as freed.
9072
9073 2013-01-03 Andreas Jaeger <aj@suse.de>
9074
9075 * po/ia.po: Add new Interlingua translation.
9076
9077 2012-01-03 Allan McRae <allan@archlinux.org>
9078
9079 * locale/programs/localedef.c: Fix description of '--posix' flag.
9080
9081 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9082
9083 * NEWS: Update dates in second copyright notice.
9084 * README: Update copyright dates in example.
9085 * manual/libc.texinfo: Update copyright dates.
9086 * scripts/test-installation.pl: Update copyright date in --version
9087 output.
9088
9089 * hurd/ctty-input.c: Fix copyright notice formatting.
9090 * hurd/ctty-output.c: Likewise.
9091 * hurd/dtable.c: Likewise.
9092 * hurd/hurd-raise.c: Likewise.
9093 * hurd/hurdprio.c: Likewise.
9094 * hurd/msgportdemux.c: Likewise.
9095 * misc/sys/file.h: Likewise.
9096 * misc/sys/ioctl.h: Likewise.
9097 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9098 * sysdeps/mach/hurd/chdir.c: Likewise.
9099 * sysdeps/mach/hurd/fchdir.c: Likewise.
9100 * sysdeps/mach/hurd/rename.c: Likewise.
9101 * sysdeps/mach/hurd/rmdir.c: Likewise.
9102 * sysdeps/mach/hurd/seekdir.c: Likewise.
9103 * sysdeps/mach/hurd/setsid.c: Likewise.
9104 * sysdeps/posix/wait3.c: Likewise.
9105
9106 * All files with FSF copyright notices: Update copyright dates
9107 using scripts/update-copyrights.
9108 * intl/plural.c: Regenerated.
9109 * locale/programs/charmap-kw.h: Likewise.
9110 * locale/programs/locfile-kw.h: Likewise.
9111
9112 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9113
9114 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9115 four values.
9116
9117 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9118 calculation loop and add branch prediction.
9119
9120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9121 check access beyond bounds of m1np.
9122
9123 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9124 MPTWO.
9125 (__inv): Remove local variable MPTWO to use the global
9126 constant.
9127 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9128 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9129 variable MPTWO.
9130 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9131 MP3HALFS static const.
9132
9133 2013-01-01 David S. Miller <davem@davemloft.net>
9134
9135 * po/ca.po: Update from translation team.
9136
9137 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9138
9139 * scripts/update-copyrights: New file.
9140 * Makeconfig: Reformat copyright notice.
9141 * ctype/ctype.h: Likewise.
9142 * debug/swprintf_chk.c: Likewise.
9143 * elf/dl-cache.c: Likewise.
9144 * elf/dl-debug.c: Likewise.
9145 * elf/dl-object.c: Likewise.
9146 * grp/initgroups.c: Likewise.
9147 * hurd/Makefile: Likewise.
9148 * hurd/hurd/signal.h: Likewise.
9149 * hurd/hurdfault.c: Likewise.
9150 * hurd/hurdioctl.c: Likewise.
9151 * hurd/hurdlookup.c: Likewise.
9152 * hurd/intr-msg.c: Likewise.
9153 * iconv/gconv_open.c: Likewise.
9154 * libio/swprintf.c: Likewise.
9155 * locale/lc-ctype.c: Likewise.
9156 * locale/nl_langinfo.c: Likewise.
9157 * mach/Machrules: Likewise.
9158 * mach/Makefile: Likewise.
9159 * malloc/obstack.h: Likewise.
9160 * manual/Makefile: Likewise.
9161 * manual/tsort.awk: Likewise.
9162 * misc/bits/stab.def: Likewise.
9163 * nis/nis_print_group_entry.c: Likewise.
9164 * nis/nis_table.c: Likewise.
9165 * nis/nss_compat/compat-pwd.c: Likewise.
9166 * nis/nss_compat/compat-spwd.c: Likewise.
9167 * po/Makefile: Likewise.
9168 * posix/fnmatch.c: Likewise.
9169 * posix/regex.h: Likewise.
9170 * resolv/Makefile: Likewise.
9171 * resolv/nss_dns/dns-network.c: Likewise.
9172 * resolv/res_hconf.c: Likewise.
9173 * scripts/gen-sorted.awk: Likewise.
9174 * soft-fp/soft-fp.h: Likewise.
9175 * stdio-common/printf.h: Likewise.
9176 * stdlib/monetary.h: Likewise.
9177 * stdlib/random.c: Likewise.
9178 * stdlib/random_r.c: Likewise.
9179 * sysdeps/generic/Makefile: Likewise.
9180 * sysdeps/gnu/Makefile: Likewise.
9181 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9191 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9192 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9193 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9194 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9195 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9196 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9197 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9198 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9199 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9201 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9202 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9209 * sysdeps/mach/hurd/errnos.awk: Likewise.
9210 * sysdeps/mach/hurd/fork.c: Likewise.
9211 * sysdeps/mach/hurd/getcwd.c: Likewise.
9212 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9213 * sysdeps/mach/hurd/mmap.c: Likewise.
9214 * sysdeps/mach/hurd/utimes.c: Likewise.
9215 * sysdeps/mach/hurd/xmknod.c: Likewise.
9216 * sysdeps/posix/profil.c: Likewise.
9217 * sysdeps/posix/readdir_r.c: Likewise.
9218 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9219 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9220 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9221 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9223 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9224 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9225 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9227 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9228 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9229 * sysdeps/pthread/lio_listio.c: Likewise.
9230 * sysdeps/sparc/dl-procinfo.h: Likewise.
9231 * sysdeps/unix/i386/sysdep.S: Likewise.
9232 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9233 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9234 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9235 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9237 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9238 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9239 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9240 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9241 * sysdeps/wordsize-32/divdi3.c: Likewise.
9242 * time/sys/time.h: Likewise.
9243 * wcsmbs/Makefile: Likewise.
9244
9245 2013-01-01 David S. Miller <davem@davemloft.net>
9246
9247 * po/fr.po: Update from translation team.
9248
9249 * catgets/gencat.c: Update copyright year.
9250 * csu/version.c: Likewise.
9251 * debug/catchsegv.sh: Likewise.
9252 * debug/pcprofiledump.c: Likewise.
9253 * debug/xtrace.sh: Likewise.
9254 * elf/ldconfig.c: Likewise.
9255 * elf/ldd.bash.in: Likewise.
9256 * elf/pldd.c: Likewise.
9257 * elf/sotruss.ksh: Likewise.
9258 * elf/sprof.c: Likewise.
9259 * iconv/iconv_prog.c: Likewise.
9260 * iconv/iconvconfig.c: Likewise.
9261 * locale/programs/locale.c: Likewise.
9262 * locale/programs/localedef.c: Likewise.
9263 * login/programs/pt_chown.c: Likewise.
9264 * malloc/memusage.sh: Likewise.
9265 * malloc/memusagestat.c: Likewise.
9266 * malloc/mtrace.pl: Likewise.
9267 * nscd/nscd.c: Likewise.
9268 * nss/getent.c: Likewise.
9269 * nss/makedb.c: Likewise.
9270 * posix/getconf.c: Likewise.
9271
9272 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9273
9274 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9275 numbers.
9276
9277 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9278
9279 * math/bits/mathcalls.h (modf): Use __nonnull.
9280
9281 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9282
9283 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9284 (split): Use macro CN instead of the bare value.
9285 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9286 could be used.
9287 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9288 instead of the bare value.
9289 (power1): Likewise.
9290
9291 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9292
9293 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9294 __ATAN_TWOM.
9295 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9296
9297 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9298 their values.
9299 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9300 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9301 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9302 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9303
9304 2012-12-28 Andreas Jaeger <aj@suse.de>
9305
9306 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9307 values are from Linux 3.7.
9308
9309 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9310 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9311
9312 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9313
9314 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9315 TRUE case.
9316
9317 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9318 (norm): Likewise.
9319 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9320 variables with preprocessor constants.
9321 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9322 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9323 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9324
9325 2012-12-27 Bruno Haible <bruno@clisp.org>
9326
9327 [BZ #14317]
9328 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9329 only if needed.
9330
9331 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9332
9333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9334 and use variable directly.
9335 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9336
9337 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9338 MPONE.
9339 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9340 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9341 variable MPONE.
9342 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9344 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9345 include directive. Remove local variable MPONE.
9346 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9347 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9348 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9349
9350 2012-12-25 David S. Miller <davem@davemloft.net>
9351
9352 * version.h (RELEASE): Set to "development".
9353 (VERSION): Set to "2.17.90".
9354 * NEWS: Add 2.18 section.
9355
9356 2012-12-21 David S. Miller <davem@davemloft.net>
9357
9358 * po/hr.po: Update from translation team.
9359
9360 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9361
9362 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9363
9364 2012-12-19 Steve Ellcey <sellcey@mips.com>
9365
9366 * NEWS: Mention new memcpy for MIPS.
9367
9368 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9369
9370 * manual/contrib.texi (Contributors): Spelling correction.
9371
9372 2012-12-15 David S. Miller <davem@davemloft.net>
9373
9374 * po/ru.po: Update from translation team.
9375
9376 2012-12-13 David S. Miller <davem@davemloft.net>
9377
9378 * NEWS: Mention IFUNC testsuite enhancements.
9379
9380 * po/pl.po: Update from translation team.
9381 * po/bg.po: Likewise.
9382
9383 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9384 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9385
9386 2012-12-11 David S. Miller <davem@davemloft.net>
9387
9388 * po/sv.po: Update from translation team.
9389
9390 * po/vi.po: Update from translation team.
9391
9392 * po/cs.po: Update from translation team.
9393
9394 * po/de.po: Update from translation team.
9395 * po/eo.po: Likewise.
9396 * po/nl.po: Likewise.
9397
9398 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9399
9400 [BZ #14246]
9401 * manual/argp.texi (Argp Helper Functions): Move node to follow
9402 Argp Parsing State.
9403
9404 [BZ #14872]
9405 * manual/conf.texi (Limits on File System Capacity): Mention if
9406 terminating null is included in the max size.
9407
9408 2012-12-10 Andreas Jaeger <aj@suse.de>
9409
9410 * po/cs.po: Update from translation team.
9411
9412 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9413
9414 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9415 void pointer and cast to uintptr_t.
9416 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9417 path.
9418 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9419 * sysdeps/s390/s390-64/memset.S: Likewise.
9420
9421 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
9422
9423 [BZ #14833]
9424 * menual/message.texi (Message Translation): Fix typos.
9425 (Helper programs for gettext): Likewise.
9426
9427 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9428
9429 [BZ #14898]
9430 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9431 Change to -1.
9432
9433 2012-12-07 David S. Miller <davem@davemloft.net>
9434
9435 * po/libc.pot: Update.
9436
9437 2012-12-07 Richard Henderson <rth@redhat.com>
9438
9439 [BZ #10114]
9440 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9441 normal/normal case to before the switch.
9442 (_FP_DIV): Likewise.
9443
9444 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9445 Mike Frysinger <vapier@gentoo.org>
9446
9447 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9448 check for __NR_fadvise64_64.
9449
9450 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9451
9452 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9453 0, not just to plain "0" as a statement.
9454 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9455 with cw.
9456
9457 2012-12-06 Joseph Myers <joseph@codesourcery.com>
9458
9459 * NEWS: Use sourceware.org in Bugzilla URL.
9460
9461 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9462
9463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9464 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9465
9466 * stdio-common/tst-put-error.c (do_test): Add newline to the
9467 padded test to ensure flush.
9468
9469 2012-12-05 Jeff Law <law@redhat.com>
9470
9471 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9472
9473 2012-12-05 Joseph Myers <joseph@codesourcery.com>
9474
9475 * README: Don't refer to ports add-on as distributed separately.
9476 Mention AArch64 in list of systems supported in the ports add-on.
9477
9478 * LICENSES: Add more non-FSF copyright and license notices.
9479
9480 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9481 ((unused)).
9482
9483 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9484
9485 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9486 10000 as width of padded output.
9487
9488 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9489
9490 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9491
9492 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9493 variable LX with __attribute__ ((unused)).
9494 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9495 Likewise.
9496 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9497 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9498 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9499 with __attribute__ ((unused)).
9500
9501 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
9502
9503 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9504
9505 2012-12-04 Joseph Myers <joseph@codesourcery.com>
9506
9507 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9508 (CFLAGS-nldbl-acos.c): New variable.
9509 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9510 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9511 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9512 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9513 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9514 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9515 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9516 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9517 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9518 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9519 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9520 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9521 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9522 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9523 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9524 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9525 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9526 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9527 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9528 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9529 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9530 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9531 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9532 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9533 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9534 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9535 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9536 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9537 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9538 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9539 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9540 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9541 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9542 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9543 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9544 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9545 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9546 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9547 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9548 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9549 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9550 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9551 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9552 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9553 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9554 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9555 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9556 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9557 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9558 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9559 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9560 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9561 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9562 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9563 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9564 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9565 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9566 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9567 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9568 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9569 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9570 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9571 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9572 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9573 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9574 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9575 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9576 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9577 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9578 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9579 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9580 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9581 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9582 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9583 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9584 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9585 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9586 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9587 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9588 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9589 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9590 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9591 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9592 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9593 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9594 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9595 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9596 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9597 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9598 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9599 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9600 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9601 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9602 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9603 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9604 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9605 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9606
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9608 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9609
9610 [BZ #14914]
9611 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9612 whole low double instead of just low 47 bits when splitting values
9613 into two parts.
9614
9615 2012-12-03 Allan McRae <allan@archlinux.org>
9616
9617 * manual/stdio.texi (Predefined Printf Handlers): Remove
9618 @hsep and @vsep usage.
9619
9620 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9621
9622 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9623 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9624
9625 2012-12-03 Jeff Law <law@redhat.com>
9626
9627 * time/sys/time.h (settimeofday): Do not mark TV argument
9628 as __nonnull.
9629
9630 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9631
9632 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9633 when currently writing and seek to current position when not.
9634 * libio/Makefile (tests): Remove bug-fclose1.
9635 * libio/bug-fclose1.c: Delete.
9636
9637 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9638
9639 * manual/arith.texi (feenableexcept): Fix typo.
9640 (fedisableexcept): Likewise.
9641
9642 2012-11-30 Roland McGrath <roland@hack.frob.com>
9643
9644 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9645 second, differently-typed declaration, rather than a cast.
9646
9647 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9648
9649 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9650 * include/rpc/svc.h: ... here.
9651
9652 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9653
9654 [BZ #13013]
9655 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9656 depending n and resplen2 to catch cases where answer
9657 equals answerp2.
9658
9659 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9660
9661 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9662 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9663
9664 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9665
9666 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9667
9668 2012-11-29 Roland McGrath <roland@hack.frob.com>
9669
9670 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9671
9672 2012-11-28 Jeff Law <law@redhat.com>
9673
9674 [BZ #13761]
9675 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9676 dataset_temporary. Track alloca usage into alloca_used.
9677 If dataset is large allocate and release it via malloc/free.
9678
9679 2012-06-04 Florian Weimer <fweimer@redhat.com>
9680
9681 [BZ #14197]
9682 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9683
9684 2012-11-28 David S. Miller <davem@davemloft.net>
9685
9686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9687
9688 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9689
9690 [BZ #14803]
9691 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9692 of pi/2 rounded to nearest to 64 bits.
9693 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9694 nearest to 64 bits.
9695 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9696 bits.
9697
9698 2012-11-28 Jeff Law <law@redhat.com>
9699 Martin Osvald <mosvald@redhat.com>
9700
9701 [BZ #14889]
9702 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9703 * sunrpc/svc.c: Include time.h.
9704 (__svc_accept_failed): New function.
9705 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9706 any reason other than EINTR, call __svc_accept_failed.
9707 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9708 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9709
9710 2012-11-28 Andreas Schwab <schwab@suse.de>
9711
9712 * scripts/abilist.awk: Also handle indirect functions in .opd
9713 section.
9714
9715 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9716
9717 [BZ #13881]
9718 * sysdeps/x86/fpu/powl_helper.c: New file.
9719 * sysdeps/x86/fpu/Makefile: Likewise.
9720 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9721 (p3): New object.
9722 (__ieee754_powl): Use __powl_helper for finite arguments except
9723 integer exponents below 8.
9724 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9725 (p3): New object.
9726 (__ieee754_powl): Use __powl_helper for finite arguments except
9727 integer exponents below 8.
9728 * math/libm-test.inc (pow_test): Add more tests and enable some
9729 previously disabled tests.
9730 * sysdeps/i386/fpu/libm-test-ulps: Update.
9731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9732
9733 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9734 Carlos O'Donell <carlos_odonell@mentor.com>
9735
9736 * nss/makedb.c (is_prime): Assert that input is odd and greater
9737 than 4. Note that fact in a comment too.
9738 (next_prime): Add 4 to input.
9739
9740 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9741
9742 [BZ #11741]
9743 * libio/Makefile (tests): Add test case tst-fwrite-error.
9744 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9745 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9746 * libio/tst-fwrite-error.c: New test case.
9747
9748 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9749
9750 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9751 before casting to void *.
9752 * include/libc-internal.h (__pointer_type): New macro.
9753 (__integer_if_pointer_type_sub): Likewise.
9754 (__integer_if_pointer_type): Likewise.
9755 (cast_to_integer): Likewise.
9756 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9757 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9758 before casting to atomic64_t.
9759 (atomic_exchange_acq): Likewise.
9760 (__arch_exchange_and_add_body): Likewise.
9761 (__arch_add_body): Likewise.
9762 (atomic_add_negative): Likewise.
9763 (atomic_add_zero): Likewise.
9764
9765 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9766
9767 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9768 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9769 (add_fdes): Likewise.
9770 (linear_search_fdes): Likewise.
9771 (binary_search_unencoded_fdes): Likewise.
9772
9773 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9774
9775 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9776
9777 2012-11-24 Adam Conrad <adconrad@0c3.net>
9778
9779 * configure.in: Autodetect C++ header directories.
9780 * configure: Regenerated.
9781
9782 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9783
9784 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9785
9786 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9787
9788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9789
9790 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9791
9792 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9793 LDBL_MANT_DIG == 106]: Disable some tests.
9794 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9795 Likewise.
9796 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9797 Likewise.
9798
9799 [BZ #14871]
9800 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9801 input for small inputs. Return +/- pi/2 for large inputs.
9802 * math/libm-test.inc (atan_test): Add more tests.
9803
9804 * sysdeps/generic/unwind-dw2-fde-glibc.c
9805 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9806 __attribute__ ((unused)).
9807
9808 [BZ #14645]
9809 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9810 x * y if x and y are nonzero and z is zero.
9811
9812 [BZ #14811]
9813 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9814 nonzero exponents with absolute value below 0x1p-117 to +/-
9815 0x1p-117.
9816
9817 [BZ #14869]
9818 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9819 up arguments below 2**-450, not just those below 2**-500.
9820 * math/libm-test.inc (hypot_test): Add another test.
9821
9822 [BZ #14868]
9823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9824 Return a+b for ratio over 2**120, not 2**60.
9825 * math/libm-test.inc (hypot_test): Add another test.
9826
9827 * math/libm-test.inc (clog_test): Use
9828 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9829 (clog10_test): Likewise.
9830
9831 [BZ #6778]
9832 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9833
9834 2012-11-22 Andreas Schwab <schwab@suse.de>
9835
9836 * sysdeps/i386/fpu/libm-test-ulps: Update.
9837
9838 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9839
9840 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9841 printf output with newline.
9842
9843 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9844
9845 [BZ #14865]
9846 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9847 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9848 -z nodlopen, -z initfirst and -z execstack support.
9849 * configure: Regenerated.
9850
9851 * elf/elf.h (DF_1_NODIRECT): New macro.
9852 (DF_1_IGNMULDEF): Likewise.
9853 (DF_1_NOKSYMS): Likewise.
9854 (DF_1_NOHDR): Likewise.
9855 (DF_1_EDITED): Likewise.
9856 (DF_1_NORELOC): Likewise.
9857 (DF_1_SYMINTPOSE): Likewise.
9858 (DF_1_GLOBAUDIT): Likewise.
9859 (DF_1_SINGLETON): Likewise.
9860 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9861 DT_1_SUPPORTED_MASK bits.
9862 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9863
9864 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9865
9866 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9867
9868 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9869
9870 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9871 macro.
9872
9873 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9874 (sendmmsg): Move declarations...
9875 * socket/sys/socket.h: ... here.
9876 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9877 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9878 include it from...
9879 * socket/recvmmsg.c: ... this new file.
9880 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9881 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9882 definition of __sendmmsg hidden.
9883 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9884 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9885 Move ENOSYS stub into and include it from...
9886 * socket/sendmmsg.c: ... this new file.
9887 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9888 (sysdep_routines): Move recvmmsg and sendmmsg...
9889 * socket/Makefile (routines): ... here.
9890 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9891 (GLIBC_PRIVATE): Add __sendmmsg.
9892 * include/sys/socket.h (__sendmmsg): Add declarations.
9893 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9894 sendmmsg.
9895
9896 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9897
9898 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9899 variable I1 with __attribute__ ((unused)).
9900 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9901
9902 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9903
9904 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9905 DUMMY variables with __attribute__ ((unused)).
9906
9907 * bits/byteswap.h: Include <bits/types.h>.
9908 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9909
9910 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9911
9912 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9913 string_t. Do not manually set errno.
9914 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9915 length with __strnlen. Make sure to both set errno and return it on
9916 failure.
9917
9918 2012-11-19 David S. Miller <davem@davemloft.net>
9919
9920 With help from Joseph Myers.
9921 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9922 very large arguments properly.
9923 * math/libm-test.inc (atan_test): New tests.
9924 (atan2_test): New tests.
9925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9927
9928 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9929
9930 [BZ #14856]
9931 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9932 Define to 3.
9933
9934 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9935 [POSIX] (EADDRNOTAVAIL): Likewise.
9936 [POSIX] (EAFNOSUPPORT): Likewise.
9937 [POSIX] (EALREADY): Likewise.
9938 [POSIX] (ECONNABORTED): Likewise.
9939 [POSIX] (ECONNREFUSED): Likewise.
9940 [POSIX] (ECONNRESET): Likewise.
9941 [POSIX] (EDESTADDRREQ): Likewise.
9942 [POSIX] (EDQUOT): Likewise.
9943 [POSIX] (EHOSTUNREACH): Likewise.
9944 [POSIX] (EIDRM): Likewise.
9945 [POSIX] (EISCONN): Likewise.
9946 [POSIX] (ELOOP): Likewise.
9947 [POSIX] (EMULTIHOP): Likewise.
9948 [POSIX] (ENETDOWN): Likewise.
9949 [POSIX] (ENETUNREACH): Likewise.
9950 [POSIX] (ENOBUFS): Likewise.
9951 [POSIX] (ENODATA): Likewise.
9952 [POSIX] (ENOLINK): Likewise.
9953 [POSIX] (ENOMSG): Likewise.
9954 [POSIX] (ENOPROTOOPT): Likewise.
9955 [POSIX] (ENOSR): Likewise.
9956 [POSIX] (ENOSTR): Likewise.
9957 [POSIX] (ENOTCONN): Likewise.
9958 [POSIX] (ENOTSOCK): Likewise.
9959 [POSIX] (EOPNOTSUPP): Likewise.
9960 [POSIX] (EOVERFLOW): Likewise.
9961 [POSIX] (EPROTO): Likewise.
9962 [POSIX] (EPROTONOSUPPORT): Likewise.
9963 [POSIX] (EPROTOTYPE): Likewise.
9964 [POSIX] (ESTALE): Likewise.
9965 [POSIX] (ETIME): Likewise.
9966 [POSIX] (ETXTBSY): Likewise.
9967 [POSIX] (EWOULDBLOCK): Likewise.
9968 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9969 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9970 [POSIX] (SEEK_CUR): Likewise.
9971 [POSIX] (SEEK_END): Likewise.
9972 [POSIX || UNIX98] (mode_t): Do not require.
9973 [POSIX] (off_t): Likewise.
9974 [POSIX] (pid_t): Likewise.
9975 [POSIX] (sys/stat.h): Do not allow header.
9976 [POSIX] (unistd.h): Likewise.
9977 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9978 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9979 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9980 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9981 require.
9982 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9983 sigevent): Specify elements.
9984 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9985 entry.
9986 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9987 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9988
9989 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9990 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9991 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9992 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9993 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9994 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9995 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9996 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9997 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9998 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9999 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10000 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10001 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10002 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10003 Likewise.
10004 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10005 Likewise.
10006 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10007 Likewise.
10008 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10009 Likewise.
10010 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10011 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10012 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10013 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10014 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10015 Specify lower bound on value.
10016 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10017 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10018 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10019 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10020 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10021 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10022 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10023 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10024 value.
10025 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10026 as optional.
10027 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10028 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10029 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10030 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10031 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10032 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10033 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10034 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10035 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10036 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10037 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10038 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10039 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10040 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10041 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10042 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10043 entry.
10044 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10045 optional.
10046 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10047 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10048 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10049 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10050 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10051 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10052 Likewise.
10053 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10054 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10055 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10056 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10057 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10058 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10059 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10060 as optional.
10061 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10062 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10063 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10064 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10065 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10066 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10067 specify as optional.
10068 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10069 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10070 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10071 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10072 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10073 [XPG3] (NL_LANGMAX): Likewise.
10074 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10075 [POSIX || XPG3] (NL_NMAX): Likewise.
10076 [POSIX || XPG3] (NL_SETMAX): Likewise.
10077 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10078 [XPG3] (NZERO): Likewise.
10079 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10080 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10081 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10082 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10083 (REG_ERANGE): Expect.
10084 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10085 optional-constant.
10086 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10087 Use (void) in prototype.
10088 [POSIX] (*_t): Allow.
10089 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10090 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10091 (WRDE_BADVAL): Expect.
10092
10093 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10094 expect.
10095 [XPG3 || XPG4] (O_RSYNC): Likewise.
10096 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10097 Likewise.
10098 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10099 [XPG3 || XPG4] (sigqueue): Likewise.
10100 [XPG3 || XPG4] (sigtimedwait): Likewise.
10101 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10102 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10103 [XPG3 || XPG4] (vsnprintf): Likewise.
10104 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10105 Likewise.
10106 [XPG3 || XPG4] (blksize_t): Likewise.
10107 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10108 Likewise.
10109 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10110 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10111 [XPG3 || XPG4] (struct itimerspec): Likewise.
10112 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10113 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10114 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10115 [XPG3 || XPG4] (clockid_t): Likewise.
10116 [XPG3 || XPG4] (timer_t): Likewise.
10117 [XPG3 || XPG4] (clock_getres): Likewise.
10118 [XPG3 || XPG4] (clock_gettime): Likewise.
10119 [XPG3 || XPG4] (clock_settime): Likewise.
10120 [XPG3 || XPG4] (nanosleep): Likewise.
10121 [XPG3 || XPG4] (timer_create): Likewise.
10122 [XPG3 || XPG4] (timer_delete): Likewise.
10123 [XPG3 || XPG4] (timer_gettime): Likewise.
10124 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10125 [XPG3 || XPG4] (timer_settime): Likewise.
10126 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10127 [XPG3 || XPG4] (getlogin_r): Likewise.
10128 [XPG3 || XPG4] (pread): Likewise.
10129 [XPG3 || XPG4] (pthread_atfork): Likewise.
10130 [XPG3 || XPG4] (pwrite): Likewise.
10131
10132 [BZ #14835]
10133 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10134 <bits/siginfo.h>.
10135
10136 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10137
10138 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10139 finalizing MALLSTREAM.
10140
10141 * sysdeps/mach/hurd/syncfs.c: New file.
10142
10143 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10144
10145 [BZ #14719]
10146 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10147 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10148 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10149 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10150 (_nss_dns_gethostbyname4_r): Likewise.
10151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10152 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10153
10154 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10155
10156 [BZ #13763]
10157 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10158
10159 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10160
10161 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10162 * elf/cache.c (print_entry): Print ",AArch64" for
10163 FLAG_AARCH64_LIB64
10164
10165 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10166 * elf/cache.c (print_entry): Print ",hard-float" for
10167 FLAG_ARM_LIBHF.
10168
10169 2012-11-18 David S. Miller <davem@davemloft.net>
10170
10171 With help from Joseph Myers.
10172 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10173 cutoff to 2**-13.
10174 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10175 cutoff to 2**-25.
10176 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10177 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10178 small.
10179 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10180 * math/libm-test.inc (y0_test): New tests.
10181 (y1_test): New tests.
10182 * sysdeps/i386/fpu/libm-test-ulps: Update.
10183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10185
10186 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10187
10188 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10189 64-bit targets.
10190 * configure: Regenerated.
10191
10192 2012-11-17 David S. Miller <davem@davemloft.net>
10193
10194 [BZ #14811]
10195 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10196 nonzero exponents with absolute value below 0x1p-128 to +/-
10197 0x1p-128.
10198
10199 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10200
10201 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10202
10203 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10204
10205 * posix/getconf-speclist.c: New file.
10206 * posix/posix-envs.def: Likewise.
10207 * posix/confstr.c (START_ENV_GROUP): New macro.
10208 (END_ENV_GROUP): Likewise.
10209 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10210 (KNOWN_PRESENT_ENV_STRING): Likewise.
10211 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10212 (UNKNOWN_ENVIRONMENT): Likewise.
10213 (confstr): Include posix-envs.def instead of handling
10214 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10215 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10216 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10217 (END_ENV_GROUP): Likewise.
10218 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10219 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10220 (UNKNOWN_ENVIRONMENT): Likewise.
10221 (__sysconf): Include posix-envs.def instead of handling associated
10222 cases directly here.
10223 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10224 preprocessing getconf-speclist.c rather than running getconf or
10225 generating empty file.
10226
10227 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10228
10229 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10230
10231 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10232
10233 [BZ #14672]
10234 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10235
10236 2012-11-16 David S. Miller <davem@davemloft.net>
10237
10238 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10239 smaller than LDBL_EPSILON/2.0L, just return xm1.
10240
10241 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10242
10243 * elf/tst-array1.c (init): Set constructor priority to 1000.
10244 (fini): Set destructor priority to 1000.
10245 * elf/tst-array2dep.c: Likewise.
10246
10247 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10248
10249 [BZ #11741]
10250 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10251 (_IO_new_file_xsputn): Also return EOF if none of the input
10252 data was written when overflow failed.
10253 * libio/iopadn.c (_IO_padn): Likewise.
10254 * libio/iowpadn.c (_IO_wpadn): Likewise.
10255 * stdio-common/tst-put-error.c: Add copyright notice.
10256 (do_test): Add case for printing padded string.
10257 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10258 _IO_padn returned error.
10259 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10260 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10261 return EOF.
10262
10263 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10264
10265 * libio/libioP.h: Add comment note that the references to C++
10266 bits are now obsolete.
10267
10268 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10269
10270 * math/libm-test.inc (check_complex): Use asprintf.
10271
10272 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10273
10274 * debug/pcprofiledump.c (print_version): Update copyright year.
10275 * malloc/memusagestat.c (print_version): Likewise.
10276
10277 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10278
10279 [BZ #14831]
10280 * elf/Makefile (tests): Add tst-audit8.
10281 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10282 ($(objpfx)tst-audit8.out): New target.
10283 (tst-audit8-ENV): New variable.
10284 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10285 audit if l_reloc_result is NULL.
10286 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10287 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10288 * elf/tst-audit8.c: New file.
10289
10290 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10291
10292 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10293 * misc/Makefile (CFLAGS-select.c): Define.
10294 * posix/Makefile (CFLAGS-pause.c): Define.
10295
10296 2012-11-13 David S. Miller <davem@davemloft.net>
10297
10298 * crypt/Makefile: Move test targets after toplevel Rules
10299 inclusion. Grab any necessary sysdep routines when linking.
10300 * crypt/md5.c (md5_process_block): Remove define, we will always
10301 name it __md5_process_block.
10302 (md5_finish_ctx): Update md5_process_block call.
10303 (md5_stream): Likewise.
10304 (md5_process_bytes): Likewise.
10305 (md5_process_block): Rename to __md5_process_block and move to ...
10306 * crypt/md5-block.c: ... here.
10307 * crypt/sha256.c (sha256_process_block): Move to ...
10308 * crypt/sha256-block.c: ... here.
10309 * crypt/sha512.c (sha512_process_block): Move to ...
10310 * crypt/sha512-block.c: ... here.
10311 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10312 path.
10313 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10314 * sysdeps/sparc/sparc64/multiarch/Makefile
10315 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10316 crypt subdir.
10317 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10318 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10319 multiarch changes.
10320 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10321 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10322 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10323 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10324 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10325 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10326 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10327 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10328 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10329 file.
10330 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10331 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10332 file.
10333 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10334
10335 2012-11-13 Joseph Myers <joseph@codesourcery.com>
10336
10337 * timezone/tzselect.ksh: Update from tzcode git revision
10338 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10339 * timezone/zdump.c: Likewise.
10340 * timezone/zic.c: Likewise.
10341 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10342 in TZVERSION setting, not $(PKGVERSION).
10343 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10344 REPORT_BUGS_TO settings.
10345
10346 [BZ #14838]
10347 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10348 macro.
10349
10350 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10351
10352 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10353 detection to immediately after _FP_ROUND().
10354 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10355 bits are 0.
10356
10357 2012-11-11 David S. Miller <davem@davemloft.net>
10358
10359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10360 inttypes.h
10361 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10362 __close rather than their public counterparts.
10363
10364 2012-11-10 Joseph Myers <joseph@codesourcery.com>
10365
10366 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10367 file.
10368 [UNIX98] (sem_timedwait): Do not expect.
10369 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10370 [XPG4 || UNIX98] (sockatmark): Do not expect.
10371 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10372 (clock_getcpuclockid): Do not expect.
10373 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10374 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10375 Do not expect.
10376 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10377 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10378 [UNIX98] (vwscanf): Likewise.
10379 [UNIX98] (vswscanf): Likewise.
10380
10381 2012-11-09 Joseph Myers <joseph@codesourcery.com>
10382
10383 * timezone/version.h: Remove file.
10384 * timezone/README: Do not refer to version.h.
10385 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10386 $(objpfx)version.h.
10387 ($(objpfx)zdump.o): Likewise.
10388 ($(objpfx)version.h): New target.
10389
10390 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10391 2012i.
10392 * timezone/README: Don't mention modification to tzselect.ksh.
10393 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10394 work on unmodified tzselect.ksh. Substitute version numbers in
10395 tzselect.ksh.
10396
10397 * Makefile (format-me): Remove.
10398 (INSTALL): Adjust indentation. Use commands directly instead of
10399 using $(format-me).
10400
10401 * aclocal.m4 (ACX_PKGVERSION): New macro.
10402 (ACX_BUGURL): Likewise.
10403 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10404 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10405 (REPORT_BUGS_TO): Likewise.
10406 * configure: Regenerated.
10407 * config.h.in (PKGVERSION): New macro.
10408 (REPORT_BUGS_TO): Likewise.
10409 * config.make.in (PKGVERSION): New variable.
10410 (PKGVERSION_TEXI): Likewise.
10411 (REPORT_BUGS_TO): Likewise.
10412 (REPORT_BUGS_TEXI): Likewise.
10413 * Makefile (format-me): Use -I$(common-objpfx)manual.
10414 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10415 ($(common-objpfx)manual/%): New target.
10416 (manual/%): Remove target.
10417 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10418 (print_version): Use PKGVERSION.
10419 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10420 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10421 and REPORT_BUGS_TO.
10422 ($(objpfx)xtrace): Likewise.
10423 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10424 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10425 (print_version): Use PKGVERSION.
10426 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10427 (do_version): Use PKGVERSION.
10428 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10429 REPORT_BUGS_TO.
10430 (common-ldd-rewrite): Likewise.
10431 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10432 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10433 (print_version): Use PKGVERSION.
10434 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10435 * elf/pldd.c (argp_program_bug_address): Remove variable.
10436 (more_help): New function.
10437 (argp): Use more_help.
10438 (print_version): Use PKGVERSION.
10439 * elf/sln.c (main): Use PKGVERSION.
10440 (usage): Use REPORT_BUGS_TO.
10441 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10442 (top level): Use PKGVERSION.
10443 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10444 (print_version): Use PKGVERSION.
10445 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10446 (print_version): Use PKGVERSION.
10447 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10448 (print_version): Use PKGVERSION.
10449 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10450 (print_version): Use PKGVERSION.
10451 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10452 (print_version): Use PKGVERSION.
10453 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10454 (print_version): Use PKGVERSION.
10455 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10456 and BUGURL.
10457 ($(objpfx)memusage): Likewise.
10458 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10459 (do_version): Use PKGVERSION.
10460 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10461 (print_version): Use PKGVERSION.
10462 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10463 ($PKGVERSION): New variable.
10464 ($REPORT_BUGS_TO): Likewise.
10465 (usage): Use $REPORT_BUGS_TO.
10466 (top level): Use $PKGVERSION.
10467 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10468 ($(objpfx)pkgvers.texi): New rule.
10469 ($(objpfx)stamp-pkgvers): Likewise.
10470 * manual/install.texi: Include pkgvers.texi.
10471 (--with-pkgversion): Document new configure option.
10472 (--with-bugurl): Likewise.
10473 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10474 than necessarily for this particular distribution. Use
10475 REPORT_BUGS_TO for where to report bugs.
10476 * INSTALL: Regenerated.
10477 * manual/libc.texinfo: Include pkgvers.texi.
10478 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10479 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10480 (print_version): Use PKGVERSION.
10481 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10482 (print_version): Use PKGVERSION.
10483 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10484 (print_version): Use PKGVERSION.
10485 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10486 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10487 macro.
10488 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10489 (print_version): Use PKGVERSION.
10490 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10491 (print_version): Use PKGVERSION.
10492 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10493 and PKGVERSION.
10494
10495 * timezone/checktab.awk: Update from tzcode 2012i.
10496 * timezone/ialloc.c: Likewise.
10497 * timezone/private.h: Likewise.
10498 * timezone/scheck.c: Likewise.
10499 * timezone/tzfile.h: Likewise.
10500 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10501 (TZVERSION): Hardcode tzcode version number.
10502 * timezone/zdump.c: Update from tzcode 2012i.
10503 * timezone/zic.c: Likewise.
10504 * timezone/version.h: New file.
10505 * timezone/README: Describe version.h. Update upstream location.
10506
10507 [BZ #14824]
10508 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10509 (mktemp): Enable declaration.
10510 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10514 Likewise.
10515 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10516 Likewise.
10517 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10518 Likewise.
10519 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10520 Likewise.
10521 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10522 Likewise.
10523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10524 Likewise.
10525
10526 [BZ #14821]
10527 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10528 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10529 for copies of such integer values.
10530 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10531 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10532
10533 2012-11-09 Andreas Jaeger <aj@suse.de>
10534
10535 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10536 definitions and declarations that are provided by
10537 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10538
10539 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10540
10541 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10542 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10543 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10544 definition.
10545
10546 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10547
10548 * elf/elf.h: Update comment before AArch64 relocations.
10549
10550 2012-11-07 David S. Miller <davem@davemloft.net>
10551
10552 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10553 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10554 (__start_context): Declare.
10555 (__makecontext_ret): Delete.
10556 (__makecontext): Hook up __start_context instead of
10557 __makecontext_ret.
10558 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10559 (sysdep_routines): Add __start_context when in stdlib.
10560
10561 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10562
10563 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10564 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10565 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10566 hardcoded "nm".
10567 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10568 (READELF): New variable. Use it instead of hardcoded "readelf".
10569
10570 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10571
10572 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10573 * sysdeps/x86/Makefile: Here.
10574 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10575 * sysdeps/x86/tst-xmmymm.sh: This.
10576
10577 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10578
10579 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10580 expectations.
10581 [UNIX98] (pthread_barrier_t): Do not expect.
10582 [UNIX98] (pthread_barrierattr_t): Likewise.
10583 [UNIX98] (pthread_spinlock_t): Likewise.
10584 [UNIX98] (pthread_barrier_destroy): Likewise.
10585 [UNIX98] (pthread_barrier_init): Likewise.
10586 [UNIX98] (pthread_barrier_wait): Likewise.
10587 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10588 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10589 [UNIX98] (pthread_barrierattr_init): Likewise.
10590 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10591 [UNIX98] (pthread_getcpuclockid): Likewise.
10592 [UNIX98] (pthread_mutex_timedlock): Likewise.
10593 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10594 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10595 [UNIX98] (pthread_sigmask): Likewise.
10596 [UNIX98] (pthread_spin_destroy): Likewise.
10597 [UNIX98] (pthread_spin_init): Likewise.
10598 [UNIX98] (pthread_spin_lock): Likewise.
10599 [UNIX98] (pthread_spin_trylock): Likewise.
10600 [UNIX98] (pthread_spin_unlock): Likewise.
10601 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10602 Do not expect.
10603 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10604 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10605 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10606 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10607 [XPG3 || XPG4] (pthread_key_t): Likewise.
10608 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10609 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10610 [XPG3 || XPG4] (pthread_once_t): Likewise.
10611 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10612 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10613 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10614 [XPG3 || XPG4] (pthread_t): Likewise.
10615
10616 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10617 not expect.
10618 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10619
10620 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10621 Change function return type to int.
10622
10623 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10624 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10625 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10626 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10627 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10628 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10629 [!POSIX] (posix_madvise): Likewise.
10630 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10631 && !UNIX98].
10632 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10633 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10634 (mode_t): Likewise.
10635 (posix_mem_offset): Likewise.
10636 (posix_typed_mem_get_info): Likewise.
10637 (posix_typed_mem_open): Likewise.
10638
10639 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10640 Change condition to [XOPEN2K8].
10641
10642 * conform/conformtest.pl: Preprocess allow-header data with -x c
10643 instead of from stdin.
10644 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10645 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10646 [C99-based standards] (cerfc): Likewise.
10647 [C99-based standards] (cexp2): Likewise.
10648 [C99-based standards] (cexpm1): Likewise.
10649 [C99-based standards] (clog10): Likewise.
10650 [C99-based standards] (clog1p): Likewise.
10651 [C99-based standards] (clog2): Likewise.
10652 [C99-based standards] (clgamma): Likewise.
10653 [C99-based standards] (ctgamma): Likewise.
10654 [C99-based standards] (cerff): Likewise.
10655 [C99-based standards] (cerfcf): Likewise.
10656 [C99-based standards] (cexp2f): Likewise.
10657 [C99-based standards] (cexpm1f): Likewise.
10658 [C99-based standards] (clog10f): Likewise.
10659 [C99-based standards] (clog1pf): Likewise.
10660 [C99-based standards] (clog2f): Likewise.
10661 [C99-based standards] (clgammaf): Likewise.
10662 [C99-based standards] (ctgammaf): Likewise.
10663 [C99-based standards] (cerfl): Likewise.
10664 [C99-based standards] (cerfcl): Likewise.
10665 [C99-based standards] (cexp2l): Likewise.
10666 [C99-based standards] (cexpm1l): Likewise.
10667 [C99-based standards] (clog10l): Likewise.
10668 [C99-based standards] (clog1pl): Likewise.
10669 [C99-based standards] (clog2l): Likewise.
10670 [C99-based standards] (clgammal): Likewise.
10671 [C99-based standards] (ctgammal): Likewise.
10672 * conform/data/inttypes.h-data [C99-based standards]: Include
10673 stdint.h-data. Remove all expectations for stdint.h contents.
10674 [C99-based standards] (PRI*): Do not allow.
10675 [C99-based standards] (SCN*): Likewise.
10676 [C99-based standards] (*_t): Likewise.
10677 [C99-based-standards] (PRId8): Expect macro.
10678 [C99-based-standards] (PRIi8): Likewise.
10679 [C99-based-standards] (PRIo8): Likewise.
10680 [C99-based-standards] (PRIu8): Likewise.
10681 [C99-based-standards] (PRIx8): Likewise.
10682 [C99-based-standards] (PRIX8): Likewise.
10683 [C99-based-standards] (SCNd8): Likewise.
10684 [C99-based-standards] (SCNi8): Likewise.
10685 [C99-based-standards] (SCNo8): Likewise.
10686 [C99-based-standards] (SCNu8): Likewise.
10687 [C99-based-standards] (SCNx8): Likewise.
10688 [C99-based-standards] (PRIdLEAST8): Likewise.
10689 [C99-based-standards] (PRIiLEAST8): Likewise.
10690 [C99-based-standards] (PRIoLEAST8): Likewise.
10691 [C99-based-standards] (PRIuLEAST8): Likewise.
10692 [C99-based-standards] (PRIxLEAST8): Likewise.
10693 [C99-based-standards] (PRIXLEAST8): Likewise.
10694 [C99-based-standards] (SCNdLEAST8): Likewise.
10695 [C99-based-standards] (SCNiLEAST8): Likewise.
10696 [C99-based-standards] (SCNoLEAST8): Likewise.
10697 [C99-based-standards] (SCNuLEAST8): Likewise.
10698 [C99-based-standards] (SCNxLEAST8): Likewise.
10699 [C99-based-standards] (PRIdFAST8): Likewise.
10700 [C99-based-standards] (PRIiFAST8): Likewise.
10701 [C99-based-standards] (PRIoFAST8): Likewise.
10702 [C99-based-standards] (PRIuFAST8): Likewise.
10703 [C99-based-standards] (PRIxFAST8): Likewise.
10704 [C99-based-standards] (PRIXFAST8): Likewise.
10705 [C99-based-standards] (SCNdFAST8): Likewise.
10706 [C99-based-standards] (SCNiFAST8): Likewise.
10707 [C99-based-standards] (SCNoFAST8): Likewise.
10708 [C99-based-standards] (SCNuFAST8): Likewise.
10709 [C99-based-standards] (SCNxFAST8): Likewise.
10710 [C99-based-standards] (PRId16): Likewise.
10711 [C99-based-standards] (PRIi16): Likewise.
10712 [C99-based-standards] (PRIo16): Likewise.
10713 [C99-based-standards] (PRIu16): Likewise.
10714 [C99-based-standards] (PRIx16): Likewise.
10715 [C99-based-standards] (PRIX16): Likewise.
10716 [C99-based-standards] (SCNd16): Likewise.
10717 [C99-based-standards] (SCNi16): Likewise.
10718 [C99-based-standards] (SCNo16): Likewise.
10719 [C99-based-standards] (SCNu16): Likewise.
10720 [C99-based-standards] (SCNx16): Likewise.
10721 [C99-based-standards] (PRIdLEAST16): Likewise.
10722 [C99-based-standards] (PRIiLEAST16): Likewise.
10723 [C99-based-standards] (PRIoLEAST16): Likewise.
10724 [C99-based-standards] (PRIuLEAST16): Likewise.
10725 [C99-based-standards] (PRIxLEAST16): Likewise.
10726 [C99-based-standards] (PRIXLEAST16): Likewise.
10727 [C99-based-standards] (SCNdLEAST16): Likewise.
10728 [C99-based-standards] (SCNiLEAST16): Likewise.
10729 [C99-based-standards] (SCNoLEAST16): Likewise.
10730 [C99-based-standards] (SCNuLEAST16): Likewise.
10731 [C99-based-standards] (SCNxLEAST16): Likewise.
10732 [C99-based-standards] (PRIdFAST16): Likewise.
10733 [C99-based-standards] (PRIiFAST16): Likewise.
10734 [C99-based-standards] (PRIoFAST16): Likewise.
10735 [C99-based-standards] (PRIuFAST16): Likewise.
10736 [C99-based-standards] (PRIxFAST16): Likewise.
10737 [C99-based-standards] (PRIXFAST16): Likewise.
10738 [C99-based-standards] (SCNdFAST16): Likewise.
10739 [C99-based-standards] (SCNiFAST16): Likewise.
10740 [C99-based-standards] (SCNoFAST16): Likewise.
10741 [C99-based-standards] (SCNuFAST16): Likewise.
10742 [C99-based-standards] (SCNxFAST16): Likewise.
10743 [C99-based-standards] (PRId32): Likewise.
10744 [C99-based-standards] (PRIi32): Likewise.
10745 [C99-based-standards] (PRIo32): Likewise.
10746 [C99-based-standards] (PRIu32): Likewise.
10747 [C99-based-standards] (PRIx32): Likewise.
10748 [C99-based-standards] (PRIX32): Likewise.
10749 [C99-based-standards] (SCNd32): Likewise.
10750 [C99-based-standards] (SCNi32): Likewise.
10751 [C99-based-standards] (SCNo32): Likewise.
10752 [C99-based-standards] (SCNu32): Likewise.
10753 [C99-based-standards] (SCNx32): Likewise.
10754 [C99-based-standards] (PRIdLEAST32): Likewise.
10755 [C99-based-standards] (PRIiLEAST32): Likewise.
10756 [C99-based-standards] (PRIoLEAST32): Likewise.
10757 [C99-based-standards] (PRIuLEAST32): Likewise.
10758 [C99-based-standards] (PRIxLEAST32): Likewise.
10759 [C99-based-standards] (PRIXLEAST32): Likewise.
10760 [C99-based-standards] (SCNdLEAST32): Likewise.
10761 [C99-based-standards] (SCNiLEAST32): Likewise.
10762 [C99-based-standards] (SCNoLEAST32): Likewise.
10763 [C99-based-standards] (SCNuLEAST32): Likewise.
10764 [C99-based-standards] (SCNxLEAST32): Likewise.
10765 [C99-based-standards] (PRIdFAST32): Likewise.
10766 [C99-based-standards] (PRIiFAST32): Likewise.
10767 [C99-based-standards] (PRIoFAST32): Likewise.
10768 [C99-based-standards] (PRIuFAST32): Likewise.
10769 [C99-based-standards] (PRIxFAST32): Likewise.
10770 [C99-based-standards] (PRIXFAST32): Likewise.
10771 [C99-based-standards] (SCNdFAST32): Likewise.
10772 [C99-based-standards] (SCNiFAST32): Likewise.
10773 [C99-based-standards] (SCNoFAST32): Likewise.
10774 [C99-based-standards] (SCNuFAST32): Likewise.
10775 [C99-based-standards] (SCNxFAST32): Likewise.
10776 [C99-based-standards] (PRId64): Likewise.
10777 [C99-based-standards] (PRIi64): Likewise.
10778 [C99-based-standards] (PRIo64): Likewise.
10779 [C99-based-standards] (PRIu64): Likewise.
10780 [C99-based-standards] (PRIx64): Likewise.
10781 [C99-based-standards] (PRIX64): Likewise.
10782 [C99-based-standards] (SCNd64): Likewise.
10783 [C99-based-standards] (SCNi64): Likewise.
10784 [C99-based-standards] (SCNo64): Likewise.
10785 [C99-based-standards] (SCNu64): Likewise.
10786 [C99-based-standards] (SCNx64): Likewise.
10787 [C99-based-standards] (PRIdLEAST64): Likewise.
10788 [C99-based-standards] (PRIiLEAST64): Likewise.
10789 [C99-based-standards] (PRIoLEAST64): Likewise.
10790 [C99-based-standards] (PRIuLEAST64): Likewise.
10791 [C99-based-standards] (PRIxLEAST64): Likewise.
10792 [C99-based-standards] (PRIXLEAST64): Likewise.
10793 [C99-based-standards] (SCNdLEAST64): Likewise.
10794 [C99-based-standards] (SCNiLEAST64): Likewise.
10795 [C99-based-standards] (SCNoLEAST64): Likewise.
10796 [C99-based-standards] (SCNuLEAST64): Likewise.
10797 [C99-based-standards] (SCNxLEAST64): Likewise.
10798 [C99-based-standards] (PRIdFAST64): Likewise.
10799 [C99-based-standards] (PRIiFAST64): Likewise.
10800 [C99-based-standards] (PRIoFAST64): Likewise.
10801 [C99-based-standards] (PRIuFAST64): Likewise.
10802 [C99-based-standards] (PRIxFAST64): Likewise.
10803 [C99-based-standards] (PRIXFAST64): Likewise.
10804 [C99-based-standards] (SCNdFAST64): Likewise.
10805 [C99-based-standards] (SCNiFAST64): Likewise.
10806 [C99-based-standards] (SCNoFAST64): Likewise.
10807 [C99-based-standards] (SCNuFAST64): Likewise.
10808 [C99-based-standards] (SCNxFAST64): Likewise.
10809 [C99-based-standards] (PRIdMAX): Likewise.
10810 [C99-based-standards] (PRIiMAX): Likewise.
10811 [C99-based-standards] (PRIoMAX): Likewise.
10812 [C99-based-standards] (PRIuMAX): Likewise.
10813 [C99-based-standards] (PRIxMAX): Likewise.
10814 [C99-based-standards] (PRIXMAX): Likewise.
10815 [C99-based-standards] (SCNdMAX): Likewise.
10816 [C99-based-standards] (SCNiMAX): Likewise.
10817 [C99-based-standards] (SCNoMAX): Likewise.
10818 [C99-based-standards] (SCNuMAX): Likewise.
10819 [C99-based-standards] (SCNxMAX): Likewise.
10820 [C99-based-standards] (PRIdPTR): Likewise.
10821 [C99-based-standards] (PRIiPTR): Likewise.
10822 [C99-based-standards] (PRIoPTR): Likewise.
10823 [C99-based-standards] (PRIuPTR): Likewise.
10824 [C99-based-standards] (PRIxPTR): Likewise.
10825 [C99-based-standards] (PRIXPTR): Likewise.
10826 [C99-based-standards] (SCNdPTR): Likewise.
10827 [C99-based-standards] (SCNiPTR): Likewise.
10828 [C99-based-standards] (SCNoPTR): Likewise.
10829 [C99-based-standards] (SCNuPTR): Likewise.
10830 [C99-based-standards] (SCNxPTR): Likewise.
10831 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10832 allow.
10833 * conform/data/stdint.h-data: Update comments to clarify
10834 requirements.
10835 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10836 type.
10837 [C99-based standards] (INT8_MAX): Likewise.
10838 [C99-based standards] (INT16_MIN): Likewise.
10839 [C99-based standards] (INT16_MAX): Likewise.
10840 [C99-based standards] (INT32_MIN): Likewise.
10841 [C99-based standards] (INT32_MAX): Likewise.
10842 [C99-based standards] (INT64_MIN): Likewise.
10843 [C99-based standards] (INT64_MAX): Likewise.
10844 [C99-based standards] (UINT8_MAX): Likewise.
10845 [C99-based standards] (UINT16_MAX): Likewise.
10846 [C99-based standards] (UINT32_MAX): Likewise.
10847 [C99-based standards] (UINT64_MAX): Likewise.
10848 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10849 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10850 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10851 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10852 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10853 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10854 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10855 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10856 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10857 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10858 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10859 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10860 [C99-based standards] (INT_FAST8_MIN): Likewise.
10861 [C99-based standards] (INT_FAST8_MAX): Likewise.
10862 [C99-based standards] (INT_FAST16_MIN): Likewise.
10863 [C99-based standards] (INT_FAST16_MAX): Likewise.
10864 [C99-based standards] (INT_FAST32_MIN): Likewise.
10865 [C99-based standards] (INT_FAST32_MAX): Likewise.
10866 [C99-based standards] (INT_FAST64_MIN): Likewise.
10867 [C99-based standards] (INT_FAST64_MAX): Likewise.
10868 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10869 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10870 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10871 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10872 [C99-based standards] (INTPTR_MIN): Likewise.
10873 [C99-based standards] (INTPTR_MAX): Likewise.
10874 [C99-based standards] (UINTPTR_MAX): Likewise.
10875 [C99-based standards] (INTMAX_MIN): Likewise.
10876 [C99-based standards] (INTMAX_MAX): Likewise.
10877 [C99-based standards] (UINTMAX_MAX): Likewise.
10878 [C99-based standards] (PTRDIFF_MIN): Likewise.
10879 [C99-based standards] (PTRDIFF_MAX): Likewise.
10880 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10881 [C99-based standards] (SIZE_MAX): Likewise.
10882 [C99-based standards] (WCHAR_MAX): Likewise.
10883 [C99-based standards] (WINT_MAX): Likewise.
10884 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10885 constraint on value.
10886 [C99-based standards] (WCHAR_MIN): Likewise.
10887 [C99-based standards] (WINT_MIN): Likewise.
10888 [C99-based standards] (*_t): Allow.
10889 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10890 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10891 Include math.h-data and complex.h-data. Remove all expectations
10892 of math.h and complex.h contents.
10893 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10894 at end of line.
10895 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10896 (struct tm): Expect tag.
10897 [C99-based-standards] (wcstof): Expect function.
10898 [C99-based-standards] (wcstold): Likewise.
10899 [C99-based-standards] (wcstoll): Likewise.
10900 [C99-based-standards] (wcstoull): Likewise.
10901 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10902 macro-int-constant. Specify type.
10903 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10904 constraint on value.
10905 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10906 Specify type.
10907 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10908 Specify value.
10909 [ISO C standards]: Do not allow headers.
10910 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10911 wcs[abcdefghijklmnopqrstuvwxyz]*.
10912 [ISO C standards] (*_t): Do not allow.
10913 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10914 Expect function.
10915 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10916 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10917 Specify type.
10918 [ISO C standards]: Do not allow headers.
10919 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10920 is[abcdefghijklmnopqrstuvwxyz]*.
10921 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10922 to[abcdefghijklmnopqrstuvwxyz]*.
10923 [ISO C standards] (*_t): Do not allow.
10924 * conform/data/stdalign.h-data: New file.
10925 * conform/data/stdbool.h-data: Likewise.
10926 * conform/data/stdnoreturn.h-data: Likewise.
10927
10928 2012-11-07 Roland McGrath <roland@hack.frob.com>
10929
10930 [BZ #14815]
10931 * manual/filesys.texi (Directory Entries): Typo fix.
10932 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10933
10934 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10935
10936 * elf/elf.h (EM_AARCH64): New macro.
10937 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10938 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10939 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10940 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10941 (R_AARCH64_TLSDESC): Likewise.
10942 (NT_ARM_TLS): Likewise.
10943 (NT_ARM_HW_BREAK): Likewise.
10944 (NT_ARM_HW_WATCH): Likewise.
10945
10946 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10947
10948 [BZ #14811]
10949 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10950 (__ieee754_powl): Saturate nonzero exponents with absolute value
10951 below 0x1p-79 to +/- 0x1p-79.
10952 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10953 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10954 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10955 nonzero exponents with absolute value below 0x1p-32 to +/-
10956 0x1p-32.
10957 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10958 (__ieee754_powl): Saturate nonzero exponents with absolute value
10959 below 0x1p-79 to +/- 0x1p-79.
10960 * math/libm-test.inc (pow_test): Add more tests.
10961
10962 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10963
10964 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10965 _dl_s390_cap_flags with kernel. Increase string length.
10966 (_dl_s390_platforms): Add z196 and zEC12.
10967
10968 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10969
10970 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10971 Change XOPEN21K to XOPEN2K.
10972
10973 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10974
10975 * string/memmove.c: Use memcpy when possible.
10976
10977 2012-11-06 Andreas Jaeger <aj@suse.de>
10978
10979 * po/eo.po: Update from translation team.
10980
10981 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10982
10983 [BZ #14793]
10984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10985 exponent and small x and y exponents, scale x or y up. Increase
10986 by 2 the exponent used in scaling up.
10987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10989 * math/libm-test.inc (fma_test): Add more tests.
10990 (fma_test_towardzero): Likewise.
10991 (fma_test_downward): Likewise.
10992 (fma_test_upward): Likewise.
10993
10994 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10995
10996 [BZ #14805]
10997 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10998 fenv_t *.
10999
11000 [BZ #14801]
11001 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11002 namespace for names of struct fields.
11003 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11004 fenv_t fields.
11005 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11006 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11007
11008 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11009
11010 [BZ #3665]
11011 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11012
11013 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11014
11015 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11016 PTR_DEMANGLE.
11017
11018 [BZ #5246]
11019 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11020 PTR_DEMANGLE.
11021
11022 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11023
11024 [BZ #14797]
11025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11026 definitely overflow as x * y not x * y + z.
11027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11028 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11029 * math/libm-test.inc (fma_test): Add more tests.
11030 (fma_test_towardzero): Likewise.
11031 (fma_test_downward): Likewise.
11032 (fma_test_upward): Likewise.
11033
11034 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11035
11036 [BZ #157]
11037
11038 * include/stub-tag.h: Remove file.
11039 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11040 '#include' of it.
11041 * manual/maint.texi (Porting): Don't reference it.
11042 * Makerules ($(objpfx)stubs): Likewise.
11043 * dirent/closedir.c: Don't include <stub-tag.h>.
11044 * dirent/dirfd.c: Likewise.
11045 * dirent/fdopendir.c: Likewise.
11046 * dirent/getdents.c: Likewise.
11047 * dirent/getdents64.c: Likewise.
11048 * dirent/opendir.c: Likewise.
11049 * dirent/readdir.c: Likewise.
11050 * dirent/readdir64.c: Likewise.
11051 * dirent/readdir64_r.c: Likewise.
11052 * dirent/readdir_r.c: Likewise.
11053 * dirent/rewinddir.c: Likewise.
11054 * dirent/seekdir.c: Likewise.
11055 * dirent/telldir.c: Likewise.
11056 * gmon/profil.c: Likewise.
11057 * grp/setgroups.c: Likewise.
11058 * inet/if_index.c: Likewise.
11059 * io/access.c: Likewise.
11060 * io/chdir.c: Likewise.
11061 * io/chmod.c: Likewise.
11062 * io/chown.c: Likewise.
11063 * io/close.c: Likewise.
11064 * io/dup.c: Likewise.
11065 * io/dup2.c: Likewise.
11066 * io/dup3.c: Likewise.
11067 * io/euidaccess.c: Likewise.
11068 * io/faccessat.c: Likewise.
11069 * io/fchdir.c: Likewise.
11070 * io/fchmod.c: Likewise.
11071 * io/fchmodat.c: Likewise.
11072 * io/fchown.c: Likewise.
11073 * io/fchownat.c: Likewise.
11074 * io/fcntl.c: Likewise.
11075 * io/flock.c: Likewise.
11076 * io/fstatfs.c: Likewise.
11077 * io/fstatfs64.c: Likewise.
11078 * io/fstatvfs.c: Likewise.
11079 * io/fstatvfs64.c: Likewise.
11080 * io/futimens.c: Likewise.
11081 * io/fxstat.c: Likewise.
11082 * io/fxstat64.c: Likewise.
11083 * io/fxstatat.c: Likewise.
11084 * io/fxstatat64.c: Likewise.
11085 * io/getcwd.c: Likewise.
11086 * io/isatty.c: Likewise.
11087 * io/lchmod.c: Likewise.
11088 * io/lchown.c: Likewise.
11089 * io/link.c: Likewise.
11090 * io/linkat.c: Likewise.
11091 * io/lseek.c: Likewise.
11092 * io/lseek64.c: Likewise.
11093 * io/lxstat64.c: Likewise.
11094 * io/mkdir.c: Likewise.
11095 * io/mkdirat.c: Likewise.
11096 * io/mkfifo.c: Likewise.
11097 * io/mkfifoat.c: Likewise.
11098 * io/open.c: Likewise.
11099 * io/open64.c: Likewise.
11100 * io/openat.c: Likewise.
11101 * io/openat64.c: Likewise.
11102 * io/pipe.c: Likewise.
11103 * io/pipe2.c: Likewise.
11104 * io/poll.c: Likewise.
11105 * io/posix_fadvise.c: Likewise.
11106 * io/posix_fadvise64.c: Likewise.
11107 * io/posix_fallocate.c: Likewise.
11108 * io/posix_fallocate64.c: Likewise.
11109 * io/read.c: Likewise.
11110 * io/readlink.c: Likewise.
11111 * io/readlinkat.c: Likewise.
11112 * io/rmdir.c: Likewise.
11113 * io/sendfile.c: Likewise.
11114 * io/sendfile64.c: Likewise.
11115 * io/statfs.c: Likewise.
11116 * io/statfs64.c: Likewise.
11117 * io/statvfs.c: Likewise.
11118 * io/statvfs64.c: Likewise.
11119 * io/symlink.c: Likewise.
11120 * io/symlinkat.c: Likewise.
11121 * io/ttyname.c: Likewise.
11122 * io/ttyname_r.c: Likewise.
11123 * io/umask.c: Likewise.
11124 * io/unlink.c: Likewise.
11125 * io/unlinkat.c: Likewise.
11126 * io/utime.c: Likewise.
11127 * io/utimensat.c: Likewise.
11128 * io/write.c: Likewise.
11129 * io/xmknod.c: Likewise.
11130 * io/xmknodat.c: Likewise.
11131 * io/xstat.c: Likewise.
11132 * io/xstat64.c: Likewise.
11133 * login/getpt.c: Likewise.
11134 * login/grantpt.c: Likewise.
11135 * login/unlockpt.c: Likewise.
11136 * math/e_acoshl.c: Likewise.
11137 * math/e_acosl.c: Likewise.
11138 * math/e_asinl.c: Likewise.
11139 * math/e_atan2l.c: Likewise.
11140 * math/e_atanhl.c: Likewise.
11141 * math/e_coshl.c: Likewise.
11142 * math/e_expl.c: Likewise.
11143 * math/e_fmodl.c: Likewise.
11144 * math/e_gammal_r.c: Likewise.
11145 * math/e_hypotl.c: Likewise.
11146 * math/e_j0l.c: Likewise.
11147 * math/e_j1l.c: Likewise.
11148 * math/e_jnl.c: Likewise.
11149 * math/e_lgammal_r.c: Likewise.
11150 * math/e_log10l.c: Likewise.
11151 * math/e_log2l.c: Likewise.
11152 * math/e_logl.c: Likewise.
11153 * math/e_powl.c: Likewise.
11154 * math/e_rem_pio2l.c: Likewise.
11155 * math/e_sinhl.c: Likewise.
11156 * math/e_sqrtl.c: Likewise.
11157 * math/fclrexcpt.c: Likewise.
11158 * math/fedisblxcpt.c: Likewise.
11159 * math/feenablxcpt.c: Likewise.
11160 * math/fegetenv.c: Likewise.
11161 * math/fegetexcept.c: Likewise.
11162 * math/fegetround.c: Likewise.
11163 * math/feholdexcpt.c: Likewise.
11164 * math/fesetenv.c: Likewise.
11165 * math/fesetround.c: Likewise.
11166 * math/feupdateenv.c: Likewise.
11167 * math/fgetexcptflg.c: Likewise.
11168 * math/fraiseexcpt.c: Likewise.
11169 * math/fsetexcptflg.c: Likewise.
11170 * math/ftestexcept.c: Likewise.
11171 * math/k_cosl.c: Likewise.
11172 * math/k_rem_pio2l.c: Likewise.
11173 * math/k_sinl.c: Likewise.
11174 * math/k_tanl.c: Likewise.
11175 * math/s_asinhl.c: Likewise.
11176 * math/s_atanl.c: Likewise.
11177 * math/s_cbrtl.c: Likewise.
11178 * math/s_erfl.c: Likewise.
11179 * math/s_expm1l.c: Likewise.
11180 * math/s_log1pl.c: Likewise.
11181 * math/s_tanhl.c: Likewise.
11182 * misc/acct.c: Likewise.
11183 * misc/brk.c: Likewise.
11184 * misc/chflags.c: Likewise.
11185 * misc/chroot.c: Likewise.
11186 * misc/fchflags.c: Likewise.
11187 * misc/fgetxattr.c: Likewise.
11188 * misc/flistxattr.c: Likewise.
11189 * misc/fremovexattr.c: Likewise.
11190 * misc/fsetxattr.c: Likewise.
11191 * misc/fsync.c: Likewise.
11192 * misc/ftruncate.c: Likewise.
11193 * misc/futimes.c: Likewise.
11194 * misc/futimesat.c: Likewise.
11195 * misc/getdomain.c: Likewise.
11196 * misc/getdtsz.c: Likewise.
11197 * misc/gethostid.c: Likewise.
11198 * misc/gethostname.c: Likewise.
11199 * misc/getloadavg.c: Likewise.
11200 * misc/getpagesize.c: Likewise.
11201 * misc/getsysstats.c: Likewise.
11202 * misc/getxattr.c: Likewise.
11203 * misc/gtty.c: Likewise.
11204 * misc/ioctl.c: Likewise.
11205 * misc/lgetxattr.c: Likewise.
11206 * misc/listxattr.c: Likewise.
11207 * misc/llistxattr.c: Likewise.
11208 * misc/lremovexattr.c: Likewise.
11209 * misc/lsetxattr.c: Likewise.
11210 * misc/lutimes.c: Likewise.
11211 * misc/madvise.c: Likewise.
11212 * misc/mincore.c: Likewise.
11213 * misc/mlock.c: Likewise.
11214 * misc/mlockall.c: Likewise.
11215 * misc/mmap.c: Likewise.
11216 * misc/mprotect.c: Likewise.
11217 * misc/msync.c: Likewise.
11218 * misc/munlock.c: Likewise.
11219 * misc/munlockall.c: Likewise.
11220 * misc/munmap.c: Likewise.
11221 * misc/preadv.c: Likewise.
11222 * misc/preadv64.c: Likewise.
11223 * misc/ptrace.c: Likewise.
11224 * misc/pwritev.c: Likewise.
11225 * misc/pwritev64.c: Likewise.
11226 * misc/readv.c: Likewise.
11227 * misc/reboot.c: Likewise.
11228 * misc/remap_file_pages.c: Likewise.
11229 * misc/removexattr.c: Likewise.
11230 * misc/revoke.c: Likewise.
11231 * misc/select.c: Likewise.
11232 * misc/setdomain.c: Likewise.
11233 * misc/setegid.c: Likewise.
11234 * misc/seteuid.c: Likewise.
11235 * misc/sethostid.c: Likewise.
11236 * misc/sethostname.c: Likewise.
11237 * misc/setregid.c: Likewise.
11238 * misc/setreuid.c: Likewise.
11239 * misc/setxattr.c: Likewise.
11240 * misc/sstk.c: Likewise.
11241 * misc/stty.c: Likewise.
11242 * misc/swapoff.c: Likewise.
11243 * misc/swapon.c: Likewise.
11244 * misc/sync.c: Likewise.
11245 * misc/syncfs.c: Likewise.
11246 * misc/syscall.c: Likewise.
11247 * misc/truncate.c: Likewise.
11248 * misc/ualarm.c: Likewise.
11249 * misc/usleep.c: Likewise.
11250 * misc/ustat.c: Likewise.
11251 * misc/utimes.c: Likewise.
11252 * misc/vhangup.c: Likewise.
11253 * misc/writev.c: Likewise.
11254 * posix/_exit.c: Likewise.
11255 * posix/alarm.c: Likewise.
11256 * posix/execve.c: Likewise.
11257 * posix/fexecve.c: Likewise.
11258 * posix/fork.c: Likewise.
11259 * posix/fpathconf.c: Likewise.
11260 * posix/getaddrinfo.c: Likewise.
11261 * posix/getegid.c: Likewise.
11262 * posix/geteuid.c: Likewise.
11263 * posix/getgid.c: Likewise.
11264 * posix/getgroups.c: Likewise.
11265 * posix/getlogin.c: Likewise.
11266 * posix/getlogin_r.c: Likewise.
11267 * posix/getpgid.c: Likewise.
11268 * posix/getpid.c: Likewise.
11269 * posix/getppid.c: Likewise.
11270 * posix/getresgid.c: Likewise.
11271 * posix/getresuid.c: Likewise.
11272 * posix/getsid.c: Likewise.
11273 * posix/getuid.c: Likewise.
11274 * posix/glob64.c: Likewise.
11275 * posix/nanosleep.c: Likewise.
11276 * posix/pathconf.c: Likewise.
11277 * posix/pause.c: Likewise.
11278 * posix/posix_madvise.c: Likewise.
11279 * posix/pread.c: Likewise.
11280 * posix/pread64.c: Likewise.
11281 * posix/pwrite.c: Likewise.
11282 * posix/pwrite64.c: Likewise.
11283 * posix/sched_getaffinity.c: Likewise.
11284 * posix/sched_getp.c: Likewise.
11285 * posix/sched_gets.c: Likewise.
11286 * posix/sched_primax.c: Likewise.
11287 * posix/sched_primin.c: Likewise.
11288 * posix/sched_rr_gi.c: Likewise.
11289 * posix/sched_setaffinity.c: Likewise.
11290 * posix/sched_setp.c: Likewise.
11291 * posix/sched_sets.c: Likewise.
11292 * posix/sched_yield.c: Likewise.
11293 * posix/setgid.c: Likewise.
11294 * posix/setlogin.c: Likewise.
11295 * posix/setpgid.c: Likewise.
11296 * posix/setresgid.c: Likewise.
11297 * posix/setresuid.c: Likewise.
11298 * posix/setsid.c: Likewise.
11299 * posix/setuid.c: Likewise.
11300 * posix/sleep.c: Likewise.
11301 * posix/spawni.c: Likewise.
11302 * posix/sysconf.c: Likewise.
11303 * posix/times.c: Likewise.
11304 * posix/wait.c: Likewise.
11305 * posix/wait3.c: Likewise.
11306 * posix/wait4.c: Likewise.
11307 * posix/waitpid.c: Likewise.
11308 * resolv/gai_sigqueue.c: Likewise.
11309 * resource/getpriority.c: Likewise.
11310 * resource/getrlimit.c: Likewise.
11311 * resource/getrusage.c: Likewise.
11312 * resource/nice.c: Likewise.
11313 * resource/setpriority.c: Likewise.
11314 * resource/setrlimit.c: Likewise.
11315 * resource/ulimit.c: Likewise.
11316 * rt/aio_cancel.c: Likewise.
11317 * rt/aio_fsync.c: Likewise.
11318 * rt/aio_read.c: Likewise.
11319 * rt/aio_sigqueue.c: Likewise.
11320 * rt/aio_suspend.c: Likewise.
11321 * rt/aio_write.c: Likewise.
11322 * rt/clock_getres.c: Likewise.
11323 * rt/clock_gettime.c: Likewise.
11324 * rt/clock_nanosleep.c: Likewise.
11325 * rt/clock_settime.c: Likewise.
11326 * rt/lio_listio.c: Likewise.
11327 * rt/mq_close.c: Likewise.
11328 * rt/mq_getattr.c: Likewise.
11329 * rt/mq_notify.c: Likewise.
11330 * rt/mq_open.c: Likewise.
11331 * rt/mq_receive.c: Likewise.
11332 * rt/mq_send.c: Likewise.
11333 * rt/mq_setattr.c: Likewise.
11334 * rt/mq_timedreceive.c: Likewise.
11335 * rt/mq_timedsend.c: Likewise.
11336 * rt/mq_unlink.c: Likewise.
11337 * rt/shm_open.c: Likewise.
11338 * rt/shm_unlink.c: Likewise.
11339 * rt/timer_create.c: Likewise.
11340 * rt/timer_delete.c: Likewise.
11341 * rt/timer_getoverr.c: Likewise.
11342 * rt/timer_gettime.c: Likewise.
11343 * rt/timer_settime.c: Likewise.
11344 * setjmp/__longjmp.c: Likewise.
11345 * setjmp/setjmp.c: Likewise.
11346 * signal/kill.c: Likewise.
11347 * signal/killpg.c: Likewise.
11348 * signal/raise.c: Likewise.
11349 * signal/sigaction.c: Likewise.
11350 * signal/sigaltstack.c: Likewise.
11351 * signal/sigblock.c: Likewise.
11352 * signal/sigignore.c: Likewise.
11353 * signal/sigintr.c: Likewise.
11354 * signal/signal.c: Likewise.
11355 * signal/sigpause.c: Likewise.
11356 * signal/sigpending.c: Likewise.
11357 * signal/sigqueue.c: Likewise.
11358 * signal/sigreturn.c: Likewise.
11359 * signal/sigset.c: Likewise.
11360 * signal/sigsetmask.c: Likewise.
11361 * signal/sigstack.c: Likewise.
11362 * signal/sigsuspend.c: Likewise.
11363 * signal/sigtimedwait.c: Likewise.
11364 * signal/sigvec.c: Likewise.
11365 * signal/sigwait.c: Likewise.
11366 * signal/sigwaitinfo.c: Likewise.
11367 * signal/sysv_signal.c: Likewise.
11368 * socket/accept.c: Likewise.
11369 * socket/accept4.c: Likewise.
11370 * socket/bind.c: Likewise.
11371 * socket/connect.c: Likewise.
11372 * socket/getpeername.c: Likewise.
11373 * socket/getsockname.c: Likewise.
11374 * socket/getsockopt.c: Likewise.
11375 * socket/isfdtype.c: Likewise.
11376 * socket/listen.c: Likewise.
11377 * socket/recv.c: Likewise.
11378 * socket/recvfrom.c: Likewise.
11379 * socket/recvmsg.c: Likewise.
11380 * socket/send.c: Likewise.
11381 * socket/sendmsg.c: Likewise.
11382 * socket/sendto.c: Likewise.
11383 * socket/setsockopt.c: Likewise.
11384 * socket/shutdown.c: Likewise.
11385 * socket/sockatmark.c: Likewise.
11386 * socket/socket.c: Likewise.
11387 * socket/socketpair.c: Likewise.
11388 * stdio-common/ctermid.c: Likewise.
11389 * stdio-common/cuserid.c: Likewise.
11390 * stdio-common/remove.c: Likewise.
11391 * stdio-common/rename.c: Likewise.
11392 * stdio-common/renameat.c: Likewise.
11393 * stdio-common/tempname.c: Likewise.
11394 * stdlib/getcontext.c: Likewise.
11395 * stdlib/makecontext.c: Likewise.
11396 * stdlib/setcontext.c: Likewise.
11397 * stdlib/swapcontext.c: Likewise.
11398 * stdlib/system.c: Likewise.
11399 * streams/fattach.c: Likewise.
11400 * streams/fdetach.c: Likewise.
11401 * streams/getmsg.c: Likewise.
11402 * streams/getpmsg.c: Likewise.
11403 * streams/putmsg.c: Likewise.
11404 * streams/putpmsg.c: Likewise.
11405 * sysdeps/unix/bsd/getpt.c: Likewise.
11406 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11407 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11408 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11410 Likewise.
11411 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11412 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11413 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11414 * sysvipc/msgctl.c: Likewise.
11415 * sysvipc/msgget.c: Likewise.
11416 * sysvipc/msgrcv.c: Likewise.
11417 * sysvipc/msgsnd.c: Likewise.
11418 * sysvipc/semctl.c: Likewise.
11419 * sysvipc/semget.c: Likewise.
11420 * sysvipc/semop.c: Likewise.
11421 * sysvipc/semtimedop.c: Likewise.
11422 * sysvipc/shmat.c: Likewise.
11423 * sysvipc/shmctl.c: Likewise.
11424 * sysvipc/shmdt.c: Likewise.
11425 * sysvipc/shmget.c: Likewise.
11426 * termios/tcdrain.c: Likewise.
11427 * termios/tcflow.c: Likewise.
11428 * termios/tcflush.c: Likewise.
11429 * termios/tcgetattr.c: Likewise.
11430 * termios/tcgetpgrp.c: Likewise.
11431 * termios/tcsendbrk.c: Likewise.
11432 * termios/tcsetattr.c: Likewise.
11433 * termios/tcsetpgrp.c: Likewise.
11434 * time/adjtime.c: Likewise.
11435 * time/clock.c: Likewise.
11436 * time/getitimer.c: Likewise.
11437 * time/gettimeofday.c: Likewise.
11438 * time/setitimer.c: Likewise.
11439 * time/settimeofday.c: Likewise.
11440 * time/stime.c: Likewise.
11441 * time/time.c: Likewise.
11442
11443 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11444
11445 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11446 /usr/old/bin.
11447
11448 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11449 instead of spaces.
11450 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11451
11452 2012-11-03 Joseph Myers <joseph@codesourcery.com>
11453
11454 [BZ #14796]
11455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11456 FE_TONEAREST before applying Dekker multiplication and Knuth
11457 addition. Clear inexact exceptions and check for exact zero
11458 results afterwards.
11459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11460 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11461 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11462 * math/libm-test.inc (fma_test): Add more tests.
11463 (fma_test_towardzero): Likewise.
11464 (fma_test_downward): Likewise.
11465 (fma_test_upward): Likewise.
11466 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11467 function.
11468 (libc_fesetround): New macro.
11469 (libc_fesetroundf): Likewise.
11470 (libc_fesetroundl): Likewise.
11471 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11472 function.
11473 (libc_fesetround_387): Likewise.
11474 (libc_fesetroundf): New macro.
11475 (libc_fesetround): Likewise.
11476 (libc_fesetroundl): Likewise.
11477 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11478 function.
11479 (libc_fesetroundf): New macro.
11480 (libc_fesetround): Likewise.
11481 (libc_fesetroundl): Likewise.
11482 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11483 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11484 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11485 libm_hidden_ver.
11486 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11487 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11488 libm_hidden_def.
11489 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11490 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11491 libm_hidden_ver.
11492 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11493 libm_hidden_def.
11494
11495 [BZ #3439]
11496 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11497 integer constant usable in #if and use that to give value to enum
11498 constant.
11499 (FE_DIVBYZERO): Likewise.
11500 (FE_UNDERFLOW): Likewise.
11501 (FE_OVERFLOW): Likewise.
11502 (FE_INVALID): Likewise.
11503 (FE_INVALID_SNAN): Likewise.
11504 (FE_INVALID_ISI): Likewise.
11505 (FE_INVALID_IDI): Likewise.
11506 (FE_INVALID_ZDZ): Likewise.
11507 (FE_INVALID_IMZ): Likewise.
11508 (FE_INVALID_COMPARE): Likewise.
11509 (FE_INVALID_SOFTWARE): Likewise.
11510 (FE_INVALID_SQRT): Likewise.
11511 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11512 (FE_TONEAREST): Likewise.
11513 (FE_TOWARDZERO): Likewise.
11514 (FE_UPWARD): Likewise.
11515 (FE_DOWNWARD): Likewise.
11516 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11517 (FE_DIVBYZERO): Likewise.
11518 (FE_OVERFLOW): Likewise.
11519 (FE_UNDERFLOW): Likewise.
11520 (FE_INEXACT): Likewise.
11521 (FE_TONEAREST): Likewise.
11522 (FE_DOWNWARD): Likewise.
11523 (FE_UPWARD): Likewise.
11524 (FE_TOWARDZERO): Likewise.
11525 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11526 (FE_UNDERFLOW): Likewise.
11527 (FE_OVERFLOW): Likewise.
11528 (FE_DIVBYZERO): Likewise.
11529 (FE_INVALID): Likewise.
11530 (FE_TONEAREST): Likewise.
11531 (FE_TOWARDZERO): Likewise.
11532 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11533 (FE_OVERFLOW): Likewise.
11534 (FE_UNDERFLOW): Likewise.
11535 (FE_DIVBYZERO): Likewise.
11536 (FE_INEXACT): Likewise.
11537 (FE_TONEAREST): Likewise.
11538 (FE_TOWARDZERO): Likewise.
11539 (FE_UPWARD): Likewise.
11540 (FE_DOWNWARD): Likewise.
11541 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11542 (FE_DIVBYZERO): Likewise.
11543 (FE_OVERFLOW): Likewise.
11544 (FE_UNDERFLOW): Likewise.
11545 (FE_INEXACT): Likewise.
11546 (FE_TONEAREST): Likewise.
11547 (FE_DOWNWARD): Likewise.
11548 (FE_UPWARD): Likewise.
11549 (FE_TOWARDZERO): Likewise.
11550
11551 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11552
11553 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11554
11555 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11556
11557 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11558 commands. Quote $PWD.
11559 (blacklist_exports): Don't use remove_newlines. Replace "declare
11560 -x" by "export".
11561 (remove_newlines): Remove.
11562
11563 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11564
11565 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11566 * stdlib/stdlib.h (atof): Moved to ...
11567 * include/bits/stdlib-float.h: Here. New file.
11568 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11569 * stdlib/bits/stdlib-float.h: New file.
11570 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11571 -mno-sse -mno-mmx.
11572 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11573 <xmmintrin.h>.
11574
11575 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11576
11577 * conform/conformtest.pl (@headers): Add fenv.h.
11578 * conform/data/fenv.h-data: New file.
11579 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11580 include of <math/fenv.h>.
11581
11582 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11583 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11584 && !UNIX98]. Enables tests for XOPEN2K8.
11585 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11586 POSIX2008]: Likewise.
11587
11588 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11589 (struct rusage): Do not expect type or its members.
11590
11591 [BZ #3439]
11592 * math/math.h (FP_NAN): Define macro to integer constant usable in
11593 #if and use that to give value to enum constant.
11594 (FP_INFINITE): Likewise.
11595 (FP_ZERO): Likewise.
11596 (FP_SUBNORMAL): Likewise.
11597 (FP_NORMAL): Likewise.
11598
11599 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11600
11601 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11602 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11603 arguments.
11604
11605 2012-11-02 Roland McGrath <roland@hack.frob.com>
11606
11607 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11608 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11609 autoconf-time if not.
11610 * configure.in: Remove AC_PREREQ.
11611
11612 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11613
11614 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11615 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11616 of the internal implementation.
11617
11618 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11619
11620 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11621 except include of <misc/sys/syslog.h>.
11622
11623 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11624
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11626 function returns with a NULL context exit with zero.
11627
11628 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11629
11630 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11631
11632 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11633
11634 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11635 (run_program_cmd): This.
11636 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11637 (tst_langinfo): New variable. Use it.
11638
11639 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11640
11641 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11642 floating point opcodes.
11643
11644 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11645
11646 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11647 variable.
11648
11649 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11650
11651 * sysdeps/mach/hurd/powerpc: Remove directory.
11652 * sysdeps/mach/powerpc: Likewise.
11653
11654 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11655
11656 * scripts/check-local-headers.sh: Ignore c++ headers.
11657
11658 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11659
11660 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11661 __libc_cleanup_region_start argument.
11662
11663 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11664
11665 [BZ #14784]
11666 [BZ #14785]
11667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11668 x * y using scaling, not as x * y + z.
11669 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11670 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11671 * math/libm-test.inc (fma_test): Add more tests.
11672 (fma_test_towardzero): Likewise.
11673 (fma_test_downward): Likewise.
11674 (fma_test_upward): Likewise.
11675
11676 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11677
11678 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11679
11680 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11681
11682 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11683 New variable.
11684
11685 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11686
11687 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11688
11689 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11690
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11692 Fix sort order.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11694 Likewise.
11695
11696 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11697
11698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11699 Fix the order of the list for glibc 2.17.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11701 Likewise.
11702
11703 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11704
11705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11706
11707 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11708
11709 [BZ #14610]
11710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11711 for low part of x being zero before using __atanl (y).
11712 * math/libm-test.inc (atan2_test): Add another test.
11713
11714 * manual/install.texi (Configuring and compiling): Document
11715 general use of test-wrapper and test-wrapper-env.
11716 * INSTALL: Regenerated.
11717
11718 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11719 (__fma): Do not extract and scale down low bits on after-rounding
11720 systems when result rounded to normal precision would have normal
11721 exponent.
11722 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11723 (__fmal): Do not extract and scale down low bits on after-rounding
11724 systems when result rounded to normal precision would have normal
11725 exponent.
11726 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11727 (__fmal): Do not extract and scale down low bits on after-rounding
11728 systems when result rounded to normal precision would have normal
11729 exponent.
11730 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11731 macro.
11732 (fma_test): Add more tests.
11733 (fma_test_towardzero): Likewise.
11734 (fma_test_downward): Likewise.
11735 (fma_test_upward): Likewise.
11736
11737 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11738
11739 * sysdeps/i386/tininess.h: Renamed to ...
11740 * sysdeps/x86/tininess.h: This.
11741 * sysdeps/x86_64/tininess.h: Removed.
11742
11743 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11744
11745 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11746 input. Use $(build-program-cmd).
11747 ($(objpfx)tst-array1-static.out): Likewise.
11748 ($(objpfx)tst-array2.out): Likewise.
11749 ($(objpfx)tst-array3.out): Likewise.
11750 ($(objpfx)tst-array4.out): Likewise.
11751 ($(objpfx)tst-array5.out): Likewise.
11752 ($(objpfx)tst-array5-static.out): Likewise.
11753
11754 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11755
11756 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11757 if defined.
11758
11759 * nss/nsswitch.h (nss_interface_function): Provide new
11760 macro for use with NSS functions.
11761 * grp/initgroups.c: Use new macro.
11762 * nss/getXXbyYY.c: Likewise.
11763 * nss/getXXbyYY_r.c: Likewise.
11764 * nss/getXXent.c: Likewise.
11765 * nss/getXXent_r.c: Likewise.
11766 * sysdeps/posix/getaddrinfo.c: Likewise.
11767
11768 2012-10-30 Andreas Jaeger <aj@suse.de>
11769
11770 * po/ru.po: Update Russion translation from translation project.
11771
11772 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11773
11774 [BZ #14152]
11775 [BZ #14783]
11776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11777 result and shift together with sticky bit instead of replicating
11778 round-to-nearest rounding.
11779 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11780 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11781 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11782 missing underflow exceptions.
11783 (fma_test_towardzero): Add more tests.
11784 (fma_test_downward): Likewise.
11785 (fma_test_upward): Likewise.
11786
11787 [BZ #14047]
11788 * sysdeps/generic/tininess.h: New file.
11789 * sysdeps/i386/tininess.h: Likewise.
11790 * sysdeps/sh/tininess.h: Likewise.
11791 * sysdeps/x86_64/tininess.h: Likewise.
11792 * stdlib/tst-strtod-underflow.c: Likewise.
11793 * stdlib/tst-tininess.c: Likewise.
11794 * stdlib/strtod_l.c: Include <tininess.h>.
11795 (round_and_return): Do not set errno for exact underflow cases.
11796 Force an underflow exception when setting errno for underflow.
11797 Determine underflow based on rounding to normal precision if
11798 TININESS_AFTER_ROUNDING.
11799 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11800 ERANGE for exact underflow cases.
11801 * stdlib/Makefile (tests): Add tst-tininess and
11802 tst-strtod-underflow.
11803 ($(objpfx)tst-tininess): Use $(link-libm).
11804 ($(objpfx)tst-strtod-underflow): Likewise.
11805
11806 2012-10-30 Andreas Jaeger <aj@suse.de>
11807
11808 [BZ#14767]
11809 * elf/Makefile (tests): Remove conditional for have-initfini-array
11810 since this is now always required and the variable does not exist
11811 anymore.
11812 (tests-static): Likewise.
11813 (modules-names): Likewise.
11814
11815 * po/eo.po: Add Esperanto translation from translation project.
11816
11817 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11818 merged with constructor/destructor.
11819 (init_array): Likewise.
11820 * elf/tst-array2dep.c (fini_array): Likewise.
11821 (init_array): Likewise.
11822
11823 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11824
11825 * manual/message.texi: Delete @cartouche tags.
11826
11827 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11828
11829 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11830 EOPNOTSUPP.
11831 * sysdeps/mach/hurd/fsync.c: Likewise.
11832
11833 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11834 [_POSIX_REALTIME_SIGNALS]: Change condition to
11835 [_POSIX_REALTIME_SIGNALS > 0].
11836
11837 2012-10-27 Andreas Jaeger <aj@suse.de>
11838
11839 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11840 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11841 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11842 [__WORDSIZE != 64]: Likewise.
11843
11844 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11845
11846 * iconvdata/tst-table.sh: Remove ${SHELL}.
11847 * iconvdata/tst-tables.sh: Likewise.
11848
11849 2012-10-25 David S. Miller <davem@davemloft.net>
11850
11851 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11852 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11853 of strtoull.
11854
11855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11856 ifunc-impl-list.c
11857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11858 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11859 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11860 file.
11861
11862 2012-10-25 Roland McGrath <roland@hack.frob.com>
11863
11864 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11865 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11866 __getdirentries.
11867
11868 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11869 Jim Blandy <jimb@codesourcery.com>
11870
11871 * scripts/cross-test-ssh.sh: New file.
11872 * manual/install.texi (Configuring and compiling): Document use of
11873 cross-test-ssh.sh.
11874 * INSTALL: Regenerated.
11875
11876 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11877
11878 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11879 EOPNOTSUPP.
11880
11881 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11882
11883 * Makeconfig (run-program-prefix): Fix comment.
11884
11885 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11886 Jim Blandy <jimb@codesourcery.com>
11887
11888 * Makeconfig (test-wrapper): New variable,
11889 (test-wrapper-env): Likewise.
11890 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11891 (run-built-tests): Define to yes.
11892 (run-program-prefix): Use $(test-wrapper).
11893 (built-program-cmd): Likewise.
11894 * Rules (make-test-out): Use $(test-wrapper-env) and
11895 $(host-built-program-cmd).
11896 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11897 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11898 tst-pathopt.sh.
11899 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11900 $(test-wrapper-env) to tst-rtld-load-self.sh.
11901 ($(objpfx)order2.out): Use $(test-wrapper).
11902 ($(objpfx)tst-initorder.out): Likewise.
11903 ($(objpfx)tst-initorder2.out): Likewise.
11904 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11905 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11906 (test_wrapper_env): New variable. Use it to run ld.so.
11907 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11908 Use it to run ld.so.
11909 (test_wrapper_env): Likewise.
11910 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11911 $(test-wrapper) to run-iconv-test.sh.
11912 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11913 (ICONV): Use $test_wrapper.
11914 * posix/Makefile ($(objpfx)globtest.out): Pass
11915 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11916 globtest.sh, not $(run-program-prefix).
11917 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11918 (test_wrapper): Likewise.
11919 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11920 set together with run_via_rtld_prefix.
11921 (run_program_prefix): Define in terms of test_wrapper and
11922 run_via_rtld_prefix.
11923
11924 2012-10-24 Roland McGrath <roland@hack.frob.com>
11925
11926 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11927 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11928 Targets removed.
11929
11930 [BZ #14743]
11931 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11932 Declare __clock_getres, __clock_gettime, __clock_settime,
11933 __clock_nanosleep, and __clock_getcpuclockid.
11934 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11935 Remove librt_hidden_def (clock_gettime).
11936 * sysdeps/unix/clock_gettime.c: Likewise.
11937 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11938 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11939 * rt/clock_getres.c: Define __clock_getres as an alias.
11940 * sysdeps/posix/clock_getres.c: Likewise.
11941 * rt/clock_settime.c: Define __clock_settime as an alias.
11942 * sysdeps/unix/clock_settime.c: Likewise.
11943 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11944 * sysdeps/unix/clock_nanosleep.c: Likewise.
11945 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11946 * rt/clock-compat.c: New file.
11947 * rt/Makefile (librt-routines): Add clock-compat and move
11948 $(clock-routines) to ...
11949 (routines): ... here, new variable.
11950 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11951 Don't add get_clockfreq here.
11952 * rt/Versions (libc: GLIBC_2.17): New version set.
11953 Add clock_* symbols here.
11954 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11955 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11956 (GLIBC_2.17): Add clock_* symbols.
11957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11959 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11961 Likewise.
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11963 Likewise.
11964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11968 * NEWS: Mention the move.
11969
11970 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11971 Use __open, __read, __close rather than their public counterparts.
11972 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11973 (__get_clockfreq_via_cpuinfo): Likewise.
11974 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11975 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11976
11977 * config.h.in (HAVE_IFUNC): New #undef.
11978 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11979 was successful.
11980 * configure: Regenerated.
11981
11982 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11983
11984 * configure.in: Move READELF check to start of file.
11985 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11986 libc_cv_asm_gnu_indirect_function in the process.
11987 * configure: Regenerated.
11988
11989 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11990
11991 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11992 send the output to /dev/null.
11993 (libc_cv_cc_with_libunwind): Likewise.
11994 (libc_cv_as_noexecstack): Likewise.
11995 * configure: Regenerate.
11996
11997 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11998
11999 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12000
12001 * posix/globtest.sh (TMPDIR): Do not set.
12002 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12003 (testout): Likewise.
12004
12005 2012-10-24 Andreas Jaeger <aj@suse.de>
12006
12007 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12008 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12009 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12010 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12011 posix_fadvise64, posix_fallocate64.
12012
12013 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12014 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12015 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12016 Likewise.
12017 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12018 Likewise.
12019 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12020
12021 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12022 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12023 <bits/fcntl-linux.h>.
12024 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12025
12026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12027 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12028 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12029 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12030 [__WORDSIZE != 64]: Likewise.
12031
12032 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12033
12034 * Makeconfig (run-built-tests): New variable.
12035 * Rules [$(cross-compiling) = yes]: Change condition to
12036 [$(run-built-tests) = no].
12037 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12038 to [$(run-built-tests) = yes].
12039 * elf/Makefile [$(cross-compiling) = no]: Likewise
12040 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12041 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12042 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12043 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12044 * io/Makefile [$(cross-compiling) = no]: Likewise.
12045 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12046 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12047 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12048 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12049 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12050 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12051 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12052 * string/Makefile [$(cross-compiling) = no]: Likewise.
12053
12054 * posix/Makefile ($(objpfx)globtest.out): Pass
12055 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12056 $(rtld-installed-name).
12057 * posix/globtest.sh (elf_objpfx): Remove variable.
12058 (rtld_installed_name): Likewise.
12059 (library_path): Likewise.
12060 (run_program_prefix): New variable. Use for running globtest
12061 binary.
12062
12063 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12064 Joseph Myers <joseph@codesourcery.com>
12065
12066 * Makeconfig (host-built-program-cmd): New variable.
12067 * elf/Makefile (tst-stackguard1-ARGS): Use
12068 $(host-built-program-cmd).
12069 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12070 (tst-spawn-ARGS): Likewise.
12071 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12072
12073 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12074 Jim Blandy <jimb@codesourcery.com>
12075
12076 * Makeconfig (run-via-rtld-prefix): New variable.
12077 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12078 (built-program-cmd): Likewise.
12079
12080 2012-10-22 Andreas Jaeger <aj@suse.de>
12081
12082 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12083 __O_RSYNC if it exists, otherwise to O_SYNC.
12084
12085 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12086 Joseph Myers <joseph@codesourcery.com>
12087
12088 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12089 /dev/null.
12090 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12091 from /dev/null
12092 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12093 /dev/null.
12094
12095 2012-10-22 Andreas Jaeger <aj@suse.de>
12096
12097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12098 Define always.
12099 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12100
12101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12102 bits/fcntl-linux.h.
12103
12104 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12105 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12106
12107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12108 to __O_LARGEFILE.
12109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12110 to __O_LARGEFILE.
12111
12112 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12113 Joseph Myers <joseph@codesourcery.com>
12114
12115 * config.make.in (NM): New variable.
12116
12117 2012-10-21 Andreas Jaeger <aj@suse.de>
12118
12119 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12120 definitions and declarations that are provided by
12121 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12122
12123 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12124
12125 [BZ #14683]
12126 * elf/Makefile (tests-static): Add tst-leaks1-static.
12127 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12128 ($(objpfx)tst-leaks1-static): New rule.
12129 ($(objpfx)tst-leaks1-static-mem): Likewise.
12130 (tst-leaks1-static-ENV): New macro.
12131 * elf/dl-open.c (dl_open_worker): Check the main application
12132 only if SHARED is defined.
12133 * elf/tst-leaks1-static.c: New file.
12134
12135 2012-10-20 Andreas Jaeger <aj@suse.de>
12136
12137 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12138 generic values for Linux.
12139 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12140 and declarations that are provided by <bits/fcntl-linux.h> and
12141 include <bits/fcntl-linux.h>.
12142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12144
12145 2012-10-20 Roland McGrath <roland@hack.frob.com>
12146
12147 * io/fcntl.h: Move include of <bits/types.h> to the top and
12148 include it unconditionally.
12149
12150 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12151
12152 * wcsmbs/Makefile (tests-ifunc): New variable.
12153 (tests): Add $(tests-ifunc).
12154 * wcsmbs/test-wcschr-ifunc.c: New file.
12155 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12156 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12157 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12158 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12159 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12160
12161 * string/Makefile (tests-ifunc): New variable.
12162 (tests): Add $(tests-ifunc).
12163 * string/test-memccpy.c (TEST_NAME): New macro.
12164 * string/test-memchr.c (TEST_NAME): Likewise.
12165 * string/test-memcmp.c (TEST_NAME): Likewise.
12166 * string/test-memcpy.c (TEST_NAME): Likewise.
12167 * string/test-memmem.c (TEST_NAME): Likewise.
12168 * string/test-memmove.c (TEST_NAME): Likewise.
12169 * string/test-memset.c (TEST_NAME): Likewise.
12170 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12171 * string/test-stpcpy.c (TEST_NAME): Likewise.
12172 * string/test-stpncpy.c (TEST_NAME): Likewise.
12173 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12174 * string/test-strcasestr.c (TEST_NAME): Likewise.
12175 * string/test-strcat.c (TEST_NAME): Likewise.
12176 * string/test-strchr.c (TEST_NAME): Likewise.
12177 * string/test-strcmp.c(TEST_NAME): Likewise.
12178 * string/test-strcpy.c (TEST_NAME): Likewise.
12179 * string/test-strcspn.c (TEST_NAME): Likewise.
12180 * string/test-strlen.c (TEST_NAME): Likewise.
12181 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12182 * string/test-strncmp.c (TEST_NAME): Likewise.
12183 * string/test-strncpy.c (TEST_NAME): Likewise.
12184 * string/test-strnlen.c (TEST_NAME): Likewise.
12185 * string/test-strpbrk.c (TEST_NAME): Likewise.
12186 * string/test-strrchr.c (TEST_NAME): Likewise.
12187 * string/test-strspn.c (TEST_NAME): Likewise.
12188 * string/test-strstr.c (TEST_NAME): Likewise.
12189 * string/test-bcopy-ifunc.c: New file.
12190 * string/test-bzero-ifunc.c: Likewise.
12191 * string/test-memccpy-ifunc.c: Likewise.
12192 * string/test-memchr-ifunc.c: Likewise.
12193 * string/test-memcmp-ifunc.c: Likewise.
12194 * string/test-memcpy-ifunc.c: Likewise.
12195 * string/test-memmem-ifunc.c: Likewise.
12196 * string/test-memmove-ifunc.c: Likewise.
12197 * string/test-mempcpy-ifunc.c: Likewise.
12198 * string/test-memset-ifunc.c: Likewise.
12199 * string/test-rawmemchr-ifunc.c: Likewise.
12200 * string/test-stpcpy-ifunc.c: Likewise.
12201 * string/test-stpncpy-ifunc.c: Likewise.
12202 * string/test-strcasecmp-ifunc.c: Likewise.
12203 * string/test-strcasestr-ifunc.c: Likewise.
12204 * string/test-strcat-ifunc.c: Likewise.
12205 * string/test-strchr-ifunc.c: Likewise.
12206 * string/test-strchrnul-ifunc.c: Likewise.
12207 * string/test-strcmp-ifunc.c: Likewise.
12208 * string/test-strcpy-ifunc.c: Likewise.
12209 * string/test-strcspn-ifunc.c: Likewise.
12210 * string/test-strlen-ifunc.c: Likewise.
12211 * string/test-strncasecmp-ifunc.c: Likewise.
12212 * string/test-strncat-ifunc.c: Likewise.
12213 * string/test-strncmp-ifunc.c: Likewise.
12214 * string/test-strncpy-ifunc.c: Likewise.
12215 * string/test-strnlen-ifunc.c: Likewise.
12216 * string/test-strpbrk-ifunc.c: Likewise.
12217 * string/test-strrchr-ifunc.c: Likewise.
12218 * string/test-strspn-ifunc.c: Likewise.
12219 * string/test-strstr-ifunc.c: Likewise.
12220
12221 * debug/Makefile (tests-ifunc): New variable.
12222 (tests): Add $(tests-ifunc).
12223 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12224 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12225 * debug/test-stpcpy_chk-ifunc.c: New file.
12226 * debug/test-strcpy_chk-ifunc.c: Likewise.
12227
12228 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12229
12230 [BZ #13601]
12231 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12232 header is not read in.
12233
12234 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12235
12236 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12237 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12238 directly. Pass built executable to script as
12239 $(built-program-cmd).
12240 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12241 $testprogram without using LD_LIBRARY_PATH and $ldso.
12242
12243 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12244 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12245 $(rtld-installed-name).
12246 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12247 (rtld_installed_name): Likewise.
12248 (library_path): Likewise.
12249 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12250 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12251 $(run-program-prefix) to tst-tables.sh.
12252 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12253 it to run tst-table-from and tst-table-to.
12254 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12255 Pass it to tst-table.sh.
12256 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12257 $(run-program-prefix) to tst-gettext.sh.
12258 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12259 tst-translit.sh.
12260 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12261 tst-gettext2.sh.
12262 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12263 to run tst-gettext.
12264 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12265 to run tst-gettext2.
12266 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12267 to run tst-translit.
12268 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12269 $(run-program-prefix) to tst-mtrace.sh.
12270 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12271 to run tst-mtrace.
12272 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12273 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12274 $(rtld-installed-name).
12275 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12276 (rtld_installed_name): Likewise.
12277 (run_program_prefix): New variable. Use it to run wordexp-test.
12278
12279 * Makeconfig (ARCH): Remove all definitions.
12280 (machine): Likewise.
12281 [ARCH]: Remove conditional code.
12282 [!objdir]: Give error.
12283 [!objdir] (objpfx): Remove.
12284 [!objdir] (common-objpfx): Likewise.
12285 [!objdir] (common-objdir): Likewise.
12286 * configure.in (config_makefile): Remove. Hardcode Makefile in
12287 AC_CONFIG_FILES call.
12288 * configure: Regenerated.
12289
12290 [BZ #13888]
12291 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12292 or TMPDIR.
12293 (testout): Likewise.
12294
12295 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12296 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12297 $(rtld-installed-name).
12298 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12299 (rtld_installed_name): Likwise.
12300 (runit): Remove function.
12301 (run_getconf): New variable, Use it for running getconf binary.
12302
12303 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12304
12305 [BZ #14716]
12306 * string/test-memmem.c (check_result): New function.
12307 (do_one_test): Use it.
12308 (check1): New function.
12309 (test_main): Use it.
12310
12311 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12312
12313 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12314
12315 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12316
12317 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12318 (_G_LSEEK64): Likewise.
12319 (_G_MMAP64): Likewise.
12320 (_G_FSTAT64): Likewise.
12321 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12322 (_G_LSEEK64): Likewise.
12323 (_G_MMAP64): Likewise.
12324 (_G_FSTAT64): Likewise.
12325 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12326 unconditional. Call __mmap64 directly.
12327 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12328 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12329 __lseek64 directly.
12330 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12331 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12332 __mmap64 directly.
12333 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12334 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12335 __lseek64 directly.
12336 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12337 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12338 __lseek64 directly.
12339 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12340 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12341 __lseek64 directly.
12342 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12343 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12344 __fxstat64 directly.
12345 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12346 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12347 unconditional.
12348 (freopen64) [!_G_OPEN64]: Remove conditional code.
12349 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12350 unconditional.
12351 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12352 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12353 unconditional.
12354 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12355 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12356 unconditional.
12357 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12358 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12359 unconditional.
12360 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12361 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12362 unconditional.
12363 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12364 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12365 unconditional.
12366 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12367 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12368 unconditional.
12369 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12370
12371 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12372
12373 [BZ #12140]
12374 * manual/memory.texi (Malloc Tunable Parameters): Add note
12375 about free list pointers overwriting some perturb bytes.
12376 Wording suggested by Roland McGrath.
12377
12378 2012-10-17 Joseph Myers <joseph@codesourcery.com>
12379
12380 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12381 (lgamma_test): Likewise.
12382 (tgamma_test): Likewise.
12383
12384 2012-10-16 Florian Weimer <fweimer@redhat.com>
12385
12386 [BZ #14700]
12387 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12388 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12389
12390 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12391
12392 * NEWS: Mention BZ #14716.
12393 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12394 when removing AVAILABLE1_USES_J macro.
12395
12396 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12397
12398 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12399 (__bswap_64): __uint64_t for unsigned 64-bit int.
12400
12401 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12402
12403 * include/string.h (memmem): Declare libc hidden alias.
12404 * string/memmem.c (memmem): Define libc hidden alias.
12405 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12406 __read, __close instead of open, read, close.
12407
12408 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12409
12410 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12411 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12412 global and hidden.
12413 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12414 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12415 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12416 Likewise.
12417 (__rawmemchr_sse2): Likewise.
12418 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12419 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12420 (__strchr_sse2): Likewise.
12421 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12422 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12423 (__strcasecmp_sse2): Likewise.
12424 (__strncasecmp_sse2): Likewise.
12425 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12426 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12427 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12428 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12429 (__strrchr_sse2): Likewise.
12430 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12431 ifunc-impl-list.c.
12432 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12433 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12434 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12435 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12436 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12437 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12438 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12439 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12440 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12441 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12442 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12443 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12444 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12445 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12446 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12447 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12448 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12449 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12450 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12451 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12452 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12453 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12454 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12455 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12456 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12457 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12458 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12459 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12460 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12461 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12462
12463 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12464 global and hidden.
12465 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12466 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12467 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12468 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12469 Likewise.
12470 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12471 Likewise.
12472 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12473 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12474 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12475 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12476 ifunc-impl-list.c.
12477 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12478 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12479 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12480 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12481 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12482 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12483 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12484 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12485 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12486 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12487 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12488 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12489 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12490 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12491 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12492 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12493 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12494 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12495 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12496 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12497 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12498 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12499 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12500 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12502 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12503 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12504 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12505 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12506 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12507 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12508 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12509 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12510 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12511 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12512 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12513 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12514 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12515 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12516 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12517 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12518
12519 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12520 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12521 * include/ifunc-impl-list.h: New file.
12522 * misc/ifunc-impl-list.c: Likewise.
12523 * misc/Makefile (routines): Add ifunc-impl-list.
12524 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12525 * string/test-string.h: Include <ifunc-impl-list.h>.
12526 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12527 impl_array): New variables.
12528 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12529 are defined.
12530 (test_init): Call __libc_ifunc_impl_list to initialize
12531 func_list if TEST_IFUNC and TEST_NAME are defined.
12532
12533 * string/Makefile (strop-tests): Add bcopy and bzero.
12534 * string/test-bcopy.c: New file.
12535 * string/test-bzero.c: Likewise.
12536 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12537 defined.
12538 * string/test-memset.c: Support bzero test if TEST_BZERO is
12539 defined.
12540 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12541 __libc_memmove.
12542 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12543 __libc_memset.
12544 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12545 of memset.
12546
12547 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12548
12549 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12550 * configure: Regenerated.
12551
12552 * Makeconfig (+link-static-before-libc): Don't include
12553 $(link-static-libc).
12554
12555 * libio/libio.h (_IO_pos_t): Remove.
12556
12557 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12558
12559 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12560 McGrath.
12561
12562 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12563
12564 * crypt/crypt-entry.c: Include fips-private.h.
12565 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12566 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12567 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12568 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12569
12570 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12571
12572 * crypt/crypt-private.h: Include stdbool.h.
12573 (_ufc_setup_salt_r): Return bool.
12574 * crypt/crypt-entry.c: Include errno.h.
12575 (__crypt_r): Return NULL with EINVAL for bad salt.
12576 * crypt/crypt_util.c (bad_for_salt): New.
12577 (_ufc_setup_salt_r): Check that salt is long enough and within
12578 the specified alphabet.
12579 * crypt/badsalttest.c: New file.
12580 * crypt/Makefile (tests): Add it.
12581 ($(objpfx)badsalttest): New.
12582
12583 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12584
12585 * NEWS: Add entry for BZ #14602.
12586
12587 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12588
12589 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12590 type-generic.
12591 * math/libm-test.inc: Update comment listing what functions and
12592 macros are tested.
12593 (isgreater_test): New function.
12594 (isgreaterequal_test): Likewise.
12595 (isless_test): Likewise.
12596 (islessequal_test): Likewise.
12597 (islessgreater_test): Likewise.
12598 (isunordered_test): Likewise.
12599 (main): Call the new functions.
12600
12601 2012-10-09 Roland McGrath <roland@hack.frob.com>
12602
12603 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12604 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12605 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12606 * sysdeps/i386/configure: Regenerated.
12607 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12608 * sysdeps/mach/configure: Regenerated.
12609 * sysdeps/mach/hurd/configure: Regenerated.
12610 * sysdeps/powerpc/configure: Regenerated.
12611 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12612 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12613 * sysdeps/s390/s390-32/configure: Regenerated.
12614 * sysdeps/s390/s390-64/configure: Regenerated.
12615 * sysdeps/sh/configure: Regenerated.
12616 * sysdeps/sparc/configure: Regenerated.
12617 * sysdeps/unix/sysv/linux/configure: Regenerated.
12618 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12619 * sysdeps/x86_64/configure: Regenerated.
12620
12621 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12622 defined. Don't check if MAP is NULL.
12623
12624 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12625
12626 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12627 (_G_stat64): Likewise.
12628 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12629 (_G_stat64): Likewise.
12630 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12631 instead of struct _G_stat64.
12632 * libio/fileops.c (mmap_remap_check): Likewise.
12633 (decide_maybe_mmap): Likewise.
12634 (_IO_new_file_seekoff): Likewise.
12635 (_IO_file_stat): Likewise.
12636 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12637 _G_off64_t.
12638 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12639 instead of struct _G_stat64.
12640 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12641
12642 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12643
12644 [BZ #14602]
12645 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12646 Replace with ...
12647 (CHECK_EOL): New macro.
12648 (two_way_short_needle): Check beginning of haystack for EOL. Use
12649 CHECK_EOL.
12650 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12651 Replace with CHECK_EOL.
12652 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12653 Replace with CHECK_EOL.
12654
12655 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12656
12657 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12658 type-generic.
12659 * math/libm-test.inc: Update comment listing what functions and
12660 macros are tested.
12661 (finite_test): New function.
12662 (isinf_test): Likewise.
12663 (isnan_test): Likewise.
12664 (fpclassify_test): Test subnormal input.
12665 (isfinite_test): Likewise.
12666 (isnormal_test): Likewise.
12667 (main): Call the new functions.
12668
12669 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12670
12671 [BZ #14660]
12672 * Makerules (%.dynsym): Force C locale when running
12673 $(OBJDUMP) --dynamic-syms.
12674
12675 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12676
12677 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12678 <stdint.h>.
12679
12680 2012-10-06 David S. Miller <davem@davemloft.net>
12681
12682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12683 upper 32-bits of the length value in %o2 since we use branch-on-register
12684 tests which consider the entire 64-bit register.
12685
12686 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12687
12688 * string/test-strstr.c (check2): Add a test for page boundary.
12689
12690 2012-10-05 David S. Miller <davem@davemloft.net>
12691
12692 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12693 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12694 file.
12695 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12696 sysdep_routines.
12697 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12698 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12699 and bzero when HWCAP_SPARC_CRYPTO is present.
12700
12701 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12702
12703 [BZ #14602]
12704 * string/test-strstr.c (check2): New function.
12705 (test_main): Call check2.
12706
12707 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12708 and bug-strchr1.
12709 * string/bug-strcasestr1.c (do_test): Moved to ...
12710 * string/test-strcasestr.c (check1): Here. New function.
12711 (do_one_test): Break out result checking code into ...
12712 (check_result): This. New function.
12713 (do_one_test): Call check_result.
12714 (test_main): Call check1.
12715 * string/bug-strchr1.c (do_test): Moved to ...
12716 * string/test-strchr.c (check1): Here. New function.
12717 (do_one_test): Break out result checking code into ...
12718 (check_result): This. New function.
12719 (do_one_test): Call check_result.
12720 (test_main): Call check1.
12721 * string/bug-strstr1.c (main): Moved to ...
12722 * string/test-strstr.c (check1): Here. New function.
12723 (do_one_test): Break out result checking code into ...
12724 (check_result): This. New function.
12725 (do_one_test): Call check_result.
12726 (test_main): Call check1.
12727 * string/bug-strcasestr1.c: Removed.
12728 * string/bug-strchr1.c: Likewise.
12729 * string/bug-strstr1.c: Likewise.
12730
12731 * elf/Makefile (dl-routines): Add hwcaps.
12732 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12733 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12734 (_dl_important_hwcaps): Moved to ...
12735 * elf/dl-hwcaps.c: Here. New file.
12736 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12737
12738 [BZ #14557]
12739 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12740 if IS_IN_rtld isn't defined.
12741
12742 * elf/dl-support.c (_dl_sysinfo_map): New.
12743 Include "get-dynamic-info.h" and "setup-vdso.h".
12744 (_dl_non_dynamic_init): Call setup_vdso.
12745 * elf/dynamic-link.h: Don't include <assert.h>.
12746 (elf_get_dynamic_info): Moved to ...
12747 * elf/get-dynamic-info.h: Here. New file.
12748 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12749 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12750 * elf/setup-vdso.h: Here. New file.
12751 * elf/rtld.c: Include "setup-vdso.h".
12752 (dl_main): Call setup_vdso.
12753
12754 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12755
12756 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12757 creal in comment listing functions tested. List finite, isinf,
12758 isnan, isless, islessequal, isgreater, isgreaterequal,
12759 islessgreater, isunordered, lgamma_r and pow10 as functions and
12760 macros not tested. Mention which functions not tested are aliases
12761 for other functions. Fix typo. Note that signs of NaNs are not
12762 tested.
12763
12764 * scripts/config.guess: Update from config.git.
12765 * scripts/config.sub: Likewise.
12766
12767 2012-10-04 Roland McGrath <roland@hack.frob.com>
12768
12769 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12770 * misc/madvise.c (madvise): Renamed to __madvise.
12771 Make madvise a weak alias.
12772 * include/sys/mman.h: Declare __madvise.
12773 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12774 * sysdeps/unix/syscalls.list
12775 (madvise): Make __madvise the strong name, and madvise a weak alias.
12776 * sysdeps/unix/sysv/linux/syscalls.list
12777 (madvise, mmap): Remove redundant entries.
12778 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12779 * malloc/malloc.c (mtrim): Likewise.
12780 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12781
12782 2012-10-03 Roland McGrath <roland@hack.frob.com>
12783
12784 * sysdeps/mach/hurd/dl-cache.c: File removed.
12785 * config.h.in (USE_LDCONFIG): New #undef.
12786 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12787 * configure: Regenerated.
12788 * elf/Makefile (dl-routines): Add dl-cache only under
12789 [$(use-ldconfig) = yes].
12790 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12791 cache on [USE_LDCONFIG].
12792 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12793 [USE_LDCONFIG].
12794 * elf/rtld.c (dl_main): Likewise.
12795
12796 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12797
12798 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12799 _SC_LEVEL4_CACHE_LINESIZE.
12800
12801 2012-10-03 Roland McGrath <roland@hack.frob.com>
12802
12803 * sysdeps/unix/bsd/confstr.h: File removed.
12804
12805 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12806
12807 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12808 sys/sdt-config.h.
12809
12810 2012-10-02 Roland McGrath <roland@hack.frob.com>
12811
12812 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12813 Make 'mapoff' field ElfW(Off) rather than off_t.
12814
12815 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12816
12817 * nscd/Makefile: Remove nscd-cflags and all its users.
12818 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12819 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12820
12821 [BZ #10631]
12822 * malloc.c (malloc_printerr): Clarify error message.
12823
12824 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12825
12826 [BZ #14648]
12827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12828 Set bit_FMA_Usable if FMA is supported.
12829 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12830 macro.
12831 (bit_FMA4_Usable): Updated.
12832 (index_FMA_Usable): New macro.
12833 (CPUID_FMA): Likewise
12834 (HAS_FMA): Defined with bit_FMA_Usable.
12835
12836 2012-10-01 Roland McGrath <roland@hack.frob.com>
12837
12838 * bits/types.h (__swblk_t): Type removed.
12839 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12840 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12842 (__SWBLK_T_TYPE): Likewise.
12843 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12844 (__SWBLK_T_TYPE): Likewise.
12845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12846 (__SWBLK_T_TYPE): Likewise.
12847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12848 (__SWBLK_T_TYPE): Likewise.
12849
12850 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12851 Honza Horak <hhorak@redhat.com>
12852
12853 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12854 (xdr_mapname): Use YPMAXMAP as maxsize.
12855 (xdr_peername): Use YPMAXPEER as maxsize.
12856 (xdr_keydat): Use YPAXRECORD as maxsize.
12857 (xdr_valdat): Use YPMAXRECORD as maxsize.
12858
12859 2012-10-01 Roland McGrath <roland@hack.frob.com>
12860
12861 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12862
12863 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12864 * csu/init-first.c: ... here.
12865 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12866 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12867 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12868 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12869 * sysdeps/i386/init-first.c: File removed.
12870 * sysdeps/sh/init-first.c: File removed.
12871
12872 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12873
12874 [BZ #14645]
12875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12876 if x * y might underflow to zero and z is zero.
12877 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12878 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12879 * math/libm-test.inc (min_subnorm_value): New variable.
12880 (fma_test): Add more tests.
12881 (fma_test_towardzero): Likewise.
12882 (fma_test_downward): Likewise
12883 (fma_test_upward): Likewise.
12884 (initialize): Set min_subnorm_value.
12885
12886 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12887
12888 [BZ #14638]
12889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12890 0 + 0.
12891 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12892 mode for addition resulting in exact zero.
12893 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12894 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12895 exact 0 + 0.
12896 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12898 * math/libm-test.inc (fma_test): Add more tests.
12899 (fma_test_towardzero): New function.
12900 (fma_test_downward): Likewise.
12901 (fma_test_upward): Likewise.
12902 (main): Call the new functions.
12903
12904 2012-09-28 David S. Miller <davem@davemloft.net>
12905
12906 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12907
12908 2012-09-28 Roland McGrath <roland@hack.frob.com>
12909
12910 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12911 instead of SIGALRM.
12912
12913 * sysdeps/gnu/_G_config.h: Moved to ...
12914 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12915 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12916 * sysdeps/generic/_G_config.h: ... here.
12917
12918 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12919
12920 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12921
12922 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12923 Conditionalize target on [libnss_test1.so-version].
12924
12925 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12926
12927 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12928 (elfobjdir): Move out of conditionals.
12929
12930 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12931 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12932 (__nss_lookup_function): Conditionalize label remove_from_tree on
12933 [!DO_STATIC_NSS || SHARED], matching its only use.
12934
12935 2012-09-28 David S. Miller <davem@davemloft.net>
12936
12937 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12938 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12939 file.
12940 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12941 sysdep_routines.
12942 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12944 when HWCAP_SPARC_CRYPTO is present.
12945
12946 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12947
12948 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12949
12950 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12951
12952 [BZ #6530]
12953 * stdio-common/vfprintf.c (process_string_arg): Revert
12954 2000-07-22 change.
12955
12956 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12957
12958 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12959 for testcase.
12960 * stdio-common/tst-sprintf.c: Include <locale.h>
12961 (main): Test sprintf's handling of incomplete multibyte
12962 characters.
12963
12964 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12965
12966 * elf/dl-runtime.c (VERSYMIDX): Removed.
12967 * elf/dl-version.c (VERSYMIDX): Likewise.
12968 * elf/do-rel.h (VERSYMIDX): Likewise.
12969 (VALIDX): Likewise.
12970 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12971 * elf/rtld.c (VALIDX): Likewise.
12972 (ADDRIDX): Likewise.
12973 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12974 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12975 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12976 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12977 (VALIDX): Likewise.
12978 (ADDRIDX): Likewise.
12979
12980 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12981
12982 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12983
12984 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12985
12986 [BZ #11438]
12987 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12988 to global scope.
12989 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12990 addresses are in the same scope as 192.0.2/24.
12991 * posix/gai.conf: Document new scope table defaults.
12992
12993 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12994
12995 [BZ #5298]
12996 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12997 for ftell. Compute offsets from write pointers instead.
12998 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12999
13000 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13001
13002 [BZ #14543]
13003 * libio/Makefile (tests): New test case tst-fseek.
13004 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13005 combination works in wide mode.
13006 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13007 state when the external buffer state changes.
13008
13009 2012-09-27 David S. Miller <davem@davemloft.net>
13010
13011 [BZ #14376]
13012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13013 pass reloc->r_addend in as the 'high' argument to
13014 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13015
13016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13017
13018 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13019
13020 * rt/tst-aio2.c: Include <pthread.h>.
13021 * rt/tst-aio3.c: Likewise.
13022
13023 2012-09-27 Steve Ellcey <sellcey@mips.com>
13024
13025 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13026
13027 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13028
13029 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13030 contents on [SHARED].
13031
13032 2012-09-26 Marek Polacek <polacek@redhat.com>
13033
13034 [BZ #14530]
13035 [BZ #13741]
13036 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13037 for C++ and GCC <4.3 as well as for non GCC compilers.
13038
13039 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13040
13041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13042
13043 2012-09-25 Roland McGrath <roland@hack.frob.com>
13044
13045 * Makefile.in (all, install): Declare with .PHONY.
13046 Reported by Michael Hope <michael.hope@linaro.org>.
13047
13048 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13049
13050 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13051 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13052 system header.
13053 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13054 Likewise.
13055 (sydep_routines): Add the new and the internal functions.
13056 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13057 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13059 (GLIBC_2.17): Add the new function.
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13061 (GLIBC_2.17): Likewise.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13063 (GLIBC_2.17): Likewise.
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13065 (GLIBC_2.17): Likewise.
13066 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13067
13068 2012-09-25 Alan Modra <amodra@gmail.com>
13069
13070 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13071 Add release barrier before setting once_control to say
13072 initialisation is done. Add hints on lwarx. Use macro in
13073 place of isync.
13074 (clear_once_control): Add release barrier.
13075
13076 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13077
13078 [BZ #13629]
13079 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13080 specially.
13081 * math/s_clog10.c (__clog10): Likewise.
13082 * math/s_clog10f.c (__clog10f): Likewise.
13083 * math/s_clog10l.c (__clog10l): Likewise.
13084 * math/s_clogf.c (__clogf): Likewise.
13085 * math/s_clogl.c (__clogl): Likewise.
13086 * math/Makefile (libm-calls): Add x2y2m1.
13087 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13088 (__x2y2m1): Likewise.
13089 (__x2y2m1l): Likewise.
13090 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13091 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13092 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13093 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13094 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13095 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13096 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13097 * sysdeps/i386/fpu/libm-test-ulps: Update.
13098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13099
13100 [BZ #14621]
13101 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13102 int as type of variable DEPTH.
13103 (glob): Use size_t instead of int as type of variables NEWCOUNT
13104 and OLD_PATHC.
13105
13106 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13107
13108 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13109 Add s_sincosf-sse2.
13110 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13111 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13112 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13113 macros for using routine as __sincosf_ia32.
13114 Use macro for function declaration and weak_alias.
13115 * sysdeps/i386/fpu/libm-test-ulps: Update.
13116
13117 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13119
13120 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13121 subnormal argument.
13122 * math/s_cexpf.c (__cexpf): Likewise.
13123 * math/s_csinf.c (__csinf): Likewise.
13124 * math/s_csinhf.c (__csinhf): Likewise.
13125 * math/s_ctanf.c (__ctanf): Likewise.
13126 * math/s_ctanhf.c (__ctanhf): Likewise.
13127 * math/s_ccosh.c (__ccoshf): Likewise.
13128 * math/s_cexp.c (__cexpl): Likewise.
13129 * math/s_csin.c (__csin): Likewise.
13130 * math/s_csinh.c (__csinh): Likewise.
13131 * math/s_ctan.c (__ctan): Likewise.
13132 * math/s_ctanh.c (ctanh): Likewise.
13133 * math/s_ccoshl.c (__ccoshl): Likewise.
13134 * math/s_cexpl.c (__cexpl): Likewise.
13135 * math/s_csinl.c (__csinl): Likewise.
13136 * math/s_csinhl.c (__csinhl): Likewise.
13137 * math/s_ctanl.c (__ctanl): Likewise.
13138 * math/s_ctanhl.c (__ctanhl): Likewise.
13139
13140 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13141
13142 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13143 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13144 (_IO_off_t): Define to __off_t, not _G_off_t.
13145 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13146 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13147 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13148 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13149 type of __dummy and __dummy2 fields.
13150 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13151 (_G_ssize_t): Likewise.
13152 (_G_off_t): Likewise.
13153 (_G_pid_t): Likewise.
13154 (_G_uid_t): Likewise.
13155 (_G_wchar_t): Likewise.
13156 (_G_wint_t): Likewise.
13157 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13158 (_G_ssize_t): Likewise.
13159 (_G_off_t): Likewise.
13160 (_G_pid_t): Likewise.
13161 (_G_uid_t): Likewise.
13162 (_G_wchar_t): Likewise.
13163 (_G_wint_t): Likewise.
13164 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13165 (_G_ssize_t): Likewise.
13166 (_G_off_t): Likewise.
13167 (_G_pid_t): Likewise.
13168 (_G_uid_t): Likewise.
13169 (_G_wchar_t): Likewise.
13170 (_G_wint_t): Likewise.
13171
13172 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13173
13174 * malloc/arena.c: Include malloc-sysdep.h.
13175 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13176 is sufficient to shrink the heap or an unmap is needed.
13177 * sysdeps/generic/malloc-sysdep.h: New file. Define
13178 new function check_may_shrink_heap.
13179 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13180 new function check_may_shrink_heap.
13181
13182 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13183
13184 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13185 comments.
13186
13187 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13188
13189 * catgets/test-gencat.sh: Add "set -e".
13190 * elf/tst-pathopt.sh: Likewise.
13191 * grp/tst_fgetgrent.sh: Likewise.
13192 * iconvdata/run-iconv-test.sh: Likewise.
13193 * intl/tst-gettext.sh: Likewise.
13194 * intl/tst-gettext2.sh: Likewise.
13195 * intl/tst-gettext4.sh: Likewise.
13196 * intl/tst-gettext6.sh: Likewise.
13197 * intl/tst-translit.sh: Likewise.
13198 * io/ftwtest-sh: Likewise.
13199 * libio/test-freopen.sh: Likewise.
13200 * malloc/tst-mtrace.sh: Likewise.
13201 * posix/globtest.sh: Likewise.
13202 * posix/tst-getconf.sh: Likewise.
13203 * posix/wordexp-tst.sh: Likewise.
13204 * stdio-common/tst-printf.sh: Likewise.
13205 * stdio-common/tst-unbputc.sh: Likewise.
13206 * stdlib/tst-fmtmsg.sh: Likewise.
13207 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13208 * catgets/Makefile: Do not specify -e option when running
13209 testsuite shell scripts.
13210 * elf/Makefile: Likewise.
13211 * grp/Makefile: Likewise.
13212 * iconvdata/Makefile: Likewise.
13213 * intl/Makefile: Likewise.
13214 * io/Makefile: Likewise.
13215 * libio/Makefile: Likewise.
13216 * malloc/Makefile: Likewise.
13217 * posix/Makefile: Likewise.
13218 * stdio-common/Makefile: Likewise.
13219 * stdlib/Makefile: Likewise.
13220 * sysdeps/x86_64/Makefile: Likewise.
13221
13222 * io/ftwtest-sh: Add copyright header.
13223 * posix/globtest.sh: Likewise.
13224 * posix/tst-getconf.sh: Likewise.
13225 * posix/wordexp-tst.sh: Likewise.
13226 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13227
13228 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13229
13230 [BZ #13679]
13231 * Makeconfig (+link): Defined as $(+link-static) if
13232 $(build-shared) isn't yes.
13233 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13234 isn't yes.
13235 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13236
13237 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13238
13239 [BZ #14562]
13240 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13241 new chunk size with MALLOC_ALIGN_MASK.
13242
13243 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13244
13245 [BZ #5044]
13246 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13247 <rounding-mode.h>.
13248 (__printf_fphex): Determine rounding using get_rounding_mode and
13249 round_away.
13250 * stdio-common/tst-printf-round.c (struct hex_test): New
13251 structure.
13252 (hex_tests): New variable.
13253 (test_hex_in_one_mode): New function.
13254 (do_test): Also run tests for hex float output.
13255
13256 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13257
13258 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13259 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13260 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13261 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13262 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13263 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13264 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13265 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13266
13267 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13268
13269 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13270 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13271 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13272 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13273
13274 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13275
13276 [BZ #14579]
13277 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13278 mode only.
13279 * elf/tst-rtld-load-self.sh: New test.
13280 * elf/Makefile: Run it.
13281
13282 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13283
13284 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13285 (tst-writev-ENV): Remove.
13286 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13287
13288 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13289
13290 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13291
13292 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13293
13294 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13295 unconditional.
13296 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13297 Likewise.
13298 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13299 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13300 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13301 Likewise.
13302
13303 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13304
13305 [BZ #14587]
13306 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13307 * config.make.in (have-cpp-asm-debuginfo): Removed.
13308 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13309 * configure: Regenerated.
13310
13311 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13312
13313 [BZ #5044]
13314 * stdio-common/printf_fp.c: Include <stdbool.h> and
13315 <rounding-mode.h>.
13316 (___printf_fp): Determine rounding using get_rounding_mode and
13317 round_away.
13318 * stdio-common/tst-printf-round.c: New file.
13319 * stdio-common/Makefile (tests): Add tst-printf-round.
13320 (link-libm): New variable.
13321 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13322
13323 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13324
13325 [BZ #14576]
13326 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13327 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13328 Likewise.
13329 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13330 Likewise.
13331
13332 2012-09-13 Joseph Myers <joseph@codesourcery.com>
13333
13334 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13335 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13336 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13337 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13338
13339 2012-09-12 Joseph Myers <joseph@codesourcery.com>
13340
13341 [BZ #14518]
13342 * include/rounding-mode.h: New file.
13343 * sysdeps/generic/get-rounding-mode.h: Likewise.
13344 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13345 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13346 (MAX_VALUE): New macro.
13347 (MIN_VALUE): Likewise.
13348 (overflow_value): New function.
13349 (underflow_value): Likewise.
13350 (round_and_return): Use overflow_value and underflow_value to
13351 determine return values in overflow and underflow cases. Use
13352 round_away to determine rounding depending on rounding mode.
13353 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13354 determine return values in overflow and underflow cases.
13355 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13356 (struct test_results): New structure.
13357 (struct test): Use struct test_results to store expected results
13358 for all rounding modes.
13359 (TEST): Include expected results for all rounding modes.
13360 (test_in_one_mode): New function.
13361 (do_test): Use test_in_one_mode to compute and check results.
13362 Check results for all rounding modes.
13363 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13364 $(link-libm).
13365
13366 2012-12-09 Allan McRae <allan@archlinux.org>
13367
13368 * sysdeps/i386/fpu/libm-test-ulps: Update
13369
13370 2012-09-11 Joseph Myers <joseph@codesourcery.com>
13371
13372 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13373 (_G_int32_t): Likewise.
13374 (_G_uint16_t): Likewise.
13375 (_G_uint32_t): Likewise.
13376 (_G_HAVE_BOOL): Likewise.
13377 (_G_HAVE_ATEXIT): Likewise.
13378 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13379 (_G_HAVE_IO_FILE_OPEN): Likewise.
13380 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13381 (_G_int32_t): Likewise.
13382 (_G_uint16_t): Likewise.
13383 (_G_uint32_t): Likewise.
13384 (_G_HAVE_BOOL): Likewise.
13385 (_G_HAVE_ATEXIT): Likewise.
13386 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13387 (_G_HAVE_IO_FILE_OPEN): Likewise.
13388 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13389 (_G_int32_t): Likewise.
13390 (_G_uint16_t): Likewise.
13391 (_G_uint32_t): Likewise.
13392 (_G_HAVE_BOOL): Likewise.
13393 (_G_HAVE_ATEXIT): Likewise.
13394 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13395 (_G_HAVE_IO_FILE_OPEN): Likewise.
13396
13397 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 * csu/libc-tls.c: Update copyright years.
13400
13401 2012-09-10 Joseph Myers <joseph@codesourcery.com>
13402
13403 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13404 [!_G_USING_THUNKS]: Remove conditional code.
13405 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13406 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13407
13408 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13409 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13410 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13411 (_G_VTABLE_LABEL_PREFIX): Likewise.
13412 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13413 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13414 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13415 (_G_VTABLE_LABEL_PREFIX): Likewise.
13416 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13417 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13418 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13419 (_G_VTABLE_LABEL_PREFIX): Likewise.
13420 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13421
13422 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13423
13424 * libio/Makefile: Include ../Makeconfig before tests.
13425 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13426 only if $(build-shared) is yes.
13427
13428 * iconv/gconv_db.c: Update copyright years.
13429
13430 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13431
13432 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13433 unwind info if defined PIC. Fix special cases description.
13434 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13435
13436 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13437 DP_HI_MASK entry.
13438 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13439
13440 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13441
13442 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13443
13444 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13445 is NULL.
13446
13447 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13448 (LDLIBS-tst-chk4): This.
13449 (LDFLAGS-tst-chk5): Renamed to ...
13450 (LDLIBS-tst-chk5): This.
13451 (LDFLAGS-tst-chk6): Renamed to ...
13452 (LDLIBS-tst-chk6): This.
13453 (LDFLAGS-tst-lfschk4): Renamed to ...
13454 (LDLIBS-tst-lfschk4): This.
13455 (LDFLAGS-tst-lfschk5): Renamed to ...
13456 (LDLIBS-tst-lfschk5): This.
13457 (LDFLAGS-tst-lfschk6): Renamed to ...
13458 (LDLIBS-tst-lfschk6): This.
13459
13460 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13461 on $(common-objpfx)soversions.mk.
13462
13463 2012-09-07 Joseph Myers <joseph@codesourcery.com>
13464
13465 [BZ #10014]
13466 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13467 example host name.
13468
13469 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13470
13471 * malloc/arena.c (arena_get_retry): New function that gets
13472 another arena for the caller to try its request on.
13473 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13474 current arena cannot fulfill the request.
13475 (__libc_memalign): Likewise.
13476 (__libc_memalign): Likewise.
13477 (__libc_pvalloc): Likewise.
13478 (__libc_calloc): Likewise.
13479
13480 2012-09-05 John Tobey <john.tobey@gmail.com>
13481
13482 [BZ #13542]
13483 * manual/arith.texi (Operations on Complex): Fix description
13484 of carg branch cut.
13485
13486 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13487
13488 [BZ #10014]
13489 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13490 host name.
13491
13492 [BZ #10038]
13493 * manual/memory.texi (Memory): Make order of menu items match
13494 order of sections.
13495
13496 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13497
13498 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13499 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13500 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13501
13502 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13503
13504 * csu/libc-tls.c (static_dtv): Renamed to ...
13505 (_dl_static_dtv): This. Make it global.
13506 (_dl_initial_dtv): Removed.
13507 (__libc_setup_tls): Updated.
13508 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13509 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13510 DL_INITIAL_DTV.
13511
13512 2012-09-06 Petr Machata <pmachata@redhat.com>
13513
13514 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13515 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13516 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13517 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13518
13519 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13520
13521 [BZ #14545]
13522 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13523 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13524 freeing dtv[-1].
13525
13526 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13527
13528 [BZ #14544]
13529 * Makeconfig (link-static-before-libc): Replace $(+prector)
13530 with $(+prectorT).
13531 (link-static-after-libc): Replace $(+postctor) with
13532 $(+postctorT).
13533 (link-bounded): Replace $(+prector)/$(+postctor) with
13534 $(+prectorT)/$(+postctorT).
13535 (+prectorT): New macro.
13536 (+postctorT): Likewise.
13537
13538 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13539
13540 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13541 (round_str): Handle values above the maximum for IBM long double
13542 as inexact.
13543 * stdlib/tst-strtod-round.c (tests): Regenerated.
13544
13545 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13546
13547 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13548 assembler flag.
13549 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13550 zarch_nohighgprs around the zarch optimized routines.
13551 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13552 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13553 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13554 for zarch.
13555
13556 2012-09-05 David S. Miller <davem@davemloft.net>
13557
13558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13559
13560 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13561 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13562 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13563 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13564 entries.
13565
13566 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13567
13568 * malloc/arena.c: Fold copyright years.
13569 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13570
13571 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13572
13573 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13574
13575 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13576
13577 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13578
13579 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13580
13581 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13582 change internal state upon failure.
13583
13584 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13585
13586 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13587 * malloc/memusage.c (mmap): Likewise.
13588 (mmap64, mremap): Likewise. Adjust name in comment.
13589
13590 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13591
13592 * libio/fileops.c: Fix typos in comments.
13593 * libio/oldfileops.c: Likewise.
13594 * libio/wfileops.c: Likewise.
13595
13596 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13597
13598 [BZ #1349]
13599 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13600 (tst-malloc-usable-ENV): Set environment for test case.
13601 * malloc/hooks.c (malloc_check_get_size): New function to get
13602 requested size.
13603 * malloc/malloc.c (musable): Use malloc_check_get_size.
13604 * malloc/tst-malloc-usable.c: New test case.
13605
13606 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13607
13608 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13609
13610 2012-09-05 Allan McRae <allan@archlinux.org>
13611
13612 [BZ #13966]
13613 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13614 determine header location.
13615 * configure: Regenerated.
13616
13617 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13618
13619 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13620 float format.
13621 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13622 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13623 format.
13624 (test): Regenerate.
13625
13626 2012-09-04 David S. Miller <davem@davemloft.net>
13627
13628 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13629 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13630 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13631
13632 2012-09-04 Florian Weimer <fweimer@redhat.com>
13633
13634 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13635 failures.
13636
13637 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13638
13639 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13640
13641 [BZ #9914]
13642 * libio/iogetdelim.c: Include <limits.h>.
13643 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13644 + len + 1 would overflow.
13645
13646 2012-09-03 Andreas Jaeger <aj@suse.de>
13647
13648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13649 * sysdeps/i386/fpu/libm-test-ulps: Update.
13650
13651 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13652
13653 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13654 Add s_sinf-sse2, s_conf-sse2.
13655
13656 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13657 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13658 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13659 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13660
13661 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13662 for using routine as __sinf_ia32.
13663 Use macro for function declaration and weak_alias.
13664 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13665 for using routine as __cosf_ia32.
13666 Use macro for function declaration and weak_alias.
13667
13668 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13669 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13670
13671 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13672 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13674
13675 * math/libm-test.inc (cos_test): Add more test cases.
13676 (sin_test): Likewise.
13677 (sincos_test): Likewise.
13678
13679 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13680
13681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13682 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13683 hidden.
13684 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13685
13686 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13687
13688 [BZ #14538]
13689 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13690 first element of the GOT.
13691 (elf_machine_load_address): Return the difference between
13692 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13693
13694 2012-09-01 Allan McRae <allan@archlinux.org>
13695
13696 [BZ #13412]
13697 * configure.in (AWK): Require gawk version 3.0 or later.
13698 * configure: Regenerated.
13699
13700 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13701
13702 * sysdeps/unix/sysv/linux/kernel-features.h
13703 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13704 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13705 [__NR_clock_getres]: Make code unconditional.
13706 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13707 (clock_getcpuclockid): Remove code left unreachable by removal of
13708 conditionals.
13709 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13710 code unconditional.
13711 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13712 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13713 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13714 Make code unconditional.
13715 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13716 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13717 * sysdeps/unix/sysv/linux/clock_settime.c
13718 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13719 conditional code.
13720 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13721 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13722
13723 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13724
13725 [BZ #14476]
13726 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13727 scripts/test-installation.pl.
13728
13729 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13730 and $ld_so_version if it is set.
13731
13732 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13733
13734 [BZ #14516]
13735 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13736 failure if reading from procfs failed.
13737 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13738
13739 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13740
13741 * sysdeps/unix/sysv/linux/kernel-features.h
13742 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13743 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13744 Remove conditional code.
13745 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13746 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13747 Remove conditional code.
13748 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13749 * sysdeps/unix/sysv/linux/i386/fxstat.c
13750 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13751 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13752 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13753 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13754 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13755 * sysdeps/unix/sysv/linux/i386/lxstat.c
13756 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13758 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13759 Remove conditional code.
13760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13761 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13762 Remove conditional code.
13763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13764 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13765 <kernel-features.h>.
13766 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13767 Remove.
13768 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13769 Remove conditional code.
13770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13771 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13772 Remove conditional.
13773
13774 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13775
13776 [BZ #5400]
13777 * NEWS: Add fixed bug number.
13778
13779 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13780
13781 [BZ #14519]
13782 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13783 underflowing exponent in case of negative sign.
13784 * stdlib/tst-strtod-round-data: Add more tests.
13785 * stdlib/tst-strtod-round.c (tests): Regenerated.
13786
13787 [BZ #3479]
13788 * stdlib/strtod_l.c (NDIG): Remove.
13789 (HEXNDIG): Likewise.
13790 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13791 smallest representable value.
13792 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13793 lie within an exact representation of 1/2 ulp of the result.
13794 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13795 unconditionally.
13796 (TENS_P9_IDX): Define unconditionally.
13797 (TENS_P9_SIZE): Likewise.
13798 (TENS_P10_IDX): Likewise.
13799 (TENS_P10_SIZE): Likewise.
13800 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13801 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13802 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13803 entries for 10^2^13 and 10^2^14.
13804 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13805 (TENS_P13_IDX): Define.
13806 (TENS_P13_SIZE): Likewise.
13807 (TENS_P14_IDX): Likewise.
13808 (TENS_P14_SIZE): Likewise.
13809 (_fpioconst_pow10): Change array size to
13810 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13811 unconditional.
13812 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13813 1024]: Add entries for 10^2^13 and 10^2^14.
13814 [LAST_POW10 > _LAST_POW10]: Remove #error.
13815 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13816 (_fpioconst_pow10): Change array size to
13817 FPIOCONST_POW10_ARRAY_SIZE.
13818 * stdlib/gen-fpioconst.c: New file.
13819 * stdlib/gen-tst-strtod-round.c: Likewise.
13820 * stdlib/tst-strtod-round-data: Likewise.
13821 * stdlib/tst-strtod-round.c: Likewise.
13822 * stdlib/Makefile (tests): Add tst-strtod-round.
13823
13824 [BZ #14459]
13825 * stdlib/strtod_l.c: Include <stdint.h>.
13826 (NDEBUG): Do not define.
13827 (round_and_return): Change EXPONENT parameter to type intmax_t.
13828 Rearrange calculations to avoid internal overflow possibilities.
13829 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13830 Rearrange calculations to avoid internal overflow possibilities.
13831 Assert that number fits inside MPNSIZE limbs.
13832 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13833 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13834 calculations and add assertions to avoid internal overflow
13835 possibilities. Add casts to avoid signed/unsigned operations.
13836 * stdlib/tst-strtod-overflow.c: New file.
13837 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13838
13839 2012-08-25 Marek Polacek <polacek@redhat.com>
13840
13841 * time/time.h: Fix some typos in comments.
13842
13843 2012-08-23 Roland McGrath <roland@hack.frob.com>
13844
13845 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13846 * posix/tst-rfc3484-2.c: Likewise.
13847 * posix/tst-rfc3484-3.c: Likewise.
13848
13849 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13850
13851 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13852 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13853
13854 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13855
13856 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13857 #include of fxstatat64.c.
13858
13859 2012-08-22 Roland McGrath <roland@hack.frob.com>
13860
13861 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13862 * shadow/getspent_r.c: Likewise.
13863 * shadow/getspnam.c: Likewise.
13864 * shadow/getspnam_r.c: Likewise.
13865 * gshadow/getsgent.c: Likewise.
13866 * gshadow/getsgent_r.c: Likewise.
13867 * gshadow/getsgnam.c: Likewise.
13868 * gshadow/getsgnam_r.c: Likewise.
13869 * inet/getnetbyad.c: Likewise.
13870 * inet/getnetbyad_r.c: Likewise.
13871 * inet/getnetbynm.c: Likewise.
13872 * inet/getnetbynm_r.c: Likewise.
13873 * inet/getnetent.c: Likewise.
13874 * inet/getnetent_r.c: Likewise.
13875 * inet/getproto.c: Likewise.
13876 * inet/getproto_r.c: Likewise.
13877 * inet/getprtent.c: Likewise.
13878 * inet/getprtent_r.c: Likewise.
13879 * inet/getprtname.c: Likewise.
13880 * inet/getprtname_r.c: Likewise.
13881 * inet/getrpcbyname.c: Likewise.
13882 * inet/getrpcbyname_r.c: Likewise.
13883 * inet/getrpcbynumber.c: Likewise.
13884 * inet/getrpcbynumber_r.c: Likewise.
13885 * inet/getrpcent.c: Likewise.
13886 * inet/getrpcent_r.c: Likewise.
13887 * inet/getaliasent.c: Likewise.
13888 * inet/getaliasent_r.c: Likewise.
13889 * inet/getaliasname.c: Likewise.
13890 * inet/getaliasname_r.c: Likewise.
13891 * nscd/getgrgid_r.c: Likewise.
13892 * nscd/getgrnam_r.c: Likewise.
13893 * nscd/gethstbyad_r.c: Likewise.
13894 * nscd/gethstbynm3_r.c: Likewise.
13895 * nscd/getpwnam_r.c: Likewise.
13896 * nscd/getpwuid_r.c: Likewise.
13897 * nscd/getsrvbynm_r.c: Likewise.
13898 * nscd/getsrvbypt_r.c: Likewise.
13899 * nscd/gai.c: Likewise.
13900
13901 * configure.in (build_nscd): New substituted variable, set
13902 by --disable-build-nscd and defaults to $use_nscd.
13903 * configure: Regenerated.
13904 * config.make.in (build-nscd): New substituted variable.
13905 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13906 Change conditional to require [$(build-nscd) = yes] as well.
13907 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13908
13909 [BZ# 13696]
13910 * configure.in (use_nscd): New substituted variable, set by
13911 --disable-nscd. If enabled, define USE_NSCD.
13912 * configure: Regenerated.
13913 * config.h.in: Add USE_NSCD.
13914 * config.make.in (use-nscd): New substituted variable.
13915 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13916 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13917 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13918 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13919 (CFLAGS-getgrnam_r.c): Likewise.
13920 (CFLAGS-initgroups.c): Likewise.
13921 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13922 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13923 Variables removed.
13924 * inet/getnetgrent_r.c
13925 (nscd_setnetgrent): New function, broken out of ...
13926 (setnetgrent): ... here. Call it.
13927 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13928 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13929 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13930 * nscd/Makefile (routines, aux): Move definitions after include of
13931 Makeconfig. Conditionalize on [$(use-nscd) != no].
13932 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13933 Conditionalize on [USE_NSCD].
13934 (is_nscd, nscd_init_cb): Likewise.
13935 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13936 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13937 * nss/nss_db/db-init.c: Likewise.
13938 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13939 [USE_NSCD].
13940 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13941 (make_request): Use it.
13942 (cache_valid_p): New function.
13943 (__check_pf): Use it.
13944 * NEWS: Add item for --disable-nscd.
13945
13946 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13947
13948 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13949 to support sed >= 4.2.1-20-ga9bf076.
13950 * configure: Regenerated.
13951
13952 2012-08-22 Roland McGrath <roland@hack.frob.com>
13953
13954 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13955 Conditionalize whole body on [IREL].
13956
13957 2012-08-22 Jeff Law <law@redhat.com>
13958
13959 [BZ #14505]
13960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13961 if the family is PF_UNSPEC.
13962
13963 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13964
13965 * Makerules (lib-version): Rename from V.
13966 (install-lib-nosubdir): Change V to lib-version.
13967
13968 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13969
13970 [BZ #14252]
13971 * powerpc32/power6/wcschr.c: New file.
13972 * powerpc32/power6/wcscpy.c: New file.
13973 * powerpc32/power6/wcsrchr.c: New file.
13974 * powerpc64/power6/wcschr.c: New file.
13975 * powerpc64/power6/wcscpy.c: New file.
13976 * powerpc64/power6/wcsrchr.c: New file.
13977
13978 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13979
13980 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13981 (two_way_short_needle): Use it.
13982 * string/strstr.c (AVAILABLE1_USES_J): Define.
13983 * string/strcasestr.c: Likewise.
13984
13985 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13986 array references.
13987 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13988
13989 [BZ #11607]
13990 * NEWS: Add an entry.
13991 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13992 define their defaults.
13993 (two_way_short_needle): Detect end-of-string on-the-fly.
13994 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13995 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13996 * string/bug-strcasestr1.c: New test.
13997 * string/Makefile: Run it.
13998
13999 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14000
14001 [BZ #11607]
14002 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14003 the first character.
14004
14005 2012-08-21 Roland McGrath <roland@hack.frob.com>
14006
14007 * csu/elf-init.c (__libc_csu_irel): Function removed.
14008 * csu/libc-start.c (apply_irel): New function.
14009 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14010
14011 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14012
14013 * sysdeps/unix/sysv/linux/kernel-features.h
14014 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14015 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14016 <kernel-features.h>.
14017 [__NR_fadvise64_64]: Make code unconditional.
14018 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14019 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14020 !__NR_fadvise64_64)]: Likewise.
14021 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14022 !__NR_fadvise64_64))]: Likewise.
14023 [__NR_fadvise64]: Make code unconditional.
14024 [!__NR_fadvise64]: Remove conditional code.
14025 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14026 <kernel-features.h>.
14027 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14028 unconditional.
14029 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14030 conditional code.
14031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14032 not include <kernel-features.h>.
14033 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14034 unconditional.
14035 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14036 conditional code.
14037 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14038 include <kernel-features.h>.
14039 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14040 unconditional.
14041 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14042 conditional code.
14043
14044 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14045
14046 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14047 slight instruction rearrangements per scrollpipe analysis.
14048 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14049
14050 2012-08-20 Roland McGrath <roland@hack.frob.com>
14051
14052 * manual/syslog.texi (syslog; vsyslog, closelog):
14053 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14054 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14055
14056 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14057 DSOCAPS to match condition on defining it.
14058
14059 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14060
14061 * sysdeps/unix/sysv/linux/kernel-features.h
14062 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14064 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14065 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14067 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14068 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14070 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14071 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14072
14073 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14074 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14075
14076 * sysdeps/unix/sysv/linux/kernel-features.h
14077 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14078 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14079 unconditional.
14080 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14081 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14082 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14083 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14084 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14085 Make code unconditional.
14086 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14087 (__mmap64) [!__NR_mmap2]: Likewise.
14088 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14089 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14090 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14091 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14092 [__NR_mmap2]: Make code unconditional.
14093 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14094 (__mmap64) [!__NR_mmap2]: Likewise.
14095
14096 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14097
14098 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14099
14100 2012-08-18 Andreas Jaeger <aj@suse.de>
14101
14102 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14103
14104 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14105
14106 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14107 * include/unistd.h (__have_sock_cloexec): Likewise.
14108 (__have_pipe2): Likewise.
14109 (__have_dup3): Likewise.
14110
14111 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14112
14113 [BZ #9685]
14114 * include/unistd.h (__have_pipe2): Change define into an extern int.
14115 (__have_dup3): Likewise.
14116 * socket/have_sock_cloexec.c: Include fcntl.h.
14117 (__have_pipe2): New variable.
14118 (__have_dup3): Likewise.
14119
14120 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14121
14122 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14123
14124 2012-08-17 Marek Polacek <polacek@redhat.com>
14125
14126 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14127 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14128
14129 2012-08-17 Roland McGrath <roland@hack.frob.com>
14130
14131 * configure.in: Add AC_SUBST for sysheaders.
14132 * configure: Regenerated.
14133 * config.make.in (sysheaders): New substituted variable.
14134
14135 * sysdeps/unix/mkfifo.c: Moved ...
14136 * sysdeps/posix/mkfifo.c: ... here.
14137 * sysdeps/unix/mkfifoat.c: Moved ...
14138 * sysdeps/posix/mkfifoat.c: ... here.
14139
14140 * sysdeps/unix/utime.c: Moved ...
14141 * sysdeps/posix/utime.c: ... here.
14142
14143 * sysdeps/unix/time.c: Moved ...
14144 * sysdeps/posix/time.c: ... here.
14145 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14146 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14147
14148 * sysdeps/unix/nice.c: Moved ...
14149 * sysdeps/posix/nice.c: ... here.
14150
14151 * sysdeps/unix/alarm.c: Moved ...
14152 * sysdeps/posix/alarm.c: ... here.
14153
14154 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14155
14156 2012-08-17 Jeff Law <law@redhat.com>
14157
14158 * intl/Makefile (codeset_mo): New variable.
14159 ($(codeset_mo)): New target.
14160 (tst-codeset.out): Depend on that. Remove explicit rule.
14161 (tst-gettext3.out, tst-gettext5.out): Likewise.
14162 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14163 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14164 * intl/tst-codeset.sh: Remove.
14165 * intl/tst-gettext3.sh: Likewise.
14166 * intl/tst-gettext5.sh: Likewise.
14167
14168 2012-08-17 Roland McGrath <roland@hack.frob.com>
14169
14170 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14171 * sysdeps/unix/syscalls.list: ... here.
14172
14173 * sysdeps/posix/getaddrinfo.c
14174 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14175 (gaiconf_init, gaiconf_reload): Use them.
14176 [!_STATBUF_ST_NSEC]
14177 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14178 Define using time_t rather than struct timespec.
14179
14180 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14181 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14182 Macros removed.
14183 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14184 [!NO_THREADS].
14185 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14186 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14187 Likewise.
14188
14189 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14190 __libc_cleanup_push argument.
14191
14192 * bits/param.h: New file.
14193 * misc/sys/param.h: New file.
14194 * include/sys/param.h: New file.
14195 * misc/Makefile (headers): Add bits/param.h.
14196 * sysdeps/generic/sys/param.h: File removed.
14197 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14198 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14199 * sysdeps/mach/hurd/bits/param.h: New file.
14200 * sysdeps/mach/hurd/sys/param.h: File removed.
14201
14202 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14203 last change.
14204
14205 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14206 [_IO_MTSAFE_IO].
14207 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14208 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14209 New macros.
14210
14211 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14212 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14213 rather than -D_IO_MTSAFE_IO conditionally.
14214 * stdio-common/Makefile (CPPFLAGS): Likewise.
14215 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14216 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14217 Use $(libio-mtsafe).
14218 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14219 of -D_IO_MTSAFE_IO.
14220 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14221 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14222 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14223 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14224 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14225 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14226 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14227 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14228 (CFLAGS-fread_u_chk.c): Likewise.
14229 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14230 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14231 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14232 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14233 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14234 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14235 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14236 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14237 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14238
14239 * libio/Makefile: Test [$(libc-reentrant) = yes]
14240 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14241
14242 * Makeconfig
14243 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14244 * sysdeps/pthread/configure: File removed.
14245 * sysdeps/pthread/Makeconfig: New file.
14246 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14247 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14248
14249 2012-08-16 Gary Benson <gbenson@redhat.com>
14250
14251 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14252 unmapping the first object in a namespace.
14253
14254 2012-08-16 Roland McGrath <roland@hack.frob.com>
14255
14256 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14257 (__internal_setnetgrent): ... this. Add internal_function to
14258 definition. Add libc_hidden_def.
14259 (setnetgrent): Update caller.
14260 (internal_endnetgrent): Renamed to ...
14261 (__internal_endnetgrent): ... this. Add internal_function to
14262 definition. Add libc_hidden_def.
14263 (endnetgrent): Update caller.
14264 (internal_getnetgrent_r): Renamed to ...
14265 (__internal_getnetgrent_r): ... this. Add internal_function to
14266 definition. Add libc_hidden_def.
14267 (__getnetgrent_r): Update caller.
14268 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14269
14270 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14271
14272 * stdlib/longlong.h: Update from GCC.
14273
14274 2012-08-16 Roland McGrath <roland@hack.frob.com>
14275
14276 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14277 on _QL, which is set by umul_ppmm but never used.
14278 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14279 variables, which are set by GMP macros but never used.
14280 * stdio-common/_itowa.c (_itowa): Likewise.
14281 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14282 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14283
14284 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14285
14286 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14287 struct La_sh_regs is not constant.
14288 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14289 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14290 and struct La_sparc64_regs are not constant.
14291
14292 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14293
14294 * sysdeps/unix/sysv/linux/kernel-features.h
14295 (__ASSUME_POSIX_TIMERS): Remove.
14296 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14297 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14298 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14299 Make code unconditional.
14300 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14301 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14302 Make code unconditional.
14303 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14304 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14305 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14306 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14307 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14308 Make code unconditional.
14309 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14310 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14311 (__libc_missing_posix_timers): Remove.
14312
14313 2012-08-15 Roland McGrath <roland@hack.frob.com>
14314
14315 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14316 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14317
14318 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14319
14320 * elf/dl-sym.c: Include <stdlib.h>.
14321
14322 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14323 constants, which avoids warnings in 32-bit builds.
14324
14325 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14326 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14327
14328 * misc/lseek.c: File moved to ...
14329 * io/lseek.c: ... here.
14330
14331 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14332
14333 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14334 shifting LEN more than 31 bits at once.
14335
14336 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14337
14338 [BZ #14195]
14339 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14340 segmentation fault for a case of two empty input strings.
14341 * string/test-strncasecmp.c (check1): Renamed to...
14342 (bz12205): ...this.
14343 (bz14195): Add new testcase for two empty input strings and N > 0.
14344 (test_main): Call new testcase, adapt for renamed function.
14345
14346 2012-08-15 Andreas Jaeger <aj@suse.de>
14347
14348 [BZ #14090]
14349 * crypt/md5test2.c: New test, based on test supplied by Serge
14350 Belyshev <belyshev@depni.sinp.msu.ru>.
14351 * crypt/Makefile (xtests): Add md5test-giant..
14352 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14353
14354 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14355
14356 [BZ #14090]
14357 * crypt/md5.c (md5_process_block): Don't assume the buffer
14358 length is less than 2**32.
14359 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14360 length is less than 2**64.
14361
14362 2012-08-15 Roland McGrath <roland@hack.frob.com>
14363
14364 * string/str-two-way.h: Include <sys/param.h>.
14365 (MAX): Macro removed.
14366
14367 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14368 Move #define and #undef of memmove to just before and after
14369 including <string.h>.
14370
14371 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14372 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14373 and after including <string.h>. Move declarations of
14374 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14375 to before #include "string/memmove.c".
14376
14377 * include/dirent.h: Declare __getdirentries.
14378
14379 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14380 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14381
14382 2012-08-14 Mike Frysinger <vapier@gentoo.org>
14383
14384 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14385 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14386 * sysdeps/i386/configure: Regenerated.
14387 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14388 STABS_CURRENT_FILE, and STABS_FUN.
14389 (END): Remove call to STABS_FUN_END.
14390 (STABS_CURRENT_FILE1): Delete.
14391 (STABS_CURRENT_FILE): Likewise.
14392 (STABS_FUN): Likewise.
14393 (STABS_FUN_END): Likewise.
14394 (STABS_FUN2): Likewise.
14395 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14396 * sysdeps/x86_64/configure: Regenerated.
14397
14398 2012-08-14 Roland McGrath <roland@hack.frob.com>
14399
14400 * elf/dl-open.c: Include <atomic.h>.
14401 * elf/dl-lookup.c: Likewise.
14402
14403 2012-08-14 Joseph Myers <joseph@codesourcery.com>
14404
14405 * sysdeps/unix/sysv/linux/kernel-features.h
14406 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14407 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14408 unconditionally.
14409 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14410 unconditionally.
14411 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14412 condition on __ASSUME_CLONE_THREAD_FLAGS.
14413
14414 2012-08-14 Andreas Jaeger <aj@suse.de>
14415
14416 * sysdeps/i386/fpu/libm-test-ulps: Update.
14417
14418 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14419
14420 * include/atomic.h (atomic_exchange_and_add): Split into ...
14421 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14422 New atomic macros.
14423
14424 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14425
14426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14427
14428 2012-08-13 Jeff Law <law@redhat.com>
14429
14430 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14431 null byte in the output string.
14432
14433 2012-08-10 Joseph Myers <joseph@codesourcery.com>
14434
14435 * sysdeps/unix/sysv/linux/kernel-features.h
14436 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14437 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14438 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14439 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14440 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14441 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14442 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14443
14444 2012-08-09 Jeff Law <law@redhat.com>
14445
14446 [BZ #13939]
14447 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14448 When avoid_arena is set, don't retry in the that arena. Pick the
14449 next one, whatever it might be.
14450 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14451 (arena_lock): Pass in new parameter to arena_get2.
14452 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14453 arena_get2.
14454 (__libc_malloc): Unify retrying after main arena failure with
14455 __libc_memalign version.
14456 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14457
14458 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14459
14460 [BZ #14166]
14461 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14462 to __redirect_strstr.
14463 (__strstr_sse42): Use typeof __redirect_strstr.
14464 (__strstr_ia32): Likewise.
14465 (__libc_strstr): New prototype.
14466 (strstr): Renamed to ...
14467 (__libc_strstr): This.
14468 (strstr): New strong alias of __libc_strstr.
14469 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14470 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14471 __redirect_time.
14472 Include <time.h>.
14473 (__libc_time): New prototype.
14474 (time_ifunc): Replace time with __libc_time.
14475 (time): New strong alias and hidden definition of __libc_time.
14476 (__GI_time): Remove strong alias.
14477 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14478 Include <stddef.h>.
14479 (memmove): Redefined to __redirect_memmove.
14480 (__memmove_sse2): Use typeof __redirect_memmove.
14481 (__memmove_ssse3): Likewise.
14482 (__memmove_ssse3_back): Likewise.
14483 (__libc_memmove): New prototype.
14484 (memmove): Renamed to ...
14485 (__libc_memmove): This.
14486 (memmove): New strong alias of __libc_memmove.
14487
14488 2012-08-08 Mark Salter <msalter@redhat.com>
14489
14490 * elf/elf.h
14491 (R_MN10300_TLS_GD): Define.
14492 (R_MN10300_TLS_LD): Likewise.
14493 (R_MN10300_TLS_LDO): Likewise.
14494 (R_MN10300_TLS_GOTIE): Likewise.
14495 (R_MN10300_TLS_IE): Likewise.
14496 (R_MN10300_TLS_LE): Likewise.
14497 (R_MN10300_TLS_DTPMOD): Likewise.
14498 (R_MN10300_TLS_DTPOFF): Likewise.
14499 (R_MN10300_TLS_TPOFF): Likewise.
14500 (R_MN10300_SYM_DIFF): Likewise.
14501 (R_MN10300_ALIGN): Likewise.
14502 (R_MN10300_NUM): Update.
14503
14504 2012-08-08 Joseph Myers <joseph@codesourcery.com>
14505
14506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14507 Remove.
14508
14509 2012-08-08 Roland McGrath <roland@hack.frob.com>
14510
14511 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14512
14513 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14514 sysdeps/unix -> sysdeps/posix move.
14515 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14516
14517 2012-08-07 Allan McRae <allan@archlinux.org>
14518
14519 [BZ #14303]
14520 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14521 (SUNOS_CPP): Likewise.
14522 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14523 not found.
14524 (open_input): Call CPP using execvp.
14525
14526 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14527
14528 * sysdeps/unix/sysv/linux/kernel-features.h
14529 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14530 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14531 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14532 (__ASSUME_WAITID_SYSCALL): Likewise.
14533 * sysdeps/unix/sysv/linux/dl-execstack.c
14534 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14535 code unconditional.
14536 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14537 conditional code.
14538 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14539 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14540 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14541 code.
14542 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14543 unconditional.
14544 [__ASSUME_WAITID_SYSCALL]: Likewise.
14545 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14546
14547 2012-08-07 Roland McGrath <roland@hack.frob.com>
14548
14549 * sysdeps/unix/closedir.c: Renamed to ...
14550 * sysdeps/posix/closedir.c: ... here.
14551 * sysdeps/unix/dirfd.c: Renamed to ...
14552 * sysdeps/posix/dirfd.c: ... here.
14553 * sysdeps/unix/dirstream.h: Renamed to ...
14554 * sysdeps/posix/dirstream.h: ... here.
14555 * sysdeps/unix/fdopendir.c: Renamed to ...
14556 * sysdeps/posix/fdopendir.c: ... here.
14557 * sysdeps/unix/opendir.c: Renamed to ...
14558 * sysdeps/posix/opendir.c: ... here.
14559 * sysdeps/unix/readdir.c: Renamed to ...
14560 * sysdeps/posix/readdir.c: ... here.
14561 * sysdeps/unix/readdir_r.c: Renamed to ...
14562 * sysdeps/posix/readdir_r.c: ... here.
14563 * sysdeps/unix/rewinddir.c: Renamed to ...
14564 * sysdeps/posix/rewinddir.c: ... here.
14565 * sysdeps/unix/seekdir.c: Renamed to ...
14566 * sysdeps/posix/seekdir.c: ... here.
14567 * sysdeps/unix/telldir.c: Renamed to ...
14568 * sysdeps/posix/telldir.c: ... here.
14569 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14570 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14571 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14572 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14573
14574 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14575 * bits/fcntl.h: ... here.
14576
14577 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14578 not 0.
14579 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14580 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14581 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14582 (struct flock): Move l_start, l_len to the beginning.
14583 Use __pid_t for l_pid.
14584 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14585 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14586 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14587 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14588 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14589 [__USE_LARGEFILE64] (struct flock64): New type.
14590 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14591
14592 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14593 * bits/dirent.h: ... here.
14594
14595 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14596 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14597
14598 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14599
14600 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14601 Change from 2.6.0 to 2.6.16.
14602 * sysdeps/unix/sysv/linux/configure: Regenerated.
14603 * sysdeps/unix/sysv/linux/kernel-features.h
14604 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14605 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14606 version.
14607 (__ASSUME_UTIMES): Likewise.
14608 (__ASSUME_CLONE_STOPPED): Remove.
14609 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14610 architectures, not kernel version.
14611 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14612 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14613 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14614 (__ASSUME_WAITID_SYSCALL): Likewise.
14615 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14616 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14617 * README: State 2.6.16 as minimum Linux kernel version. Do not
14618 refer to older versions.
14619
14620 2012-08-06 Roland McGrath <roland@hack.frob.com>
14621
14622 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14623 Define alphasort64 as an alias.
14624 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14625 Define versionsort64 as an alias.
14626 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14627 Define scandir64 as an alias.
14628 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14629 Define scandirat64 as an alias.
14630 * dirent/alphasort64.c (alphasort64):
14631 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14632 * dirent/versionsort64.c: Likewise.
14633 * dirent/scandir64.c: Likewise.
14634 * dirent/scandirat64.c: Likewise.
14635 * sysdeps/wordsize-64/alphasort.c: File removed.
14636 * sysdeps/wordsize-64/alphasort64.c: File removed.
14637 * sysdeps/wordsize-64/scandir.c: File removed.
14638 * sysdeps/wordsize-64/scandir64.c: File removed.
14639 * sysdeps/wordsize-64/scandirat.c: File removed.
14640 * sysdeps/wordsize-64/scandirat64.c: File removed.
14641 * sysdeps/wordsize-64/versionsort.c: File removed.
14642 * sysdeps/wordsize-64/versionsort64.c: File removed.
14643 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14644 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14645 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14646 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14647 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14648 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14649 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14650 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14651
14652 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14653 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14654 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14656 [defined __arch64__ || defined __sparcv9]
14657 (__INO_T_MATCHES_INO64_T): New macro.
14658 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14659 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14660 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14661 * sysdeps/unix/sysv/linux/bits/dirent.h
14662 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14663 (_DIRENT_MATCHES_DIRENT64): New macro.
14664
14665 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14666 Define lockf64 as an alias.
14667 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14668 Define fseeko64 as an alias.
14669 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14670 Define ftello64 as an alias.
14671 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14672 Define _IO_fgetpos64 and fgetpos64 as aliases.
14673 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14674 Define _IO_fsetpos64 and fsetpos64 as aliases.
14675 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14676 Conditionalize body on this.
14677 * libio/fseeko64.c: Likewise.
14678 * libio/ftello64.c: Likewise.
14679 * libio/iofgetpos64.c: Likewise.
14680 * libio/iofsetpos64.c: Likewise.
14681 * sysdeps/wordsize-64/lockf.c: File removed.
14682 * sysdeps/wordsize-64/lockf64.c: File removed.
14683 * sysdeps/wordsize-64/fseeko.c: File removed.
14684 * sysdeps/wordsize-64/fseeko64.c: File removed.
14685 * sysdeps/wordsize-64/ftello.c: File removed.
14686 * sysdeps/wordsize-64/ftello64.c: File removed.
14687 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14688 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14689 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14690 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14691 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14692 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14693 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14694 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14695 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14696 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14697 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14698 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14699 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14700 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14701
14702 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14704 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14706 [defined __arch64__ || defined __sparcv9]
14707 (__OFF_T_MATCHES_OFF64_T): New macro.
14708 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14709 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14710 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14711 (__OFF_T_MATCHES_OFF64_T): New macro.
14712
14713 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14714
14715 * stdlib/secure-getenv.c (__secure_getenv): Replace
14716 GLIBC_2_16 with GLIBC_2_17.
14717
14718 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14719
14720 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14721 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14722
14723 2012-08-03 David S. Miller <davem@davemloft.net>
14724
14725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14726
14727 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14728
14729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14730 Remove.
14731 (__ASSUME_CORRECT_SI_PID): Likewise.
14732 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14733 (__ASSUME_TMPFS_NAME): Likewise.
14734 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14735 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14736 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14737 (HAVE_AUX_SECURE): Make definition unconditional.
14738 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14739 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14740
14741 2012-08-03 Roland McGrath <roland@hack.frob.com>
14742
14743 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14744 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14745 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14746 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14747 __eloop_threshold instead of SYMLOOP_MAX.
14748
14749 * sysdeps/generic/eloop-threshold.h: New file.
14750 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14751 of MAXSYMLINKS.
14752 * elf/chroot_canon.c (chroot_canon): Likewise.
14753
14754 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14755
14756 [BZ #13717]
14757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14758 Change to 2.6.0 everywhere.
14759 * sysdeps/unix/sysv/linux/configure: Regenerated.
14760 * sysdeps/unix/sysv/linux/kernel-features.h
14761 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14762 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14763 kernel versions.
14764 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14765 (__ASSUME_FUTEX_REQUEUE): Remove.
14766 (__ASSUME_STATFS64): Define unconditionally.
14767 (__ASSUME_AT_SECURE): Likewise.
14768 (__ASSUME_CORRECT_SI_PID): Likewise.
14769 (__ASSUME_TGKILL): Define without depending on kernel version for
14770 i386.
14771 (__ASSUME_UTIMES): Likewise.
14772 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14773 kernel version.
14774 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14775 (__ASSUME_TMPFS_NAME): Likewise.
14776 * README: Update reference to Linux kernel versions.
14777
14778 2012-08-02 Marek Polacek <polacek@redhat.com>
14779
14780 [BZ# 14150]
14781 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14782 libc_cv_asm_type_prefix with %.
14783 * configure: Regenerated.
14784 * include/libc-symbols.h: Remove comment about
14785 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14786 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14787 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14788 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14789 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14790 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14791 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14792 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14793 * elf/tst-unique2mod1.c: Likewise.
14794 * elf/tst-unique1mod2.c: Likewise.
14795 * elf/tst-unique1mod1.c: Likewise.
14796 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14797 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14798 Replace ASM_TYPE_DIRECTIVE with .type.
14799 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14800 * sysdeps/i386/sysdep.h: Likewise.
14801 * sysdeps/x86_64/sysdep.h: Likewise.
14802 * sysdeps/sh/sysdep.h: Likewise.
14803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14804 Do not define ASM_TYPE_DIRECTIVE.
14805 * sysdeps/powerpc/sysdep.h: Likewise.
14806 * sysdeps/powerpc/powerpc32/sysdep.h:
14807 Replace ASM_TYPE_DIRECTIVE with .type.
14808 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14809 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14810 * sysdeps/i386/fpu/e_powf.S: Likewise.
14811 * sysdeps/i386/fpu/e_expl.S: Likewise.
14812 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14813 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14814 * sysdeps/i386/fpu/e_pow.S: Likewise.
14815 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14816 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14817 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14818 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14819 * sysdeps/i386/fpu/e_log2.S: Likewise.
14820 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14821 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14822 * sysdeps/i386/fpu/e_powl.S: Likewise.
14823 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14824 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14825 * sysdeps/i386/fpu/e_logl.S: Likewise.
14826 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14827 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14828 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14829 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14830 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14831 * sysdeps/i386/fpu/e_log.S: Likewise.
14832 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14833 * sysdeps/i386/fpu/e_logf.S: Likewise.
14834 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14835 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14836 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14837 * sysdeps/i386/fpu/e_log10.S: Likewise.
14838 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14839 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14840 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14841 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14842 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14843 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14844 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14845 * sysdeps/i386/i686/strtok.S: Likewise.
14846 * sysdeps/i386/i386-mcount.S: Likewise.
14847 * sysdeps/i386/strtok.S: Likewise.
14848 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14849 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14851 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14852 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14853 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14854 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14855 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14856 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14857 * sysdeps/x86_64/_mcount.S: Likewise.
14858 * sysdeps/x86_64/strtok.S: Likewise.
14859 * sysdeps/sh/_mcount.S: Likewise.
14860
14861 2012-08-01 Roland McGrath <roland@hack.frob.com>
14862
14863 * libio/iofopen.c: Include <fcntl.h>.
14864 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14865 (_IO_fopen64, fopen64): Define as aliases.
14866 * libio/iofopen64.c: Include <fcntl.h>.
14867 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14868 Conditionalize body on this.
14869 * sysdeps/wordsize-64/iofopen.c: File removed.
14870 * sysdeps/wordsize-64/iofopen64.c: File removed.
14871
14872 2012-08-01 Marek Polacek <polacek@redhat.com>
14873
14874 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14875 Use dlfcn directly instead of a variable.
14876 (binfmt-subdir): Do not define.
14877 (dlfcn): Likewise.
14878
14879 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14880
14881 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14882 Remove all definitions.
14883 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14884 <kernel-features.h>.
14885 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14886 (miss_F_GETOWN_EX): Remove all definitions.
14887 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14888 macro definition.
14889 [!__ASSUME_FCNTL64]: Remove conditional code.
14890 [__ASSUME_FCNTL64]: Make code unconditional.
14891 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14892 <kernel-features.h>.
14893 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14894 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14895 (lockf64) [__NR_fcntl64]: Make code unconditional.
14896 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14897
14898 * sysdeps/unix/sysv/linux/kernel-features.h
14899 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14900 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14901 Make code unconditional.
14902 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14903 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14905 [__NR_vfork]: Make code unconditional.
14906 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14907 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14909 [__NR_vfork]: Make code unconditional.
14910 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14911 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14912
14913 2012-08-01 Roland McGrath <roland@hack.frob.com>
14914
14915 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14916 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14917
14918 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14919 Define mkstemp64 as an alias.
14920 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14921 Define mkstemps64 as an alias.
14922 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14923 Define mkostemp64 as an alias.
14924 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14925 Define mkostemps64 as an alias.
14926 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14927 Conditionalize body on this.
14928 * misc/mkostemp64.c: Likewise.
14929 * misc/mkostemps64.c: Likewise.
14930 * misc/mkstemps64.c: Likewise.
14931 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14932 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14933 * sysdeps/wordsize-64/mkostemp.c: File removed.
14934 * sysdeps/wordsize-64/mkstemp.c: File removed.
14935 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14936 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14937 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14938 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14939
14940 [BZ #14138]
14941 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14942 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14943 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14944 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14945
14946 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14947 compat_symbol macros from <shlib-compat.h> rather than the underlying
14948 default_symbol_version and symbol_version macros, so that DEFAULT
14949 lines in shlib-versions are respected.
14950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14951
14952 2012-08-01 Florian Weimer <fweimer@redhat.com>
14953
14954 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14955 Declare with warn_unused_result.
14956 (setgid, setregid, setegid, setresgid): Likewise.
14957 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14958 Likewise.
14959 * WUR-REPORT: Remove set*id functions.
14960
14961 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14962
14963 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14964
14965 2012-07-31 Roland McGrath <roland@hack.frob.com>
14966
14967 [BZ #10191]
14968 * include/sys/socket.h (__libc_accept, __libc_accept4):
14969 Add attribute_hidden.
14970 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14971
14972 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14973 use of PTR_MANGLE.
14974 * inet/getnetgrent_r.c (setup): Likewise.
14975
14976 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14977
14978 2012-07-31 David S. Miller <davem@davemloft.net>
14979
14980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14981
14982 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14983
14984 [BZ #13629]
14985 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14986 value between 1.0 and 2.0 and smaller part has absolute value less
14987 than 1.0.
14988 * math/s_clog10.c (__clog10): Likewise.
14989 * math/s_clog10f.c (__clog10f): Likewise.
14990 * math/s_clog10l.c (__clog10l): Likewise.
14991 * math/s_clogf.c (__clogf): Likewise.
14992 * math/s_clogl.c (__clogl): Likewise.
14993 * math/libm-test.inc (clog_test): Add more tests.
14994 (clog10_test): Likewise.
14995 * sysdeps/i386/fpu/libm-test-ulps: Update.
14996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14997
14998 2012-07-31 Florian Weimer <fweimer@redhat.com>
14999
15000 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15001 Exit with zero in case no suitable GID is found, and write a
15002 message to standard error.
15003
15004 2012-07-30 Roland McGrath <roland@hack.frob.com>
15005
15006 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15007 rather than to 1.
15008 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15009 (MAXPATHLEN): Removed.
15010 (NOGROUP, NODEV): New macros.
15011 (setbit, clrbit, isset, isclr): New macros.
15012 (howmany, roundup, powerof2): New macros.
15013 (DEV_BSIZE): New macro.
15014
15015 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15016 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15017
15018 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15019 definition on [!__NO_LONG_DOUBLE_MATH].
15020
15021 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15022 PTR_MANGLE and PTR_DEMANGLE.
15023
15024 * socket/accept4.c (accept4): Rename to __libc_accept4.
15025 Define accept4 as a weak alias.
15026
15027 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15028 on [_DIRENT_HAVE_D_TYPE].
15029 * io/ftw.c (ftw_dir): Likewise.
15030
15031 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15032
15033 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15034
15035 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15036 Use the BSD numbers rather than the arbitrary ones we had.
15037 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15038 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15039 (SIGXCPU, SIGXFSZ): New macros.
15040 (_NSIG): Now 32.
15041
15042 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15043 initializer on [_LIBC_REENTRANT].
15044
15045 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15046 definitions inside [_POSIX_MAPPED_FILES].
15047
15048 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15049
15050 * dirent/opendir.c: Include <fcntl.h>.
15051
15052 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15053 (__libc_getspecific): Likewise.
15054 (__libc_key_create): Likewise.
15055
15056 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15057 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15058 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15059 (tmpfile64): Define as alias.
15060 * sysdeps/wordsize-64/tmpfile.c: File removed.
15061 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15062 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15063 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15064
15065 * stdio-common/vfscanf.c: Include <stdbool.h>.
15066 * nss/makedb.c: Likewise.
15067 * stdio-common/_i18n_number.h: Likewise.
15068 * argp/argp-help.c: Likewise.
15069 * posix/wordexp.c: Likewise.
15070 * sysdeps/posix/spawni.c: Likewise.
15071 * nss/nss_files/files-initgroups.c: Likewise.
15072 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15073 * nss/nss_files/files-initgroups.c: Likewise.
15074 * nss/nss_db/db-netgrp.c: Likewise.
15075 * nss/nss_db/db-initgroups.c: Likewise.
15076 * io/fchmodat.c: Include <sys/stat.h>.
15077
15078 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15079 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15080
15081 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15082 [HAVE_MMAP].
15083
15084 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15085 Add multiple inclusion protection.
15086
15087 2012-07-27 David S. Miller <davem@davemloft.net>
15088
15089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15090
15091 2012-07-27 Gary Benson <gbenson@redhat.com>
15092
15093 [BZ #14298]
15094 * elf/rtld.c: Include <stap-probe.h>.
15095 (dl_main): Added static probes "init_start" and "init_complete".
15096 * elf/dl-load.c: Include <stap-probe.h>.
15097 (lose): Take new parameter "nsid".
15098 Added static probe "map_failed".
15099 (_dl_map_object_from_fd): Pass namespace id to lose.
15100 Added static probe "map_start".
15101 (open_verify): Pass namespace id to lose.
15102 * elf/dl-open.c: Include <stap-probe.h>.
15103 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15104 and "reloc_complete".
15105 * elf/dl-close.c: Include <stap-probe.h>.
15106 (_dl_close_worker): Added static probes "unmap_start" and
15107 "unmap_complete".
15108 * elf/rtld-debugger-interface.txt: New file documenting the above.
15109
15110 2012-07-26 Roland McGrath <roland@hack.frob.com>
15111
15112 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15113 rather than a string variable.
15114 * sunrpc/rpc_main.c (h_output): Likewise.
15115 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15116
15117 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15118
15119 * inet/check_native.c: New file.
15120
15121 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15122
15123 [BZ #13629]
15124 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15125 if larger part has absolute value 1.0.
15126 * math/s_clog10.c (__clog10): Likewise.
15127 * math/s_clog10f.c (__clog10f): Likewise.
15128 * math/s_clog10l.c (__clog10l): Likewise.
15129 * math/s_clogf.c (__clogf): Likewise.
15130 * math/s_clogl.c (__clogl): Likewise.
15131 * math/libm-test.inc (clog_test): Add more tests.
15132 (clog10_test): Likewise.
15133 * sysdeps/i386/fpu/libm-test-ulps: Update.
15134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15135
15136 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15137 (pltexit): Likewise.
15138 (La_regs): Likewise.
15139 (La_retval): Likewise.
15140 (int_retval): Likewise.
15141 Update #error for removed macros to refer only to definitions in
15142 tst-audit.h.
15143 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15144 macro.
15145 (pltexit): Likewise.
15146 (La_regs): Likewise.
15147 (La_retval): Likewise.
15148 (int_retval): Likewise.
15149 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15150 macro.
15151 (pltexit): Likewise.
15152 (La_regs): Likewise.
15153 (La_retval): Likewise.
15154 (int_retval): Likewise.
15155 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15156 macro.
15157 (pltexit): Likewise.
15158 (La_regs): Likewise.
15159 (La_retval): Likewise.
15160 (int_retval): Likewise.
15161 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15162 macro.
15163 (pltexit): Likewise.
15164 (La_regs): Likewise.
15165 (La_retval): Likewise.
15166 (int_retval): Likewise.
15167 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15168 macro.
15169 (pltexit): Likewise.
15170 (La_regs): Likewise.
15171 (La_retval): Likewise.
15172 (int_retval): Likewise.
15173 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15174 macro.
15175 (pltexit): Likewise.
15176 (La_regs): Likewise.
15177 (La_retval): Likewise.
15178 (int_retval): Likewise.
15179 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15180 macro definitions in tst-audit.h.
15181 * sysdeps/i386/tst-audit.h: New file.
15182 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15183 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15184 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15185 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15186 * sysdeps/sh/tst-audit.h: Likewise.
15187 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15188 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15189 * sysdeps/x86_64/tst-audit.h: Likewise.
15190
15191 2012-07-26 Andreas Jaeger <aj@suse.de>
15192
15193 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15194 ptrace.
15195
15196 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15197 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15198 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15199 PTRACE_O_MASK.
15200 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15201 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15202 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15203
15204 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15205 value.
15206
15207 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15208 _sigsys.
15209 (si_call_addr, si_syscall, si_arch): Define new macro.
15210 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15211 _sigsys.
15212 (si_call_addr, si_syscall, si_arch): Define new marcro.
15213 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15214 _sigsys.
15215 (si_call_addr, si_syscall, si_arch): Define new macro.
15216 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15217 _sigsys.
15218 (si_call_addr, si_syscall, si_arch): Define new macro.
15219
15220 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15221
15222 [BZ #13717]
15223 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15224 Change to 2.4.21 where previously 2.4.1.
15225 * sysdeps/unix/sysv/linux/configure: Regenerated.
15226 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15227 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15228 Linux kernel version.
15229 (__ASSUME_STD_AUXV): Remove.
15230 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15231 kernel version.
15232 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15233 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15234 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15235 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15236 (__ASSUME_NETLINK_SUPPORT): Likewise.
15237 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15238 (__no_netlink_support): Remove conditional definition.
15239 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15240 Remove.
15241 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15242 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15243 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15244 (if_nameindex_ioctl): Remove.
15245 (if_nameindex_netlink): Do not handle __no_netlink_support.
15246 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15247 code.
15248 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15249 Remove conditional code.
15250 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15251 code.
15252 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15253 unconditional.
15254 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15255 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15256 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15257 Remove.
15258 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15259 [!__ASSUME_STD_AUXV]: Remove conditional code.
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15261 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15262 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15264 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15265 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15266 code.
15267 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15269 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15270 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15271 conditional code.
15272 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15274 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15275 code.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15277 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15278 conditional code.
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15280 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15281 code unconditional.
15282 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15283 conditional code.
15284 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15285 unconditional.
15286 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15287 conditional code.
15288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15289 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15290 unconditional.
15291 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15292 conditional code.
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15294 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15295 code unconditional.
15296 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15297 conditional code.
15298 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15299 unconditional.
15300 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15301 conditional code.
15302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15303 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15304 code unconditional.
15305 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15306 conditional code.
15307 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15308 unconditional.
15309 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15310 conditional code.
15311
15312 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15313
15314 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15315 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15316 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15317 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15318 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15319 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15320 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15321 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15322 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15323 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15324 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15325 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15326 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15327 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15328 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15329 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15330 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15331 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15332 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15334 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15335 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15336 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15337
15338 2012-07-25 Florian Weimer <fweimer@redhat.com>
15339
15340 * Versions.def: Add GLIBC_2.17.
15341 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15342 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15343 Introduce __libc_secure_getenv.
15344 * stdlib/Versions (2.17): Add secure_getenv
15345 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15346 * stdlib/secure-getenv.c: Rename __secure_getenv to
15347 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15348 symbol __secure_getenv for GLIBC_2.0.
15349 * stdlib/tst-secure-getenv.c: New.
15350 * stdlib/Makefile (tests): Add testcase.
15351 * manual/startup.texi (Environment Access): Document
15352 secure_getenv.
15353 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15354 __libc_secure_getenv.
15355 * inet/ruserpass.c (ruserpass): Likewise.
15356 * malloc/mtrace.c (mtrace): Likewise.
15357 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15358 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15359 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15360 * sysdeps/posix/tempname.c: Likewise. Evaluate
15361 HAVE_SECURE_GETENV.
15362 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15363 __secure_getenv to __libc_secure_getenv.
15364 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15366 Likewise.
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15368 Likewise.
15369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15371 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15376
15377 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15378
15379 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15380 (struct La_i86_retval): Likewise.
15381 (struct La_x86_64_regs): Likewise.
15382 (struct La_x86_64_retval): Likewise.
15383 (struct La_x32_regs): Likewise.
15384 (struct La_x32_retval): Likewise.
15385 (struct La_ppc32_regs): Likewise.
15386 (struct La_ppc32_retval): Likewise.
15387 (struct La_ppc64_regs): Likewise.
15388 (struct La_ppc64_retval): Likewise.
15389 (struct La_sh_regs): Likewise.
15390 (struct La_sh_retval): Likewise.
15391 (struct La_s390_32_regs): Likewise.
15392 (struct La_s390_32_retval): Likewise.
15393 (struct La_s390_64_regs): Likewise.
15394 (struct La_s390_64_retval): Likewise.
15395 (struct La_sparc32_regs): Likewise.
15396 (struct La_sparc32_retval): Likewise.
15397 (struct La_sparc64_regs): Likewise.
15398 (struct La_sparc64_retval): Likewise.
15399 (struct audit_ifaces): Remove architecture-specific pltenter and
15400 pltexit members.
15401 * sysdeps/i386/ldsodefs.h: New file.
15402 * sysdeps/powerpc/ldsodefs.h: Likewise.
15403 * sysdeps/s390/ldsodefs.h: Likewise.
15404 * sysdeps/sh/ldsodefs.h: Likewise.
15405 * sysdeps/sparc/ldsodefs.h: Likewise.
15406 * sysdeps/x86_64/ldsodefs.h: Likewise.
15407
15408 2012-07-25 Marek Polacek <polacek@redhat.com>
15409
15410 [BZ #6808]
15411 * math/libm-test.inc (yn_test): Add another test.
15412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15413 to ERANGE when the result is +-Inf.
15414 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15415 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15416 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15417 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15418
15419 2012-07-24 Joseph Myers <joseph@codesourcery.com>
15420
15421 * conform/data/time.h-data (NULL): Use macro-constant. Require
15422 equal to 0.
15423 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15424 clock_t.
15425 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15426
15427 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15428
15429 * configure.in <sysdeps resolving>: Correct printing
15430 Implies_before.
15431 * configure: Regenerate.
15432
15433 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15434
15435 * math/w_ilogb.c: Include <limits.h>.
15436 * math/w_ilogbl.c: Likewise.
15437
15438 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15439
15440 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15441 va_copy. Document allowing for unavailable va_copy only as
15442 pre-C99 compatibility.
15443 * manual/string.texi (Copying and Concatenation): Use va_copy
15444 instead of __va_copy in concat example.
15445
15446 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15447
15448 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15449 (__sendto): Use create_address_port. Initialize APORT and deallocate
15450 it if not null.
15451
15452 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15453 with O_NOLINK passed to __file_name_lookup.
15454
15455 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15456 with O_NOLINK passed to __file_name_lookup.
15457
15458 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15459 negative N or less than NGIDS.
15460
15461 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15462 type to string_t. Set ERANGE as errno and return it if NAME is not big
15463 enough. Use memcpy instead of strncpy.
15464
15465 2012-07-20 Joseph Myers <joseph@codesourcery.com>
15466
15467 * elf/Makefile (check-data): Remove.
15468 (localplt.data): New vpath directive.
15469 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15470 instead of $(check-data).
15471 * scripts/data/localplt-generic.data: Move to ...
15472 * sysdeps/generic/localplt.data: ... here.
15473 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15474 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15475 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15477 ... here.
15478 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15480 ... here.
15481 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15483 ... here.
15484 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15486 ... here.
15487 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15489 ... here.
15490 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15492 ... here.
15493
15494 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15495
15496 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15497 PPC32 and PPC64 files.
15498 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15499 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15500
15501 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15502
15503 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15504 __makecontext_ret to ...
15505 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15506 ... here and call exit if uc_link is NULL. New file.
15507 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15508 __makecontext_ret.S.
15509 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15510 __makecontext_ret to ...
15511 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15512 ... here and call exit if uc_link is NULL. New file.
15513 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15514 __makecontext_ret.S.
15515
15516 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15517
15518 * elf/elf.h (R_390_IRELATIVE): New definition.
15519 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15520 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15521 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15522 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15523 (elf_machine_lazy_rel): Likewise.
15524 * sysdeps/s390/dl-irel.h: New file.
15525 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15526 * sysdeps/s390/s390-64/memset.S: New asm code.
15527 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15528 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15529 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15530 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15531 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15532 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15533 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15534 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15535 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15536 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15537 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15538 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15539 * sysdeps/s390/s390-32/memset.S: New asm code.
15540 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15541
15542 2012-07-17 Marek Polacek <polacek@redhat.com>
15543
15544 [BZ #14349]
15545 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15546 * sysdeps/s390/s390-64/configure.in: Likewise.
15547 * sysdeps/sparc/configure.in: Likewise.
15548 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15549 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15550 * sysdeps/i386/configure.in: Likewise.
15551 * sysdeps/x86_64/configure.in: Likewise.
15552 * sysdeps/sh/configure.in: Likewise.
15553 * sysdeps/s390/s390-32/configure: Regenerated.
15554 * sysdeps/s390/s390-64/configure: Likewise.
15555 * sysdeps/x86_64/configure: Likewise.
15556 * sysdeps/sh/configure: Likewise.
15557 * sysdeps/powerpc/powerpc64/configure: Likewise.
15558 * sysdeps/powerpc/powerpc32/configure: Likewise.
15559 * sysdeps/sparc/configure: Likwise.
15560 * sysdeps/i386/configure: Likewise.
15561
15562 * elf/dl-open.c: Comment fixes.
15563
15564 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15565
15566 * Makefile [CXX] (check-data): Remove.
15567 [CXX] (c++-types.data): New vpath directive.
15568 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15569 vpath. Do not allow for C++ type data being missing.
15570 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15571 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15572 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15573 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15574 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15575 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15576 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15578 ... here.
15579 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15581 ... here.
15582 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15584 ... here.
15585 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15587 ... here.
15588 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15590 ... here.
15591 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15593 ... here.
15594 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15596 ... here.
15597 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15599
15600 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15601 definitions to architecture-specific files.
15602 (TLS_IE): Likewise.
15603 (TLS_LD): Likewise.
15604 (TLS_GD): Likewise.
15605 * sysdeps/i386/tls-macros.h: New file.
15606 * sysdeps/powerpc/tls-macros.h: Likewise.
15607 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15608 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15609 * sysdeps/sh/tls-macros.h: Likewise.
15610 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15611 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15612 * sysdeps/x86_64/tls-macros.h: Likewise.
15613
15614 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15615
15616 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15617 zero value for regular exit case.
15618
15619 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15620 (__start_context): Preserve zero value for regular exit case.
15621
15622 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15623 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15624
15625 * manual/setjmp.texi (setcontext): Clarify normal process
15626 termination when uc_link is the null pointer.
15627 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15628 exit call.
15629
15630 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15631
15632 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15633 preprocessor. Test for each exception mask separately.
15634
15635 2012-07-16 Andreas Jaeger <aj@suse.de>
15636
15637 * po/ru.po: Update from translation team.
15638
15639 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15640
15641 * conform/data/string.h-data (NULL): Use macro-constant. Require
15642 equal to 0.
15643 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15644 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15645 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15646 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15647 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15648
15649 2012-07-13 Andreas Jaeger <aj@suse.de>
15650
15651 * po/fr.po: Update from translation team.
15652
15653 2012-07-12 Marek Polacek <polacek@redhat.com>
15654
15655 [BZ #14173]
15656 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15657 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15658 loop condition.
15659
15660 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15661
15662 [BZ #13717]
15663 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15664 Change to 2.4.1 where previously 2.4.0.
15665 * sysdeps/unix/sysv/linux/configure: Regenerated.
15666 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15667 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15668 version.
15669 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15670 (__ASSUME_AT_CLKTCK): Remove.
15671 (__ASSUME_AT_PAGESIZE): Likewise.
15672 (__ASSUME_AT_XID): Likewise.
15673 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15674 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15675 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15676 unconditionally.
15677 (HAVE_AUX_PAGESIZE): Likewise.
15678 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15679 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15680 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15681
15682 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15683
15684 [BZ #14307]
15685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15686 the temporary buffer used to invoke __gethostbyname2_r,
15687 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15688 host_data / struct gaih_addrtuple.
15689 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15690 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15691 header file nss/nsswitch.h.
15692 * nss/nsswitch.h (global scope): Add definition of implementation
15693 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15694 resolv/nss_dns/dns-host.c).
15695
15696 2012-07-11 Andreas Jaeger <aj@suse.de>
15697
15698 * po/fr.po: Update from translation team.
15699
15700 * po/sv.po: Update from translation team
15701 * po/fr.po: Another update from translation team.
15702
15703 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15704
15705 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15706 for subnormals or multiply small sinh result by itself.
15707 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15709
15710 2012-07-11 David S. Miller <davem@davemloft.net>
15711
15712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15713
15714 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15715
15716 [BZ #14347]
15717 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15718 (INTERNAL_MARK): Shift it here.
15719
15720 2012-07-10 Marek Polacek <polacek@redhat.com>
15721
15722 [BZ #14151]
15723 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15724 libc_cv_asm_global_directive with .globl.
15725 * configure: Regenerated.
15726 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15727 with .globl.
15728 * sysdeps/i386/configure: Regenerated.
15729 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15730 with .globl.
15731 * sysdeps/x86_64/configure: Regenerated.
15732 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15733 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15734 * elf/tst-unique2mod2.c: Likewise.
15735 * elf/tst-unique2mod1.c: Likewise.
15736 * elf/tst-unique1mod2.c: Likewise.
15737 * elf/tst-unique1mod1.c: Likewise.
15738 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15739 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15740 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15741 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15742 * sysdeps/mach/sysdep.h: Likewise.
15743 * sysdeps/i386/sysdep.h: Likewise.
15744 * sysdeps/i386/i386-mcount.S: Likewise.
15745 * sysdeps/x86_64/_mcount.S: Likewise.
15746 * sysdeps/x86_64/sysdep.h: Likewise.
15747 * sysdeps/sh/_mcount.S: Likewise.
15748 * sysdeps/sh/sysdep.h: Likewise.
15749 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15750 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15751 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15752 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15753 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15754 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15755 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15756 * locale/localeinfo.h: Likewise.
15757 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15758 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15759
15760 2012-07-09 Roland McGrath <roland@hack.frob.com>
15761
15762 [BZ #14336]
15763 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15764 system".
15765 * manual/message.texi (The Uniforum approach): Likewise.
15766 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15767 (glibc iconv Implementation): Likewise.
15768
15769 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15770
15771 [BZ #14337]
15772 * math/s_clog.c (__clog): Avoid scaling a value down where that
15773 could result in underflow.
15774 * math/s_clog10.c (__clog10): Likewise.
15775 * math/s_clog10f.c (__clog10f): Likewise.
15776 * math/s_clog10l.c (__clog10l): Likewise.
15777 * math/s_clogf.c (__clogf): Likewise.
15778 * math/s_clogl.c (__clogl): Likewise.
15779 * math/libm-test.inc (clog_test): Add more tests.
15780 (clog10_test): Likewise.
15781 * sysdeps/i386/fpu/libm-test-ulps: Update.
15782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15783
15784 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15785
15786 [BZ #14283]
15787 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15788 by 7 not 8 to examine high bit of fractional part.
15789
15790 [BZ #14042]
15791 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15792 for call to __mcount_internal.
15793 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15794 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15795 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15796
15797 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15798
15799 [BZ #14154]
15800 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15801 approximation for values within 0x1p-13f of an odd multiple of
15802 pi/4.
15803 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15804 exception. Add more tests.
15805 * sysdeps/i386/fpu/libm-test-ulps: Update.
15806
15807 [BZ #6778]
15808 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15809 inputs and return -1 for them. Do not check for +Inf in case not
15810 reachable for +Inf.
15811 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15812 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15813 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15814 and return -1 for them. Do not check for +Inf in case not
15815 reachable for +Inf.
15816 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15817 define.
15818 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15819 and return -1 for them. Do not check for +Inf in case not
15820 reachable for +Inf.
15821 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15822 spurious underflow.
15823 * sysdeps/i386/fpu/libm-test-ulps: Update.
15824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15825
15826 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15827
15828 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15829
15830 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15831
15832 [BZ #14157]
15833 [BZ #14331]
15834 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15835 could result in spurious underflow. Scale down values above
15836 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15837 * math/s_csqrtf.c (__csqrtf): Likewise.
15838 * math/s_csqrtl.c (__csqrtl): Likewise.
15839 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15840 spurious underflow.
15841 * sysdeps/i386/fpu/libm-test-ulps: Update.
15842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15843
15844 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15845
15846 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15847 xopen-msg.sed.
15848 * catgets/xopen-msg.awk: New file.
15849 * catgets/xopen-msg.sed: Removed.
15850
15851 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15852 po2text.sed.
15853 * intl/po2test.awk: New file.
15854 * intl/po2test.sed: Removed.
15855
15856 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15857
15858 [BZ #14328]
15859 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15860 or multiply small sinh result by itself.
15861 * math/s_ctanf.c (__ctanf): Likewise.
15862 * math/s_ctanh.c (__ctanh): Likewise.
15863 * math/s_ctanhf.c (__ctanhf): Likewise.
15864 * math/s_ctanhl.c (__ctanhl): Likewise.
15865 * math/s_ctanl.c (__ctanl): Likewise.
15866 * math/libm-test.inc (ctan_test_tonearest): New function.
15867 (ctan_test_towardzero): Likewise.
15868 (ctan_test_downward): Likewise.
15869 (ctan_test_upward): Likewise.
15870 (ctanh_test_tonearest): Likewise.
15871 (ctanh_test_towardzero): Likewise.
15872 (ctanh_test_downward): Likewise.
15873 (ctanh_test_upward): Likewise.
15874 (main): Call these new functions.
15875 * sysdeps/i386/fpu/libm-test-ulps: Update.
15876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15877
15878 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15879
15880 * .gitignore: Delete /ports entry.
15881
15882 2012-07-03 Andreas Jaeger <aj@suse.de>
15883
15884 * po/bg.po: Update from translation team.
15885 * po/cs.po: Likewise.
15886 * po/de.po: Likewise.
15887 * po/hr.po: Likewise.
15888 * po/nl.pl: Likewise.
15889 * po/pl.po: Likewise.
15890 * po/vi.po: Likewise.
15891
15892 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15893
15894 * Makeconfig [!+link] (+link-before-libc): New variable.
15895 [!+link] (+link-after-libc): Likewise.
15896 [!+link] (+link-tests): Likewise.
15897 [!+link] (+link): Define in terms of $(+link-before-libc) and
15898 $(+link-after-libc).
15899 [!+link-static] (+link-static-before-libc): New variable.
15900 [!+link-static] (+link-static-after-libc): Likewise.
15901 [!+link-static] (+link-static-tests): Likewise.
15902 [!+link-static] (+link-static): Define in terms of
15903 $(+link-static-before-libc) and $(+link-static-after-libc).
15904 [build-shared] (link-libc-before-gnulib): New variable.
15905 [build-shared] (link-libc-tests): Likewise.
15906 [build-shared] (link-libc): Define in terms of
15907 $(link-libc-before-gnulib).
15908 [!build-shared] (link-libc-tests): New variable.
15909 (link-libc-static-tests): New variable.
15910 [!gnulib] (gnulib-arch): New variable.
15911 [!gnulib] (gnulib-tests): Likewise.
15912 [!gnulib] (static-gnulib-arch): Likewise.
15913 [!gnulib] (static-gnulib-tests): Likewise.
15914 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15915 Define with "=" instead of ":=".
15916 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15917 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15918 * Rules (binaries-all-notests): New variable.
15919 (binaries-all-tests): Likewise.
15920 (binaries-static-notests): Likewise.
15921 (binaries-static-tests): Likewise.
15922 (binaries-all): Define using $(binaries-all-notests) and
15923 $(binaries-all-tests).
15924 (binaries-static): Define using $(binaries-static-notests) and
15925 $(binaries-static-tests).
15926 (binaries-shared-tests): New variable.
15927 (binaries-shared-notests): Likewise.
15928 (binaries-shared): Remove variable.
15929 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15930 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15931 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15932 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15933 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15934 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15935 * elf/Makefile (sln-modules): New variable.
15936 (extra-objs): Add $(sln-modules:=.o).
15937 (ldconfig-modules): Add static-stubs.
15938 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15939 * elf/static-stubs.c: New file.
15940
15941 [BZ #14283]
15942 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15943 by 7 not 8 to examine high bit of fractional part. Use volatile
15944 variables when splitting into final array of floats if
15945 __FLT_EVAL_METHOD__ != 0.
15946 * math/libm-test.inc (cos_test): Add another test.
15947 (sin_test): Likewise.
15948 * sysdeps/i386/fpu/libm-test-ulps: Update.
15949
15950 [BZ #14273]
15951 * math/libm-test.inc (cosh_test): Add more tests.
15952
15953 * version.h (RELEASE): Set to "development".
15954 (VERSION): Set to "2.16.90".
15955
15956 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15957
15958 * NEWS: Update copyright. Remove last-updated date.
15959 Mention math library bug fixes and timezone data changes.
15960 * README: Mention GNU/Hurd, x32, and HPPA support status.
15961
15962 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15963
15964 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15965
15966 2012-06-27 Andreas Jaeger <aj@suse.de>
15967
15968 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15969
15970 2012-06-25 Andreas Jaeger <aj@suse.de>
15971
15972 * sysdeps/s390/fpu/libm-test-ulps: Update.
15973
15974 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15975 Thomas Schwinge <thomas@codesourcery.com>
15976
15977 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15978 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15980 fanotify_mark.
15981
15982 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15983
15984 * sysdeps/mach/start.c: Remove file.
15985 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15986 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15987 * sysdeps/sh/init-first.c: Likewise.
15988
15989 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15990 registers for frame unwinding purposes, add CFI directives.
15991 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15992 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15993 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15994 Likewise.
15995
15996 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15997 __fortify_fail returning.
15998 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15999
16000 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16001 sysdeps/sh/____longjmp_chk.S.
16002 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16003 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16004 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16005 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16006
16007 * sysdeps/sh/abort-instr.h: New file.
16008 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16009 process in case exit returns.
16010
16011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16012 initialize the GOT register before use.
16013
16014 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16015 calculation of ARGC > 4.
16016
16017 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16018 meaningful names to some local labels.
16019
16020 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16021 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16022
16023 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16024 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16025 (__arch_compare_and_exchange_val_16_acq): Likewise.
16026 (__arch_compare_and_exchange_val_32_acq): Likewise.
16027 (atomic_exchange_and_add): Fix gUSA sequence.
16028 (atomic_add): Likewise.
16029 (atomic_add_negative): Likewise.
16030 (atomic_add_zero): Likewise.
16031 (atomic_bit_test_set): Likewise.
16032
16033 2012-06-22 Andreas Schwab <schwab@redhat.com>
16034
16035 [BZ #13579]
16036 * include/link.h (struct link_map): Add l_free_initfini.
16037 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16038 l_initfini.
16039 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16040 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16041 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16042 set.
16043
16044 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16045
16046 * configure.in: Use AC_LANG_SOURCE.
16047 * configure: Regenerate.
16048
16049 2012-06-22 Roland McGrath <roland@hack.frob.com>
16050
16051 * configure.in (libc_cv_localstatedir): New substituted variable.
16052 * configure: Regenerated.
16053 * config.make.in (localstatedir): New variable, substituted from
16054 libc_cv_localstatedir.
16055 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16056 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16057 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16058 * sysdeps/gnu/configure: Regenerated.
16059
16060 2012-06-21 Jeff Law <law@redhat.com>
16061
16062 [BZ #14277]
16063 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16064 free. Simplify list management for _LIBC case.
16065
16066 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16067
16068 [BZ #14273]
16069 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16070 Clear sign bit of 64-bit integer value before comparing against
16071 overflow value.
16072
16073 * sysdeps/mach/configure: Regenerated.
16074
16075 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16076
16077 [BZ #14278]
16078 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16079
16080 2012-06-21 Jeff Law <law@redhat.com>
16081
16082 [BZ #13882]
16083 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16084 uint16_t for elements in the "seen" array to avoid char overflows.
16085 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16086 * elf/dl-open.c (dl_open_worker): Likewise.
16087
16088 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16089
16090 * scripts/list-sources.sh: Scan PORTS for translations.
16091 * po/libc.pot: Regenerated.
16092
16093 2012-06-21 Andreas Jaeger <aj@suse.de>
16094
16095 [BZ #12194]
16096 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16097 warning.
16098 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16099 * bits/byteswap-16.h (__bswap_16): Likewise.
16100 * bits/byteswap.h (__bswap_constant_16): Likewise.
16101
16102 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16103
16104 [BZ #14117]
16105 * sysdeps/i386/fpu_control.h: Removed.
16106 * sysdeps/x86_64/fpu_control.h: Moved to ...
16107 * sysdeps/x86/fpu_control.h: Here.
16108
16109 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16110 (_FPU_SETCW): Likewise.
16111
16112 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16113
16114 [BZ #14117]
16115 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16116 * sysdeps/x86/fpu/bits/mathinline.h: This.
16117 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16118
16119 [BZ #14050]
16120 [BZ #14117]
16121 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16122 functions if __x86_64__ is defined.
16123
16124 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16125
16126 * string/endian.h: Add !__ASSEMBLER__ condition for including
16127 conversion interfaces.
16128
16129 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16130
16131 [BZ #14241]
16132 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16133 of ABS(x) in calculating zero to negative powers other than odd
16134 integers.
16135 * math/libm-test.inc (pow_test): Add more tests.
16136
16137 2012-06-15 Andreas Jaeger <aj@suse.de>
16138
16139 * manual/contrib.texi (Contributors): Update entry of Liubov
16140 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16141 Machado Filho.
16142
16143 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16144
16145 * string/string.h: Add __wur to GNU version of strerror_r.
16146
16147 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16148
16149 [BZ #14229]
16150 * string/Makefile (tests): Add tst-strtok_r.
16151 * string/tst-strtok_r.c: New file.
16152 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16153 RAX_LP/RDX_LP on SAVE_PTR.
16154
16155 2012-06-14 Roland McGrath <roland@hack.frob.com>
16156
16157 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16158
16159 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16160
16161 * libm_test.inc (csqrt_test): Allow more spurious underflow
16162 exceptions.
16163 (j0_test): Likewise.
16164 (j1_test): Likewise.
16165 (y0_test): Likewise.
16166 (y1_test): Likewise.
16167
16168 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16169
16170 * po/Makefile (libc.pot): Use UTF-8 charset.
16171
16172 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16173
16174 [BZ #14210]
16175 Suppress sign-conversion warning from FD_SET.
16176 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16177 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16178 not unsigned long int.
16179 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16180
16181 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16182
16183 [BZ #14050]
16184 [BZ #14117]
16185 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16186 __extern_always_inline instead of __extern_inline.
16187 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16188 (__signbit): Likewise.
16189 (__signbitl): Support C++ namespace.
16190 (lrintf): New inline function.
16191 (lrint): Likewise.
16192 (llrintf): Likewise.
16193 (llrint): Likewise.
16194 (fmaxf): Likewise.
16195 (fmax): Likewise.
16196 (fminf): Likewise.
16197 (fmin): Likewise.
16198 (rint): Likewise.
16199 (rintf): Likewise.
16200 (ceil): Likewise.
16201 (ceilf): Likewise.
16202 (floor): Likewise.
16203 (floorf): Likewise.
16204 (nearbyint): Likewise.
16205 (nearbyintf): Likewise.
16206
16207 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16208
16209 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16210 non-default versions.
16211
16212 2012-06-11 Roland McGrath <roland@hack.frob.com>
16213
16214 [BZ #14218]
16215 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16216
16217 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16218
16219 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16220 (FE_UPWARD, FE_DOWNWARD): Don't define.
16221 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16222 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16223
16224 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16225 reading it.
16226 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16227 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16228
16229 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16230
16231 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16232 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16233 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16234 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16235
16236 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16237
16238 [BZ #14117]
16239 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16240 * sysdeps/i386/fpu/Implies: New file.
16241 * sysdeps/x86_64/fpu/Implies: Likewise.
16242 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16243 * sysdeps/x86/fpu/bits/fenv.h: This.
16244
16245 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16246 __SSE_MATH__.
16247
16248 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16249
16250 [BZ #14134]
16251 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16252 character 0xffff that matches the last element of the
16253 conversion table.
16254
16255 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16256
16257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16258 fmodl commit.
16259
16260 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16261
16262 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16263 values higher than 25.6283.
16264
16265 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16266
16267 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16268 subnormal exponent extraction and add some __builtin_expect.
16269 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16270 Fix for subnormal mantissa calculation.
16271
16272 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16273
16274 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16275 cpu2 is -1 and errno is not ENOSYS.
16276
16277 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16278
16279 [BZ #14117]
16280 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16281 * sysdeps/x86/bits/string.h: This.
16282 * sysdeps/x86_64/bits/string.h: Removed.
16283
16284 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16285 if not compiling for x86-64, but compiling for >= i486.
16286
16287 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16288 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16289
16290 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16291 New macro from Linux kernel 3.4.0.
16292 (FP_XSTATE_MAGIC2): Likewise.
16293 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16294 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16295 (struct _fpx_sw_bytes): New struct.
16296 (struct _xsave_hdr): Likewise.
16297 (struct _ymmh_state): Likewise.
16298 (struct _xstate): Likewise.
16299
16300 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16301 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16302 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16303 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16304 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16305 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16306
16307 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16308 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16309 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16310 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16311 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16312 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16313
16314 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16315
16316 [BZ #13743]
16317 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16318 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16319 (sysdep_headers): Include sys/platform/ppc.h.
16320 * sysdeps/powerpc/test-gettimebase.c: Test for
16321 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16322 * manual/Makefile (appendices): Include platform.texi.
16323 * manual/contrib.texi (Contributors): Update @node pointers.
16324 * manual/maint.texi (Maintenance): Likewise.
16325 (Platform): New node.
16326 * manual/platform.texi: New file. Document the new features.
16327
16328 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16329 Jakub Jelinek <jakub@redhat.com>
16330
16331 [BZ #14188]
16332 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16333 where __builtin_expect is unavailable.
16334
16335 2012-06-03 David S. Miller <davem@davemloft.net>
16336
16337 * stdlib/longlong.h: Updated from GCC.
16338
16339 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16340
16341 [BZ #14042]
16342 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16343 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16344 __mcount_internal.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16346 (GLIBC_2.16): Likewise.
16347
16348 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16349
16350 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16351
16352 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16353
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16355 (default-abi): New variable.
16356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16357 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16358 variable.
16359 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16360 Likewise.
16361 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16362 Likewise.
16363 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16364 Likewise.
16365
16366 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16367 definition. Document in comment.
16368
16369 2012-06-01 David S. Miller <davem@davemloft.net>
16370
16371 * stdlib/longlong.h: Updated from GCC.
16372
16373 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16374
16375 [BZ #14117]
16376 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16377 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16378 sys/debugreg.h sys/io.h here.
16379 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16380 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16381 sys/io.h.
16382 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16383 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16384 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16385 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16386 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16387 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16388
16389 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16390 Define only if __x86_64__ is defined.
16391
16392 2012-06-01 Joseph Myers <joseph@codesourcery.com>
16393
16394 [BZ #14048]
16395 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16396 Use int64_t for variable i.
16397 * math/libm-test.inc (fmod_test): Add more tests.
16398
16399 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16400 z computation is not scheduled after fetestexcept.
16401 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16402 Use math_force_eval instead of asm to ensure calculation scheduled
16403 before exception test.
16404 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16405 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16406
16407 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16408
16409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16410 computation is not scheduled after fetestexcept.
16411
16412 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16413
16414 [BZ #14117]
16415 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16416 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16417
16418 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16419
16420 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16421 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16422
16423 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16424
16425 [BZ #14117]
16426 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16427 <bits/wordsize.h>.
16428 (__WCHAR_MIN): Support __WORDSIZE == 64.
16429 (__WCHAR_MAX): Likewise.
16430
16431 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16432 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16433
16434 [BZ #14183]
16435 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16436 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16437
16438 [BZ #14117]
16439 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16440 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16441
16442 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16443 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16444
16445 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16446 Defined to 1 if __x86_64__ isn't defined.
16447 (_STAT_VER_LINUX_OLD): New.
16448 (st_atime): Remove duplicate.
16449 (st_mtime): Likewise.
16450 (st_ctime): Likewise.
16451
16452 2012-05-31 David S. Miller <davem@davemloft.net>
16453
16454 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16455 entries.
16456
16457 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16458
16459 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16460 gen-libm-test.pl.
16461
16462 [BZ #14132]
16463 * elf/dl-reloc.c: Include <_itoa.h>.
16464 (_dl_reloc_bad_type): Remove use of INTUSE.
16465 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16466 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16467 * stdio-common/psiginfo.c (psiginfo): Likewise.
16468 * stdio-common/psignal.c (psignal): Likewise.
16469 * string/strsignal.c (strsignal): Likewise.
16470 * include/signal.h (_sys_siglist): Declare hidden proto.
16471 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16472 INTVARDEF with libc_hidden_data_def.
16473 * stdio-common/itoa-udigits.c: Likewise.
16474 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16475 (_itoa_lower_digits_internal): Remove declaration.
16476 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16477 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16478 (_sys_sigabbrev_internal): Remove aliases.
16479 (_sys_siglist): Define hidden alias.
16480
16481 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16482
16483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16484 bits/sysctl.h.
16485
16486 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16487
16488 [BZ #14117]
16489 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16490 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16491
16492 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16493 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16494 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16495 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16496 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16497 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16498
16499 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16500 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16501 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16502
16503 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16504 with __addr.
16505 (insw): Likewise.
16506 (insl): Likewise.
16507 (outsb): Likewise.
16508 (outsw): Likewise.
16509 (outsl): Likewise.
16510
16511 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16512 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16513 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16514
16515 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16516 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16517 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16518 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16519 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16520 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16521
16522 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16523 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16524
16525 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16526 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16527
16528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16529 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16530 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16531
16532 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16533 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16534 to ...
16535 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16536
16537 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16538 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16539 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16540
16541 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16542 for x86-64.
16543 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16544
16545 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16546
16547 * math/math.h (M_El): Use two more decimal places.
16548 (M_LOG2El): Likewise.
16549 (M_LOG10El): Likewise.
16550 (M_LN2l): Likewise.
16551 (M_LN10l): Likewise.
16552 (M_PIl): Likewise.
16553 (M_PI_2l): Likewise.
16554 (M_PI_4l): Likewise.
16555 (M_1_PIl): Likewise.
16556 (M_2_PIl): Likewise.
16557 (M_2_SQRTPIl): Likewise.
16558 (M_SQRT2l): Likewise.
16559 (M_SQRT1_2l): Likewise.
16560
16561 2012-05-31 David S. Miller <davem@davemloft.net>
16562
16563 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16564 values between float registers.
16565 * sysdeps/sparc/sparc64/memset.S: Likewise.
16566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16567
16568 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16569
16570 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16571 -D_FORTIFY_SOURCE=1.
16572 (CPPFLAGS-tst-longjmp_chk.c): Define.
16573 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16574 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16575 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16576 CFLAGS-tst-wchar-h.c.
16577
16578 2012-05-31 Marek Polacek <polacek@redhat.com>
16579
16580 [BZ #14132]
16581 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16582 __endmntent_internal): Remove declaration.
16583 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16584 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16585 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16586
16587 2012-05-30 David S. Miller <davem@davemloft.net>
16588
16589 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16590 (___Q_simulate_exceptions): Use real FP ops rather than writing
16591 into the %fsr.
16592 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16593 Likewise.
16594
16595 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16596
16597 [BZ #14117]
16598 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16599 * sysdeps/x86/bits/xtitypes.h: This.
16600
16601 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16602 * sysdeps/x86/bits/wordsize.h: This.
16603
16604 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16605 * sysdeps/x86/bits/huge_vall.h: This.
16606
16607 * sysdeps/i386/bits/select.h: Removed.
16608 * sysdeps/x86_64/bits/select.h: Renamed to ...
16609 * sysdeps/x86/bits/select.h: This.
16610
16611 * sysdeps/i386/bits/setjmp.h: Removed.
16612 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16613 * sysdeps/x86/bits/setjmp.h: This.
16614
16615 * sysdeps/i386/bits/mathdef.h: Removed.
16616 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16617 * sysdeps/x86/bits/mathdef.h: This.
16618
16619 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16620
16621 [BZ #14132]
16622 * include/sys/socket.h (__connect_internal)
16623 (__libc_sa_len_internal): Remove declaration.
16624 (__connect, __libc_sa_len): Declare hidden_proto.
16625 (SA_LEN): Remove use of INTUSE.
16626 * socket/connect.c: Add libc_hidden_def.
16627 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16628 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16629 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16630 alias.
16631 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16632 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16633 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16634 of adding _internal alias.
16635
16636 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16637
16638 [BZ #14117]
16639 * sysdeps/i386/bits/link.h: Removed.
16640 * sysdeps/i386/bits/linkmap.h: Likewise.
16641 * sysdeps/x86_64/bits/link.h: Renamed to ...
16642 * sysdeps/x86/bits/link.h: This.
16643 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16644 * sysdeps/x86/bits/linkmap.h: This.
16645
16646 * sysdeps/i386/bits/endian.h: Removed.
16647 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16648 * sysdeps/x86/bits/endian.h: This.
16649
16650 * sysdeps/i386/bits/byteswap.h: Removed.
16651 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16652 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16653 * sysdeps/x86/bits/byteswap.h: This.
16654 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16655 * sysdeps/x86/bits/byteswap-16.h: This.
16656 * sysdeps/i386/Implies: Add x86.
16657 * sysdeps/x86_64/Implies: Likewise.
16658
16659 2012-05-30 David S. Miller <davem@davemloft.net>
16660
16661 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16662 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16663 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16664 (FP_TRAPPING_EXCEPTIONS): Define.
16665 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16666 (FP_TRAPPING_EXCEPTIONS): Define.
16667 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16668 subnormals only when inexact has been signalled or underflow
16669 exceptions are enabled.
16670 (_FP_PACK_CANONICAL): Likewise.
16671
16672 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16673
16674 [BZ #14183]
16675 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16676 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16677
16678 2012-05-30 Richard Henderson <rth@twiddle.net>
16679
16680 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16681 with #ifndef NOT_IN_libc.
16682
16683 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16684 marked to avoid plt entry.
16685
16686 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16687
16688 [BZ #14112]
16689 * Makeconfig (default-abi): New macro.
16690 (abi-includes): Likewise.
16691 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16692 $(abi-$(default-abi)-lib-soname) for soname if defined.
16693 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16694 abi-variants.
16695 * Makefile (installed-stubs): Likewise.
16696 * include/stubs-biarch.h: Removed.
16697 * scripts/lib-names.awk: Only handle one library at a time.
16698 * scripts/soversions.awk: Remove WORDSIZE support.
16699 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16700 entries.
16701 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16702 Removed.
16703 (syscall-list-default-condition): Likewise.
16704 (syscall-list-default-condition): Likewise.
16705 (syscall-list-includes): Likewise.
16706 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16707 syscall-list-* with abi-*. Handle undefined abi-variants.
16708 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16709 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16710 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16711 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16712 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16713 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16714 Removed.
16715 (syscall-list-32-options): Likewise.
16716 (syscall-list-32-condition): Likewise.
16717 (syscall-list-64-options): Likewise.
16718 (syscall-list-64-condition): Likewise.
16719 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16720 macro.
16721 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16722 Renamed to ...
16723 (abi-*): This.
16724 (abi-64-ld-soname): New macro.
16725 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16726 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16727 Renamed to ...
16728 (abi-*): This.
16729 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16730 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16731
16732 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16733
16734 * sysdeps/unix/sysv/linux/kernel-features.h
16735 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16736 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16737 include <kernel-features.h>.
16738 [!__NR_ftruncate64]: Remove conditional code.
16739 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16740 [__NR_ftruncate64]: Make code unconditional.
16741 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16742 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16743 include <kernel-features.h>.
16744 [!__NR_ftruncate64]: Remove conditional code.
16745 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16746 [__NR_ftruncate64]: Make code unconditional.
16747 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16749 include <kernel-features.h>.
16750 [!__NR_ftruncate64]: Remove conditional code.
16751 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16752 [__NR_ftruncate64]: Make code unconditional.
16753 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16755 include <kernel-features.h>.
16756 [!__NR_ftruncate64]: Remove conditional code.
16757 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16758 [__NR_ftruncate64]: Make code unconditional.
16759 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16760
16761 * configure.in (libc_cv_fpie): Weaken to a compile test using
16762 LIBC_TRY_CC_OPTION.
16763 * configure: Regenerated.
16764
16765 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16766
16767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16771 Refreshed.
16772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16778 Refreshed.
16779
16780 2012-05-27 David S. Miller <davem@davemloft.net>
16781
16782 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16783 (___Q_zero): New.
16784 (__Q_simulate_exceptions): Return void. Change to simulate
16785 exceptions by writing into the %fsr.
16786 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16787 (__Qp_handle_exceptions): Likewise.
16788 (numbers): Delete.
16789 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16790 __Qp_handle_exceptions.
16791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16792 __Qp_handle_exceptions.
16793 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16794 as unused and give dummy FP_RND_NEAREST initializer.
16795 (FP_INHIBIT_RESULTS): Define.
16796 (___Q_simulate_exceptions): Update declaration.
16797 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16798 formatting.
16799 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16800 as unused and give dummy FP_RND_NEAREST initializer.
16801 (__Qp_handle_exceptions): Update declaration.
16802 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16803 formatting.
16804
16805 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16806
16807 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16808 the temporary FPU control word.
16809 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16810 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16811 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16812 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16813 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16814 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16815 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16816 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16817 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16818 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16819 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16820
16821 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16822
16823 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16824 fields.
16825
16826 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16827
16828 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16829 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16830 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16831 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16832 Likewise.
16833 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16834 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16835 Likewise.
16836
16837 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16838
16839 * po/h.po: Update from translation team.
16840
16841 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16842
16843 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16844
16845 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16846 handling of denormals.
16847 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16848 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16849 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16850 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16851 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16852 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16854 Likewise.
16855
16856 2012-05-26 Marek Polacek <polacek@redhat.com>
16857
16858 [BZ #14152]
16859 * math/libm-test.inc (fma_test): Don't always expect underflow
16860 exception.
16861
16862 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16863
16864 [BZ #12416]
16865 * elf/tst-execstack.c: Include stackinfo.h.
16866 (do_test): Adjust test case to ensure that pthread_getattr_np
16867 behaviour remains the same after marking stack executable.
16868
16869 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16870
16871 * sysdeps/unix/sysv/linux/kernel-features.h
16872 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16873 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16874 kernel-features.h.
16875 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16876 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16877 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16878 kernel-features.h.
16879 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16880 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16881
16882 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16883
16884 * configure.in: Define the default includes to being none.
16885 * configure: Regenerated.
16886
16887 2012-05-25 Roland McGrath <roland@hack.frob.com>
16888
16889 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16890 * sysdeps/x86_64/setjmp.S: Likewise.
16891 * sysdeps/i386/bsd-setjmp.S: Likewise.
16892 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16893 * sysdeps/i386/setjmp.S: Likewise.
16894 * sysdeps/i386/__longjmp.S: Likewise.
16895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16896 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16897
16898 * include/stap-probe.h: New file.
16899 * configure.in: Handle --enable-systemtap.
16900 * configure: Regenerated.
16901 * config.h.in (USE_STAP_PROBE): New #undef.
16902 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16903 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16904 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16905
16906 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16907
16908 [BZ #13717]
16909 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16910 to 2.4.0 where earlier.
16911 * sysdeps/unix/sysv/linux/configure: Regenerated.
16912 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16913 <kernel-features.h>.
16914 [__ASSUME_32BITUIDS]: Make code unconditional.
16915 [!__ASSUME_32BITUIDS]: Remove conditional code.
16916 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16917 <kernel-features.h>.
16918 [__ASSUME_32BITUIDS]: Make code unconditional.
16919 [!__ASSUME_32BITUIDS]: Remove conditional code.
16920 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16921 [__ASSUME_32BITUIDS]: Make code unconditional.
16922 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16923 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16924 <kernel-features.h>.
16925 [__ASSUME_32BITUIDS]: Make code unconditional.
16926 [!__ASSUME_32BITUIDS]: Remove conditional code.
16927 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16928 <kernel-features.h>.
16929 [__ASSUME_32BITUIDS]: Make code unconditional.
16930 [!__ASSUME_32BITUIDS]: Remove conditional code.
16931 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16932 <kernel-features.h>.
16933 [__ASSUME_32BITUIDS]: Make code unconditional.
16934 [!__ASSUME_32BITUIDS]: Remove conditional code.
16935 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16936 <kernel-features.h>.
16937 [__ASSUME_32BITUIDS]: Make code unconditional.
16938 [!__ASSUME_32BITUIDS]: Remove conditional code.
16939 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16940 <kernel-features.h>.
16941 [__ASSUME_32BITUIDS]: Make code unconditional.
16942 [!__ASSUME_32BITUIDS]: Remove conditional code.
16943 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16944 <kernel-features.h>.
16945 [__ASSUME_32BITUIDS]: Make code unconditional.
16946 [!__ASSUME_32BITUIDS]: Remove conditional code.
16947 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16948 <kernel-features.h>.
16949 [__ASSUME_32BITUIDS]: Make code unconditional.
16950 [!__ASSUME_32BITUIDS]: Remove conditional code.
16951 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16952 <kernel-features.h>.
16953 [__ASSUME_32BITUIDS]: Make code unconditional.
16954 [!__ASSUME_32BITUIDS]: Remove conditional code.
16955 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16956 <kernel-features.h>.
16957 [__ASSUME_32BITUIDS]: Make code unconditional.
16958 [!__ASSUME_32BITUIDS]: Remove conditional code.
16959 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16960 <kernel-features.h>.
16961 [__ASSUME_32BITUIDS]: Make code unconditional.
16962 [!__ASSUME_32BITUIDS]: Remove conditional code.
16963 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16964 <kernel-features.h>.
16965 [__NR_setresgid] (__setresgid): Do not declare.
16966 [__ASSUME_32BITUIDS]: Make code unconditional.
16967 [!__ASSUME_32BITUIDS]: Remove conditional code.
16968 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16969 <kernel-features.h>.
16970 [__NR_setresuid] (__setresuid): Do not declare.
16971 [__ASSUME_32BITUIDS]: Make code unconditional.
16972 [!__ASSUME_32BITUIDS]: Remove conditional code.
16973 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16974 <kernel-features.h>.
16975 [__ASSUME_32BITUIDS]: Make code unconditional.
16976 [!__ASSUME_32BITUIDS]: Remove conditional code.
16977 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16978 <kernel-features.h>.
16979 [__ASSUME_32BITUIDS]: Make code unconditional.
16980 [!__ASSUME_32BITUIDS]: Remove conditional code.
16981 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16982 <kernel-features.h>.
16983 [__ASSUME_32BITUIDS]: Make code unconditional.
16984 [!__ASSUME_32BITUIDS]: Remove conditional code.
16985 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16986 <kernel-features.h>.
16987 [__ASSUME_32BITUIDS]: Make code unconditional.
16988 [!__ASSUME_32BITUIDS]: Remove conditional code.
16989 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16990 <kernel-features.h>.
16991 [__ASSUME_32BITUIDS]: Make code unconditional.
16992 [!__ASSUME_32BITUIDS]: Remove conditional code.
16993 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16994 <kernel-features.h>.
16995 [__ASSUME_32BITUIDS]: Make code unconditional.
16996 [!__ASSUME_32BITUIDS]: Remove conditional code.
16997 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16998 <kernel-features.h>.
16999 [__ASSUME_32BITUIDS]: Make code unconditional.
17000 [!__ASSUME_32BITUIDS]: Remove conditional code.
17001 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17002 <kernel-features.h>.
17003 [__ASSUME_32BITUIDS]: Make code unconditional.
17004 [!__ASSUME_32BITUIDS]: Remove conditional code.
17005 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17006 <kernel-features.h>.
17007 [__ASSUME_32BITUIDS]: Make code unconditional.
17008 [!__ASSUME_32BITUIDS]: Remove conditional code.
17009 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17010 <kernel-features.h>.
17011 [__ASSUME_32BITUIDS]: Make code unconditional.
17012 [!__ASSUME_32BITUIDS]: Remove conditional code.
17013 * sysdeps/unix/sysv/linux/kernel-features.h
17014 (__ASSUME_SETRESUID_SYSCALL): Remove.
17015 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17016 (__ASSUME_32BITUIDS): Likewise.
17017 (__ASSUME_LDT_WORKS): Likewise.
17018 (__ASSUME_O_DIRECTORY): Likewise.
17019 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17020 architecture but not kernel version.
17021 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17022 (__ASSUME_MMAP2_SYSCALL): Likewise.
17023 (__ASSUME_STAT64_SYSCALL): Likewise.
17024 (__ASSUME_IPC64): Likewise.
17025 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17026 <kernel-features.h>.
17027 [__ASSUME_32BITUIDS]: Make code unconditional.
17028 [!__ASSUME_32BITUIDS]: Remove conditional code.
17029 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17030 <kernel-features.h>.
17031 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17032 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17033 132096]: Remove conditional code.
17034 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17035 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17036 <kernel-features.h>.
17037 [__ASSUME_32BITUIDS]: Make code unconditional.
17038 [!__ASSUME_32BITUIDS]: Remove conditional code.
17039 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17040 <kernel-features.h>.
17041 [__ASSUME_32BITUIDS]: Make code unconditional.
17042 [!__ASSUME_32BITUIDS]: Remove conditional code.
17043 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17044 <kernel-features.h>.
17045 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17046 unconditional.
17047 (__setresgid): Do not declare.
17048 [__ASSUME_32BITUIDS]: Make code unconditional.
17049 [!__ASSUME_32BITUIDS]: Remove conditional code.
17050 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17051 <kernel-features.h>.
17052 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17053 unconditional.
17054 (__setresuid): Do not declare.
17055 [__ASSUME_32BITUIDS]: Make code unconditional.
17056 [!__ASSUME_32BITUIDS]: Remove conditional code.
17057 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17058 <kernel-features.h>.
17059 [__ASSUME_32BITUIDS]: Make code unconditional.
17060 [!__ASSUME_32BITUIDS]: Remove conditional code.
17061 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17062 <kernel-features.h>.
17063 [__ASSUME_32BITUIDS]: Make code unconditional.
17064 [!__ASSUME_32BITUIDS]: Remove conditional code.
17065
17066 2012-05-25 Richard Henderson <rth@twiddle.net>
17067
17068 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17069 dl_hwcap to ifunc resolver.
17070 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17071 elf_ifunc_invoke.
17072 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17073 dl_hwcap to ifunc resolver.
17074 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17075
17076 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17077
17078 [BZ #14153]
17079 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17080 for |x| <= 2**-26, not 2**-57.
17081 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17082 exception.
17083
17084 2012-05-24 Jeff Law <law@redhat.com>
17085
17086 * stdio-common/Makefile (tests): Add bug25.
17087 * stdio-common/bug25.c: New test.
17088
17089 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17090
17091 [BZ #13576]
17092 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17093 multiple of MALLOC_ALIGNMENT in size.
17094 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17095
17096 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17097
17098 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17099 Require >= 256.
17100 (FILENAME_MAX): Use macro-int-constant.
17101 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17102 (_IOFBF): Use macro-int-constant.
17103 (_IOLBF): Likewise.
17104 (_IONBF): Likewise.
17105 (SEEK_CUR): Likewise.
17106 (SEEK_END): Likewise.
17107 (SEEK_SET): Likewise.
17108 (TMP_MAX): Likewise.
17109 (EOF): Use macro-int-constant. Require < 0.
17110 (NULL): Use macro-constant. Require == 0.
17111 (stdin): Require type to be FILE *.
17112 (stdout): Likewise.
17113 (stderr): Likewise.
17114 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17115 macro-int-constant.
17116 (EXIT_SUCCESS): Likewise.
17117 (NULL): Use macro-constant. Require == 0.
17118 (RAND_MAX): Use macro-int-constant.
17119 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17120 [C99-based standards] (strtof): Require function.
17121 [C99-based standards] (strtold): Likewise.
17122 [C99-based standards] (strtoll): Likewise.
17123 [C99-based standards] (strtoull): Likewise.
17124 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17125 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17126 [ISO || ISO99 || ISO11] (math.h): Likewise.
17127 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17128 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17130
17131 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17132
17133 [BZ #14132]
17134 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17135 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17136 * intl/dgettext.c (DCGETTEXT): Likewise.
17137 * intl/gettext.c (DCGETTEXT): Likewise.
17138 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17139 * posix/regex_internal.h (gettext): Likewise.
17140 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17141 Remove declaration.
17142 * include/argz.h (__argz_count_internal)
17143 (__argz_stringify_internal): Remove declaration.
17144 (__argz_count, __argz_stringify): Declare hidden proto.
17145 * intl/dcgettext.c: Remove use of INTDEF.
17146 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17147 * string/argz-stringify.c: Likewise.
17148 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17149 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17150 Declare hidden proto.
17151 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17152 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17153 Declare hidden proto.
17154 * include/stdio.h (__asprintf_internal): Don't declare.
17155 (__asprintf): Don't define as macro. Declare hidden proto.
17156 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17157 (__fsetlocking): Declare hidden proto.
17158 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17159 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17160 hidden proto.
17161 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17162 (_IO_setlinebuf): Remove use of INTUSE.
17163 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17164 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17165 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17166 Remove declaration.
17167 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17168 (_IO_do_flush): Remove use of INTUSE.
17169 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17170 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17171 (_IO_adjust_column, _IO_least_wmarker)
17172 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17173 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17174 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17175 (_IO_default_doallocate, _IO_wdefault_doallocate)
17176 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17177 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17178 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17179 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17180 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17181 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17182 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17183 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17184 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17185 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17186 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17187 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17188 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17189 proto.
17190 (_IO_flush_all_internal, _IO_adjust_column_internal)
17191 (_IO_default_uflow_internal, _IO_default_finish_internal)
17192 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17193 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17194 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17195 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17196 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17197 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17198 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17199 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17200 (_IO_file_close_internal, _IO_file_close_it_internal)
17201 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17202 (_IO_file_init_internal, _IO_file_attach_internal)
17203 (_IO_file_fopen_internal, _IO_file_read_internal)
17204 (_IO_file_sync_internal, _IO_file_seek_internal)
17205 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17206 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17207 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17208 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17209 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17210 (_IO_list_all_internal, _IO_link_in_internal)
17211 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17212 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17213 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17214 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17215 (_IO_do_write_internal, _IO_padn_internal)
17216 (_IO_getline_info_internal, _IO_getline_internal)
17217 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17218 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17219 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17220 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17221 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17222 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17223 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17224 with libc_hidden_ver, remove use of INTUSE.
17225 * libio/genops.c: Likewise.
17226 * libio/freopen.c: Likewise.
17227 * libio/freopen64.c: Likewise.
17228 * libio/iofclose.c: Likewise.
17229 * libio/iofdopen.c: Likewise.
17230 * libio/iofflush.c: Likewise.
17231 * libio/iofflush_u.c: Likewise.
17232 * libio/iofgets.c: Likewise.
17233 * libio/iofgets_u.c: Likewise.
17234 * libio/iofopen.c: Likewise.
17235 * libio/iofopncook.c: Likewise.
17236 * libio/iofread.c: Likewise.
17237 * libio/iofread_u.c: Likewise.
17238 * libio/ioftell.c: Likewise.
17239 * libio/iofwrite.c: Likewise.
17240 * libio/iogetline.c: Likewise.
17241 * libio/iogets.c: Likewise.
17242 * libio/iogetwline.c: Likewise.
17243 * libio/iopadn.c: Likewise.
17244 * libio/iopopen.c: Likewise.
17245 * libio/ioseekoff.c: Likewise.
17246 * libio/ioseekpos.c: Likewise.
17247 * libio/iosetbuffer.c: Likewise.
17248 * libio/iosetvbuf.c: Likewise.
17249 * libio/ioungetc.c: Likewise.
17250 * libio/ioungetwc.c: Likewise.
17251 * libio/iovdprintf.c: Likewise.
17252 * libio/iovsprintf.c: Likewise.
17253 * libio/iovsscanf.c: Likewise.
17254 * libio/memstream.c: Likewise.
17255 * libio/obprintf.c: Likewise.
17256 * libio/oldfileops.c: Likewise.
17257 * libio/oldiofclose.c: Likewise.
17258 * libio/oldiofdopen.c: Likewise.
17259 * libio/oldiofopen.c: Likewise.
17260 * libio/oldiopopen.c: Likewise.
17261 * libio/oldstdfiles.c: Likewise.
17262 * libio/putc.c: Likewise.
17263 * libio/setbuf.c: Likewise.
17264 * libio/setlinebuf.c: Likewise.
17265 * libio/stdfiles.c: Likewise.
17266 * libio/strops.c: Likewise.
17267 * libio/vasprintf.c: Likewise.
17268 * libio/vscanf.c: Likewise.
17269 * libio/vsnprintf.c: Likewise.
17270 * libio/vswprintf.c: Likewise.
17271 * libio/wfiledoalloc.c: Likewise.
17272 * libio/wfileops.c: Likewise.
17273 * libio/wgenops.c: Likewise.
17274 * libio/wmemstream.c: Likewise.
17275 * libio/wstrops.c: Likewise.
17276 * libio/__fpurge.c: Likewise.
17277 * libio/__fsetlocking.c: Likewise.
17278 * assert/assert.c: Likewise.
17279 * debug/fgets_chk.c: Likewise.
17280 * debug/fgets_u_chk.c: Likewise.
17281 * debug/fread_chk.c: Likewise.
17282 * debug/fread_u_chk.c: Likewise.
17283 * debug/gets_chk.c: Likewise.
17284 * debug/obprintf_chk.c: Likewise.
17285 * debug/vasprintf_chk.c: Likewise.
17286 * debug/vdprintf_chk.c: Likewise.
17287 * debug/vsnprintf_chk.c: Likewise.
17288 * debug/vsprintf_chk.c: Likewise.
17289 * malloc/mtrace.c: Likewise.
17290 * misc/error.c: Likewise.
17291 * misc/syslog.c: Likewise.
17292 * stdio-common/asprintf.c: Likewise.
17293 * stdio-common/fxprintf.c: Likewise.
17294 * stdio-common/getw.c: Likewise.
17295 * stdio-common/isoc99_fscanf.c: Likewise.
17296 * stdio-common/isoc99_scanf.c: Likewise.
17297 * stdio-common/isoc99_vfscanf.c: Likewise.
17298 * stdio-common/isoc99_vscanf.c: Likewise.
17299 * stdio-common/isoc99_vsscanf.c: Likewise.
17300 * stdio-common/printf-prs.c: Likewise.
17301 * stdio-common/printf_fp.c: Likewise.
17302 * stdio-common/printf_fphex.c: Likewise.
17303 * stdio-common/printf_size.c: Likewise.
17304 * stdio-common/putw.c: Likewise.
17305 * stdio-common/scanf.c: Likewise.
17306 * stdio-common/sprintf.c: Likewise.
17307 * stdio-common/tmpfile.c: Likewise.
17308 * stdio-common/vfprintf.c: Likewise.
17309 * stdio-common/vfscanf.c: Likewise.
17310 * stdlib/strfmon_l.c: Likewise.
17311 * sunrpc/openchild.c: Likewise.
17312 * sunrpc/xdr_stdio.c: Likewise.
17313 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17314 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17315
17316 2012-05-24 Roland McGrath <roland@hack.frob.com>
17317
17318 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17319
17320 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17321 in the third column, to generate for the shared library an IFUNC
17322 that uses _dl_vdso_vsym.
17323 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17324 * Makeconfig (object-suffixes-noshared): New variable.
17325
17326 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17327 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17328 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17329 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17330
17331 [BZ #14132]
17332 * include/sys/time.h (__gettimeofday): Remove macro.
17333 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17334 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17335 Remove INTDEF.
17336 (__gettimeofday): Add libc_hidden_def.
17337 (gettimeofday): Add libc_hidden_weak.
17338 * sysdeps/mach/gettimeofday.c: Likewise.
17339 * sysdeps/posix/gettimeofday.c: Likewise.
17340 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17341 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17343 (__gettimeofday_internal): Remove strong_alias.
17344 (__gettimeofday): Add libc_hidden_def.
17345 (gettimeofday): Add libc_hidden_weak.
17346 * sysdeps/unix/syscalls.list (gettimeofday):
17347 Remove __gettimeofday_internal alias.
17348
17349 2012-05-24 Daniel Jacobowitz <drow@false.org>
17350 H.J. Lu <hongjiu.lu@intel.com>
17351
17352 [BZ #12495]
17353 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17354 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17355 (largebin_index_32_big): New.
17356 (largebin_index): Use it for 16-byte alignment.
17357 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17358 correction with front_misalign.
17359
17360 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17361
17362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17364 Likewise.
17365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17366 Likewise.
17367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17368 Likewise.
17369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17370 Likewise.
17371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17372 Likewise.
17373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17374 Likewise.
17375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17376 Likewise.
17377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17378 Likewise.
17379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17380 Likewise.
17381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17382 Likewise.
17383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17384 Likewise.
17385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17386 Likewise.
17387
17388 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17389 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17390
17391 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17392
17393 [BZ #10846]
17394 [BZ #14036]
17395 * math/libm-test.inc (exp_test): Add test from bug 14036.
17396 (pow_test): Add test from bug 10846.
17397
17398 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17399 and other flags.
17400 (special_function): Do not include flags in test name.
17401 (parse_args): Likewise.
17402 * sysdeps/i386/fpu/libm-test-ulps: Update.
17403 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17404 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17405 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17407
17408 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17409 exceptions.
17410 * math/libm-test.inc ("Philosophy"): Update comment about
17411 exception testing.
17412 (UNDERFLOW_EXCEPTION): New macro.
17413 (UNDERFLOW_EXCEPTION_OK): Likewise.
17414 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17415 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17416 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17417 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17418 (INVALID_EXCEPTION_OK): Update value.
17419 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17420 (OVERFLOW_EXCEPTION_OK): Likewise.
17421 (IGNORE_ZERO_INF_SIGN): Likewise.
17422 (test_exceptions): Handle underflow exceptions.
17423 (acos_test): Update for underflow exception expectations.
17424 (cexp_test): Likewise.
17425 (clog_test): Likewise.
17426 (clog10_test): Likewise.
17427 (csqrt_test): Likewise.
17428 (ctan_test): Likewise.
17429 (ctanh_test): Likewise.
17430 (exp_test): Likewise.
17431 (exp10_test): Likewise.
17432 (exp2_test): Likewise.
17433 (expm1_test): Likewise.
17434 (fma_test): Likewise.
17435 (j0_test): Likewise.
17436 (jn_test): Likewise.
17437 (nexttoward_test): Likewise.
17438 (pow_test): Likewise.
17439 (scalbn_test): Likewise.
17440 (scalbln_test): Likewise.
17441 (tan_test): Likewise.
17442 (y1_test): Likewise.
17443 * sysdeps/i386/fpu/libm-test-ulps: Update.
17444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17445
17446 2012-05-23 David S. Miller <davem@davemloft.net>
17447
17448 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17449 (__libc_sigaction): Remove unused local variables.
17450
17451 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17452
17453 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17454
17455 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17456
17457 mktime: avoid signed integer overflow
17458 * time/mktime.c (__mktime_internal): Do not mishandle the case
17459 where diff == INT_MIN.
17460
17461 mktime: simplify computation of average
17462 * time/mktime.c (ranged_convert): Use new time_t_avg function
17463 instead of rolling our own (probably-slower) code.
17464
17465 mktime: do not assume signed right shift propagates sign bit
17466 * time/mktime.c (isdst_differ): New static function.
17467 (__mktime_internal): No need to normalize tm_isdst now.
17468 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17469 tm_isdst values.
17470
17471 mktime: merge another wrapv change from gnulib
17472 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17473 from some compilers.
17474
17475 mktime: remove incorrect attempt at unusual arithmetics
17476 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17477 The code didn't really work on such machines anyway.
17478 (TYPE_MINIMUM): Assume two's complement.
17479 (twos_complement_arithmetic): Verify that long_int and time_t
17480 are two's complement (or unsigned, in the latter case).
17481
17482 mktime: check signed shifts on long_int and time_t, too
17483 * time/mktime.c (SHR): Check that shifts work as desired
17484 on the types long_int and time_t too, as SHR is used on
17485 such types.
17486
17487 mktime: do not assume 'long' is wide enough
17488 * time/mktime.c (verify): Move decl up.
17489 (long_int): New type.
17490 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17491 to remove assumption in the code that 'long' is wide enough to
17492 store year values. This assumption is not true on x32 and on
17493 some non-glibc platforms.
17494
17495 mktime: merge wrapv change from gnulib
17496 * time/mktime.c (WRAPV): New macro.
17497 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17498 (guess_time_tm, __mktime_internal): Do not assume that signed
17499 integer overflow wraps around; modern compilers generate code
17500 where this assumption is no longer valid.
17501
17502 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17503
17504 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17505 Replace "jmp L(pseudo_end)" with "ret".
17506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17507 Likewise.
17508
17509 2012-05-23 Andreas Jaeger <aj@suse.de>
17510
17511 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17512 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17513
17514 2012-05-23 Andreas Jaeger <aj@suse.de>
17515 Maximilian Attems <max@stro.at>
17516
17517 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17518 New macros.
17519
17520 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17521
17522 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17523 code so that pseudo_end is just ret and the stack pointer is
17524 correct also for static library in error case.
17525
17526 2012-05-23 Joseph Myers <joseph@codesourcery.com>
17527
17528 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17529 move to syscalls.list.
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17534
17535 * manual/install.texi (Running make install): Do not mention Linux
17536 kernel version for which pt_chown is not needed.
17537 (Linux): Do not mention problems with nscd with 2.0 kernels.
17538 * INSTALL: Regenerated.
17539
17540 2012-05-23 Andreas Jaeger <aj@suse.de>
17541
17542 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17543 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17544 macro.
17545 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17546 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17547 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17548 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17549 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17550 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17551 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17552 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17553 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17554 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17555 * sysdeps/unix/sysv/linux/bits/in.h
17556 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17557
17558 2012-05-22 Roland McGrath <roland@hack.frob.com>
17559
17560 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17561 (PREPARE_VERSION): Just use assert instead, it will be elided
17562 under [NDEBUG] anyway.
17563
17564 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17565
17566 * sysdeps/unix/sysv/linux/Makefile: Include
17567 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17568 (sysdep_routines): Remove sysctl.
17569 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17570 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17571 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17572 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17573 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17574
17575 2012-05-22 Andreas Jaeger <aj@suse.de>
17576
17577 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17578 that pseudo_end is just ret and the stack pointer is correct also
17579 for static library in error case.
17580
17581 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17582
17583 [BZ #14122]
17584 * nss/nsswitch.c (defconfig_entries): New variable.
17585 (__nss_database_lookup): Don't leak defconfig entries.
17586 (nss_parse_service_list): Don't leak on error paths.
17587 (free_database_entries): New function.
17588 (free_defconfig): New function.
17589 (free_mem): Move common code to free_database_entries.
17590
17591 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17592
17593 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17594 Add arch_prctl.
17595 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17596
17597 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17598 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17600 New macro.
17601 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17602 (INTERNAL_SYSCALL_TYPES): Likewise.
17603 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17604 (LOAD_REGS_TYPES_[1-6]): Likewise.
17605 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17606 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17607
17608 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17609
17610 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17611 copysignl for GLIBC_2_0.
17612 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17613 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17614 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17615 logbl for GLIBC_2_0.
17616 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17617 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17618
17619 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17620
17621 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17622 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17623
17624 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17625 Use "neg %eax".
17626
17627 * time/mktime.c: Update copyright years.
17628
17629 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17630
17631 mktime: merge comment-quoting-style change from gnulib
17632 * time/mktime.c: Quote 'like this' in comments.
17633 The GNU coding standards suggest that we no longer quote `like this',
17634 as "`" and "'" are typically rendered asymmetrically nowadays.
17635 The typical gnulib style is to quote 'like this' when quoting
17636 code, and "like this" when quoting English.
17637
17638 * time/mktime.c (compile-command): Add "-I.".
17639
17640 mktime: merge mktime-internal.h change from gnulib
17641 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17642
17643 mktime: merge time_r change from gnulib
17644 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17645
17646 mktime: merge DEBUG change from gnulib
17647 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17648 case system <time.h> has a #define.
17649
17650 mktime: merge <sys/types.h> change from gnulib
17651 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17652 since <time.t> is now guaranteed to define time_t.
17653
17654 mktime: merge HAVE_CONFIG_H change from gnulib
17655 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17656
17657 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17658
17659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17660 Use "neg %eax".
17661
17662 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17663 __rlim_t cast.
17664 (struct rusage): Use anonymous union to pad each field to
17665 __syscall_slong_t.
17666
17667 2012-05-21 David S. Miller <davem@davemloft.net>
17668
17669 * Makefules (o-iterator): Remove .s cases.
17670 (compile-command.s): Delete.
17671 (COMPILE.s): Delete.
17672 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17673
17674 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17675
17676 * configure.in (libc_cv_predef_stack_protector): Only consider
17677 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17678 * configure: Regenerated.
17679
17680 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17681
17682 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17683 New macro. Use R*LP on int and pointer.
17684 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17685 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17686 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17687 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17688
17689 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17690 [__WORDSIZE_TIME64_COMPAT32] instead of
17691 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17692 (struct utmp): Likewise.
17693 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17694 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17695 Renamed to ...
17696 (__WORDSIZE_TIME64_COMPAT32): This.
17697 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17698 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17699 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17700 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17701 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17702 (__WORDSIZE_TIME64_COMPAT32): New macro.
17703
17704 2012-05-21 Andreas Jaeger <aj@suse.de>
17705
17706 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17707 only if [SHARED]. Add prototype for __wcschr_ia32.
17708
17709 2012-05-21 Roland McGrath <roland@hack.frob.com>
17710
17711 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17712 of %rbp unmolested in the jmp_buf while mangling the low bits.
17713 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17714 unmolested high bits of %rbp while demangling the low bits.
17715 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17716
17717 2012-05-21 Andreas Jaeger <aj@suse.de>
17718
17719 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17720 * sunrpc/svc_simple.c: Use it for registerrpc.
17721 * sunrpc/xcrypt.c: Use it for passwd2des.
17722
17723 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17724
17725 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17726
17727 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17728 Don't define if [__SYSCALL_WORDSIZE != 32].
17729 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17730 New macro.
17731
17732 2012-05-21 Bruno Haible <bruno@clisp.org>
17733 Andreas Jaeger <aj@suse.de>
17734
17735 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17736 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17737 inptr and inend for must_buffer_ch.
17738 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17739 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17740 * stdio-common/Makefile (tests): Remove bug15.
17741 (bug15-ENV): Remove macro.
17742 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17743 anymore.
17744
17745 2012-05-19 Andreas Jaeger <aj@suse.de>
17746 Roland McGrath <roland@hack.frob.com>
17747
17748 * manual/contrib.texi: Completely rewritten. It contains now an
17749 alphabetical list of contributors and their contributions.
17750
17751 2012-05-21 Richard Henderson <rth@twiddle.net>
17752
17753 * misc/getauxval.c (__getauxval): Use unsigned long int.
17754 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17755 (getauxval): Use unsigned long int.
17756
17757 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17758
17759 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17760
17761 2012-05-21 Roland McGrath <roland@hack.frob.com>
17762
17763 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17764 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17765 __alignof__ (long double).
17766
17767 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17768
17769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17770
17771 2012-05-20 Richard Henderson <rth@twiddle.net>
17772
17773 * misc/getauxval.c: New file.
17774 * misc/sys/auxv.h: New file.
17775 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17776 (routines): Add getauxval.
17777 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17778 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17779 * elf/dl-sysdep.c (_dl_auxv): Remove.
17780 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17781 * elf/dl-support.c (_dl_auxv): New variable.
17782 (_dl_aux_init): Initialize it.
17783 * manual/startup.texi (Auxiliary Vector): New node.
17784 * sysdeps/generic/bits/hwcap.h: New file.
17785 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17786 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17787 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17788 * sysdeps/sparc/sysdep.h: ... here. Include it.
17789 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17790 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17792 Update.
17793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17796 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17801
17802 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17803
17804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17805
17806 2012-05-19 David S. Miller <davem@davemloft.net>
17807
17808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17809
17810 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17811
17812 [BZ #14123]
17813 * math/s_ccosh.c: Include <float.h>
17814 (__ccosh): Avoid internal overflow calculating sinh and cosh
17815 values before multiplying by sin and cos values.
17816 * math/s_ccoshf.c: Likewise.
17817 * math/s_ccoshl.c: Likewise.
17818 * math/s_csin.c: Likewise.
17819 * math/s_csinf.c: Likewise.
17820 * math/s_csinl.c: Likewise.
17821 * math/s_csinh.c: Likewise.
17822 * math/s_csinhf.c: Likewise.
17823 * math/s_csinhl.c: Likewise.
17824 * math/libm-test.inc (ccos_test): Add more tests.
17825 (ccosh_test): Likewise.
17826 (csin_test): Likewise.
17827 (csinh_test): Likewise.
17828 * sysdeps/i386/fpu/libm-test-ulps: Update.
17829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17830
17831 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17832
17833 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17834 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17835
17836 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17837
17838 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17839
17840 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17841 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17842 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17843 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17844 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17845 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17846 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17847 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17848 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17849 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17850 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17851 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17852 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17853 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17854 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17855 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17856 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17857 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17858 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17859 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17860 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17861 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17862 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17863 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17864 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17865 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17866 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17867 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17868 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17869 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17870 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17871
17872 2012-05-18 Andreas Jaeger <aj@suse.de>
17873
17874 * csu/.gitignore: Delete.
17875
17876 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17877
17878 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17879 (timex): Use __syscall_slong_t.
17880
17881 2012-05-18 Andreas Jaeger <aj@suse.de>
17882 Carlos O'Donell <carlos_odonell@mentor.com>
17883
17884 * manual/install.texi (Configuring and compiling): Update
17885 description about files modified in the source directory.
17886 * INSTALL: Regenerated.
17887
17888 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17889
17890 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17891 value. Use "or" to set return value to -1.
17892 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17893 negate return value.
17894
17895 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17896
17897 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17898 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17899 failure if the compiler has Graphite support disabled.
17900 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17901 Likewise.
17902 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17903 CFLAGS-memmove.c): Likewise.
17904 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17905 Likewise.
17906
17907 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17908
17909 * sysdeps/x86_64/x32/_itoa.h: New file.
17910
17911 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17912 getdents system call only if kernel and user dirents have the
17913 same d_ino and d_off.
17914
17915 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17916 LLONG_MAX != LONG_MAX.
17917 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17918 (_fitoa_word): Likewise.
17919
17920 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17921 years.
17922 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17923 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17924 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17925
17926 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17927 include <bits/wordsize.h>. Check __x86_64__ instead of
17928 __WORDSIZE.
17929 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17930 if __x86_64__ is defined. Use anonymous union on fpstate.
17931
17932 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17933 anonymous union.
17934
17935 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17936
17937 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17938 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17939 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17940 Refer to _rtld_local_ro instead of _rtld_global_ro.
17941 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17942 Likewise.
17943 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17944 Likewise.
17945 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17946 Likewise.
17947 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17948 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17949 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17950
17951 * sysdeps/powerpc/powerpc32/dl-machine.c
17952 (__elf_machine_runtime_setup) [PROF]: Don't reference
17953 _dl_prof_resolve.
17954
17955 2012-05-18 Andreas Jaeger <aj@suse.de>
17956
17957 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17958 function only available for GCCs before 3.4 since GCC 3.4
17959 introduced a builtin.
17960 (lrint): Likewise.
17961 (llrintf): Likewise.
17962 (llrint): Likewise.
17963 (fmaxf): Likewise.
17964 (fmax): Likewise.
17965 (fminf): Likewise.
17966 (fmin): Likewise.
17967 (rint): Likewise.
17968 (rintf): Likewise.
17969 (nearbyint): Likewise.
17970 (nearbyintf): Likewise.
17971 (ceil): Likewise.
17972 (ceilf): Likewise.
17973 (floor): Likewise.
17974 (floorf): Likewise.
17975
17976 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17977
17978 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17979 on both fields and cast pointer to __syscall_ulong_t.
17980
17981 * bits/types.h (__fsword_t): New type.
17982 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17983 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17984 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17985 (__FSWORD_T_TYPE): Likewise.
17986 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17987 (__FSWORD_T_TYPE): Likewise.
17988 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17989 (__FSWORD_T_TYPE): Likewise.
17990 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17991 (__FSWORD_T_TYPE): Likewise.
17992 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17993 __SWORD_TYPE with __fsword_t.
17994 (statfs64): Likewise.
17995
17996 2012-05-17 David S. Miller <davem@davemloft.net>
17997
17998 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17999
18000 2012-05-17 Andreas Jaeger <aj@suse.de>
18001
18002 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18003 warning.
18004
18005 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18006
18007 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18008
18009 2012-05-17 Andreas Jaeger <aj@suse.de>
18010
18011 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18012 when it is used.
18013
18014 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18015
18016 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18017
18018 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18019
18020 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18021 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18022
18023 2012-05-17 Andreas Jaeger <aj@suse.de>
18024 Carlos O'Donell <carlos_odonell@mentor.com>
18025
18026 [BZ #14059]
18027 * sysdeps/x86_64/multiarch/init-arch.h
18028 (bit_YMM_Usable): Rename to...
18029 (bit_AVX_Usable): ... this.
18030 (bit_FMA4_Usable): New macro.
18031 (bit_XMM_state): New macro.
18032 (bit_YMM_state): New macro.
18033 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18034 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18035 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18036 (CPUID_OSXSAVE): New macro.
18037 (CPUID_AVX): New macro.
18038 (CPUID_FMA4): New macro.
18039 (index_YMM_Usable): Rename to...
18040 (index_AVX_Usable): ... this.
18041 (HAS_AVX): Use HAS_ARCH_FEATURE.
18042 (HAS_FMA4): Likewise.
18043 (HAS_YMM_USABLE): Remove.
18044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18045 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18046 are present.
18047 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18048 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18049 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18050 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18051 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18052
18053 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18054
18055 * math/libm-test.c: Support platforms without multiple rounding modes.
18056 * math/bug-nextafter.c: Support platforms without FP exceptions.
18057 * math/bug-nexttoward.c: Likewise.
18058 * math/test-fenv.c: Likewise.
18059 * math/test-misc.c: Likewise.
18060 * stdlib/bug-getcontext.c: Likewise.
18061
18062 2012-05-17 Andreas Jaeger <aj@suse.de>
18063
18064 * manual/examples/search.c (critter_cmp): Change signature to
18065 avoid warnings.
18066 * manual/string.texi (Collation Functions): Likewise.
18067
18068 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18069
18070 * bits/types.h: Fold copyright years.
18071 * bits/typesizes.h: Likewise.
18072 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18073 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18075 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18076 * time/time.h: Likewise.
18077
18078 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18079
18080 [BZ #208]
18081 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18082 in instead of returning them. Return void.
18083 (__libc_mallinfo): Accumulate over all arenas.
18084 (__malloc_stats): Adjust for change in int_mallinfo interface.
18085
18086 2012-05-16 Roland McGrath <roland@hack.frob.com>
18087
18088 [BZ #10375]
18089 * configure.in (NM): Add AC_CHECK_TOOL for it.
18090 (libc_extra_cflags): New substituted variable.
18091 Check for -fstack-protector being used implicitly.
18092 * configure: Regenerated.
18093 * config.make.in (config-extra-cflags): New variable,
18094 gets @libc_extra_cflags@.
18095 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18096
18097 [BZ #10375]
18098 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18099 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18100 * configure: Regenerated.
18101 * config.make.in (CPPUNDEFS): New substituted variable.
18102 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18103 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18104 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18105
18106 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18107
18108 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18109 (mq_attr): Use __syscall_slong_t.
18110
18111 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18112
18113 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18114 Check __x86_64__ instead of __WORDSIZE.
18115 (_STAT_VER_LINUX): Likewise.
18116 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18117 __syscall_ulong_t and __syscall_slong_t.
18118 (stat64): Likewise.
18119
18120 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18121
18122 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18123
18124 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18125
18126 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18127
18128 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18129
18130 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18131 __syscall_ulong_t.
18132
18133 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18134 include <bits/wordsize.h>. Check __x86_64__ instead of
18135 __WORDSIZE.
18136 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18137 defined.
18138 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18139
18140 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18141 include <bits/wordsize.h>. Check __x86_64__ instead of
18142 __WORDSIZE.
18143 (user_regs_struct): Use "__extension__ unsigned long long"
18144 instead of "unsigned long" if __x86_64__ is defined.
18145 (user): Likewise. Pad after pointer field if __ILP32__ is
18146 defined.
18147
18148 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18149
18150 * configure.in (makeinfo): Require version 4.5 or later. Allow
18151 versions 5 to 9.
18152 * configure: Regenerated.
18153 * manual/install.texi (texinfo): Increase version requirement to
18154 4.5 or later.
18155 * INSTALL: Regenerated.
18156
18157 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18158
18159 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18160
18161 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18162
18163 * sysdeps/x86_64/x32/ffs.c: New file.
18164
18165 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18166 __syscall_ulong_t.
18167 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18168 defined. Use __syscall_ulong_t.
18169 (shminfo): Use __syscall_ulong_t.
18170 (shm_info): Likewise.
18171
18172 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18173 __syscall_ulong_t.
18174
18175 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18176 <bits/wordsize.h>.
18177 (msgqnum_t): Use __syscall_ulong_t.
18178 (msglen_t): Likewise.
18179 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18180 __syscall_ulong_t.
18181
18182 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18183 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18184
18185 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18186
18187 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18188 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18189
18190 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18191 __syscall_slong_t.
18192
18193 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18194 include <bits/wordsize.h>. Check __x86_64__ instead of
18195 __WORDSIZE.
18196
18197 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18198 "unsigned long long int" if __x86_64__ is defined.
18199 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18200
18201 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18203 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18204
18205 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18206 <stdint.h>.
18207 (GET_PC): Cast to uintptr_t first.
18208 (GET_FRAME): Likewise.
18209 (GET_STACK): Likewise.
18210
18211 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18212 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18213 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18214 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18215 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18216 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18217 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18218 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18219 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18220 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18221 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18222 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18223 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18224 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18225 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18226 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18227 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18228 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18229 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18230 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18231 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18233 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18235 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18236 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18237 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18238 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18239 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18240
18241 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18242
18243 * Makerules (+depfiles): Also collect depfiles from .oS in
18244 $(extra-objs).
18245 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18246 .oS, $(libnldbl-routines)).
18247
18248 * Makerules (native-compile-mkdep-flags): Define.
18249 * sunrpc/Makefile (extra-objs): Add $(addprefix
18250 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18251 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18252 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18253 calling $(make-target-directory).
18254
18255 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18256
18257 * bits/types.h (__snseconds_t): Removed.
18258 * time/time.h (struct timespec): Replace __snseconds_t with
18259 __syscall_slong_t.
18260 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18261 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18262 Likewise.
18263 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18264 (__SNSECONDS_T_TYPE): Likewise.
18265 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18266 (__SNSECONDS_T_TYPE): Likewise.
18267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18268 (__SNSECONDS_T_TYPE): Likewise.
18269
18270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18271
18272 * sysdeps/mach/hurd/bits/typesizes.h
18273 (__SYSCALL_SLONG_TYPE): New macro.
18274 (__SYSCALL_ULONG_TYPE): Likewise.
18275
18276 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18277
18278 * bits/types.h (__syscall_slong_t): New type.
18279 (__syscall_ulong_t): Likewise.
18280
18281 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18282 (__SYSCALL_ULONG_TYPE): Likewise.
18283 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18284 (__SYSCALL_SLONG_TYPE): Likewise.
18285 (__SYSCALL_ULONG_TYPE): Likewise.
18286 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18287 (__SYSCALL_SLONG_TYPE): Likewise.
18288 (__SYSCALL_ULONG_TYPE): Likewise.
18289 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18290 (__SYSCALL_SLONG_TYPE): Likewise.
18291 (__SYSCALL_ULONG_TYPE): Likewise.
18292
18293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18294
18295 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18296 Add sigaltstack-offsets.sym.
18297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18298 <sigaltstack-offsets.h>.
18299 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18300 longjmp_msg pointer.
18301 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18302 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18303 signal stack.
18304 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18305
18306 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18307
18308 * elf/stackguard-macros.h: Remove file.
18309 * sysdeps/generic/stackguard-macros.h: New file.
18310 * sysdeps/i386/stackguard-macros.h: Likewise.
18311 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18312 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18313 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18314 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18315 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18316 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18317 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18318 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18319 <elf/stackguard-macros.h>.
18320
18321 [BZ #14109]
18322 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18323 __aligned__ in attribute.
18324 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18325 (gregset_t): Likewise.
18326
18327 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18328
18329 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18330 * sysdeps/x86_64/64/Implies-after: Here. New file.
18331 * sysdeps/x86_64/x32/Implies-after: New file.
18332
18333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18334
18335 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18336 and access return value for _dl_profile_fixup. Use R10_LP to
18337 load frame size.
18338
18339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18340
18341 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18342
18343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18344
18345 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18346 * sysdeps/x86_64/x32/sysdep.h: New file.
18347
18348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18349
18350 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18351 * sysdeps/x86_64/setjmp.S: Likewise.
18352
18353 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18354
18355 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18356 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18357 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18358 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18359 remove unused global constant.
18360
18361 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18362
18363 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18364 include of <not-cancel.h>.
18365
18366 2012-05-15 Roland McGrath <roland@hack.frob.com>
18367
18368 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18369
18370 2012-05-15 Jeff Law <law@redhat.com>
18371 Andreas Jaeger <aj@suse.de>
18372
18373 [BZ #13594]
18374 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18375 out from...
18376 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18377 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18378 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18379 code changing __hst_map_handle.map.
18380
18381 2012-05-15 Roland McGrath <roland@hack.frob.com>
18382
18383 * configure.in (sysnames): Look for Implies-before and Implies-after
18384 files.
18385 * configure: Regenerated.
18386
18387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18388
18389 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18390 8-byte data alignment with LP_SIZE alignment.
18391
18392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18393
18394 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18395 into R10_LP.
18396
18397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18398
18399 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18400
18401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18402
18403 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18404 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18405 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18406 Likewise.
18407 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18408
18409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18410
18411 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18412 (stackinfo_sub_sp): Likewise.
18413
18414 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18415
18416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18417 RAX_LP.
18418
18419 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18420
18421 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18422 into R*_LP.
18423
18424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18425
18426 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18427 sizes into R*_LP.
18428
18429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18430
18431 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18432
18433 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18434
18435 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18436 into R11_LP and load __x86_64_shared_cache_size_half into
18437 R8_LP.
18438
18439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18440
18441 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18442 R8_LP.
18443
18444 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18445
18446 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18447 logb for POWER7.
18448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18449 logbf for POWER7.
18450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18451 logbl for POWER7.
18452 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18453 powerpc32/power7/fpu/s_logb.c via #include.
18454 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18455 powerpc32/power7/fpu/s_logbf.c via #include.
18456 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18457 powerpc32/power7/fpu/s_logbl.c via #include.
18458
18459 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18460
18461 * README.libm: Remove file.
18462
18463 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18464
18465 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18466 count for x32. Use R*_LP and omit operand-size suffix.
18467
18468 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18469
18470 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18471 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18472 * sysdeps/x86_64/x32/shlib-versions: New file.
18473
18474 2012-05-14 Roland McGrath <roland@hack.frob.com>
18475
18476 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18477 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18478 Use _dl_fatal_printf instead.
18479
18480 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18481
18482 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18483 set if not set by the user. Do not allow for being unset.
18484 * sysdeps/unix/sysv/linux/configure: Regenerated.
18485
18486 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18487
18488 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18489 the `q' suffix from lea and replace .quad with ASM_ADDR.
18490
18491 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18492
18493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18494 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18495 instead of $17.
18496 (PTR_DEMANGLE): Likewise.
18497
18498 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18499
18500 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18501 (LP_OP): Likewise.
18502 (ASM_ADDR): Likewise.
18503 (RAX_LP): Likewise.
18504 (RBP_LP): Likewise.
18505 (RBX_LP): Likewise.
18506 (RCX_LP): Likewise.
18507 (RDI_LP): Likewise.
18508 (RSI_LP): Likewise.
18509 (RSP_LP): Likewise.
18510 (R8_LP): Likewise.
18511 (R9_LP): Likewise.
18512 (R10_LP): Likewise.
18513 (R10_LP): Likewise.
18514 (R11_LP): Likewise.
18515 (R12_LP): Likewise.
18516 (R13_LP): Likewise.
18517 (R14_LP): Likewise.
18518 (R15_LP): Likewise.
18519
18520 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18521
18522 * sysdeps/x86_64/x32/dl-machine.h: New file.
18523
18524 2012-05-14 Andreas Jaeger <aj@suse.de>
18525
18526 * manual/Makefile (subdir): Remove export of subdir.
18527 (all): Remove target.
18528 (.PHONY): Remove all from list.
18529 (mkinstalldirs): Remove.
18530 (.PHONY): Remove installdirs from list.
18531 ($(inst_infodir)/libc.info): Use make-target-directory.
18532 (installdirs): Remove.
18533 (subdir_%): Remove.
18534 (glibc-targets): Remove.
18535 (lib): Remove.
18536 (stubs): Remove.
18537 ($(objpfx)stubs ../po/manual.pot): Remove.
18538 ($(objpfx)stamp%): Remove.
18539 (make-target-directory): Remove.
18540 (subdir_install): Remove.
18541 (routines): Remove.
18542 (aux): Remove.
18543 (sources): Remove.
18544 (objects): Remove.
18545 (headers): Remove.
18546
18547 [BZ #13750]
18548 * manual/.gitignore: Remove, it's not needed anymore.
18549 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18550 all files in it.
18551 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18552 directory.
18553 (texis): Renamed to $(objpfx)texis.
18554 (texis-path): New, contains path to generated files.
18555 (chapters.%): Use texis-path for complete path, add extra argument
18556 libc-texinfo.sh.
18557 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18558 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18559 (summary,texi, stamp-summary): Use complete path of
18560 files. Generate files in build dir.
18561 (dir-add.texi): Build in build dir.
18562 (libm-err.texi,stamp-libm-err): Likewise.
18563 (version.texi, stamp-version): Likewise.
18564 (.%c.texi): Likewise.
18565 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18566 (mostlyclean): Remove target.
18567 (realclean): Remove target.
18568 (generated): Add new variable with contents from mostlyclean and
18569 realclean, remove entries duplicated in common-mostlyclean, add
18570 stamp-libm-err and stamp-version.
18571 (generated-dirs): Add libc directory.
18572 ($(inst_infodir)/libc.info): Install files from build dir.
18573
18574 * manual/install.texi (Configuring and compiling): Adjust since
18575 the info files are not part of the tar ball anymore.
18576
18577 2012-05-14 Andreas Jaeger <aj@suse.de>
18578
18579 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18580 variable.
18581
18582 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18583
18584 [BZ #13717]
18585 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18586 to 2.2.0 where earlier.
18587 * sysdeps/unix/sysv/linux/configure: Regenerated.
18588 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18589 Remove conditional code.
18590 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18591 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18592 Remove conditional code.
18593 [!__NR_lchown]: Likewise.
18594 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18595 [__NR_lchown]: Likewise.
18596 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18597 comment referencing __ASSUME_LCHOWN_SYSCALL.
18598 * sysdeps/unix/sysv/linux/i386/sigaction.c
18599 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18600 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18601 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18602 Remove conditional code.
18603 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18604 (__protocol_available): Remove #if 0 code.
18605 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18606 conditional code.
18607 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18608 * sysdeps/unix/sysv/linux/kernel-features.h
18609 (__ASSUME_GETCWD_SYSCALL): Don't define.
18610 (__ASSUME_REALTIME_SIGNALS): Likewise.
18611 (__ASSUME_PREAD_SYSCALL): Likewise.
18612 (__ASSUME_PWRITE_SYSCALL): Likewise.
18613 (__ASSUME_POLL_SYSCALL): Likewise.
18614 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18615 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18616 non-SPARC.
18617 (__ASSUME_SIOCGIFNAME): Don't define.
18618 (__ASSUME_MSG_NOSIGNAL): Likewise.
18619 (__ASSUME_SENDFILE): Define unconditionally.
18620 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18621 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18622 conditional code.
18623 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18624 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18625 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18626 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18627 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18628 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18629 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18631 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18634 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18635 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18637 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18640 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18643 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18646 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18649 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18654 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18655 Remove conditional code.
18656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18657 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18658 Remove conditional code.
18659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18660 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18661 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18662 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18663 Remove conditional code.
18664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18665 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18666 Remove conditional code.
18667 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18668 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18669 Remove conditional code.
18670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18671 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18672 Remove conditional code.
18673 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18674 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18675 Remove conditional code.
18676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18677 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18678 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18680 * sysdeps/unix/sysv/linux/sigaction.c
18681 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18682 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18683 * sysdeps/unix/sysv/linux/sigpending.c
18684 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18685 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18686 * sysdeps/unix/sysv/linux/sigprocmask.c
18687 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18688 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18689 * sysdeps/unix/sysv/linux/sigsuspend.c
18690 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18691 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18692 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18693 (__libc_missing_rt_sigs): Remove.
18694 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18695 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18696 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18697 Remove conditional code.
18698 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18699 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18700 return 1.
18701 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18702 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18703 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18704 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18705
18706 2012-05-14 Andreas Jaeger <aj@suse.de>
18707
18708 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18709 it's not used in glibc.
18710 (__coshm1): Likewise.
18711 (__acosh1p): Likewise.
18712 (__sgn): Likewise.
18713
18714 * manual/string.texi (Copying and Concatenation): Add missing
18715 variable in concat example.
18716 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18717
18718 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18719
18720 [BZ #14103]
18721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18722 __builtin_clzl with __builtin_clzll.
18723
18724 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18725
18726 [BZ #14104]
18727 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18728 libc_freeres_ptr.
18729
18730 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18731
18732 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18733 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18734 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18735 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18736
18737 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18738
18739 * NEWS: Update ia64 info.
18740
18741 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18742
18743 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18744 used as bcopy.
18745
18746 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18747
18748 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18749 * sysdeps/unix/syscalls.list (dup3): Likewise.
18750 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18751 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18752
18753 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18754
18755 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18756 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18757
18758 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18759
18760 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18761 thread pointer.
18762 (TLS_IE): Use mov/add instead of movq/addq to load thread
18763 pointer.
18764 (TLS_GD_PREFIX): New.
18765 (TLS_GD): Use it.
18766
18767 2012-05-11 David S. Miller <davem@davemloft.net>
18768
18769 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18770 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18771 (_FPU_SETCW): Likewise.
18772
18773 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18774
18775 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18776 is 32-byte aligned.
18777
18778 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18779
18780 [BZ #11837]
18781 * iconvdata/gb18030.c: Update tables.
18782 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18783 characters specially.
18784 (BODY for TO_LOOP): Add encoding of missing ranges.
18785
18786 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18787
18788 [BZ #13673]
18789 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18790 * sysdeps/mach/hurd/dup3.c: Likewise.
18791 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18792 * sysdeps/powerpc/memmove.c:: Likewise.
18793
18794 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18795
18796 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18797 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18798
18799 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18800
18801 * elf/elf.h (R_X86_64_RELATIVE64): New.
18802 (R_X86_64_NUM): Updated.
18803 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18804 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18805 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18806 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18807 tst-quad1pie tst-quad2pie
18808 (modules-names): Add tst-quadmod1 tst-quadmod2.
18809 ($(objpfx)tst-quad1): New dependency.
18810 ($(objpfx)tst-quad2): Likewise.
18811 ($(objpfx)tst-quad1pie): Likewise.
18812 ($(objpfx)tst-quad2pie): Likewise.
18813 * sysdeps/x86_64/tst-quad1.c: New file.
18814 * sysdeps/x86_64/tst-quad1pie.c: New file.
18815 * sysdeps/x86_64/tst-quad2.c: Likewise.
18816 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18817 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18818 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18819 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18820 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18821
18822 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18823
18824 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18825 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18826 * streams/stropts.h (t_scalar_t): Define type.
18827
18828 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18829 (_PATH_PRESERVE): Set to "/var/lib".
18830 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18831
18832 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18833 instead of int.
18834
18835 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18836 if __dir_mkfile succeeded.
18837
18838 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18839 checking for _hurd_dtablesize. Unlock it right after having
18840 finished _hurd_dtable allocation.
18841
18842 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18843
18844 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18845 * sysdeps/mach/hurd/configure: Regenerated.
18846 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18847 special-casing to...
18848 * sysdeps/gnu/configure.in: ... this new file.
18849 * sysdeps/unix/sysv/linux/configure: Regenerated.
18850 * sysdeps/gnu/configure: New generated file.
18851
18852 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18853 for Linux: use nsec instead of usec, as well as:
18854 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18855 members of type struct timespec.
18856 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18857 New macros.
18858 (struct stat64): Likewise.
18859 (_STATBUF_ST_NSEC): New macro.
18860 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18861
18862 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18863 __strtoul_internal rather than strtoul.
18864
18865 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18866
18867 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18868 and reject them.
18869
18870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18871
18872 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18873 which preserves existing values.
18874 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18875
18876 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18877
18878 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18879 TIMEOUT values. Return EINVAL for NFDS values either negative or
18880 greater than FD_SETSIZE.
18881
18882 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18883
18884 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18885 allocated, call __vm_protect to finish enabling the existing space, and
18886 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18887 allocate the remainder.
18888
18889 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18890
18891 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18892 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18893
18894 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18895
18896 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18897 sysdeps/mach/hurd/readlink.c.
18898
18899 * posix/tst-sysconf.c (posix_options): Only use
18900 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18901 _POSIX_SYNCHRONIZED_IO when they are defined
18902 * sysdeps/mach/hurd/bits/posix_opt.h:
18903 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18904 (_XOPEN_REALTIME): Undefine macro.
18905 (_XOPEN_REALTIME_THREADS): Undefine macro.
18906 (_XOPEN_SHM): Undefine macro.
18907 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18908 macro to -1.
18909 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18910 macro to -1.
18911 (_POSIX_ASYNC_IO): Undefine macro.
18912 (_POSIX_PRIORITIZED_IO): Undefine macro.
18913 (_POSIX_SPIN_LOCKS): Define macro to -1.
18914
18915 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18916 SA_NODEFER, SA_RESETHAND.
18917 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18918 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18919 F_DUPFD_CLOEXEC.
18920
18921 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18922
18923 * elf/Makefile (pldd-modules): Define unconditionally.
18924
18925 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18926
18927 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18928
18929 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18930
18931 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18932 Return ENOENT when name is empty.
18933 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18934
18935 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18936
18937 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18938
18939 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18940
18941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18942
18943 Fix mlock in all cases except non-readable pages.
18944 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18945 instead of VM_PROT_ALL as parameter to __vm_wire function.
18946
18947 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18948 (__mkdir): When path is `/', just fail with EEXIST.
18949 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18950
18951 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18952
18953 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18954 <sys/uio.h> (for writev).
18955 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18956 and <sys/param.h> (for MIN).
18957
18958 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18959
18960 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18961 REQUESTED_TIME. Properly set the remaining time and return EINTR
18962 if interrupted.
18963
18964 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18965
18966 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18967 Depend on against $(link-rpcuserlibs).
18968
18969 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18970
18971 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18972 (__libc_stack_end): Do not use attribute_relro.
18973 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18974 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18975 to libthread-provided value.
18976 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18977 attribute_relro.
18978
18979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18980
18981 [BZ #3748]
18982 * bits/libc-lock.h (__libc_once_get): New macro.
18983 * sysdeps/mach/bits/libc-lock.h: Likewise.
18984 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18986 instead of using implementation details.
18987
18988 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18989 * libio/freopen.c: Likewise.
18990 * libio/freopen64.c: Likewise.
18991 * misc/syslog.c: Likewise.
18992 * nscd/connections.c: Likewise.
18993 * nscd/netgroupcache.c: Likewise.
18994 * sysdeps/posix/getcwd.c: Likewise.
18995
18996 2012-05-10 Roland McGrath <roland@hack.frob.com>
18997
18998 * math/w_ilogbf.c: Add #include <limits.h>.
18999
19000 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19001
19002 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19003 path instead of returning without unlocking.
19004
19005 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19006 immediate-write ioctls.
19007 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19008
19009 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19010
19011 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19012 __builtin_frame_address instead of making assumptions about the
19013 location of the return address relative to DATA. Force early load of
19014 the return address.
19015 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19016 __builtin_frame_address.
19017
19018 dup3 for GNU Hurd.
19019 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19020 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19021 implement dup3 and do some further code clean-ups.
19022 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19023 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19024
19025 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19026
19027 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19028
19029 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19030 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19031 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19032 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19033 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19034 d->port.lock.
19035
19036 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19037 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19038 when handler == SIG_ERR, not when handler != SIG_ERR.
19039
19040 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19041
19042 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19043 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19044 definitions.
19045
19046 accept4 for GNU Hurd.
19047 * include/sys/socket.h (__libc_accept4): New prototype.
19048 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19049 to implement __libc_accept4.
19050 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19051 __libc_accept4.
19052 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19053
19054 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19055 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19056 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19057 signal-defines.sym.
19058
19059 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19060
19061 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19062
19063 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19064
19065 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19066 assertion on O_CLOEXEC flag.
19067 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19068 * hurd/intern-fd.c: Likewise.
19069 * hurd/port2fd.c: Likewise.
19070
19071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19072
19073 [BZ #3906]
19074 * bits/in.h (IPV6_PKTINFO): Define new macro.
19075 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19076
19077 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19078
19079 [BZ #13954]
19080 [BZ #13955]
19081 [BZ #13956]
19082 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19084 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19085 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19086 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19087 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19088 * math/libm-test.inc (logb_test) : Additional logb tests.
19089
19090 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19091 Andreas Jaeger <aj@suse.de>
19092
19093 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19094 * configure: Regenerated.
19095 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19096 * config.make.in (link-obsolete-rpc): New substituted variable.
19097 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19098 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19099 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19100 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19101 so that libc.a contains the symbols.
19102 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19103 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19104 * sunrpc/auth_none.c: Likewise.
19105 * sunrpc/auth_unix.c: Likewise.
19106 * sunrpc/authdes_prot.c: Likewise.
19107 * sunrpc/authuxprot.c: Likewise.
19108 * sunrpc/clnt_gen.c: Likewise.
19109 * sunrpc/clnt_perr.c: Likewise.
19110 * sunrpc/clnt_raw.c: Likewise.
19111 * sunrpc/clnt_simp.c: Likewise.
19112 * sunrpc/clnt_tcp.c: Likewise.
19113 * sunrpc/clnt_udp.c: Likewise.
19114 * sunrpc/clnt_unix.c: Likewise.
19115 * sunrpc/des_crypt.c: Likewise.
19116 * sunrpc/des_soft.c: Likewise.
19117 * sunrpc/get_myaddr.c: Likewise.
19118 * sunrpc/key_call.c: Likewise.
19119 * sunrpc/key_prot.c: Likewise.
19120 * sunrpc/netname.c: Likewise.
19121 * sunrpc/pm_getmaps.c: Likewise.
19122 * sunrpc/pm_getport.c: Likewise.
19123 * sunrpc/pmap_clnt.c: Likewise.
19124 * sunrpc/pmap_prot.c: Likewise.
19125 * sunrpc/pmap_prot2.c: Likewise.
19126 * sunrpc/pmap_rmt.c: Likewise.
19127 * sunrpc/publickey.c: Likewise.
19128 * sunrpc/rpc_cmsg.c: Likewise.
19129 * sunrpc/rpc_common.c: Likewise.
19130 * sunrpc/rpc_dtable.c: Likewise.
19131 * sunrpc/rpc_prot.c: Likewise.
19132 * sunrpc/rpc_thread.c: Likewise.
19133 * sunrpc/rtime.c: Likewise.
19134 * sunrpc/svc.c: Likewise.
19135 * sunrpc/svc_auth.c: Likewise.
19136 * sunrpc/svc_raw.c: Likewise.
19137 * sunrpc/svc_run.c: Likewise.
19138 * sunrpc/svc_tcp.c: Likewise.
19139 * sunrpc/svc_udp.c: Likewise.
19140 * sunrpc/svc_unix.c: Likewise.
19141 * sunrpc/svcauth_des.c: Likewise.
19142 * sunrpc/xcrypt.c: Likewise.
19143 * sunrpc/xdr.c: Likewise.
19144 * sunrpc/xdr_array.c: Likewise.
19145 * sunrpc/xdr_float.c: Likewise.
19146 * sunrpc/xdr_intXX_t.c: Likewise.
19147 * sunrpc/xdr_mem.c: Likewise.
19148 * sunrpc/xdr_rec.c: Likewise.
19149 * sunrpc/xdr_ref.c: Likewise.
19150 * sunrpc/xdr_sizeof.c: Likewise.
19151 * sunrpc/xdr_stdio.c: Likewise.
19152
19153 2012-05-10 Roland McGrath <roland@hack.frob.com>
19154
19155 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19156 change. Update copyright years.
19157
19158 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19159
19160 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19161
19162 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19163 Joseph Myers <joseph@codesourcery.com>
19164 Paul Pluzhnikov <ppluzhnikov@google.com>
19165
19166 [BZ #14012]
19167 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19168 requiring rpcgen.
19169 [cross-compiling] (extra-libs): Likewise.
19170 [cross-compiling] (extra-libs-others): Likewise.
19171 [cross-compiling] (librpcsvc-routines): Likewise.
19172 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19173 [cross-compiling] (omit-deps): Likewise.
19174 (sunrpc-CPPFLAGS): New variable.
19175 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19176 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19177 (cross-rpcgen-objs): New variable.
19178 (extra-objs): Append $(cross-rpcgen-objs).
19179 ($(cross-rpcgen-objs)): New rule.
19180 ($(objpfx)cross-rpcgen): Likewise.
19181 (rpcgen-cmd): Define to use $(built-program-file). Expand
19182 comment.
19183 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19184 ($(objpfx)x%.stmp): Likewise.
19185 * sunrpc/proto.h [IS_IN_build] (_): Define.
19186 [IS_IN_build] (_libc_intl_domainname): Likewise.
19187
19188 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19189
19190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19191 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19192 and R_X86_64_TPOFF64.
19193
19194 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19195
19196 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19197 sysdeps/unix/sysv/syscalls.list.
19198 (stime): Likewise.
19199 (utime): Likewise.
19200 * sysdeps/unix/sysv/syscalls.list: Remove file.
19201
19202 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19203
19204 [BZ #3440]
19205 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19206 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19207 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19208 (__LC_IDENTIFICATION): Make these macros useful in #if
19209 expressions, as required by C99.
19210
19211 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19212
19213 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19214 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19215 after this.
19216
19217 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19218
19219 * stdlib/longlong.h: Updated from GCC.
19220
19221 2012-05-09 Andreas Jaeger <aj@suse.de>
19222
19223 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19224 default is first entry.
19225 (run_mode): Set type.
19226 (main): Remove informal message about syslog.
19227 (options): Fix typo.
19228
19229 [BZ #14053]
19230 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19231 to asm.
19232 (lrint): Likewise.
19233 (llrintf): Likewise.
19234 (llrint): Likewise.
19235 (rint): Likewise.
19236 (rintf): Likewise.
19237 (nearbyint): Likewise.
19238 (nearbyintf): Likewise.
19239
19240 2012-05-09 Andreas Jaeger <aj@suse.de>
19241 Pedro Alves <palves@redhat.com>
19242
19243 * nscd/nscd.c (run_mode): Use enum.
19244 (main): Cleanup coding style issue.
19245
19246 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19247 Andreas Jaeger <aj@suse.de>
19248
19249 * nscd/nscd.c (go_background): Replaced with...
19250 (run_mode): ... this.
19251 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19252 (options): Add -F --foreground.
19253 (main): Implement it.
19254 (parse_opt): Parse it.
19255
19256 2012-05-09 Andreas Jaeger <aj@suse.de>
19257
19258 [BZ #14083]
19259 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19260 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19261 -Wconversion warning.
19262 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19263 Likewise.
19264
19265 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19266
19267 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19268 == 0.
19269 (LC_ALL): Use macro-int-constant.
19270 (LC_COLLATE): Likewise.
19271 (LC_CTYPE): Likewise.
19272 (LC_MESSAGES): Likewise.
19273 (LC_MONETARY): Likewise.
19274 (LC_NUMERIC): Likewise.
19275 (LC_TIME): Likewise.
19276 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19277 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19278 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19279 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19280 Specify type.
19281 [C99-based standards] (float_t): Expect type.
19282 [C99-based standards] (double_t): Expect type.
19283 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19284 type.
19285 [C99-based standards] (HUGE_VALL): Likewise.
19286 [C99-based standards] (INFINITY): Likewise.
19287 [C99-based standards] (NAN): Likewise.
19288 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19289 [C99-based standards] (FP_NAN): Likewise.
19290 [C99-based standards] (FP_NORMAL): Likewise.
19291 [C99-based standards] (FP_SUBNORMAL): Likewise.
19292 [C99-based standards] (FP_ZERO): Likewise.
19293 [C99-based standards] (FP_FAST_FMA): Use
19294 optional-macro-int-constant. Specify type. Require == 1.
19295 [C99-based standards] (FP_FAST_FMAF): Likewise.
19296 [C99-based standards] (FP_FAST_FMAL): Likewise.
19297 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19298 [C99-based standards] (FP_ILOGBNAN): Likewise.
19299 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19300 Specify type.
19301 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19302 [C99-based standards] (math_errhandling): Specify type.
19303 [ISO99 || ISO11] (signgam): Do not allow.
19304 [non-C99-based standards] (copysignf): Do not allow.
19305 [non-C99-based standards] (exp2f): Likewise.
19306 [non-C99-based standards] (log2f): Likewise.
19307 [non-C99-based standards] (modff): Allow.
19308 [non-C99-based standards] (erff): Do not allow.
19309 [non-C99-based standards] (erfcf): Likewise.
19310 [non-C99-based standards] (gammaf): Likewise.
19311 [non-C99-based standards] (hypotf): Likewise.
19312 [non-C99-based standards] (j0f): Likewise.
19313 [non-C99-based standards] (j1f): Likewise.
19314 [non-C99-based standards] (jnf): Likewise.
19315 [non-C99-based standards] (lgammaf): Likewise.
19316 [non-C99-based standards] (tgammaf): Likewise.
19317 [non-C99-based standards] (y0f): Likewise.
19318 [non-C99-based standards] (y1f): Likewise.
19319 [non-C99-based standards] (ynf): Likewise.
19320 [non-C99-based standards] (isnanf): Likewise.
19321 [non-C99-based standards] (acoshf): Likewise.
19322 [non-C99-based standards] (asinhf): Likewise.
19323 [non-C99-based standards] (atanhf): Likewise.
19324 [non-C99-based standards] (cbrtf): Likewise.
19325 [non-C99-based standards] (expm1f): Likewise.
19326 [non-C99-based standards] (ilogbf): Likewise.
19327 [non-C99-based standards] (log1pf): Likewise.
19328 [non-C99-based standards] (logbf): Likewise.
19329 [non-C99-based standards] (nextafterf): Likewise.
19330 [non-C99-based standards] (remainderf): Likewise.
19331 [non-C99-based standards] (rintf): Likewise.
19332 [non-C99-based standards] (scalbf): Likewise.
19333 [non-C99-based standards] (copysignl): Likewise.
19334 [non-C99-based standards] (exp2l): Likewise.
19335 [non-C99-based standards] (log2l): Likewise.
19336 [non-C99-based standards] (modfl): Allow.
19337 [non-C99-based standards] (erfl): Do not allow.
19338 [non-C99-based standards] (erfcl): Likewise.
19339 [non-C99-based standards] (gammal): Likewise.
19340 [non-C99-based standards] (hypotl): Likewise.
19341 [non-C99-based standards] (j0l): Likewise.
19342 [non-C99-based standards] (j1l): Likewise.
19343 [non-C99-based standards] (jnl): Likewise.
19344 [non-C99-based standards] (lgammal): Likewise.
19345 [non-C99-based standards] (tgammal): Likewise.
19346 [non-C99-based standards] (y0l): Likewise.
19347 [non-C99-based standards] (y1l): Likewise.
19348 [non-C99-based standards] (ynl): Likewise.
19349 [non-C99-based standards] (isnanl): Likewise.
19350 [non-C99-based standards] (acoshl): Likewise.
19351 [non-C99-based standards] (asinhl): Likewise.
19352 [non-C99-based standards] (atanhl): Likewise.
19353 [non-C99-based standards] (cbrtl): Likewise.
19354 [non-C99-based standards] (expm1l): Likewise.
19355 [non-C99-based standards] (ilogbl): Likewise.
19356 [non-C99-based standards] (log1pl): Likewise.
19357 [non-C99-based standards] (logbl): Likewise.
19358 [non-C99-based standards] (nextafterl): Likewise.
19359 [non-C99-based standards] (remainderl): Likewise.
19360 [non-C99-based standards] (rintl): Likewise.
19361 [non-C99-based standards] (scalbl): Likewise.
19362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19363 [non-C99-based standards] (FP_*): Do not allow.
19364 [C99-based standards] (FP_*): Change to
19365 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19366 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19367 allow.
19368 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19369 (SIG_ERR): Likewise.
19370 [X/Open-based standards] (SIG_HOLD): Likewise.
19371 (SIG_IGN): Likewise.
19372 (SIGABRT): Use macro-int-constant. Specify type. Require
19373 positive value.
19374 (SIGFPE): Likewise.
19375 (SIGILL): Likewise.
19376 (SIGINT): Likewise.
19377 (SIGSEGV): Likewise.
19378 (SIGTER): Likewise.
19379 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19380 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19381 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19382 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19383 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19384 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19385 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19386 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19387 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19388 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19389 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19390 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19391 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19392 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19393 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19394 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19395 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19396 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19397 [X/Open-based standards] (SIGTRAP): Likewise.
19398 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19399 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19400 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19401 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19402 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19403 allow.
19404
19405 2012-05-08 Ian Wienand <ianw@vmware.com>
19406
19407 [BZ #14080]
19408 * time/tzset.c (__tzset_parse_tz): Update default rules for
19409 daylight time changes in the Energy Policy Act of 2005.
19410
19411 2012-05-09 Andreas Jaeger <aj@suse.de>
19412
19413 [BZ #13983]
19414 * elf/ldconfig.c (parse_conf): Change string to make clear that
19415 ldconfig only issued a warning if ld.so.conf does not exist.
19416
19417 2012-05-08 David S. Miller <davem@davemloft.net>
19418
19419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19420 movxtod instead of popping the value on the stack.
19421
19422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19423
19424 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19425
19426 * config.h.in: Add HAVE_ARM_PCS_VFP.
19427
19428 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
19429
19430 [BZ #13979]
19431 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19432 checking but the checks are disabled for any reason.
19433
19434 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19435
19436 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19437 and ELF64_R_TYPE with ELFW(R_TYPE).
19438
19439 2012-05-08 Joseph Myers <joseph@codesourcery.com>
19440
19441 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19442 (ulimit): Likewise.
19443
19444 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19445 (settimeofday): Likewise.
19446
19447 2012-05-08 Mike Frysinger <vapier@gentoo.org>
19448
19449 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19450 a struct th_u2 inside the union, and move tu_block/tu_code into
19451 a new th_u3 union of tu_block/tu_code inside of that. Move
19452 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19453 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19454 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19455 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19456 (th_stuff): Change to th_u1.tu_stuff.
19457 (th_data): Define.
19458 (th_msg): Change to th_u1.th_u2.tu_data.
19459
19460 2012-05-07 David S. Miller <davem@davemloft.net>
19461
19462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19463
19464 [BZ #14074]
19465 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19466 (SETUP_PIC_REG): Use it.
19467 (SETUP_PIC_REG_LEAF): Use it.
19468
19469 2012-05-07 Joseph Myers <joseph@codesourcery.com>
19470
19471 [BZ #13885]
19472 [BZ #13923]
19473 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19474 USE_AS_EXPM1L.
19475 (EXPL_FINITE): Likewise.
19476 (FLDLOG): Likewise.
19477 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19478 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19479 e_expl.S.
19480 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19481 USE_AS_EXPM1L.
19482 (EXPL_FINITE): Likewise.
19483 (FLDLOG): Likewise.
19484 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19485 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19486 e_expl.S.
19487 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19488 test of -max_value argument for long double.
19489 * sysdeps/i386/fpu/libm-test-ulps: Update.
19490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19491
19492 2012-05-06 David S. Miller <davem@davemloft.net>
19493
19494 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19495 quad soft-float symbols whose references which are compiler
19496 generated.
19497 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19498
19499 2012-05-06 Joseph Myers <joseph@codesourcery.com>
19500
19501 [BZ #13884]
19502 [BZ #13914]
19503 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19504 USE_AS_EXP10L.
19505 (EXPL_FINITE): Likewise.
19506 (FLDLOG): Likewise.
19507 (c0): Likewise.
19508 (c1): Likewise.
19509 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19510 Adjust comments for base varying.
19511 (__expl_finite): Change alias to EXPL_FINITE.
19512 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19513 e_expl.S.
19514 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19515 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19517 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19518 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19519 USE_AS_EXP10L.
19520 (EXPL_FINITE): Likewise.
19521 (FLDLOG): Likewise.
19522 (c0): Likewise.
19523 (c1): Likewise.
19524 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19525 Adjust comments for base varying.
19526 (__expl_finite): Change alias to EXPL_FINITE.
19527 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19528 tests for bugs.
19529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19530
19531 [BZ #14064]
19532 * math/libm-test.inc (check_float_internal): Correct ulp
19533 calculation for subnormal expected results.
19534
19535 2012-05-06 Andreas Jaeger <aj@suse.de>
19536
19537 * Makeconfig (+math-flags): New, set to -frounding-math.
19538 (+cflags): Add +math-flags so that all of glibc gets compiled with
19539 it.
19540
19541 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19542
19543 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19544
19545 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19546 Disable one test.
19547
19548 [BZ #13787]
19549 [BZ #13922]
19550 [BZ #14036]
19551 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19552 (__ieee754_expl): Allow for and saturate large arguments.
19553 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19554 (u_threshold): Likewise.
19555 (__exp): Call __ieee754_exp before checking for overflow and
19556 underflow.
19557 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19558 (u_threshold): Likewise.
19559 (__expf): Call __ieee754_expf before checking for overflow and
19560 underflow.
19561 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19562 (u_threshold): Likewise.
19563 (__expl): Call __ieee754_expl before checking for overflow and
19564 underflow.
19565 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19566 (__ieee754_expl): Allow for and saturate large arguments.
19567 * math/libm-test.inc (exp_test): Add another test. Do not allow
19568 missing overflow exception on overflow.
19569 (expm1_test): Do not allow missing overflow exception on overflow.
19570
19571 * sysdeps/i386/fpu/e_expl.c: Move to ...
19572 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19573 rather than using inline asm.
19574 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19575 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19576 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19577
19578 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19579 (nice): Likewise.
19580 (poll): Likewise.
19581 (signal): Likewise.
19582 (time): Likewise.
19583 (times): Likewise.
19584
19585 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19586
19587 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19588 sysdeps/unix/common/syscalls.list.
19589 (fchmod): Likewise.
19590 (fchown): Likewise.
19591 (ftruncate): Likewise.
19592 (getrusage): Likewise.
19593 (gettimeofday): Likewise.
19594 (setpgid): Likewise.
19595 (setregid): Likewise.
19596 (setreuid): Likewise.
19597 (sigaction): Likewise.
19598 (truncate): Likewise.
19599 (vhangup): Likewise.
19600 * sysdeps/unix/common/syscalls.list: Remove file.
19601 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19602 * sysdeps/unix/sysv/linux/Implies: Likewise.
19603
19604 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19605
19606 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19608 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19609 Moved to ...
19610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19611 Here.
19612 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19613 to ...
19614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19615 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19616 to ...
19617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19618 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19619 to ...
19620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19621 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19622 to ...
19623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19624 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19625 to ...
19626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19627 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19628 to ...
19629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19630 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19631 to ...
19632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19633 Here.
19634 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19635 to ...
19636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19637 Here.
19638 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19639 to ...
19640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19641 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19642 Moved to ...
19643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19644 Here.
19645 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19646 to ...
19647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19648
19649 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19650
19651 * sysdeps/unix/common/bits/dirent.h: Remove file.
19652 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19653
19654 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19655 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19656 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19657 * sysdeps/unix/bsd/isatty.c: Likewise.
19658 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19659 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19660 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19661
19662 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19663
19664 [BZ #13563]
19665 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19666 long double comparison inaccuracies.
19667 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19669
19670 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19671
19672 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19674
19675 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19676
19677 [BZ #14049]
19678 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19679 nonzero digits before rounding a hex value.
19680 * stdlib/tst-strtod.c (tests): Add another test.
19681
19682 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19683
19684 * sysdeps/s390/fpu/libm-test-ulps: Update.
19685
19686 2012-05-03 Andreas Jaeger <aj@suse.de>
19687
19688 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19689 does not get optimized out.
19690 (malloc_opt_barrier): New.
19691
19692 2012-05-03 Andreas Jaeger <aj@suse.de>
19693 Roland McGrath <roland@hack.frob.com>
19694
19695 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19696 intermediate file deletion.
19697 (generated): Add .symlist files.
19698
19699 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19700
19701 [BZ #13775]
19702 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19703 Redirect under this condition.
19704 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19705 [__USE_GNU] (__dprintf_chk): Not under this condition.
19706 [__USE_GNU] (__vdprintf_chk): Likewise.
19707 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19708 under this condition.
19709 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19710 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19711 [__USE_XOPEN2K8] (vdprintf): Likewise.
19712 [__USE_GNU] (__dprintf_chk): Not under this condition.
19713 [__USE_GNU] (__vdprintf_chk): Likewise.
19714 [__USE_GNU] (dprintf): Likewise.
19715 [__USE_GNU] (vdprintf): Likewise.
19716
19717 2012-05-03 Roland McGrath <roland@hack.frob.com>
19718
19719 * elf/Makefile (common-generated): Set this instead of generated for
19720 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19721 $(all-built-dso)-derived lists.
19722
19723 2012-05-03 Andreas Jaeger <aj@suse.de>
19724
19725 * sysdeps/i386/fpu/libm-test-ulps: Update.
19726
19727 * FAQ: Removed.
19728 * FAQ.in: Likewise.
19729 * scripts/gen-FAQ.pl: Likewise.
19730 * manual/install.texi (Installation): Point to online location of
19731 FAQ.
19732 * Makefile (files-for-dist): Remove FAQ.
19733 (FAQ): Remove.
19734
19735 2012-05-02 Allan McRae <allan@archlinux.org>
19736
19737 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19738 (LDFLAGS-reldepmod5.so): Likewise.
19739 (LDFLAGS-reldep6mod1.so): Likewise.
19740 (LDFLAGS-reldep6mod4.so): Likewise.
19741 (LDFLAGS-reldep8mod3.so): Likewise.
19742 (LDFLAGS-unload4mod1.so): Likewise.
19743 (LDFLAGS-unload4mod2.so): Likewise.
19744 (LDFLAGS-tst-initorder): Likewise.
19745 (LDFLAGS-tst-initordera2.so): Likewise.
19746 (LDFLAGS-tst-initordera3.so): Likewise.
19747 (LDFLAGS-tst-initordera4.so): Likewise.
19748 (LDFLAGS-tst-initorderb2.so): Likewise.
19749 (LDFLAGS-noload): Likewise.
19750 (LDFLAGS-next): Likewise.
19751 (LDFLAGS-order2mod1.so): Likewise.
19752 (LDFLAGS-order2mod2.so): Likewise.
19753 (LDFLAGS-tst-initorder2): Likewise.
19754 (LDFLAGS-tst-initorder2a.so): Likewise.
19755 (LDFLAGS-tst-initorder2b.so): Likewise.
19756 (LDFLAGS-tst-initorder2c.so): Likewise.
19757 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19758
19759 2012-05-02 David S. Miller <davem@davemloft.net>
19760
19761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19762
19763 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19764
19765 [BZ #14055]
19766 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19767
19768 2012-05-02 Andreas Jaeger <aj@suse.de>
19769
19770 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19771 since we manipulate rounding mode.
19772 (CPPFLAGS-test-idouble.c): Likewise.
19773 (CPPFLAGS-test-ifloat.c): Likewise.
19774 (CFLAGS-test-ldouble.c): Likewise.
19775 (CFLAGS-test-double.c): Likewise.
19776 (CFLAGS-test-float.c): Likewise.
19777 (CFLAGS-test-misc.c): Likewise.
19778 (CFLAGS-test-test-fenv.c): Likewise.
19779
19780 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19781
19782 [BZ #2550]
19783 [BZ #2570]
19784 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19785 comparisons to determine direction to adjust input.
19786
19787 2012-05-01 Roland McGrath <roland@hack.frob.com>
19788
19789 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19790 output to the target.
19791
19792 * scripts/localplt.awk: New file.
19793 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19794 (check-localplt-CFLAGS): Variable removed.
19795 ($(all-built-dso:=.jmprel)): New static pattern rule.
19796 (generated): Add those targets.
19797 (localplt-built-dso): New variable.
19798 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19799
19800 * elf/check-localplt.c: File removed.
19801
19802 * scripts/check-execstack.awk: New file.
19803 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19804 (check-execstack-CFLAGS): Variable removed.
19805 ($(objpfx)check-execstack.h): Target removed.
19806 ($(objpfx)execstack-default): New target.
19807 (generated): Add that instead of check-execstack.h.
19808 ($(all-built-dso:=.phdr)): New static pattern rule.
19809 (generated): Add those targets.
19810 * elf/check-execstack.c: File removed.
19811
19812 * scripts/check-textrel.awk: New file.
19813 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19814 (check-textrel-CFLAGS): Variable removed.
19815 (all-built-dso): Use := to define.o
19816 ($(all-built-dso:=.dyn)): New static pattern rule.
19817 (generated): Add those targets.
19818 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19819 * config.make.in (READELF): New substituted variable.
19820 * elf/check-textrel.c: File removed.
19821
19822 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19823
19824 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19825 allow.
19826 * conform/data/ctype.h-data [C99-based standards] (isblank):
19827 Expect function.
19828 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19829 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19830 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19831 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19832 Specify type. Require positive value.
19833 (EILSEQ): Likewise.
19834 (ERANGE): Likewise.
19835 [ISO || POSIX] (EILSEQ): Do not expect.
19836 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19837 Specify type. Require positive value.
19838 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19839 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19840 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19841 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19842 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19843 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19844 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19845 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19846 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19847 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19848 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19849 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19850 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19851 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19852 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19853 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19854 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19855 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19856 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19857 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19858 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19859 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19860 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19861 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19862 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19863 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19864 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19865 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19866 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19867 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19868 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19869 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19870 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19871 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19872 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19873 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19874 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19875 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19876 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19877 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19878 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19879 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19880 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19881 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19882 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19883 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19884 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19885 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19886 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19887 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19888 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19889 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19890 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19891 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19892 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19893 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19894 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19895 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19896 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19897 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19898 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19899 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19900 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19901 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19902 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19903 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19904 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19905 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19906 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19907 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19908 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19909 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19910 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19911 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19912 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19913 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19914 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19915 Require >= 2.
19916 (FLT_ROUNDS): Expect as macro, not constant.
19917 (FLT_MANT_DIG): Use macro-int-constant.
19918 (DBL_MANT_DIG): Likewise.
19919 (LDBL_MANT_DIG): Likewise.
19920 (FLT_DIG): Likewise.
19921 (DBL_DIG): Likewise.
19922 (LDBL_DIG): Likewise.
19923 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19924 (DBL_MIN_EXP): Likewise.
19925 (LDBL_MIN_EXP): Likewise.
19926 (FLT_MAX_EXP): Use macro-int-constant.
19927 (DBL_MAX_EXP): Likewise.
19928 (LDBL_MAX_EXP): Likewise.
19929 (FLT_MAX_10_EXP): Likewise.
19930 (DBL_MAX_10_EXP): Likewise.
19931 (LDBL_MAX_10_EXP): Likewise.
19932 (FLT_MAX): Use macro-constant.
19933 (DBL_MAX): Likewise.
19934 (LDBL_MAX): Likewise.
19935 (FLT_EPSILON): Use macro-constant. Give upper bound.
19936 (DBL_EPSILON): Likewise.
19937 (LDBL_EPSILON): Likewise.
19938 (FLT_MIN): Likewise.
19939 (DBL_MIN): Likewise.
19940 (LDBL_MIN): Likewise.
19941 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19942 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19943 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19944 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19945 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19946 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19947 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19948 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19949 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19950 [ISO11] (FLT_TRUE_MIN): Likewise.
19951 [ISO11] (LDBL_TRUE_MIN): Likewise.
19952 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19953 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19954 (SCHAR_MIN): Use macro-int-constant. Specify type.
19955 (SCHAR_MAX): Likewise.
19956 (UCHAR_MAX): Likewise.
19957 (CHAR_MIN): Likewise.
19958 (CHAR_MAX): Likewise.
19959 (MB_LEN_MAX): Use macro-int-constant.
19960 (SHRT_MIN): Use macro-int-constant. Specify type.
19961 (SHRT_MAX): Likewise.
19962 (USHRT_MAX): Likewise.
19963 (INT_MAX): Likewise.
19964 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19965 bound negative.
19966 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19967 bound with "U".
19968 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19969 bound with "L".
19970 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19971 bound negative. Suffix upper bound with "L".
19972 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19973 bound with "UL".
19974 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19975 Specify type.
19976 [C99-based standards] (LLONG_MAX): Likewise.
19977 [C99-based standards] (ULLONG_MAX): Likewise.
19978 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19979 == 0.
19980 [ISO11] (max_align_t): Require type.
19981 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19982
19983 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19984 from $CFLAGS, without defining away __attribute__ calls.
19985 (checknamespace): Use $CFLAGS_namespace.
19986
19987 * conform/conformtest.pl (@keywords): Only include C99 keywords
19988 for standards based on C99 or C11.
19989
19990 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19991 Disable tests.
19992 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19993 UNIX98]: Likewise.
19994
19995 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19996 usability of symbols in #if.
19997
19998 * conform/conformtest.pl: If macro or constant types start
19999 "promoted:", expect the symbol to be of the following type
20000 promoted by the integer promotions.
20001
20002 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20003 in one place. Also handle "macro-constant".
20004
20005 * conform/conformtest.pl: Only accept expected macro values with
20006 "==". Parse all "macro" lines in one place.
20007 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20008
20009 * conform/conformtest.pl: Handle braced types on "constant" lines
20010 instead of handling "typed-constant".
20011 * conform/data/signal.h-data: Use "constant" instead of
20012 "typed-constant".
20013
20014 * conform/conformtest.pl: Handle "optional-" at start of lines in
20015 one place rather than duplicating several cases. Handle each
20016 format of "macro" line with initial "optional-".
20017
20018 * conform/conformtest.pl: Only accept expected constant or
20019 optional-constant values with "==". Parse all "constant" lines in
20020 one place. Parse all "optional-constant" lines in one place.
20021 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20022 * conform/data/fmtmsg.h-data: Likewise.
20023 * conform/data/netinet/in.h-data: Likewise.
20024 * conform/data/tar.h-data: Likewise.
20025 * conform/data/limits.h-data: Use "==" form on "constant" and
20026 "optional-constant" lines.
20027
20028 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20029 Use -std=c99 for XOPEN2K.
20030 (@knownproblems): Remove.
20031 (newtoken): Don't check %isknown.
20032
20033 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20034 Do not expect macro.
20035 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20036 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20037 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20038 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20039 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20040 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20041 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20042 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20043 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20044 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20045 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20046 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20047 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20048 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20049 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20050 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20051 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20052 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20053 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20054 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20055 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20056 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20057 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20058 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20059 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20060 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20061 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20062 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20063 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20064 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20065 [XPG3] (acosh): Likewise.
20066 [XPG3] (asinh): Likewise.
20067 [XPG3] (atanh): Likewise.
20068 [XPG3] (cbrt): Likewise.
20069 [XPG3] (expm1): Likewise.
20070 [XPG3] (ilogb): Likewise.
20071 [XPG3] (log1p): Likewise.
20072 [XPG3] (logb): Likewise.
20073 [XPG3] (nextafter): Likewise.
20074 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20075 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20076 [XPG3] (remainder): Likewise.
20077 [XPG3] (rint): Likewise.
20078 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20079 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20080 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20081 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20082 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20083 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20084 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20085 [UNIX98 || XOPEN2K] (scalb): Expect.
20086 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20087 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20088 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20089 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20090 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20091 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20092 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20093 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20094 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20095 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20096 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20097 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20098 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20099 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20100 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20101 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20102 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20103 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20104 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20105 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20106 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20107 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20108 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20109 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20110 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20111 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20112 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20113 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20114 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20115 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20116 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20117 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20118 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20119 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20120 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20121 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20122 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20123 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20124 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20125 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20126 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20127 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20128 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20129 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20130 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20131 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20132 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20133 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20134 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20135 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20136 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20137 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20138 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20139 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20140 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20141 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20142 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20143 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20144 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20145 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20146 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20147 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20148 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20149 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20150 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20151 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20152 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20153 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20154 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20155 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20156 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20157 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20158 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20159 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20160 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20161 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20162 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20163 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20164 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20165 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20166 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20167 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20168 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20169 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20170 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20171 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20172 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20173 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20174 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20175 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20176 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20177 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20178 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20179 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20180 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20181 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20182 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20183 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20184 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20185 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20186 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20187 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20188 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20189 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20190 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20191 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20192 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20193 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20194 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20195 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20196 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20197 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20198 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20199 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20200 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20201 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20202 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20203 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20204 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20205 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20206 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20207 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20208 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20209 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20210 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20211 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20212 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20213 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20214 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20215 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20216 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20217 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20218 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20219 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20220 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20221 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20222 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20223
20224 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20225 _XOPEN_SOURCE_EXTENDED for XPG4.
20226
20227 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20228
20229 * Makeconfig (localtime): Remove variable.
20230 (inst_localtime-file): Likewise.
20231
20232 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20233
20234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20235 Update.
20236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20237 Update.
20238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20239 Update.
20240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20241 Update.
20242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20243 Update.
20244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20245 Update.
20246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20247 Update.
20248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20249 Update.
20250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20251 Update.
20252
20253 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20254
20255 [BZ #2550]
20256 [BZ #2570]
20257 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20258 comparisons to determine direction to adjust input.
20259 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20260 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20261 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20262 Likewise.
20263 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20264 Likewise.
20265 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20266 Likewise.
20267 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20268 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20269 Likewise.
20270 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20271 Likewise.
20272 * math/libm-test.inc (nexttoward_test): Add more tests.
20273
20274 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20275
20276 [BZ #14040]
20277 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20278 in version GLIBC_2.1, not GLIBC_2.0.
20279 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20280 Likewise.
20281
20282 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20283
20284 [BZ #13942]
20285 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20286 (1 - x) * (1 + x).
20287 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20288 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20289 * math/libm-test.inc (acos_test): Add more tests.
20290 (asin_test): Likewise.
20291 * sysdeps/i386/fpu/libm-test-ulps: Update.
20292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20293
20294 [BZ #14034]
20295 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20296 of square root.
20297 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20298 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20299 * math/libm-test.inc (acos_test_tonearest): New function.
20300 (acos_test_towardzero): Likewise.
20301 (acos_test_downward): Likewise.
20302 (acos_test_upward): Likewise.
20303 (asin_test_tonearest): Likewise.
20304 (asin_test_towardzero): Likewise.
20305 (asin_test_downward): Likewise.
20306 (asin_test_upward): Likewise.
20307 (main): Call the new functions.
20308 * sysdeps/i386/fpu/libm-test-ulps: Update.
20309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20310
20311 [BZ #13884]
20312 [BZ #13924]
20313 * math/e_exp10.c: Include <float.h>.
20314 (__ieee754_exp10): Handle underflow here rather than multiplying
20315 large negative argument by M_LN10.
20316 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20317 of __ieee754_expf.
20318 * math/e_exp10l.c: Include <float.h>.
20319 (__ieee754_exp10l): Handle underflow here rather than multiplying
20320 large negative argument by M_LN10l.
20321 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20322 spurious overflow exception on underflow.
20323
20324 2012-04-29 Marek Polacek <polacek@redhat.com>
20325
20326 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20327 (__fortify_function): New macro.
20328 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20329 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20330 __extern_always_inline.
20331 * libio/bits/stdio2.h: Likewise.
20332 * libio/bits/stdio.h: Likewise.
20333 * string/string.h: Likewise.
20334 * string/bits/string3.h: Likewise.
20335 * include/stdio.h: Likewise.
20336 * stdlib/bits/stdlib.h: Likewise.
20337 * stdlib/stdlib.h: Likewise.
20338 * rt/bits/mqueue2.h: Likewise.
20339 * rt/mqueue.h: Likewise.
20340 * posix/bits/unistd.h: Likewise.
20341 * posix/unistd.h: Likewise.
20342 * io/bits/poll2.h: Likewise.
20343 * io/bits/fcntl2.h: Likewise.
20344 * io/fcntl.h: Likewise.
20345 * io/sys/poll.h: Likewise.
20346 * misc/bits/syslog.h: Likewise.
20347 * misc/bits/syslog-ldbl.h: Likewise.
20348 * misc/sys/syslog.h: Likewise.
20349 * socket/bits/socket2.h: Likewise.
20350 * socket/sys/socket.h: Likewise.
20351 * debug/tst-chk1.c: Likewise.
20352 * wcsmbs/bits/wchar2.h: Likewise.
20353 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20354 * wcsmbs/wchar.h: Likewise.
20355
20356 2012-04-29 Andreas Jaeger <aj@suse.de>
20357
20358 * Makerules (tests): Remove enable-check-abi protection.
20359 (check-abi-warn): Remove.
20360 (check-abi-%): Remove check-abi-warn usage.
20361
20362 * configure.in: Remove check-abi configure option.
20363 * configure: Regenerated.
20364 * config.make.in (enable-check-abi): Remove.
20365
20366 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20367
20368 [BZ #14033]
20369 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20370 double functions to double *_finite functions.
20371
20372 [BZ #13941]
20373 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20374 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20375 LDBL_MIN_EXP.
20376 * stdio-common/Makefile (tests): Add tst-sprintf3.
20377 * stdio-common/tst-sprintf3.c: New file.
20378
20379 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20380 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20381
20382 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20383
20384 * conform/conformtest.pl: Remove duplicate typed-constant
20385 handling.
20386
20387 2012-04-28 David S. Miller <davem@davemloft.net>
20388
20389 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20390 (check-abi-%): Remove AWK script prerequisite and explicit
20391 abilist directory.
20392 (check-abi): Rewrite to just diff the symlist with the abilist.
20393 (config-tls, config-abi-config): Delete, no longer used.
20394 (update-abi-%): Remove AWK script and explicit abilist directory.
20395 (update-abi): Rewrite to simply compare and conditionally copy the
20396 symlist and the sysdep abilist file. Remove update-abi-config
20397 checks.
20398 * abilist/ld.abilist: Remove.
20399 * abilist/libBrokenLocale.abilist: Remove.
20400 * abilist/libanl.abilist: Remove.
20401 * abilist/libcrypt.abilist: Remove.
20402 * abilist/libdl.abilist: Remove.
20403 * abilist/librt.abilist: Remove.
20404 * abilist/libthread_db.abilist: Remove.
20405 * abilist/libutil.abilist: Remove.
20406 * scripts/extract-abilist.awk: Remove.
20407 * scripts/merge-abilist.awk: Remove.
20408 * sysdeps/generic/libcidn.abilist: New file.
20409 * sysdeps/generic/libnss_compat.abilist: New file.
20410 * sysdeps/generic/libnss_db.abilist: New file.
20411 * sysdeps/generic/libnss_dns.abilist: New file.
20412 * sysdeps/generic/libnss_files.abilist: New file.
20413 * sysdeps/generic/libnss_hesiod.abilist: New file.
20414 * sysdeps/generic/libnss_nis.abilist: New file.
20415 * sysdeps/generic/libnss_nisplus.abilist: New file.
20416 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20417 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20418 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20419 file.
20420 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20421 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20422 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20423 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20424 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20425 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20426 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20427 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20428 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20429 file.
20430 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20431 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20432 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20433 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20434 file.
20435 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20436 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20437 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20438 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20439 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20440 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20441 file.
20442 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20443 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20444 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20445 file.
20446 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20448 New file.
20449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20450 New file.
20451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20452 New file.
20453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20454 New file.
20455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20456 New file.
20457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20458 New file.
20459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20460 New file.
20461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20462 New file.
20463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20464 New file.
20465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20466 New file.
20467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20468 New file.
20469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20470 New file.
20471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20472 New file.
20473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20474 file.
20475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20476 New file.
20477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20478 New file.
20479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20480 file.
20481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20482 New file.
20483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20484 New file.
20485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20486 file.
20487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20488 New file.
20489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20490 New file.
20491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20492 New file.
20493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20494 New file.
20495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20496 New file.
20497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20498 New file.
20499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20501 file.
20502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20503 New file.
20504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20505 file.
20506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20507 file.
20508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20509 file.
20510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20511 file.
20512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20513 file.
20514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20515 New file.
20516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20517 file.
20518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20519 file.
20520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20521 New file.
20522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20523 file.
20524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20526 file.
20527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20528 New file.
20529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20530 file.
20531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20532 file.
20533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20534 file.
20535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20536 file.
20537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20538 file.
20539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20540 New file.
20541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20542 file.
20543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20544 file.
20545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20546 New file.
20547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20548 file.
20549 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20550 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20551 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20552 file.
20553 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20554 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20555 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20556 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20557 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20558 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20559 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20560 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20561 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20562 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20565 file.
20566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20567 New file.
20568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20569 file.
20570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20571 file.
20572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20573 file.
20574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20575 file.
20576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20577 file.
20578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20579 New file.
20580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20581 New file.
20582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20583 file.
20584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20585 New file.
20586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20587 file.
20588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20590 file.
20591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20592 New file.
20593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20594 file.
20595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20596 file.
20597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20598 file.
20599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20600 file.
20601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20602 file.
20603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20604 New file.
20605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20606 New file.
20607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20608 file.
20609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20610 New file.
20611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20612 file.
20613
20614 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20615
20616 * conform/conformtest.pl: Fix typo in handling typed-constant from
20617 allow-header.
20618
20619 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20620
20621 * README: Cut down references to pre-2.6 Linux kernels and
20622 Linuxthreads. Update lists of configurations in libc and ports
20623 and sort alphabetically. Say "or newer" with Linux kernel version
20624 requirements.
20625
20626 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20627
20628 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20629
20630 [BZ #887]
20631 * math/libm-test.inc (logb_test_downward): New test to expose
20632 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20633 rounding mode.
20634
20635 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20636
20637 [BZ #14027]
20638 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20639 to be done.
20640 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20641 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20642
20643 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20644
20645 * sysdeps/unix/i386/brk.S: Remove file.
20646 * sysdeps/unix/i386/dl-brk.S: Likewise.
20647 * sysdeps/unix/i386/pipe.S: Likewise.
20648 * sysdeps/unix/i386/sigreturn.S: Likewise.
20649 * sysdeps/unix/i386/syscall.S: Likewise.
20650 * sysdeps/unix/i386/vfork.S: Likewise.
20651 * sysdeps/unix/i386/wait.S: Likewise.
20652
20653 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20654 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20655
20656 * configure.in (arm*-none*): Do not allow without
20657 --enable-hacker-mode.
20658 (netbsd*): Remove case setting base_os.
20659 (386bsd*): Likewise.
20660 (freebsd*): Likewise.
20661 (bsdi*): Likewise.
20662 (osf*): Likewise.
20663 (sunos*): Likewise.
20664 (ultrix*): Likewise.
20665 (newsos*): Likewise.
20666 (dynix*): Likewise.
20667 (*bsd*): Likewise.
20668 (sysv*): Likewise.
20669 (isc*): Likewise.
20670 (esix*): Likewise.
20671 (sco*): Likewise.
20672 (minix*): Likewise.
20673 (irix4*): Likewise.
20674 (irix6*): Likewise.
20675 (solaris[2-9]*): Likewise.
20676 (none): Likewise.
20677 * configure: Regenerated.
20678
20679 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20680
20681 [BZ #11521]
20682 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20683 overflow or cancellation in calculating denominator.
20684 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20685 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20686 down expression to avoid unexpected rounding in newer GCCs.
20687 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20688
20689 2012-04-26 David S. Miller <davem@davemloft.net>
20690
20691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20692 long-double compat symbols.
20693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20706
20707 2012-04-25 David S. Miller <davem@davemloft.net>
20708
20709 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20710 HWCAP_* values only after the memory barriers have been defined.
20711 (atomic_full_barrier): Define.
20712 (atomic_read_barrier): Define.
20713 (atomic_write_barrier): Define.
20714
20715 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20716
20717 * shlib-versions: Add libgcc_s version information.
20718 * sysdeps/generic/libgcc_s.h: Remove.
20719 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20720 libgcc_s.h.
20721 * sysdeps/gnu/unwind-resume.c: Likewise.
20722 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20723
20724 2012-04-25 David S. Miller <davem@davemloft.net>
20725
20726 * sysdeps/unix/sparc/brk.S: Delete.
20727 * sysdeps/unix/sparc/dl-brk.S: Delete.
20728 * sysdeps/unix/sparc/pipe.S: Delete.
20729 * sysdeps/unix/sparc/sysdep.S: Delete.
20730 * sysdeps/unix/sparc/sysdep.h: Delete.
20731 * sysdeps/unix/sparc/vfork.S: Delete.
20732 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20733 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20734 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20735 ret_ERRVAL, r0, r1, MOVE): Define.
20736 (JUMPTARGET): Remove.
20737 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20738 sysdeps/unix/sparc/sysdep.h
20739 (ENTRY, END): Remove.
20740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20741
20742 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20743
20744 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20745 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20746 -DIS_IN_build.
20747
20748 * timezone/README: Update upstream location and email address for
20749 tzcode and tzdata.
20750 * timezone/zdump.c: Update from tzcode 2012b.
20751 * timezone/zic.c: Likewise.
20752
20753 * configure.in (libc_cv_as_needed): Remove test.
20754 * configure: Regenerated.
20755 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20756 conditional definition.
20757 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20758 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20759 * config.make.in (have-as-needed): Remove variable.
20760
20761 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20762 Paul Pluzhnikov <ppluzhnikov@google.com>
20763
20764 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20765 strings correctly.
20766
20767 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20768
20769 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20770 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20771 * sysdeps/sh/strlen.S: Likewise.
20772
20773 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20774
20775 * sysdeps/unix/fork.S: Remove file.
20776 * sysdeps/unix/i386/fork.S: Likewise.
20777 * sysdeps/unix/sparc/fork.S: Likewise.
20778
20779 * sysdeps/unix/system.c: Remove file.
20780 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20781
20782 * sysdeps/unix/getegid.S: Remove file.
20783 * sysdeps/unix/geteuid.S: Likewise.
20784
20785 2012-04-24 Roland McGrath <roland@hack.frob.com>
20786
20787 * scripts/check-localplt.awk: New file.
20788 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20789 of diff.
20790 * scripts/data/localplt-generic.data: Add a comment.
20791
20792 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20793 NODE when __dir_mkfile failed.
20794 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20795 Reported by Ludovic Courtès <ludo@gnu.org>.
20796
20797 2012-04-24 Andreas Jaeger <aj@suse.de>
20798
20799 * Makerules (common-clean): Also remove gen-as-const-headers
20800 files.
20801
20802 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20803
20804 * Makerules (native-compile): Do not change working directory for
20805 build. Use $(OUTPUT_OPTION) in command.
20806 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20807
20808 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20809
20810 [BZ #13886]
20811 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20812 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20813 * math/libm-test.inc (floor_test): Add more tests.
20814 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20815
20816 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20817
20818 * sysdeps/unix/getdents.c: Remove file.
20819 * sysdeps/unix/sysv/getdents.c: Likewise.
20820 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20821
20822 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20823 sysdeps/unix/mman/syscalls.list.
20824 (mmap): Likewise.
20825 (mprotect): Likewise.
20826 (msync): Likewise.
20827 (munmap): Likewise.
20828 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20829 * sysdeps/unix/mman/syscalls.list: Remove.
20830 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20831
20832 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20833 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20834 * configure: Regenerated.
20835 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20836 $(libgcc_s_suffix).
20837 * config.make.in (libgcc_s_suffix): Remove variable.
20838
20839 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20840
20841 * sysdeps/unix/sysv/gethostname.c: Move to ...
20842 * sysdeps/posix/gethostname.c: ... here.
20843
20844 * sysdeps/unix/execve.S: Remove file.
20845
20846 * sysdeps/unix/_exit.S: Remove file.
20847
20848 2012-04-23 Andreas Jaeger <aj@suse.de>
20849
20850 [BZ #13739]
20851 * manual/Makefile: Remove make dist support, there's no
20852 need for a stand-alone documentation tar ball.
20853 (TEXI2DVI): Define always, it's not in Makeconfig.
20854 (dist): Removed.
20855 (tar-it): Removed.
20856 (edition): Removed.
20857 (glibc-doc-$(edition).tar): Removed
20858 (%.Z): Removed.
20859 (%.gz): Removed.
20860 (%.uu): Removed.
20861 (ETAGS): Remove, it's in Makeconfig.
20862 (move-if-change): Remove, it's in Makeconfig.
20863
20864 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20865
20866 [BZ #13970]
20867 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20868 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20869 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20870 (strtod_l, strtof_l, strtold_l): Remove __wur.
20871 It is not necessarily an error to ignore strtol's return value.
20872 One can reliably look at the stored endptr to decide whether
20873 the number had valid syntax.
20874
20875 2012-04-21 Andreas Jaeger <aj@suse.de>
20876
20877 [BZ #13739]
20878 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20879
20880 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20881
20882 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20883 * sysdeps/unix/sysv/Versions: Remove file.
20884
20885 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20886
20887 [BZ #13927]
20888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20889
20890 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20891
20892 [BZ #7064]
20893 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20894 version from __vm86.
20895
20896 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20897
20898 * sysdeps/unix/common/lxstat.c: Remove file.
20899 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20900
20901 * sysdeps/unix/sysv/Makefile: Remove file.
20902
20903 * sysdeps/unix/sysv/direct.h: Remove file.
20904
20905 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20906 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20907 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20908 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20909 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20910 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20911 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20912
20913 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20914
20915 * sysdeps/unix/xmknod.c: Remove file.
20916 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20917
20918 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20919
20920 * sysdeps/unix/sysv/i386/time.S: Remove file.
20921
20922 * sysdeps/unix/fxstat.c: Remove file.
20923 * sysdeps/unix/xstat.c: Likewise.
20924 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20925
20926 * sysdeps/unix/sysv/sigaction.c: Remove file.
20927
20928 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20929 (sysdep_headers): Remove variable.
20930 [termio.h not in sysdep_headers] (generated): Likewise.
20931 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20932 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20933 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20934 * sysdeps/unix/sysv/tcflow.c: Likewise.
20935 * sysdeps/unix/sysv/tcflush.c: Likewise.
20936 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20937 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20938 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20939 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20940 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20941
20942 * sysdeps/unix/siglist.c: Remove file.
20943
20944 * sysdeps/unix/getppid.S: Remove file.
20945
20946 * sysdeps/unix/mkdir.c: Remove file.
20947 * sysdeps/unix/rmdir.c: Likewise.
20948
20949 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20950
20951 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20952 ERR_MAX value.
20953 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20954 errlist-compat value.
20955
20956 2012-04-18 David S. Miller <davem@davemloft.net>
20957
20958 * sysdeps/generic/memcopy.h (reg_char): Delete.
20959 * debug/strcat_chk.c: Use char, not reg_char.
20960 * debug/strcpy_chk.c: Likewise.
20961 * debug/strncat_chk.c: Likewise.
20962 * debug/strncpy_chk.c: Likewise.
20963 * string/memchr.c: Likewise.
20964 * string/memrchr.c: Likewise.
20965 * string/rawmemchr.c: Likewise.
20966 * string/strcat.c: Likewise.
20967 * string/strchr.c: Likewise.
20968 * string/strchrnul.c: Likewise.
20969 * string/strcmp.c: Likewise.
20970 * string/strcpy.c: Likewise.
20971 * string/strncat.c: Likewise.
20972 * string/strncmp.c: Likewise.
20973 * string/strncpy.c: Likewise.
20974
20975 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20976
20977 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20978 __builtin_memcopy is called when src and dest ranges are known to not
20979 overlap.
20980
20981 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20982
20983 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20984 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20985 fwd_align_merge macro call.
20986 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20987 bwd_align_merge macro call.
20988 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20989
20990 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20991
20992 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20993 bwd_align_merge macros.
20994 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20995 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20996 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20997
20998 2012-04-18 David S. Miller <davem@davemloft.net>
20999
21000 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21001
21002 2012-04-18 Andreas Jaeger <aj@suse.de>
21003
21004 [BZ# 6794]
21005 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21006 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21007 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21008
21009 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21010 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21011 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21012
21013 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21014 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21015 Adjust for changed ldbl-128 files.
21016
21017 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21018 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21019 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21020
21021 2012-04-17 David S. Miller <davem@davemloft.net>
21022
21023 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21024
21025 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21026
21027 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21028 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21029 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21030 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21031 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21032 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21033
21034 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21035
21036 [BZ #6794]
21037 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21038 * math/libm-test.inc: Add ilogb errno and exception tests.
21039 * math/w_ilogb.c: New file: ilogb wrapper.
21040 * math/w_ilogbf.c: New file: ilogbf wrapper.
21041 * math/w_ilogbl.c: New file: ilogbl wrapper.
21042 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21043 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21044 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21045 exception being thrown with 0.0 as argument.
21046 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21047 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21048 exception being thrown with 0.0 as argument.
21049 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21050 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21051 exception being thrown with 0.0 as argument.
21052 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21053 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21054 exception being thrown with 0.0 as argument.
21055 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21056 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21057 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21058 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21059 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21060 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21061 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21062 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21063 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21064
21065 2012-04-17 Petr Baudis <pasky@ucw.cz>
21066
21067 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21068 with altivec.
21069
21070 2012-04-16 Marek Polacek <polacek@redhat.com>
21071
21072 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21073
21074 2012-04-16 Marek Polacek <polacek@redhat.com>
21075
21076 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21077 operands of fdivp instruction.
21078
21079 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21080
21081 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21082 * elf/tst-auditmod3b.c: Likewise.
21083 * elf/tst-auditmod4b.c: Likewise.
21084 * elf/tst-auditmod5b.c: Likewise.
21085 * elf/tst-auditmod6b.c: Likewise.
21086 * elf/tst-auditmod6c.c: Likewise.
21087 * elf/tst-auditmod7b.c: Likewise.
21088 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21089 * sysdeps/x86_64/preconfigure.in: Likewise.
21090 * sysdeps/x86_64/preconfigure: Regenerated.
21091
21092 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21093
21094 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21095 __ILP32__.
21096
21097 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21098
21099 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21100 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21101
21102 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21103
21104 [BZ #13973]
21105 * locale/iso-639.def: Fix gl language name. Spotted by
21106 Yaron Shahrabani.
21107
21108 2012-04-12 Roland McGrath <roland@hack.frob.com>
21109
21110 [BZ #2074]
21111 * libio/libio.h (__io_write_fn): Update comment.
21112
21113 2012-04-12 Petr Baudis <pasky@ucw.cz>
21114
21115 [BZ #2074]
21116 * stdio.texi (Hook Functions): The user provided writer function
21117 is not allowed to return -1.
21118
21119 2012-04-11 David S. Miller <davem@davemloft.net>
21120
21121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21122
21123 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21124
21125 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21126 Add a leading slash to rtkaio.
21127
21128 2012-04-11 Jim Meyering <meyering@redhat.com>
21129
21130 [BZ #11959]
21131 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21132 It is not necessarily an error to ignore fwrite's return
21133 value. One can reliably use ferror to test for errors after
21134 the fact.
21135
21136 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21137
21138 * bits/types.h (__snseconds_t): New type.
21139 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21140
21141 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21142 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21143 (__SNSECONDS_T_TYPE): Likewise.
21144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21145 (__SNSECONDS_T_TYPE): Likewise.
21146 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21147 (__SNSECONDS_T_TYPE): Likewise.
21148
21149 2012-04-10 Andreas Jaeger <aj@suse.de>
21150
21151 [BZ #2636]
21152 * manual/time.texi (Processor Time): Return type of times is
21153 elapsed real time since an arbitrary point in the past.
21154 (CPU Time): Move CLK_TCK from here...
21155 (Processor Time): ...to here. Correct description.
21156 * manual/conf.texi (Constants for Sysconf): Correct description of
21157 _SC_CLK_TCK.
21158
21159 2012-04-10 David S. Miller <davem@davemloft.net>
21160
21161 [BZ #13967]
21162 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21163 where the is a gap between DT_REL(A) and DT_JMPREL.
21164
21165 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21166
21167 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21168 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21169 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21170
21171 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21172
21173 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21174 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21175 (dl_main): Handle --inhibit-cache.
21176 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21177 _dl_inhibit_cache.
21178 * elf/dl-load.c (_dl_map_object): Use it.
21179 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21180
21181 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21182
21183 [BZ #13872]
21184 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21185 (__ieee754_powl): Saturate large exponents rather than testing for
21186 overflow of y*log2(x).
21187 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21188 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21189 exceptions.
21190
21191 [BZ #11521]
21192 * math/s_ctan.c: Include <float.h>.
21193 (__ctan): Avoid internal overflow or cancellation in calculating
21194 denominator.
21195 * math/s_ctanf.c: Likewise.
21196 * math/s_ctanl.c: Likewise.
21197 * math/s_ctanh.c: Likewise.
21198 * math/s_ctanhf.c: Likewise.
21199 * math/s_ctanhl.c: Likewise.
21200 * math/libm-test.inc (ctan_test): Add more tests.
21201 (ctanh_test): Likewise.
21202 * sysdeps/i386/fpu/libm-test-ulps: Update.
21203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21204
21205 2012-04-09 Andreas Jaeger <aj@suse.de>
21206
21207 [BZ #6894]
21208 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21209 is an optional BSD extension.
21210
21211 [BZ #10254]
21212 * manual/stdio.texi (Opening Streams): Document additional fopen
21213 parameters.
21214
21215 2012-04-09 Roland McGrath <roland@hack.frob.com>
21216
21217 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21218 %eax without telling the compiler.
21219
21220 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21221
21222 [BZ # 13963]
21223 * manual/install.texi: Use sourceware.org.
21224
21225 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21226
21227 [BZ #13873]
21228 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21229 (__ieee754_pow): Generate overflow and underflow using huge*huge
21230 and tiny*tiny rather than just returning constant infinity or zero
21231 for large exponents.
21232 * math/libm-test.inc (pow_test): Require overflow exceptions for
21233 applicable cases of large exponents.
21234
21235 [BZ #706]
21236 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21237 (__ieee754_pow): Use iterative multiplication algorithm only for
21238 integer exponents with absolute value below 1024. Check for odd
21239 integer exponents when using algorithm for real exponents.
21240 * math/libm-test.inc (pow_test): Add more tests.
21241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21242
21243 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21244
21245 [BZ #13705]
21246 * math/libm-test.inc (exp_test): Do not allow overflow exception
21247 on underflow test.
21248
21249 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21250
21251 [BZ #13705]
21252 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21253 instead of __kernel_standard_f.
21254
21255 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21256
21257 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21258 * sysdeps/x86_64/memset_chk.S: Likewise.
21259
21260 2012-04-08 Andreas Jaeger <aj@suse.de>
21261
21262 [BZ #10153]
21263 * manual/startup.texi (Environment Access): Describe return value
21264 for putenv and setenv.
21265
21266 [BZ #6895]
21267 * manual/filesys.texi (Directory Entries): Add description for
21268 DT_LNK.
21269
21270 [BZ #6890]
21271 * manual/filesys.texi (Directory Entries): Clarify that it's file
21272 system not operating system in the description of DT_UNKNOWN.
21273
21274 [BZ #6578]
21275 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21276
21277 2012-04-08 Stephen Compall <s11@member.fsf.org>
21278
21279 [BZ #6649]
21280 * manual/llio.texi (Opening and Closing Files): Add cross
21281 reference to explain mode argument.
21282
21283 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21284
21285 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21286 * sysdeps/x86_64/memset_chk.S: Likewise.
21287
21288 2012-04-07 David S. Miller <davem@davemloft.net>
21289
21290 * elf/elf.h (R_SPARC_WDISP10): Define.
21291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21292 R_SPARC_SIZE32.
21293 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21294 R_SPARC_SIZE64 and R_SPARC_H34.
21295
21296 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21297
21298 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21299 conditions and remove no longer applicable assertion.
21300
21301 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21302
21303 * bits/byteswap.h: Include <features.h>.
21304 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21305 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21306
21307 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21308
21309 * bits/byteswap.h (__bswap_16): Removed.
21310 Include <bits/byteswap-16.h> to get __bswap_16.
21311 * sysdeps/i386/bits/byteswap.h: Likewise.
21312 * sysdeps/s390/bits/byteswap.h: Likewise.
21313 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21314 * bits/byteswap-16.h: New file.
21315 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21316 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21317 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21318 * string/Makefile (headers): Add bits/byteswap-16.h.
21319
21320 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21321
21322 [BZ #13895]
21323 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21324 extra indirection.
21325 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21326 * nss/tst-nss-static.c: New.
21327
21328 2012-04-06 Robert Millan <rmh@gnu.org>
21329
21330 [BZ #6486]
21331 * manual/llio.texi (File Position Primitive): lseek
21332 refers to WHENCE when it really means OFFSET.
21333
21334 2012-04-06 Andreas Jaeger <aj@suse.de>
21335
21336 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21337 strncmp declarations.
21338
21339 * abilist/libc.abilist: Add __poll and __ppoll.
21340
21341 2012-04-05 David S. Miller <davem@davemloft.net>
21342
21343 * scripts/check-local-headers.sh: Accept a host triplet in the
21344 path matched by the exclude regexp.
21345
21346 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21347 definition.
21348 * sysdeps/powerpc/powerpc32/dl-machine.h
21349 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21350 * sysdeps/s390/s390-32/dl-machine.h
21351 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21352 * sysdeps/sparc/sparc32/dl-machine.h
21353 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21354 * sysdeps/sparc/sparc64/dl-machine.h
21355 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21356
21357 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21358 lazy binding.
21359 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21360 undefined symbol errors.
21361
21362 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21363 DT_NEEDED entries.
21364
21365 2012-04-05 Michael Matz <matz@suse.de>
21366
21367 [BZ #13592]
21368 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21369
21370 2012-04-05 Andreas Jaeger <aj@suse.de>
21371
21372 [BZ #13908]
21373 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21374 comment.
21375
21376 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21377
21378 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21379 which ROUND is no valid rounding mode.
21380
21381 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21382
21383 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21384 read again.
21385 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21386
21387 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21388
21389 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21390 an exception using FPU order intentionally.
21391
21392 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21393
21394 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21395 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21396 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21397 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21398
21399 2012-04-05 Simon Josefsson <simon@josefsson.org>
21400
21401 [BZ #12340]
21402 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21403 EINVAL when BUFLEN is too smal.
21404
21405 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21406
21407 [BZ #13553]
21408 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21409 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21410
21411 2012-04-03 Andreas Jaeger <aj@suse.de>
21412
21413 [BZ #13938]
21414 * manual/setjmp.texi (System V contexts): Fix sentence.
21415
21416 [BZ #13926]
21417 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21418 New macro for this case.
21419 [!__GNUC__] (__bswap_64): New inline function for this case.
21420 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21421 * bits/byteswap.h: Likewise.
21422 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21423 ull, guard with __GLIBC_HAVE_LONG_LONG.
21424
21425 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21426 __GLIBC_HAVE_LONG_LONG.
21427
21428 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21429 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21430
21431 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21432
21433 [BZ #13691]
21434 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21435 inptr and inend, rather than using last_ch.
21436
21437 2012-04-02 David S. Miller <davem@davemloft.net>
21438
21439 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21440 * stdio-common/printf-parse.h (read_int): Change return type to
21441 'int', return -1 on INT_MAX overflow.
21442 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21443 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21444 overflows INT_MAX. Check for overflow of in-format-string precision
21445 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21446 SIZE_MAX not INT_MAX for integer overflow test.
21447 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21448 skip the construct in the format string but do not record anything.
21449 * stdio-common/bug22.c: Adjust to test both width/prevision
21450 INT_MAX overflow as well as total length INT_MAX overflow. Check
21451 explicitly for proper errno values.
21452
21453 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21454
21455 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21456 CHAR_MAX.
21457 * string/test-strcmp.c [! WIDE]: Likewise.
21458 * time/tst-mktime2.c: Likewise for INT_MAX.
21459 * string/test-string.h: #include <sys/param.h> for MIN.
21460
21461 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21462 * sysdeps/i386/init-first.c (init): Likewise.
21463 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21464 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21465 * sysdeps/sh/init-first.c (init): Likewise.
21466
21467 2012-04-01 Ulrich Drepper <drepper@gmail.com>
21468
21469 * po/ru.po: Update from translation team.
21470 * po/vi.po: Likewise.
21471
21472 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21473
21474 * resolv/nss_dns/dns-host.c: Merge copyright years.
21475
21476 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21477
21478 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21479 Optimize memcpy with prefetch if
21480 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21481 src, dst pointers have unequal 16 byte alignments.
21482
21483 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21484
21485 [BZ #13928]
21486 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21487 from a CNAME entry and return the minimum ttl for the query.
21488 (gaih_getanswer_slice): Likewise.
21489
21490 2012-03-30 Jeff Law <law@redhat.com>
21491
21492 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21493 due to long keys.
21494 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21495 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21496
21497 * resolv/nss_dns/dns-host.c: Update copyright year.
21498
21499 2012-03-30 Ulrich Drepper <drepper@gmail.com>
21500
21501 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21502 requests to save a system call. Fix check that all bytes are sent.
21503
21504 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21505 comments for sendmmsg.
21506
21507 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21508
21509 [BZ #13691]
21510 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21511 with only 1 character between 0x0041 and 0x01b0.
21512 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21513 * wcsmbs/tst-mbsnrtowcs.c: New file.
21514
21515 2012-03-29 David S. Miller <davem@davemloft.net>
21516
21517 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21518 small copies by hand.
21519
21520 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21521
21522 [BZ #13761]
21523 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21524 _nss_compat_initgroups_dyn): Fall back to malloc/free
21525 for large group memberships.
21526
21527 2012-03-28 David S. Miller <davem@davemloft.net>
21528
21529 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21530 that branches into memcpy.
21531 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21532 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21534 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21535 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21536 bits.
21537 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21538 implementation too.
21539 * sysdeps/sparc/mempcpy.S: New file.
21540
21541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21542 the IFUNC routine in the libc case.
21543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21544
21545 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21546 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21547 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21548 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21549 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21550 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21551 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21552 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21553
21554 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21555 loop to 256 bytes instead of 64 bytes and fix test signedness.
21556
21557 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21558 * sysdeps/sparc/sparc32/Makefile: rather than here...
21559 * sysdeps/sparc/sparc64/Makefile: and here.
21560
21561 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21562
21563 * malloc/mallocbug.c: Avoid warnings about unused variables.
21564
21565 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21566
21567 [BZ #13760]
21568 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21569 in the right place. Discard and retry query if response is
21570 larger than input buffer size.
21571
21572 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21573
21574 [BZ #369]
21575 [BZ #2678]
21576 [BZ #3866]
21577 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21578 x for large integer exponent.
21579 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21580 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21581 sign of result as needed afterwards.
21582 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21583 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21584 result for underflowing pow the same as for overflow.
21585 (__kernel_standard_l): Handle powl overflow and underflow here
21586 rather than calling __kernel_standard.
21587 * math/libm-test.inc (pow_test): Add more tests.
21588
21589 [BZ #3868]
21590 [BZ #13879]
21591 [BZ #13910]
21592 [BZ #13911]
21593 [BZ #13912]
21594 [BZ #13913]
21595 [BZ #13915]
21596 [BZ #13916]
21597 [BZ #13917]
21598 [BZ #13918]
21599 [BZ #13919]
21600 [BZ #13920]
21601 [BZ #13921]
21602 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21603 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21604 (__kernel_standard_l): New function.
21605 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21606 __kernel_standard.
21607 * math/w_acosl.c (__acosl): Likewise.
21608 * math/w_asinl.c (__asinl): Likewise.
21609 * math/w_atan2l.c (__atan2l): Likewise.
21610 * math/w_atanhl.c (__atanhl): Likewise.
21611 * math/w_coshl.c (__coshl): Likewise.
21612 * math/w_exp10l.c (__exp10l): Likewise.
21613 * math/w_exp2l.c (__exp2l): Likewise.
21614 * math/w_fmodl.c (__fmodl): Likewise.
21615 * math/w_hypotl.c (__hypotl): Likewise.
21616 * math/w_j0l.c (__j0l, __y0l): Likewise.
21617 * math/w_j1l.c (__j1l, __y1l): Likewise.
21618 * math/w_jnl.c (__jnl, __ynl): Likewise.
21619 * math/w_lgammal.c (__lgammal): Likewise.
21620 * math/w_log10l.c (__log10l): Likewise.
21621 * math/w_log2l.c (__log2l): Likewise.
21622 * math/w_logl.c (__logl): Likewise.
21623 * math/w_powl.c (__powl): Likewise.
21624 * math/w_remainderl.c (__remainderl): Likewise.
21625 * math/w_scalbl.c (sysv_scalbl): Likewise.
21626 * math/w_sinhl.c (__sinhl): Likewise.
21627 * math/w_sqrtl.c (__sqrtl): Likewise.
21628 * math/w_tgammal.c (__tgammal): Likewise.
21629 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21630 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21631 * math/libm-test.inc (acos_test): Add more tests.
21632 (acosh_test): Likewise.
21633 (asin_test): Likewise.
21634 (atanh_test): Likewise.
21635 (exp_test): Likewise.
21636 (exp10_test): Likewise.
21637 (exp2_test): Likewise.
21638 (expm1_test): Likewise.
21639 (lgamma_test): Likewise.
21640 (log_test): Likewise.
21641 (log10_test): Likewise.
21642 (log1p_test): Likewise.
21643 (log2_test): Likewise.
21644 (pow_test): Do not allow some spurious overflow exceptions.
21645 (sqrt_test): Add more tests.
21646 (tgamma_test): Likewise.
21647 (y0_test): Likewise.
21648 (y1_test): Likewise.
21649 (yn_test): Likewise.
21650
21651 2012-03-27 Anton Blanchard <anton@samba.org>
21652
21653 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21654 MAP_HUGETLB.
21655 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21656 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21657 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21658
21659 2012-03-27 David S. Miller <davem@davemloft.net>
21660
21661 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21662
21663 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21664 have-as-vis3 check.
21665
21666 2012-03-27 Andreas Jaeger <aj@suse.de>
21667
21668 * sysdeps/x86_64/elf/configure.in: Moved to ...
21669 * sysdeps/x86_64/configure.in: ... here.
21670 * sysdeps/x86_64/elf/start.S: Moved to ...
21671 * sysdeps/x86_64/start.S: ... here.
21672 * sysdeps/x86_64/elf/configure: Delete.
21673
21674 * sysdeps/x86_64/configure.in: Merge contents from
21675 sysdeps/i386/configure.in (without i686 check).
21676
21677 * sysdeps/i386/elf/Versions: Merge into ...
21678 * sysdeps/i386/Versions: ... this.
21679 * sysdeps/i386/elf/Versions: Delete file.
21680 * sysdeps/i386/elf/start.S: Moved to ...
21681 * sysdeps/i386/start.S: ...here.
21682 * sysdeps/i386/elf/configure.in: Merge into...
21683 * sysdeps/i386/configure.in: ...here.
21684 * sysdeps/i386/elf/configure.in: Delete file.
21685 * sysdeps/i386/elf/configure: Delete file.
21686
21687 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21688 * debug/backtracesyms.c: ... here.
21689 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21690 * debug/backtracesymsfd.c: ... here.
21691 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21692 * sysdeps/generic/ifunc-sel.h: ... here.
21693
21694 * sysdeps/unix/i386/start.c: Delete file.
21695 * sysdeps/unix/sparc/start.c: Delete file.
21696 * sysdeps/unix/start.c: Delete file.
21697
21698 * sysdeps/sh/elf/configure.in: Moved to ...
21699 * sysdeps/sh/configure.in: ... here.
21700 * sysdeps/sh/elf/start.S: Moved to ...
21701 * sysdeps/sh/start.S: ... here.
21702 * sysdeps/sh/elf/configure: Delete file.
21703
21704 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21705 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21706 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21707 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21708 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21709 * sysdeps/powerpc/powerpc64/start.S: here.
21710 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21711 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21712 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21713 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21714 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21715
21716 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21717 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21718 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21719 * sysdeps/powerpc/powerpc32/start.S: ... here.
21720 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21721 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21722 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21723
21724 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21725 * sysdeps/powerpc/ifunc-sel.h: ... here.
21726 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21727 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21728
21729 * sysdeps/sparc/elf/configure.in: Moved to ...
21730 * sysdeps/sparc/configure.in: ... here.
21731 * sysdeps/sparc/elf/configure: Delete file.
21732 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21733 * sysdeps/sparc/sparc32/start.S: ... here.
21734 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21735 * sysdeps/sparc/sparc64/start.S: ... here.
21736 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21737 * sysdeps/sparc/sparc32/Makefile: ... this.
21738 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21739 * sysdeps/sparc/sparc64/Makefile: ... this.
21740
21741 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21742 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21743 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21744 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21745 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21746 * sysdeps/s390/s390-32/setjmp.S: ... here.
21747 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21748 * sysdeps/s390/s390-32/configure.in: ... here.
21749 * sysdeps/s390/s390-32/elf/configure: Delete file.
21750 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21751 * sysdeps/s390/s390-32/start.S: ... here.
21752
21753 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21754 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21755 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21756 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21757 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21758 * sysdeps/s390/s390-64/setjmp.S: ... here.
21759 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21760 * sysdeps/s390/s390-64/configure.in: ... here
21761 * sysdeps/s390/s390-64/elf/configure: Delete file.
21762 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21763 * sysdeps/s390/s390-64/start.S: ... here.
21764 * sysdeps/s390/s390-64/elf/configure: Delete.
21765
21766 * configure.in: Remove support for elf directories in sysdeps.
21767
21768 * configure: Regenerated.
21769 * sysdeps/i386/configure: Regenerated.
21770 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21771 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21772 * sysdeps/s390/s390-32/configure: Regenerated.
21773 * sysdeps/s390/s390-64/configure: Regenerated.
21774 * sysdeps/sh/configure: Regenerated.
21775 * sysdeps/sparc/configure: Regenerated.
21776 * sysdeps/x86_64/configure: Regenerated.
21777
21778 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21779
21780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21781
21782 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21783 denormal result into account.
21784
21785 2012-03-25 Roland McGrath <roland@hack.frob.com>
21786
21787 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21788 Reported by Allan McRae <allan@archlinux.org>.
21789
21790 2012-03-23 Jeff Law <law@redhat.com>
21791
21792 * nss/getnssent.c (__nss_getent): Fix typo.
21793
21794 2012-03-23 David S. Miller <davem@davemloft.net>
21795
21796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21797
21798 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21799
21800 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21801 to pad to uint64_t for each field.
21802 (dl_tls_index): Replace unsigned long with uint64_t.
21803
21804 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21805 Paul Pluzhnikov <ppluzhnikov@google.com>
21806
21807 [BZ #6528]
21808 * grp/Makefile (otherlibs): Don't set it.
21809 * inet/Makefile (otherlibs): Likewise.
21810 * login/Makefile (otherlibs): Likewise.
21811 * nscd/Makefile (otherlibs): Likewise.
21812 * posix/Makefile (otherlibs): Likewise.
21813 * pwd/Makefile (otherlibs): Likewise.
21814 * rt/Makefile (otherlibs): Likewise.
21815 * sunrpc/Makefile (otherlibs): Likewise.
21816 * nss/Makefile (otherlibs): Likewise.
21817 Add libnss_files to routines and static-only-routines.
21818 ($(objpfx)getent): Remove rule.
21819 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21820 static-only-routines.
21821
21822 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21823
21824 [BZ #13892]
21825 * math/s_cexp.c: Include <float.h>.
21826 (__cexp): Handle exp result overflowing not necessarily
21827 overflowing both real and imaginary parts of result.
21828 * math/s_cexpf.c: Likewise.
21829 * math/s_cexpl.c: Likewise.
21830 * math/libm-test.inc (cexp_test): Add more tests.
21831 * sysdeps/i386/fpu/libm-test-ulps: Update.
21832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21833
21834 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21835
21836 * include/link.h (ELFW): New macro.
21837 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21838 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21839
21840 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21841
21842 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21843 with uint64_t.
21844
21845 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21846
21847 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21848 declaration.
21849 (struct La_x32_retval): Likewise.
21850
21851 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21852
21853 * sysdeps/x86_64/preconfigure.in: New file.
21854 * sysdeps/x86_64/preconfigure: New generated file.
21855
21856 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21857
21858 [BZ #13824]
21859 * math/e_exp2l.c: Include <float.h>.
21860 (__ieee754_exp2l): Handle overflow and underflow cases
21861 separately. Only pass fractional part of argument to
21862 __ieee754_expl.
21863 * math/libm-test.inc (exp2_test): Add more tests.
21864
21865 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21866 negating x to take absolute value.
21867 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21868 Likewise.
21869 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21870 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21871 Likewise.
21872 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21873 computing low part if x was negated.
21874 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21875
21876 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21877
21878 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21879 la_x32_gnu_pltexit.
21880 (pltexit): Cast int_retval to ptrdiff_t.
21881 * elf/tst-auditmod3b.c: Likewise.
21882 * elf/tst-auditmod4b.c: Likewise.
21883 * elf/tst-auditmod5b.c: Likewise.
21884 * elf/tst-auditmod6b.c: Likewise.
21885 * elf/tst-auditmod6c.c: Likewise.
21886 * elf/tst-auditmod7b.c: Likewise.
21887
21888 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21889 and x32_gnu_pltexit.
21890
21891 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21892 __ELF_NATIVE_CLASS.
21893 (La_x32_regs): New macro.
21894 (La_x32_retval): Likewise.
21895 (la_x32_gnu_pltenter): New function prototype.
21896 (la_x32_gnu_pltexit): Likewise.
21897
21898 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21899
21900 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21901 exponent.
21902
21903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21904
21905 * configure.in (libc_cv_cc_nofma): Check for option to disable
21906 generation of FMA instructions.
21907 * configure: Regenerate.
21908 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21909 * sysdeps/ieee754/dbl-64/Makefile: New file.
21910 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21911 Remove brandred-fma4.
21912 (CFLAGS-brandred-fma4.c): Remove.
21913 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21914 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21915 define.
21916 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21917 define.
21918
21919 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21920
21921 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21922 LLONG_MAX != LONG_MAX.
21923 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21924 (_fitoa_word): Likewise.
21925 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21926 LLONG_MAX != LONG_MAX.
21927 * stdio-common/_itowa.h: Include <_itoa.h>.
21928 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21929 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21930 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21931 only if not defined.
21932 (_ITOA_WORD_TYPE): Likewise.
21933 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21934 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21935
21936 2012-03-21 David S. Miller <davem@davemloft.net>
21937
21938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21939
21940 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21941
21942 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21943 of x86_64 when setting libc_cv_slibdir, libdir and
21944 libc_cv_localedir.
21945 * sysdeps/unix/sysv/linux/configure: Regenerated.
21946
21947 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21948
21949 * manual/lang.texi (Old Varargs): Remove section.
21950 (How Variadic): Update menu.
21951 (va_start): Do not mention varargs.h.
21952
21953 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21954 Joseph Myers <joseph@codesourcery.com>
21955
21956 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21957 link test.
21958 * configure: Regenerated.
21959
21960 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21961
21962 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21963 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21964 conformtest.pl
21965
21966 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21967
21968 * NOTES: Remove.
21969 * Makefile (files-for-dist): Remove NOTES.
21970 (NOTES): Remove rule.
21971 * README: Don't refer to NOTES.
21972 * manual/creature.texi: Don't include macros.texi.
21973 * manual/intro.texi (creature.texi): Remove comment referring to
21974 NOTES.
21975
21976 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21977 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21978 * configure: Regenerated.
21979 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21980 LIBC_TRY_CC_OPTION.
21981 (libc_cv_as_i686): Likewise.
21982 (libc_cv_cc_avx): Likewise.
21983 (libc_cv_cc_sse2avx): Likewise.
21984 (libc_cv_cc_fma4): Likewise.
21985 (libc_cv_cc_novzeroupper): Likewise.
21986 * sysdeps/i386/configure: Regenerated.
21987
21988 [BZ #13883]
21989 * sysdeps/i386/fpu/s_cexp.S: Remove.
21990 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21991 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21992 * math/libm-test.inc (cexp_test): Add more tests.
21993 * sysdeps/i386/fpu/libm-test-ulps: Update.
21994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21995
21996 2012-03-21 Allan McRae <allan@archlinux.org>
21997
21998 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21999
22000 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22001
22002 [BZ #13871]
22003 * math/w_exp2.c: Do not include <float.h>.
22004 (o_threshold, u_threshold): Remove.
22005 (__exp2): Calculate result before checking finiteness and calling
22006 __kernel_standard.
22007 * math/w_exp2f.c: Likewise.
22008 * math/w_exp2l.c: Likewise.
22009 * math/libm-test.inc (exp2_test): Require overflow exception for
22010 1e6 input.
22011
22012 [BZ #3866]
22013 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22014 range of signed 64-bit integers before using fistpll. Remove
22015 checks for whether integers fit in mantissa bits.
22016 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22017 the range of signed 32-bit integers before using fistpl. Remove
22018 checks for whether integers fit in mantissa bits.
22019 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22020 (__ieee754_powl): Test for y outside the range of signed 64-bit
22021 integers before using fistpll. Reduce 64-bit values to 63-bit
22022 ones as needed.
22023 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22024 divide-by-zero is raised for zero to large negative powers.
22025 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22026 (__ieee754_powl): Test for y outside the range of signed 64-bit
22027 integers before using fistpll. Reduce 64-bit values to 63-bit
22028 ones as needed.
22029 * math/libm-test.inc (pow_test): Add more tests.
22030
22031 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22032
22033 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22034 <stdio-common/_itoa.h>.
22035 * debug/segfault.c: Likewise.
22036 * elf/dl-cache.c: Likewise.
22037 * elf/dl-minimal.c: Likewise.
22038 * elf/dl-misc.c: Likewise.
22039 * elf/dl-sysdep.c: Likewise.
22040 * elf/dl-version.c: Likewise.
22041 * elf/rtld.c: Likewise.
22042 * hurd/hurdsock.c: Likewise.
22043 * hurd/lookup-retry.c: Likewise.
22044 * malloc/malloc.c: Likewise.
22045 * malloc/mtrace.c: Likewise.
22046 * nscd/nscd_getgr_r.c: Likewise.
22047 * nscd/nscd_getpw_r.c: Likewise.
22048 * nscd/nscd_getserv_r.c: Likewise.
22049 * posix/getopt_init.c: Likewise.
22050 * posix/wordexp.c: Likewise.
22051 * stdio-common/_itoa.c: Likewise.
22052 * stdio-common/printf_fphex.c: Likewise.
22053 * stdio-common/vfprintf.c: Likewise.
22054 * string/_strerror.c: Likewise.
22055 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22056 * sysdeps/i386/i686/hp-timing.h: Likewise.
22057 * sysdeps/mach/_strerror.c: Likewise.
22058 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22059 * sysdeps/mach/hurd/sethostid.c: Likewise.
22060 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22061 * sysdeps/mach/xpg-strerror.c: Likewise.
22062 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22063 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22064 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22065 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22066 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22067 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22068 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22069 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22070 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22071 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22072 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22073 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22074 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22075 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22076 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22077 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22078 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22079 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22080 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22081 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22082 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22083
22084 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22085
22086 * stdio-common/_itoa.h: Moved to ...
22087 * sysdeps/generic/_itoa.h: Here.
22088
22089 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22090
22091 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22092 instead of "_itoa.h" and "_itowa.h".
22093 * stdio-common/vfprintf.: Likewise.
22094
22095 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22096
22097 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22098 <bits/wordsize.h>.
22099 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22100 (__signbit): Likwise.
22101 (llrintf): Likwise.
22102 (llrint): Likwise.
22103
22104 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22105
22106 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22107 __WORDSIZE != 64.
22108
22109 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22110
22111 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22112 OVERFLOW_EXCEPTION_OK.
22113 * math/libm-test.inc ("Philosophy"): Update comment about
22114 exception testing.
22115 (OVERFLOW_EXCEPTION): Define.
22116 (OVERFLOW_EXCEPTION_OK): Likewise.
22117 (INVALID_EXCEPTION_OK): Renumber.
22118 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22119 (IGNORE_ZERO_INF_SIGN): Likewise.
22120 (test_exceptions): Handle FE_OVERFLOW.
22121 (exp10_test): Expect overflow exceptions.
22122 (exp2_test): Likewise.
22123 (expm1_test): Likewise.
22124 (nextafter_test): Likewise.
22125 (pow_test): Likewise.
22126 (scalbn_test): Likewise.
22127 (scalbln_test): Likewise.
22128
22129 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22130
22131 * sysdeps/x86_64/bits/atomic.h
22132 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22133 64bit integer.
22134 (atomic_exchange_acq): Likewise.
22135 (__arch_exchange_and_add_body): Likewise.
22136 (__arch_add_body): Likewise.
22137 (atomic_add_negative): Likewise.
22138 (atomic_add_zero): Likewise.
22139
22140 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22141
22142 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22143 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22144
22145 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22146
22147 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22148 Check __x86_64__ instead of __WORDSIZE.
22149
22150 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22151
22152 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22153
22154 2012-03-19 David S. Miller <davem@davemloft.net>
22155
22156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22157
22158 * sysdeps/sparc/fpu/fenv_private.h: New file.
22159 * sysdeps/sparc/fpu/math_private.h: Use it.
22160 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22161 Remove.
22162 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22163 (libc_feholdexcept_setroundl): Remove.
22164 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22165 Remove.
22166 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22167 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22168
22169 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22170
22171 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22172 int64_t instead of long int.
22173 (INSERT_WORDS64): Likwise.
22174
22175 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22176
22177 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22178 _Unwind_GetCFA return to _Unwind_Ptr first.
22179
22180 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22181
22182 [BZ #13629]
22183 * math/s_clog.c: Include <float.h>.
22184 (__clog): Scale large or subnormal inputs.
22185 * math/s_clogf.c: Likewise.
22186 * math/s_clogl.c: Likewise.
22187 * math/s_clog10.c: Include <float.h>.
22188 (M_LOG10_2): Define.
22189 (__clog10): Scale large or subnormal inputs.
22190 * math/s_clog10f.c: Likewise.
22191 * math/s_clog10l.c: Likewise.
22192 * math/libm-test.inc (clog_test): Add more tests.
22193 (clog10_test): Likewise.
22194 * sysdeps/i386/fpu/libm-test-ulps: Update.
22195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22196
22197 [BZ #11451]
22198 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22199 x and y.
22200 * math/libm-test.inc (atan2_test): Add another test.
22201
22202 * Makerules (common-objdir-compile): Remove.
22203 * sysdeps/unix/Makefile (config-generated): Do not add
22204 $(unix-generated) to variable.
22205 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22206 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22207 Remove rule.
22208 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22209 Likewise.
22210 [generic bits/local_lim.h] (before-compile): Do not append to
22211 variable.
22212 [generic bits/local_lim.h] (common-generated): Likewise.
22213 [generic sys/param.h] (before-compile): Do not append to variable.
22214 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22215 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22216 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22217 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22218 include.
22219 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22220 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22221 [generic sys/param.h] ($(addprefix
22222 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22223 [generic sys/param.h] (common-generated): Do not append to
22224 variable.
22225 [generic sys/param.h] (sysdep_headers): Likewise.
22226 [generic bits/errno.h] (before-compile): Do not append to
22227 variable.
22228 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22229 rule.
22230 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22231 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22232 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22233 [generic bits/errno.h] (common-generated): Do not append to
22234 variable.
22235 [generic bits/ioctls.h] (before-compile): Do not append to
22236 variable.
22237 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22238 rule.
22239 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22240 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22241 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22242 rule.
22243 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22244 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22245 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22246 [generic bits/ioctls.h] (common-generated): Do not append to
22247 variable.
22248 [generic sys/syscall.h] (syscall.h): Remove variable.
22249 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22250 rule.
22251 [generic sys/syscall.h] (before-compile): Do not append to
22252 variable.
22253 [generic sys/syscall.h] (common-generated): Likewise.
22254 * sysdeps/unix/errnos-tmpl.c: Remove file.
22255 * sysdeps/unix/errnos.awk: Likewise.
22256 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22257 * sysdeps/unix/ioctls.awk: Likewise.
22258 * sysdeps/unix/mk-local_lim.c: Likewise.
22259 * sysdeps/unix/snarf-ioctls: Likewise.
22260
22261 2012-03-19 Richard Henderson <rth@twiddle.net>
22262
22263 * sysdeps/i386/fpu/fenv_private.h: New file.
22264 * sysdeps/i386/fpu/math_private.h: Use it.
22265 (math_opt_barrier, math_force_eval): Remove.
22266 (libc_feholdexcept_setround_53bit): Remove.
22267 (libc_feupdateenv_53bit): Remove.
22268 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22269 (math_opt_barrier, math_force_eval): Remove.
22270 (libc_feholdexcept): Remove.
22271 (libc_feholdexcept_setround): Remove.
22272 (libc_fetestexcept, libc_fesetenv): Remove.
22273 (libc_feupdateenv_test): Remove.
22274 (libc_feupdateenv, libc_feholdsetround): Remove.
22275 (libc_feresetround): Remove.
22276
22277 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22278 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22279
22280 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22281 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22282 (libc_feupdateenv_testl): New.
22283 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22284 (libc_feupdateenv_testf): New.
22285 (libc_feupdateenv): Use libc_feupdateenv_test.
22286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22287 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22288
22289 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22290 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22291 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22292 (libc_feresetround_noex): New.
22293 (libc_feresetround_noexf): New.
22294 (libc_feresetround_noexl): New.
22295 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22296 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22297 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22298 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22299 SET_RESTORE_ROUND.
22300 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22301 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22302 (__cos): Likewise.
22303 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22304 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22305 SET_RESTORE_ROUND_NOEX.
22306 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22307 SET_RESTORE_ROUND_NOEXF.
22308 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22309 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22310 (libc_feholdsetroundf): New.
22311 (libc_feresetround, libc_feresetroundf): New.
22312
22313 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22314 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22315 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22316
22317 * sysdeps/generic/math_private.h: Include <fenv.h>.
22318 (default_libc_feholdexcept): New.
22319 (default_libc_feholdexcept_setround): New.
22320 (default_libc_fesetenv, default_libc_feupdateenv): New.
22321 (libc_feholdexcept): Only define if undefined.
22322 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22323 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22324 (libc_feholdexcept_setroundl): Likewise.
22325 (libc_feholdexcept_setround_53bit): Likewise.
22326 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22327 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22328 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22329 (libc_feupdateenv_53bit): Likewise.
22330 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22331 (libc_feholdexcept): Convert from macro to inline function.
22332 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22333 (libc_fesetenv, libc_feupdateenv): Likewise.
22334
22335 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22336 not previously defined.
22337 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22338 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22339 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22340 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22341 * sysdeps/ieee754/flt-32/math_private.h: New file.
22342 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22343 math_private.h below SET_FLOAT_WORD.
22344 (__isnan, __isinf_ns, __finite): Remove.
22345 (__isnanf, __isinf_nsf, __finitef): Remove.
22346
22347 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22348
22349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22350
22351 2012-03-17 David S. Miller <davem@davemloft.net>
22352
22353 [BZ #6471]
22354 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22355 for 2.16.
22356
22357 2012-03-16 David S. Miller <davem@davemloft.net>
22358
22359 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22360 warnings.
22361
22362 [BZ #6471]
22363 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22364 properly.
22365 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22366 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22367 sysdep_routines when subdir is sysvipc.
22368 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22369 __getshmlba helper.
22370
22371 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22372
22373 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22374
22375 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22376 [__LP64__].
22377
22378 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22379
22380 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22381 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22382 (__lround): Renamed to ...
22383 (__llround): This. Replace long int with long long int.
22384 Define lround functions as aliases of llround functions.
22385 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22386
22387 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22388
22389 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22390 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22391 adresses to uintptr_t. Replace "long int" and "unsigned long
22392 int" with "greg_t" on va_arg.
22393
22394 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22395
22396 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22397 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22398
22399 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22400 Move e_machine check before EI_CLASS check. Handle x32
22401 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22402 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22403 SKIP_EM_IA_64 and include
22404 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22405
22406 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22407 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22408 (add_system_dir): New macro.
22409
22410 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22411 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22412
22413 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22414
22415 [BZ #2551]
22416 [BZ #2552]
22417 [BZ #2553]
22418 [BZ #2554]
22419 [BZ #2562]
22420 [BZ #2563]
22421 [BZ #2565]
22422 [BZ #2566]
22423 [BZ #2576]
22424 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22425 (y0): Likewise.
22426 * math/w_j0f.c (j0f): Likewise.
22427 (y0f): Likewise.
22428 * math/w_j0l.c (__j0l): Likewise.
22429 (__y0l): Likewise.
22430 * math/w_j1.c (j1): Likewise.
22431 (y1): Likewise.
22432 * math/w_j1f.c (j1f): Likewise.
22433 (y1f): Likewise.
22434 * math/w_j1l.c (__j1l): Likewise.
22435 (__y1l): Likewise.
22436 * math/w_jn.c (jn): Likewise.
22437 (yn): Likewise.
22438 * math/w_jnf.c (jnf): Likewise.
22439 (ynf): Likewise.
22440 * math/w_jnl.c (__jnl): Likewise.
22441 (__ynl): Likewise.
22442 * math/libm-test.inc (j0_test): Add more tests.
22443 (j1_test): Likewise.
22444 (jn_test): Likewise. Add trailing semicolon to existing test.
22445 (y0_test): Likewise.
22446 (y1_test): Likewise.
22447 * sysdeps/i386/fpu/libm-test-ulps: Update.
22448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22449
22450 [BZ #13851]
22451 [BZ #13854]
22452 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22453 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22454 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22455 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22456 (__tanl): Set errno for infinite argument.
22457 * sysdeps/i386/fpu/mptan.c: Remove.
22458 * sysdeps/i386/fpu/s_tan.S: Likewise.
22459 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22460 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22461 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22462 * math/libm-test.inc (tan_test): Add more tests and enable more
22463 tests for double and long double.
22464 * sysdeps/i386/fpu/libm-test-ulps: Update.
22465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22466
22467 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22468
22469 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22470 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22471
22472 2012-03-16 Roland McGrath <roland@hack.frob.com>
22473
22474 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22475 * configure.in: Use it for both main tree and add-ons.
22476 * configure: Regenerated.
22477
22478 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22479
22480 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22481
22482 2012-03-16 Joseph Myers <joseph@codesourcery.com>
22483
22484 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22485 in comment.
22486
22487 [BZ #13851]
22488 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22489 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22490 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22491 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22493 infinite argument.
22494 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22495 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22496 != 0 for prec == 2.
22497 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22498 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22499 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22500 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22501 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22502 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22503 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22504 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22505 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22506 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22507 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22508 * math/libm-test.inc (cos_test): Add more tests and enable more
22509 tests for long double.
22510 (sin_test): Likewise.
22511 (sincos_test): Likewise.
22512 * sysdeps/i386/fpu/libm-test-ulps: Update.
22513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22514
22515 2012-03-16 David S. Miller <davem@davemloft.net>
22516
22517 * sysdeps/sparc/fpu/math_private.h: New file.
22518
22519 2012-03-15 David S. Miller <davem@davemloft.net>
22520
22521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22522 file.
22523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22525 file.
22526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22531 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22532 sysdep routines.
22533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22534
22535 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22536 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22537
22538 * sysdeps/sparc/sparc-ifunc.h: New file.
22539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22540 sparc-ifunc.h
22541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22543 Likewise.
22544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22545 Likewise.
22546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22550 Likewise.
22551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22556 Likewise.
22557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22558 Likewise.
22559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22569 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22577 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22580 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22581 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22582 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22583
22584 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22585
22586 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22587 scaling.
22588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22589
22590 2012-03-15 Andreas Jaeger <aj@suse.de>
22591
22592 [BZ #13852]
22593 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22594 ieee754/flt-32 implementation for sin, cos and sincos.
22595 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22596 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22597 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22598 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22599 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22600 ieee754/flt-32 implementation for tan.
22601
22602 * math/libm-test.inc (cos_test): Enable some large input tests for
22603 float as well
22604 (sin_test): Likewise.
22605 (sincos_test): Likewise.
22606 (tan_test): Add tests for large input.
22607
22608 * sysdeps/i386/fpu/libm-test-ulps: Update.
22609
22610 2012-03-15 Andreas Jaeger <aj@suse.de>
22611
22612 [BZ #13658]
22613 * math/libm-test.inc (cos_test): Add more test cases.
22614 (sin_test): Likewise.
22615 (sincos_test): Likewise.
22616
22617 2012-03-15 Andreas Jaeger <aj@suse.de>
22618
22619 [BZ #13837]
22620 * math/libm-test.inc (cos_test): Add a test case for large input
22621 value.
22622 (sin_test): Likewise.
22623 (sincos_test): Likewise.
22624
22625 2012-03-15 Andreas Jaeger <aj@suse.de>,
22626 Joseph Myers <joseph@codesourcery.com>
22627
22628 [BZ #13658]
22629 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22630 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22631 * sysdeps/i386/fpu/branred.c: Likewise.
22632 * sysdeps/i386/fpu/dosincos.c: Likewise.
22633 * sysdeps/i386/fpu/mpa.c: Likewise.
22634 * sysdeps/i386/fpu/s_cos.S: Likewise.
22635 * sysdeps/i386/fpu/s_sin.S: Likewise.
22636 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22637 * sysdeps/i386/fpu/sincos32.c: Likewise.
22638
22639 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22640 Define.
22641 (libc_feupdateenv_53bit): Define.
22642 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22643 Define.
22644 (libc_feupdateenv_53bit): Define.
22645
22646 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22647 53 bit (without extend i386 double precision).
22648
22649 * math/libm-test.inc (sincos_test): Add tests for large input.
22650 (sin): Likewise.
22651 (cos): Likewise.
22652
22653 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22654
22655 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22656
22657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22658
22659 2012-03-15 David S. Miller <davem@davemloft.net>
22660
22661 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22662 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22663 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22664 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22677 file.
22678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22680 file.
22681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22683 file.
22684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22686 file.
22687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22689 fmin/fmax sysdep routines.
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22691
22692 2012-03-14 David S. Miller <davem@davemloft.net>
22693
22694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22698 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22702 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22714 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22722 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22723 routines.
22724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22725 file.
22726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22728 file.
22729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22731 file.
22732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22734 file.
22735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22737 file.
22738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22740 file.
22741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22742 file.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22744 file.
22745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22746 file.
22747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22748 New file.
22749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22750 file.
22751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22752 file.
22753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22755 file.
22756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22758 file.
22759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22761 file.
22762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22764 VIS3 routines.
22765
22766 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22767 New file.
22768
22769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22770
22771 * sysdeps/sparc/configure.in: New file.
22772 * sysdeps/sparc/configure: Generate.
22773 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22774 * configure: Regenerate.
22775 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22776 * config.make.in (have-as-vis3): New.
22777 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22778 available use -Av9d instead of -Av9a.
22779 * sysdeps/sparc/sparc64/Makefile: Likewise.
22780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22782 New file.
22783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22784 file.
22785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22786 New file.
22787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22788 file.
22789 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22791 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22794
22795 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22796 fzeros/fnegs to load 0x80000000 into a float register instead of
22797 using the stack.
22798 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22799
22800 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22801
22802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22803 bits/syscall.h.
22804 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22805 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22806 ($(inst_includedir)/bits/syscall.h): Remove rule.
22807 ($(objpfx)bits/syscall.d): Include instead of
22808 $(objpfx)syscall-list.d.
22809 (generated): Change syscall-list.h and syscall-list.d to
22810 bits/syscall.h and bits/syscall.d.
22811
22812 2012-03-14 Roland McGrath <roland@hack.frob.com>
22813
22814 [BZ #13846]
22815 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22816
22817 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22818
22819 [BZ #13841]
22820 * math/s_csqrt.c: Include <float.h>.
22821 (__csqrt): Scale large or subnormal inputs.
22822 * math/s_csqrtf.c: Likewise.
22823 * math/s_csqrtl.c: Likewise.
22824 * math/libm-test.inc (csqrt_test): Add more tests.
22825 * sysdeps/i386/fpu/libm-test-ulps: Update.
22826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22827
22828 [BZ #13840]
22829 * math/libm-test.inc (hypot_test): Add more tests.
22830
22831 2012-03-13 David S. Miller <davem@davemloft.net>
22832
22833 [BZ #13840]
22834 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22835 double-precision for the calculation instead of scaling.
22836
22837 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22838
22839 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22840 manipulate bits before adding and subtracting TWO52[sx].
22841 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22842 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22843 Likewise.
22844 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22845
22846 2012-03-13 David S. Miller <davem@davemloft.net>
22847
22848 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22849 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22851 rtld-global-offsets.h
22852 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22853
22854 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22855 large parameters.
22856
22857 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22858
22859 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22860 'err' in the ifdef scope in which it is actually used.
22861
22862 * nss/nss_db/db-init.c: Include string.h
22863
22864 2012-03-12 David S. Miller <davem@davemloft.net>
22865
22866 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22867 masking out of the most significant byte of random value used.
22868 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22869 Fix coding style in previous change.
22870
22871 * sysdeps/unix/sysv/linux/kernel-features.h
22872 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22873 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22874 expression.
22875 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22876 later.
22877
22878 2012-03-11 David S. Miller <davem@davemloft.net>
22879
22880 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22881 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22882 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22883 for 'resultvar' otherwise things get truncated on 64-bit.
22884
22885 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22886 Fix masking out of the most significant byte of random value used.
22887
22888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22889
22890 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22891
22892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22893
22894 2012-03-09 David S. Miller <davem@davemloft.net>
22895
22896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22897 variables with appropriate CPP guards.
22898 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22899 frame pointer, not the stack pointer. Correct layout comments. Fix test
22900 on resulting framesize and the management of the outregs buffer for pltexit.
22901 Preserve floating point return values across _dl_call_pltexit call.
22902 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22903 framesize and the management of the outregs buffer for pltexit.
22904 Preserve floating point return values across _dl_call_pltexit
22905 call.
22906 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22907 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22908 (print_exit): Fix format string for return register value.
22909
22910 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22911
22912 * sunrpc/Makefile (others): Add rpcgen.
22913 ($(objpfx)rpcgen): Remove special build rule and dependency on
22914 libc.
22915 * sunrpc/rpcgen.c: New file.
22916
22917 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22918
22919 [BZ #13673]
22920 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22921 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22922 * sysdeps/i386/crti.S: Likewise.
22923 * sysdeps/i386/crtn.S: Likewise.
22924 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22925 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22926 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22927 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22928 * sysdeps/sh/crti.S: Likewise.
22929 * sysdeps/sh/crtn.S: Likewise.
22930 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22931
22932 [BZ #13673]
22933 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22934 with URL.
22935 * locale/programs/locfile-kw.gperf: Likewise.
22936 * locale/programs/charmap-kw.h: Regenerated.
22937 * locale/programs/locfile-kw.h: Likewise.
22938
22939 [BZ #13673]
22940 * intl/plural.y: Replace FSF snail mail address with URL.
22941 * intl/plural.c: Regenerated.
22942
22943 2012-03-09 Richard Henderson <rth@twiddle.net>
22944
22945 * include/math_private.h: Remove file.
22946 * math/math_private.h: Move file ...
22947 * sysdeps/generic/math_private.h: ... here.
22948
22949 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22950 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22951 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22952
22953 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22954 and <math_private.h>.
22955 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22956 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22957 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22958 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22959 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22960 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22961 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22963 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22964 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22966 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22969 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22970 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22971 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22972 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22973 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22974 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22975 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22976 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22977 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22979 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22980 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22981 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22982 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22983 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22984 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22985 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22986 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22987 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22988 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22989 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22990 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22991 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22992 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22993 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22994 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22996 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22997 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22998 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23000 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23004 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23005 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23006 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23009 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23011 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23012 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23013 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23014 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23015 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23016 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23017 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23018 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23019 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23020 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23021 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23022 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23023 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23024 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23025 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23026 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23027 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23028 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23029 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23030 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23033 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23037 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23038 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23039 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23040 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23041 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23042 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23043 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23044 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23045 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23046 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23047 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23048 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23049 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23050 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23051 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23052 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23053 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23054 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23055 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23056 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23057 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23058 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23059 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23060 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23061 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23062 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23063 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23064 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23065 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23066 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23067 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23068 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23069 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23070 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23071 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23072 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23073 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23074 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23075 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23076 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23077 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23078 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23079 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23080 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23081 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23082 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23083 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23084 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23085 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23086 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23087 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23088 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23089 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23090 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23091 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23092 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23093 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23094 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23095 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23096 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23097 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23098 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23099 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23100 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23101 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23102 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23103 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23104 * sysdeps/ieee754/k_standard.c: Likewise.
23105 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23106 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23107 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23108 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23109 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23110 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23111 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23112 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23113 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23114 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23115 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23116 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23117 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23118 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23119 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23120 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23121 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23122 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23123 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23124 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23125 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23126 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23127 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23128 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23129 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23130 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23131 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23132 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23133 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23134 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23135 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23136 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23137 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23138 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23139 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23141 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23142 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23143 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23144 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23145 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23146 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23147 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23148 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23149 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23150 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23151 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23152 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23153 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23154 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23155 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23156 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23157 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23158 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23159 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23160 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23161 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23162 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23163 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23164 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23165 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23166 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23167 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23168 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23169 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23170 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23171 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23172 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23173 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23174 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23175 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23177 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23178 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23179 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23180 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23181 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23182 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23183 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23184 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23185 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23186 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23187 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23188 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23189 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23190 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23191 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23192 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23193 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23194 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23195 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23196 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23197 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23198 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23199 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23200 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23201 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23202 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23203 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23204 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23206 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23207 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23208 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23209 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23210 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23211 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23212 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23213 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23214 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23215 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23216 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23217 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23218 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23219 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23220 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23221 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23222 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23223 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23224 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23225 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23226 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23227 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23228 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23229 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23230 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23231 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23232 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23233 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23234 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23235 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23236 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23237 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23238 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23239 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23240 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23241 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23242 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23243 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23244 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23245 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23246 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23247 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23248 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23249 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23250 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23251 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23252 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23253 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23254 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23255 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23256 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23257 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23258 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23259 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23260 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23261 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23262 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23263 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23264 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23265 * sysdeps/ieee754/s_lib_version.c: Likewise.
23266 * sysdeps/ieee754/s_matherr.c: Likewise.
23267 * sysdeps/ieee754/s_signgam.c: Likewise.
23268 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23269 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23270 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23271 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23272 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23273 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23274 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23275 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23276 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23277 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23278 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23279 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23280 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23281 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23282 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23283 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23284 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23285 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23286 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23287 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23289
23290 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23291
23292 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23293 * sunrpc/rpc_main.c: Likewise.
23294 * sunrpc/rpc_svcout.c: Likewise.
23295
23296 2012-03-09 David S. Miller <davem@davemloft.net>
23297
23298 * include/math_private.h: New file.
23299
23300 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23301
23302 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23303 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23304 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23305 from <bits/socket_type.h>.
23306 (enum __socket_type): Don't define here.
23307 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23309 bits/socket_type.h.
23310
23311 [BZ #13566]
23312 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23313 checking __USE_GNU.
23314
23315 * Makerules ($(inst_includedir)/%.h): New rule.
23316 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23317 (install-others): Remove variable setting.
23318 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23319
23320 2012-03-08 Richard Henderson <rth@twiddle.net>
23321
23322 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23323 from macro to inline function; merge with the
23324 !__LIBC_INTERNAL_MATH_INLINES version.
23325 (__ieee754_sqrtf): Likewise.
23326
23327 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23328 to inline function.
23329 (__rintf, __floor, __floorf): Likewise.
23330
23331 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23332 macro to inline function.
23333 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23334
23335 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23336 not <math/math_private.h>.
23337
23338 2012-03-08 David S. Miller <davem@davemloft.net>
23339
23340 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23341 copyright year.
23342 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23343
23344 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23345
23346 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23347 normalization.
23348 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23349 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23350
23351 2012-03-08 Ulrich Drepper <drepper@gmail.com>
23352
23353 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23354 be defined individually, they must be defined as a block. Define
23355 S for printing a string instead of hidint the different by using a
23356 macro for adding the 'l'.
23357 * stdio-common/tst-fphex-wide.c: Adjust.
23358
23359 2012-03-07 Marek Polacek <polacek@redhat.com>
23360
23361 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23362
23363 2012-03-08 Marek Polacek <polacek@redhat.com>
23364
23365 [BZ #13806]
23366 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23367 * stdio-common/tst-fphex.c: Define a few macros to make the
23368 test reusable. Use them.
23369 * stdio-common/tst-fphex-wide.c: New file.
23370
23371 2012-03-08 Joseph Myers <joseph@codesourcery.com>
23372
23373 [BZ #6911]
23374 * manual/macros.texi (gnusystems): New macro.
23375 (nongnusystems): Likewise.
23376 (gnulinuxhurdsystems): Likewise.
23377 (gnuhurdsystems): Likewise..
23378 (gnulinuxsystems): Likewise.
23379 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23380 variants of the GNU system, not "GNU system".
23381 * manual/conf.texi: Likewise.
23382 * manual/errno.texi: Likewise. Update example of errno macro
23383 expansion.
23384 * manual/filesys.texi: Likewise.
23385 (getumask): Document as specific to GNU/Hurd.
23386 * manual/install.texi: Likewise. Reword some references to
23387 GNU/Linux.
23388 * manual/intro.texi: Likewise.
23389 * manual/io.texi: Likewise.
23390 (File Name Portability): Detail which constraints are inapplicable
23391 to all GNU systems and which are only inapplicable to GNU/Hurd.
23392 * manual/job.texi: Likewise.
23393 * manual/llio.texi: Likewise.
23394 (O_NOCTTY): Document as present on GNU/Linux.
23395 * manual/maint.texi: Likewise.
23396 * manual/memory.texi: Likewise.
23397 * manual/pattern.texi: Likewise.
23398 * manual/pipe.texi: Likewise.
23399 * manual/process.texi: Likewise.
23400 * manual/resource.texi: Likewise.
23401 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23402 child on GNU/Hurd.
23403 * manual/setjmp.texi: Likewise.
23404 * manual/signal.texi: Likewise.
23405 * manual/startup.texi: Likewise.
23406 * manual/stdio.texi: Likewise.
23407 * manual/terminal.texi: Likewise.
23408 (ONLCR): Document as POSIX.
23409 (OXTABS): Document availability on GNU/Linux as XTABS.
23410 (ONOEOT): Document availability separately from other bits.
23411 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23412 * manual/time.texi: Likewise.
23413 * manual/users.texi: Likewise.
23414 * INSTALL: Regenerated.
23415 * sysdeps/gnu/errlist.c: Regenerated.
23416
23417 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23418 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23419 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23420 puts.
23421 * configure: Regenerated.
23422
23423 2012-03-07 Joseph Myers <joseph@codesourcery.com>
23424
23425 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23426 default includes instead of AC_HEADER_CHECK.
23427 * sysdeps/i386/configure: Regenerated.
23428
23429 [BZ #10716]
23430 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23431 * math/s_cacoshf.c (__cacoshf): Likewise.
23432 * math/s_cacoshl.c (__cacoshl): Likewise.
23433 * math/s_casinh.c (__casinh): Set signs of result from argument.
23434 * math/s_casinhf.c (__casinhf): Likewise.
23435 * math/s_casinhl.c (__casinhl): Likewise.
23436 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23437 (casinh_test): Add more tests.
23438 * sysdeps/i386/fpu/libm-test-ulps: Update.
23439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23440
23441 2012-03-07 Ulrich Drepper <drepper@gmail.com>
23442
23443 * po/zh_TW.po: Update from translation team.
23444
23445 * login/Makefile (distribute): Remove variable.
23446 * catgets/Makefile: Likewise.
23447 * mach/Makefile: Likewise.
23448 * malloc/Makefile: Likewise.
23449 * misc/Makefile: Likewise.
23450 * iconv/Makefile: Likewise.
23451 * nscd/Makefile: Likewise.
23452 * hurd/Makefile: Likewise.
23453 * manual/Makefile: Likewise.
23454 * locale/Makefile: Likewise.
23455 * intl/Makefile: Likewise.
23456 * conform/Makefile: Likewise.
23457 * nss/Makefile: Likewise.
23458 * time/Makefile: Likewise.
23459 * soft-fp/Makefile: Likewise.
23460 * dirent/Makefile: Likewise.
23461 * gmon/Makefile: Likewise.
23462 * po/Makefile: Likewise.
23463 * rt/Makefile: Likewise.
23464 * socket/Makefile: Likewise.
23465 * math/Makefile: Likewise.
23466 * signal/Makefile: Likewise.
23467 * debug/Makefile: Likewise.
23468 * elf/Makefile: Likewise.
23469 * timezone/Makefile: Likewise.
23470 * stdlib/Makefile: Likewise.
23471 * iconvdata/Makefile: Likewise.
23472 * sunrpc/Makefile: Likewise.
23473 * io/Makefile: Likewise.
23474 * argp/Makefile: Likewise.
23475 * inet/Makefile: Likewise.
23476 * hesiod/Makefile: Likewise.
23477 * grp/Makefile: Likewise.
23478 * csu/Makefile: Likewise.
23479 * wctype/Makefile: Likewise.
23480 * crypt/Makefile: Likewise.
23481 * libio/Makefile: Likewise.
23482 * string/Makefile: Likewise.
23483 * nis/Makefile: Likewise.
23484 * resolv/Makefile: Likewise.
23485 * stdio-common/Makefile: Likewise.
23486 * wcsmbs/Makefile: Likewise.
23487 * dlfcn/Makefile: Likewise.
23488 * posix/Makefile: Likewise.
23489
23490 [BZ #6959]
23491 * timezone/Makefile: Don't install timezone files, just the programs
23492 and scripts.
23493
23494 2012-03-06 Ulrich Drepper <drepper@gmail.com>
23495
23496 * nss/databases.def: Add missing gshadow entry.
23497
23498 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23499
23500 2012-03-06 Marek Polacek <polacek@redhat.com>
23501
23502 [BZ #13726]
23503 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23504 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23505 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23506 * stdio-common/tst-long-dbl-fphex.c: New file.
23507
23508 2012-03-06 David S. Miller <davem@davemloft.net>
23509
23510 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23511 (set_obp_int): New function.
23512 (get_obp_int): New function.
23513 (__get_clockfreq_via_dev_openprom): Likewise.
23514 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23515 Avoid unused variable warnings on 'val' and use builtin_expect.
23516 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23517 __builtin_expect.
23518 (INLINE_CLONE_SYSCALL): Likewise.
23519
23520 2012-03-05 David S. Miller <davem@davemloft.net>
23521
23522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23523
23524 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23525
23526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23527
23528 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23529 only for |x| >= 40.
23530 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23531
23532 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23533
23534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23535 Replace gettimeofday with __vdso_gettimeofday.
23536
23537 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23538 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23539 __vdso_clock_gettime and __vdso_getcpu.
23540
23541 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23542 time with __vdso_time.
23543
23544 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23545
23546 * manual/lang.texi (size_t): Note types to which size_t may be
23547 equivalent with the GNU C Library, but do not describe when
23548 differences between them are significant.
23549
23550 2012-03-05 Andreas Jaeger <aj@suse.de>
23551
23552 * sysdeps/i386/fpu/libm-test-ulps: Update.
23553
23554 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23555
23556 [BZ #3976]
23557 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23558 (__ieee754_pow): Save and restore rounding mode and use
23559 round-to-nearest for main computations.
23560 * math/libm-test.inc (pow_test_tonearest): New function.
23561 (pow_test_towardzero): Likewise.
23562 (pow_test_downward): Likewise.
23563 (pow_test_upward): Likewise.
23564 (main): Call the new functions.
23565 * sysdeps/i386/fpu/libm-test-ulps: Update.
23566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23567
23568 [BZ #3976]
23569 * math/libm-test.inc (cosh_test_tonearest): New function.
23570 (cosh_test_towardzero): Likewise.
23571 (cosh_test_downward): Likewise.
23572 (cosh_test_upward): Likewise.
23573 (sinh_test_tonearest): Likewise.
23574 (sinh_test_towardzero): Likewise.
23575 (sinh_test_downward): Likewise.
23576 (sinh_test_upward): Likewise.
23577 (main): Call the new functions.
23578 * sysdeps/i386/fpu/libm-test-ulps: Update.
23579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23580
23581 2012-03-05 Tom de Vries <tom@codesourcery.com>
23582
23583 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23584 default stack guard is set in last bytes.
23585 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23586
23587 2012-03-05 Kees Cook <keescook@chromium.org>
23588
23589 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23590
23591 [BZ #13656]
23592 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23593 possibly allocate from heap instead of stack.
23594 * stdio-common/bug-vfprintf-nargs.c: New file.
23595 * stdio-common/Makefile (tests): Add nargs overflow test.
23596
23597 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23598
23599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23600
23601 2012-03-03 Marek Polacek <polacek@redhat.com>
23602
23603 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23604 * math/math_private.h: Likewise.
23605 * stdlib/tst-strtod.c: Likewise.
23606 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23607 * sysdeps/x86_64/bits/atomic.h: Likewise.
23608
23609 2012-03-02 David S. Miller <davem@davemloft.net>
23610
23611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23615 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23616 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23617 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23618 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23619
23620 2012-03-02 Roland McGrath <roland@hack.frob.com>
23621
23622 [BZ #13792]
23623 * manual/examples/README: New file, says the example source files
23624 can be used under GPL>=2.
23625 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23626 line containing just "*/".
23627 * manual/examples/add.c: Add copyright header (GPL>=2).
23628 * manual/examples/argp-ex1.c: Likewise.
23629 * manual/examples/argp-ex2.c: Likewise.
23630 * manual/examples/argp-ex3.c: Likewise.
23631 * manual/examples/argp-ex4.c: Likewise.
23632 * manual/examples/atexit.c: Likewise.
23633 * manual/examples/db.c: Likewise.
23634 * manual/examples/dir.c: Likewise.
23635 * manual/examples/dir2.c: Likewise.
23636 * manual/examples/execinfo.c: Likewise.
23637 * manual/examples/filecli.c: Likewise.
23638 * manual/examples/filesrv.c: Likewise.
23639 * manual/examples/fmtmsgexpl.c: Likewise.
23640 * manual/examples/genpass.c: Likewise.
23641 * manual/examples/inetcli.c: Likewise.
23642 * manual/examples/inetsrv.c: Likewise.
23643 * manual/examples/isockad.c: Likewise.
23644 * manual/examples/longopt.c: Likewise.
23645 * manual/examples/memopen.c: Likewise.
23646 * manual/examples/memstrm.c: Likewise.
23647 * manual/examples/mkfsock.c: Likewise.
23648 * manual/examples/mkisock.c: Likewise.
23649 * manual/examples/mygetpass.c: Likewise.
23650 * manual/examples/pipe.c: Likewise.
23651 * manual/examples/popen.c: Likewise.
23652 * manual/examples/rprintf.c: Likewise.
23653 * manual/examples/search.c: Likewise.
23654 * manual/examples/select.c: Likewise.
23655 * manual/examples/setjmp.c: Likewise.
23656 * manual/examples/sigh1.c: Likewise.
23657 * manual/examples/sigusr.c: Likewise.
23658 * manual/examples/stpcpy.c: Likewise.
23659 * manual/examples/strdupa.c: Likewise.
23660 * manual/examples/strftim.c: Likewise.
23661 * manual/examples/strncat.c: Likewise.
23662 * manual/examples/subopt.c: Likewise.
23663 * manual/examples/swapcontext.c: Likewise.
23664 * manual/examples/termios.c: Likewise.
23665 * manual/examples/testopt.c: Likewise.
23666 * manual/examples/testpass.c: Likewise.
23667 * manual/examples/timeval_subtract.c: Likewise.
23668
23669 [BZ #13792]
23670 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23671 function to ...
23672 * manual/timeval_subtract.c.texi: ... here, new file.
23673
23674 2012-03-02 David S. Miller <davem@davemloft.net>
23675
23676 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23677
23678 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23679
23680 [BZ #3976]
23681 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23682 (__sin): Save and restore rounding mode and use round-to-nearest
23683 for all computations.
23684 (__cos): Save and restore rounding mode and use round-to-nearest
23685 for all computations.
23686 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23687 <fenv.h>.
23688 (tan): Save and restore rounding mode and use round-to-nearest for
23689 all computations.
23690 * math/libm-test.inc (cos_test_tonearest): New function.
23691 (cos_test_towardzero): Likewise.
23692 (cos_test_downward): Likewise.
23693 (cos_test_upward): Likewise.
23694 (sin_test_tonearest): Likewise.
23695 (sin_test_towardzero): Likewise.
23696 (sin_test_downward): Likewise.
23697 (sin_test_upward): Likewise.
23698 (tan_test_tonearest): Likewise.
23699 (tan_test_towardzero): Likewise.
23700 (tan_test_downward): Likewise.
23701 (tan_test_upward): Likewise.
23702 (main): Call the new functions.
23703 * sysdeps/i386/fpu/libm-test-ulps: Update.
23704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23705
23706 [BZ #10135]
23707 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23708 small n, then large n, before computing and testing k+n.
23709 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23710 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23711 Likewise.
23712 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23713 Likewise.
23714 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23715 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23718 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23719 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23720 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23721 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23722 * math/libm-test.inc (scalbn_test): Add more tests.
23723 (scalbln_test): Likewise.
23724
23725 * manual/filesys.texi (mode_t): Describe constraints on size and
23726 signedness, not exact equivalence to a particular type.
23727 (ino_t): Likewise.
23728 (ino64_t): Likewise.
23729 (dev_t): Likewise.
23730 (nlink_t): Likewise.
23731 (blkcnt_t): Likewise.
23732 (blkcnt64_t): Likewise.
23733 * manual/llio.texi (off_t): Likewise.
23734
23735 [BZ #3976]
23736 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23737 (__ieee754_exp): Save and restore rounding mode and use
23738 round-to-nearest for all computations.
23739 * math/libm-test.inc (exp_test_tonearest): New function.
23740 (exp_test_towardzero): Likewise.
23741 (exp_test_downward): Likewise.
23742 (exp_test_upward): Likewise.
23743 (main): Call the new functions.
23744 * sysdeps/i386/fpu/libm-test-ulps: Update.
23745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23746
23747 2012-03-01 Chris Demetriou <cgd@google.com>
23748
23749 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23750 have predictable order.
23751
23752 2012-03-01 David S. Miller <davem@davemloft.net>
23753
23754 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23755
23756 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23757 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23758 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23759 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23760
23761 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23762 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23763 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23765 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23766 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23767 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23768 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23769 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23770
23771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23772
23773 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23774 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23775 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23776
23777 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23778 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23779 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23780 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23781 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23785 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23786 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23787 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23788 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23789 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23790 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23791 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23793 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23794 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23795 * sysdeps/sparc/elf/configure: Regenerated.
23796
23797 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23798
23799 * configure.in (AS, LD): Require binutils 2.20 or later.
23800 * configure: Regenerated.
23801 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23802 as required minimum version.
23803 * INSTALL: Regenerated.
23804
23805 [BZ #2541]
23806 [BZ #4108]
23807 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23808 before squaring exponent.
23809 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23810 bottom long double and 27 bits of top long double before squaring
23811 exponent.
23812 * math/libm-test.inc (erfc_test): Add more tests.
23813 * sysdeps/i386/fpu/libm-test-ulps: Update.
23814 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23816
23817 2012-03-01 Kai Tietz <ktietz@redhat.com>
23818
23819 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23820 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23821 containing bit-fields.
23822 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23823 * soft-fp/single.h (_FP_UNION_S): Likewise.
23824 * soft-fp/double.h (_FP_UNION_D): Likewise.
23825
23826 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23827
23828 [BZ #13786]
23829 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23830 not include ../strcmp.S.
23831 [USE_AS_STRNCASECMP_L]: Likewise.
23832 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23833 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23834 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23835 (__strncasecmp_l_ia32): Define as alias to
23836 __strncasecmp_l_nonascii.
23837
23838 [BZ #5794]
23839 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23840 * sysdeps/i386/fpu/libm-test-ulps: Update.
23841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23842
23843 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23845
23846 2012-02-29 Jeff Law <law@redhat.com>
23847
23848 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23849 out of bounds read.
23850
23851 2012-02-29 Marek Polacek <polacek@redhat.com>
23852
23853 [BZ #13706]
23854 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23855 * elf/Makefile: Add rules to run tst-unused-dep.out.
23856
23857 2012-02-28 David S. Miller <davem@davemloft.net>
23858
23859 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23860 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23861 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23863 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23864 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23865
23866 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23867
23868 * math/libm-test.inc (llround_test): Move one test from
23869 lround_test. Use TEST_f_L in moved test.
23870 (lround_test): Move misplaced test to llround_test. Add testcase
23871 from bug 2561.
23872
23873 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23874
23875 * sysdeps/x86_64/fpu/e_expf.S: New file.
23876 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23877
23878 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23879
23880 [BZ #13637]
23881 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23882 of remain_len that may cause incomplete multi-byte character and
23883 false match.
23884 * posix/bug-regex33.c: New file.
23885 * posix/Makefile (tests): Add bug-regex33.
23886
23887 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23888
23889 * manual/macros.texi: New file.
23890 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23891 * manual/libc.texinfo: Include macros.texi.
23892 * manual/creatute.texi: Likewise.
23893 * manual/install.texi: Likewise.
23894 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23895 @glibcadj{} in references to the GNU C Library.
23896 * manual/charset.texi: Likewise.
23897 * manual/conf.texi: Likewise.
23898 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23899 when not using those macros.
23900 * manual/creature.texi: Likewise.
23901 * manual/crypt.texi: Likewise.
23902 * manual/errno.texi: Likewise.
23903 * manual/filesys.texi: Likewise.
23904 * manual/header.texi: Likewise.
23905 * manual/install.texi: Likewise.
23906 * manual/intro.texi: Likewise.
23907 * manual/io.texi: Likewise.
23908 * manual/job.texi: Likewise.
23909 * manual/lang.texi: Likewise.
23910 * manual/libc.texiinfo: Likewise.
23911 * manual/llio.texi: Likewise.
23912 * manual/locale.texi: Likewise.
23913 * manual/maint.texi: Likewise.
23914 * manual/math.texi: Likewise.
23915 * manual/memory.texi: Likewise.
23916 * manual/message.texi: Likewise.
23917 * manual/nss.texi: Likewise.
23918 * manual/pattern.texi: Likewise.
23919 * manual/process.texi: Likewise.
23920 * manual/resource.texi: Likewise.
23921 * manual/search.texi: Likewise.
23922 * manual/setjmp.texi: Likewise.
23923 * manual/signal.texi: Likewise.
23924 * manual/socket.texi: Likewise.
23925 * manual/startup.texi: Likewise.
23926 * manual/stdio.texi: Likewise.
23927 * manual/string.texi: Likewise.
23928 * manual/sysinfo.texi: Likewise.
23929 * manual/syslog.texi: Likewise.
23930 * manual/terminal.texi: Likewise.
23931 * manual/time.texi: Likewise.
23932 * manual/users.texi: Likewise.
23933 * INSTALL: Regenerated.
23934 * NOTES: Regenerated.
23935 * sysdeps/gnu/errlist.c: Regenerated.
23936
23937 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23938
23939 * include/dirent.h: Include <dirstream.h> before
23940 <dirent/dirent.h>.
23941
23942 2012-02-28 David S. Miller <davem@davemloft.net>
23943
23944 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23945 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23946 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23947 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23948
23949 2012-02-27 David S. Miller <davem@davemloft.net>
23950
23951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23953 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23954 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23955
23956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23957 frame pointer instead of stack pointer relative arg slot.
23958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23959 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23960 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23961
23962 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23963
23964 [BZ #3992]
23965 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23966
23967 2012-02-27 David S. Miller <davem@davemloft.net>
23968
23969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23973 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23974 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23975 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23976 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23977
23978 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23979
23980 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23981 later. Allow versions 5-9.
23982 * configure: Regenerated.
23983 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23984 required minimum version and 4.6 as recommended version. Do not
23985 mention bugs in GCC 2.7 and 2.8.
23986 * INSTALL: Regenerated.
23987
23988 2012-02-27 David S. Miller <davem@davemloft.net>
23989
23990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23994 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23995 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23996 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23997 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23998
23999 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24000 manipulate bits before adding and subtracting TWO112[sx].
24001 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24002
24003 2012-02-27 Roland McGrath <roland@hack.frob.com>
24004
24005 [BZ #13775]
24006 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24007 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24008 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24009 being in POSIX, because they are in 1003.1-2008.
24010
24011 * rt/tst-aio.c: Include <fcntl.h>.
24012 * rt/tst-aio7.c: Likewise.
24013 * rt/tst-aio64.c: Likewise.
24014
24015 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24016
24017 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24018
24019 * manual/install.texi (--with-headers): Describe headers as
24020 interface headers, not private headers.
24021 (Specific advice for GNU/Linux systems): Describe use of headers
24022 from "make headers_install", not private headers from older
24023 kernels.
24024 * INSTALL: Regenerated.
24025 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24026 Change to 2.6.19.
24027 * sysdeps/unix/sysv/linux/configure: Regenerated.
24028
24029 * manual/llio.texi (fclean): Remove documentation.
24030
24031 * manual/Makefile (libc-texi-generated): New variable. Include
24032 version.texi.
24033 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24034 $(libc-texi-generated), not duplicated list of files.
24035 (version.texi, stamp-version): New rules.
24036 (realclean): Remove $(libc-texi-generated), not individual files
24037 from that list. Do not remove dir-add.texinfo.
24038 * manual/libc.texinfo: Comment out uses of edition numbers and
24039 references to printed manual. Remove last-updated dates.
24040 (EDITION): Comment out.
24041 (ISBN): Likewise.
24042 (VERSION, UPDATED): Remove.
24043 (version.texi): Include.
24044
24045 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24046
24047 * sysdeps/posix/spawni.c: Include <signal.h>.
24048 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24049 * sysdeps/pthread/aio_fsync.c: Likewise.
24050
24051 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24052
24053 * conform/Makefile (tests): Run only when not cross-compiling and
24054 when fast-check is not defined.
24055
24056 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24057 * conform/data/limits.h-data: Fixes for POSIX2008.
24058 * conform/run-conformtest.sh: Run all tests.
24059 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24060 headers.
24061 * include/bits/dlfcn.h: Likewise.
24062 * include/langinfo.h: Likewise.
24063 * include/monetary.h: Likewise.
24064 * include/sys/poll.h: Likewise.
24065
24066 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24067 for __USE_GNU.
24068 * posix/spawn.h: Define __need_sigset_t.
24069 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24070 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24071 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24072 to get sigevent_t only.
24073 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24074 only for __USE_GNU.
24075 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24076 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24077 process_vm_writev only for __USE_GNU.
24078 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24079
24080 * conform/Makefile: For now ignore errors from run-conformtest.
24081 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24082 POSIX to avoid namespace pollution. Don't prepend headers.
24083 * conform/data/aio.h-data: Fixes for POSIX testing.
24084 * conform/data/fcntl.h-data: Likewise.
24085 * conform/data/glob.h-data: Likewise.
24086 * conform/data/grp.h-data: Likewise.
24087 * conform/data/pthread.h-data: Likewise.
24088 * conform/data/pwd.h-data: Likewise.
24089 * conform/data/signal.h-data: Likewise.
24090 * conform/data/spawn.h-data: Likewise.
24091 * conform/data/stdio.h-data: Likewise.
24092 * conform/data/stdlib.h-data: Likewise.
24093 * conform/data/stropts.h-data: Likewise.
24094 * conform/data/sys/mman.h-data: Likewise.
24095 * conform/data/sys/stat.h-data: Likewise.
24096 * conform/data/sys/types.h-data: Likewise.
24097 * conform/data/sys/wait.h-data: Likewise.
24098 * conform/data/time.h-data: Likewise.
24099 * conform/data/unistd.h-data: Likewise.
24100 * conform/data/utime.h-data: Likewise.
24101
24102 * io/sys/stat.h: fchmod was always in POSIX.
24103 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24104 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24105 * rt/aio.h: Define __need_timespec before including <time.h>.
24106 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24107 struct. Add forward declaration of pthread_attr_t and use it in
24108 sigevent.
24109 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24110 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24111 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24112 always remove CLK_TCK definition.
24113
24114 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24115
24116 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24117
24118 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24119
24120 * conform/run-conformtest.sh: New file.
24121 * conform/Makefile: Run run-conformtest for tests.
24122 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24123 support.
24124
24125 * conform/data/uchar.h-data: New file.
24126 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24127 * conform/data/arpa/inet.h-data: Likewise.
24128 * conform/data/assert.h-data: Likewise.
24129 * conform/data/complex.h-data: Likewise.
24130 * conform/data/cpio.h-data: Likewise.
24131 * conform/data/ctype.h-data: Likewise.
24132 * conform/data/dirent.h-data: Likewise.
24133 * conform/data/dlfcn.h-data: Likewise.
24134 * conform/data/errno.h-data: Likewise.
24135 * conform/data/fcntl.h-data: Likewise.
24136 * conform/data/float.h-data: Likewise.
24137 * conform/data/fmtmsg.h-data: Likewise.
24138 * conform/data/fnmatch.h-data: Likewise.
24139 * conform/data/ftw.h-data: Likewise.
24140 * conform/data/glob.h-data: Likewise.
24141 * conform/data/grp.h-data: Likewise.
24142 * conform/data/iconv.h-data: Likewise.
24143 * conform/data/inttypes.h-data: Likewise.
24144 * conform/data/langinfo.h-data: Likewise.
24145 * conform/data/libgen.h-data: Likewise.
24146 * conform/data/limits.h-data: Likewise.
24147 * conform/data/locale.h-data: Likewise.
24148 * conform/data/math.h-data: Likewise.
24149 * conform/data/monetary.h-data: Likewise.
24150 * conform/data/mqueue.h-data: Likewise.
24151 * conform/data/ndbm.h-data: Likewise.
24152 * conform/data/net/if.h-data: Likewise.
24153 * conform/data/netdb.h-data: Likewise.
24154 * conform/data/netinet/in.h-data: Likewise.
24155 * conform/data/nl_types.h-data: Likewise.
24156 * conform/data/poll.h-data: Likewise.
24157 * conform/data/pthread.h-data: Likewise.
24158 * conform/data/pwd.h-data: Likewise.
24159 * conform/data/regex.h-data: Likewise.
24160 * conform/data/sched.h-data: Likewise.
24161 * conform/data/search.h-data: Likewise.
24162 * conform/data/semaphore.h-data: Likewise.
24163 * conform/data/setjmp.h-data: Likewise.
24164 * conform/data/signal.h-data: Likewise.
24165 * conform/data/spawn.h-data: Likewise.
24166 * conform/data/stdarg.h-data: Likewise.
24167 * conform/data/stdio.h-data: Likewise.
24168 * conform/data/stdlib.h-data: Likewise.
24169 * conform/data/string.h-data: Likewise.
24170 * conform/data/strings.h-data: Likewise.
24171 * conform/data/stropts.h-data: Likewise.
24172 * conform/data/sys/ipc.h-data: Likewise.
24173 * conform/data/sys/mman.h-data: Likewise.
24174 * conform/data/sys/msg.h-data: Likewise.
24175 * conform/data/sys/resource.h-data: Likewise.
24176 * conform/data/sys/select.h-data: Likewise.
24177 * conform/data/sys/sem.h-data: Likewise.
24178 * conform/data/sys/shm.h-data: Likewise.
24179 * conform/data/sys/socket.h-data: Likewise.
24180 * conform/data/sys/stat.h-data: Likewise.
24181 * conform/data/sys/statvfs.h-data: Likewise.
24182 * conform/data/sys/time.h-data: Likewise.
24183 * conform/data/sys/timeb.h-data: Likewise.
24184 * conform/data/sys/times.h-data: Likewise.
24185 * conform/data/sys/types.h-data: Likewise.
24186 * conform/data/sys/uio.h-data: Likewise.
24187 * conform/data/sys/un.h-data: Likewise.
24188 * conform/data/sys/utsname.h-data: Likewise.
24189 * conform/data/sys/wait.h-data: Likewise.
24190 * conform/data/syslog.h-data: Likewise.
24191 * conform/data/tar.h-data: Likewise.
24192 * conform/data/termios.h-data: Likewise.
24193 * conform/data/utime.h-data: Likewise.
24194 * conform/data/utmpx.h-data: Likewise.
24195 * conform/data/varargs.h-data: Likewise.
24196 * conform/data/wchar.h-data: Likewise.
24197 * conform/data/wctype.h-data: Likewise.
24198 * conform/data/wordexp.h-data: Likewise.
24199
24200 * include/stropts.h: New file.
24201 * include/uchar.h: New file.
24202 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24203 * include/assert.h: Likewise.
24204 * include/ctype.h: Likewise.
24205 * include/dirent.h: Likewise.
24206 * include/dlfcn.h: Likewise.
24207 * include/fcntl.h: Likewise.
24208 * include/fnmatch.h: Likewise.
24209 * include/glob.h: Likewise.
24210 * include/grp.h: Likewise.
24211 * include/libio.h: Likewise.
24212 * include/locale.h: Likewise.
24213 * include/math.h: Likewise.
24214 * include/net/if.h: Likewise.
24215 * include/netdb.h: Likewise.
24216 * include/netinet/in.h: Likewise.
24217 * include/pthread.h: Likewise.
24218 * include/pwd.h: Likewise.
24219 * include/regex.h: Likewise.
24220 * include/sched.h: Likewise.
24221 * include/search.h: Likewise.
24222 * include/setjmp.h: Likewise.
24223 * include/signal.h: Likewise.
24224 * include/stdio.h: Likewise.
24225 * include/stdlib.h: Likewise.
24226 * include/string.h: Likewise.
24227 * include/sys/cdefs.h: Likewise.
24228 * include/sys/mman.h: Likewise.
24229 * include/sys/msg.h: Likewise.
24230 * include/sys/resource.h: Likewise.
24231 * include/sys/select.h: Likewise.
24232 * include/sys/socket.h: Likewise.
24233 * include/sys/stat.h: Likewise.
24234 * include/sys/statvfs.h: Likewise.
24235 * include/sys/time.h: Likewise.
24236 * include/sys/times.h: Likewise.
24237 * include/sys/uio.h: Likewise.
24238 * include/sys/utsname.h: Likewise.
24239 * include/sys/wait.h: Likewise.
24240 * include/termios.h: Likewise.
24241 * include/time.h: Likewise.
24242 * include/ulimit.h: Likewise.
24243 * include/unistd.h: Likewise.
24244 * include/utime.h: Likewise.
24245 * include/wchar.h: Likewise.
24246 * include/wctype.h: Likewise.
24247 * include/wordexp.h: Likewise.
24248
24249 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24250
24251 * time/time.h: TIME_UTC must be a macro.
24252 Make timespec_get available for ISO C11 only as well.
24253
24254 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24255
24256 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24257 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24258
24259 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24260
24261 * configure.in: Use -o not -a in test for unsupported multi-arch.
24262
24263 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24264
24265 * manual/texinfo.tex: Update to version 2012-01-19.16.
24266
24267 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24268
24269 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24270
24271 2012-02-24 Roland McGrath <roland@hack.frob.com>
24272
24273 [BZ #13738]
24274 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24275 * manual/fdl-1.3.texi: New file.
24276 * manual/fdl-1.1.texi: File removed.
24277
24278 [BZ #13738]
24279 * manual/libc.texinfo (FDL_VERSION): New @set.
24280 Use it for mention of FDL in cover text.
24281 (Documentation License): Use it in @include file name.
24282
24283 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24284 Roland McGrath <roland@hack.frob.com>
24285
24286 [BZ #5461]
24287 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24288 not LONG_LONG_MAX and LONG_LONG_MIN.
24289 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24290 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24291 name.
24292 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24293
24294 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24295
24296 [BZ #2547]
24297 [BZ #11365]
24298 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24299 manipulate bits before adding and subtracting TWO23[sx].
24300 * math/libm-test.inc (nearbyint_test): Add more tests.
24301
24302 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24303
24304 [BZ #2548]
24305 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24306 bits before adding and subtracting TWO23[sx].
24307 * math/libm-test.inc (rint_test): Add more tests.
24308 (rint_test_tonearest): Likewise.
24309 (rint_test_towardzero): Likewise.
24310 (rint_test_downward): Likewise.
24311 (rint_test_upward: Likewise.
24312
24313 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24314
24315 [BZ #10110]
24316 * include/stdc-predef.h: New file. Extracted from features.h.
24317 * include/features.h: Include stdc-predef.h.
24318 * Makefile (headers): Add stdc-predef.h.
24319 * CONFORMANCE (Compiler limitations): Update.
24320
24321 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24322
24323 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24324
24325 2012-02-21 David S. Miller <davem@davemloft.net>
24326
24327 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24328 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24329
24330 2012-02-20 David S. Miller <davem@davemloft.net>
24331
24332 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24333 using a normal save/restore sequence, rather than allocating a
24334 dummy stack frame just to store a frame pointer and restore.
24335 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24336
24337 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24338
24339 * manual/install.texi: Fix stray word in line-wrapped comment.
24340
24341 2012-02-20 David S. Miller <davem@davemloft.net>
24342
24343 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24344 both binutils and gcc support GOTDATA.
24345
24346 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24347 "rd %pc" in the PIC register setup sequences.
24348
24349 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24350 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24351 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24352 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24353 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24355 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24356 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24357 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24358 (SYSCALL_ERROR_HANDLER): Likewise.
24359 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24360 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24362 (SYSCALL_ERROR_HANDLER): Likewise.
24363
24364 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24365 (HAVE_GCC_GOTDATA): New.
24366 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24367 relocation support in both binutils and gcc.
24368 * sysdeps/sparc/elf/configure: Regenerate.
24369
24370 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24371 * sysdeps/sparc/sparc32/elf/configure: Delete.
24372 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24373 * sysdeps/sparc/sparc64/elf/configure: Delete.
24374 * sysdeps/sparc/elf/configure.in: New file.
24375 * sysdeps/sparc/elf/configure: Generate.
24376
24377 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24378 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24379 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24380 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24381 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24382
24383 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24384
24385 * manual/install.texi: Do not mention specific glibc version
24386 numbers.
24387 * manual/libc.texinfo (VERSION, UPDATED): Update.
24388 (@copying): Use @copyright{} and range of years.
24389
24390 2012-02-21 Joseph Myers <joseph@codesourcery.com>
24391
24392 [BZ #13695]
24393 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24394 [crti.S not in sysdirs] (generated): Do not append.
24395 [crti.S not in sysdirs] (omit-deps): Likewise.
24396 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24397 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24398 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24399 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24400 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24401 Likewise.
24402 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24403 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24404 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24405 * csu/defs.awk: Remove file.
24406 * sysdeps/generic/initfini.c: Likewise.
24407 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24408 variable.
24409 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24410 Likewise.
24411
24412 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24413
24414 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24415 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24416 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24418 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24419 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24420 <bits/epoll.h>.
24421 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24422 (__EPOLL_PACKED): Define to empty if not defined by
24423 <bits/epoll.h>.
24424 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24426 bits/epoll.h.
24427
24428 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24429
24430 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24431 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24432 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24433 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24434 <bits/timerfd.h>.
24435 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24436 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24437 bits/timerfd.h.
24438
24439 2012-02-20 Joseph Myers <joseph@codesourcery.com>
24440
24441 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24442 in C locale.
24443 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24444 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24445 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24447
24448 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24449
24450 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24451 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24452
24453 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24454
24455 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24456 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24457 defined.
24458 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24459 Likewise.
24460 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24461 entry for 2.16.
24462
24463 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24464
24465 * math/w_acos.c: Use non-signaling floating-point comparisons.
24466 * math/w_acosf.c: Likewise.
24467 * math/w_acosh.c: Likewise.
24468 * math/w_acoshf.c: Likewise.
24469 * math/w_acoshl.c: Likewise.
24470 * math/w_acosl.c: Likewise.
24471 * math/w_asin.c: Likewise.
24472 * math/w_asinf.c: Likewise.
24473 * math/w_asinl.c: Likewise.
24474 * math/w_atanh.c: Likewise.
24475 * math/w_atanhf.c: Likewise.
24476 * math/w_atanhl.c: Likewise.
24477 * math/w_exp2.c: Likewise.
24478 * math/w_exp2f.c: Likewise.
24479 * math/w_exp2l.c: Likewise.
24480 * math/w_j0.c: Likewise.
24481 * math/w_j0f.c: Likewise.
24482 * math/w_j0l.c: Likewise.
24483 * math/w_j1.c: Likewise.
24484 * math/w_j1f.c: Likewise.
24485 * math/w_j1l.c: Likewise.
24486 * math/w_jn.c: Likewise.
24487 * math/w_jnf.c: Likewise.
24488 * math/w_log.c: Likewise.
24489 * math/w_log10.c: Likewise.
24490 * math/w_log10f.c: Likewise.
24491 * math/w_log10l.c: Likewise.
24492 * math/w_log2.c: Likewise.
24493 * math/w_log2f.c: Likewise.
24494 * math/w_log2l.c: Likewise.
24495 * math/w_logf.c: Likewise.
24496 * math/w_logl.c: Likewise.
24497 * math/w_sqrt.c: Likewise.
24498 * math/w_sqrtf.c: Likewise.
24499 * math/w_sqrtl.c: Likewise.
24500 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24501 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24502 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24503 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24504 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24505
24506 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24507
24508 [BZ #9739]
24509 * manual/string.texi (strnlen): Use correct parameter name in
24510 equivalent expression.
24511
24512 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24513
24514 [BZ #11174]
24515 * manual/users.texi (seteuid): Consistently use neweuid for
24516 argument name.
24517
24518 2012-02-19 Joseph Myers <joseph@codesourcery.com>
24519
24520 [BZ #13704]
24521 * manual/nss.texi (Services in the NSS configuration): Correct
24522 list of services in example configuration file.
24523
24524 2012-02-19 Nick Bowler <nbowler@draconx.ca>
24525
24526 [BZ #11322]
24527 * manual/arith.texi: Remove statements about negative zero
24528 behaving identically to zero.
24529
24530 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24531
24532 [BZ #5993]
24533 * manual/install.texi: Do not document upgrading from libc5.
24534
24535 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24536
24537 [BZ #4596]
24538 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24539
24540 2012-02-18 David S. Miller <davem@davemloft.net>
24541
24542 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24543 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24544 %o7 across the call.
24545 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24546 instead.
24547 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24548 SETUP_PIC_REG_LEAF.
24549 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24550 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24551 * sysdeps/sparc/crtn.S: Likewise.
24552
24553 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24554
24555 * aout/Makefile: Remove.
24556
24557 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24558
24559 [BZ #13058]
24560 * manual/examples/argp-ex1.c (main): Format definition in GNU
24561 style.
24562 * manual/examples/argp-ex2.c (main): Likewise.
24563 * manual/examples/argp-ex3.c (main): Likewise.
24564 * manual/examples/argp-ex4.c (main): Likewise.
24565 * manual/examples/longopt.c (main): Use new-style prototype
24566 definition.
24567 * manual/examples/strncat.c (main): Specify return type and use
24568 (void) for arguments.
24569 * manual/examples/subopt.c (main): Use char **argv argument.
24570
24571 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24572
24573 [BZ #5077]
24574 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24575 rounding modes.
24576
24577 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24578
24579 [BZ #6907]
24580 * manual/string.texi (strchr): Change when strchrnul is
24581 recommended.
24582
24583 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24584
24585 [BZ #174]
24586 * manual/locale.texi (setlocale): Document LOCPATH.
24587
24588 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24589
24590 [BZ #10210]
24591 * manual/process.texi (execle): Move @dots{} before last argument.
24592
24593 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24594
24595 [BZ #12047]
24596 * manual/charset.texi (Generic Charset Conversion): Fix typo
24597 (LC_TYPE -> LC_CTYPE).
24598
24599 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24600
24601 [BZ #5805]
24602 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24603 (scalbnf): Likewise.
24604 (scalbnl): Likewise.
24605 (scalbln): Likewise.
24606 (scalblnf): Likewise.
24607 (scalblnl): Likewise.
24608 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24609 (vwarnx): Likewise.
24610 (verr): Likewise.
24611 (verrx): Likewise.
24612 * manual/filesys.texi (telldir): Use braces around return type.
24613 * manual/llio.texi (mmap): Add space after comma.
24614 (mmap64): Likewise.
24615 * manual/math.texi (jn): Use @var{} on parameter names.
24616 (jnf): Likewise.
24617 (jnl): Likewise.
24618 (yn): Likewise.
24619 (ynf): Likewise.
24620 (ynl): Likewise.
24621 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24622 line.
24623 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24624 "...".
24625 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24626 (sched_get_priority_max): Likewise.
24627 * manual/signal.texi (sigvec): Add space after comma.
24628 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24629 names.
24630 (if_indextoname): Likewise.
24631 (if_freenameindex): Likewise.
24632 (sendto): Use ',' instead of '.' in prototype.
24633 * manual/startup.texi (syscall): Use @dots{} instead of literal
24634 "...".
24635 * manual/stdio.texi (__fpending): Separate initial words of
24636 paragraph from @deftypefun line.
24637 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24638 "...".
24639 (vsyslog): Use @var{} on parameter names.
24640 * manual/terminal.texi (stty): Use @var{} on parameter names.
24641 * manual/users.texi (getutmp): Use @var{} on parameter names.
24642 (getutmpx): Likewise.
24643
24644 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24645
24646 [BZ #6884]
24647 * manual/stdio.texi (fopen): Fix typos in description of
24648 ",ccs=STRING".
24649
24650 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24651
24652 [BZ #4026]
24653 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24654 get clock_id definition.
24655
24656 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24657
24658 [BZ #4822]
24659 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24660 (madvise): Cast every argument to void on its own.
24661
24662 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24663
24664 [BZ #9902]
24665 * manual/startup.texi (Exit Status): Fix typo.
24666
24667 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24668
24669 [BZ #10140]
24670 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24671 * manual/examples/argp-ex2.c: Likewise.
24672 * manual/examples/argp-ex3.c: Likewise.
24673
24674 2012-02-16 Richard Henderson <rth@redhat.com>
24675
24676 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24677 * sysdeps/s390/s390-32/initfini.c: Remove.
24678 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24679 * sysdeps/s390/s390-64/initfini.c: Remove.
24680
24681 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24682
24683 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24684 compiler output for sysdeps/generic/initfini.c.
24685 * sysdeps/sh/elf/initfini.c: Remove file.
24686
24687 2012-02-16 David S. Miller <davem@davemloft.net>
24688
24689 [BZ #11494]
24690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24691
24692 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24693 * sysdeps/sparc/crti.S: New file.
24694 * sysdeps/sparc/crtn.S: New file.
24695 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24696 * sysdeps/sparc/sparc64/Makefile: Likewise.
24697
24698 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24699
24700 [BZ #3335]
24701 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24702
24703 2012-02-15 Roland McGrath <roland@hack.frob.com>
24704
24705 [BZ #4822]
24706 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24707
24708 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24709 (write, read, close): Likewise.
24710 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24711
24712 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24713
24714 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24715 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24716 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24717 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24718 <bits/signalfd.h>.
24719 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24720 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24721 bits/signalfd.h.
24722
24723 2012-02-14 Marek Polacek <polacek@redhat.com>
24724
24725 * sysdeps/x86_64/crti.S: New file.
24726 * sysdeps/x86_64/crtn.S: New file.
24727 * sysdeps/x86_64/elf/initfini.c: Remove file.
24728
24729 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24730
24731 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24732 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24733 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24734 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24735 <bits/inotify.h>.
24736 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24738 bits/inotify.h.
24739
24740 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24741
24742 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24743 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24744 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24745 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24746 <bits/eventfd.h>.
24747 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24749 bits/eventfd.h.
24750
24751 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24752
24753 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24754 __feraiseexcept instead of feraiseexcept.
24755
24756 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24757 nanosleep invocations.
24758 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24759 strings, and add error checking for a nanosleep invocations.
24760
24761 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24762
24763 Replace FSF snail mail address with URLs, as per GNU coding standards.
24764 Most of the snail mail addresses were wrong anyway, and omitting
24765 them makes the source code easier to maintain. Almost all of the
24766 changes are to license notices and to locale LC_IDENTIFICATION
24767 addresses, except for this one:
24768 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24769 not its snail mail address.
24770
24771 2012-02-09 Richard Henderson <rth@twiddle.net>
24772
24773 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24774 of kernel-features.h.
24775
24776 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24777
24778 2012-02-08 Marek Polacek <polacek@redhat.com>
24779
24780 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24781 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24782 * sysdeps/gnu/_G_config.h: Likewise.
24783 * sysdeps/generic/_G_config.h: Likewise.
24784
24785 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24786
24787 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24788 tests.
24789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24790
24791 * sysdeps/powerpc/powerpc32/crti.S: New file.
24792 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24793 * sysdeps/powerpc/powerpc64/crti.S: New file.
24794 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24795
24796 * Makeconfig (have-initfini): Don't set.
24797 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24798 * configure.in (nopic_initfini): Don't substitute.
24799 * config.h.in (HAVE_INITFINI): Don't #undef.
24800 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24801 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24802
24803 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24804
24805 Support crti.S and crtn.S provided directly by architectures.
24806 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24807 [crti.S in sysdirs] (omit-deps): Likewise.
24808 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24809 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24810 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24811 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24812 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24813 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24814 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24815 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24816 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24817 compiler output for sysdeps/generic/initfini.c.
24818 * sysdeps/i386/elf/Makefile: Remove file.
24819 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24820
24821 2012-02-07 Marek Polacek <polacek@redhat.com>
24822
24823 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24824 * sysdeps/gnu/_G_config.h: Likewise.
24825 * sysdeps/mach/hurd/_G_config.h: Likewise.
24826
24827 2012-02-07 Marek Polacek <polacek@redhat.com>
24828
24829 * math/Makefile (tests): Add tst-CMPLX2.
24830 * math/tst-CMPLX2.c: New file.
24831
24832 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24833
24834 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24835
24836 * math/libm-test.inc (jn_test): Add missing L suffix.
24837
24838 2012-02-06 Marek Polacek <polacek@redhat.com>
24839
24840 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24841 * sysdeps/i386/fpu/e_powf.S: Likewise.
24842 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24843 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24844 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24845 * sysdeps/i386/fpu/e_pow.S: Likewise.
24846 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24847 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24848 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24849 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24850 * sysdeps/i386/fpu/e_log2.S: Likewise.
24851 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24852 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24853 * sysdeps/i386/fpu/e_powl.S: Likewise.
24854 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24855 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24856 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24857 * sysdeps/i386/fpu/e_logl.S: Likewise.
24858 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24859 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24860 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24861 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24862 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24863 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24864 * sysdeps/i386/fpu/e_log.S: Likewise.
24865 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24866 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24867 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24868 * sysdeps/i386/fpu/e_logf.S: Likewise.
24869 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24870 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24871 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24872 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24873 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24874 * sysdeps/i386/fpu/e_log10.S: Likewise.
24875 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24876 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24877 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24878 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24879 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24880 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24881 * sysdeps/i386/asm-syntax.h: Likewise.
24882 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24883 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24884 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24885 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24886 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24887 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24888 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24889 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24890 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24891 * sysdeps/powerpc/sysdep.h: Likewise.
24892 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24893 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24894
24895 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24896
24897 [BZ #411]
24898 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24899
24900 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24901
24902 * sysdeps/i386/sysdep.h: Include <features.h>.
24903 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24904 version.
24905
24906 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24907
24908 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24909 Define.
24910 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24911 LOAD_PIC_REG_STR.
24912
24913 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24914
24915 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24916 (SETUP_PIC_REG): Use GET_PC_THUNK.
24917 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24918 macro.
24919
24920 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24921
24922 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24923 for non-PIC compilation.
24924 (SETUP_PIC_REG): Add .p2align directive.
24925 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24926 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24927 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24928 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24929 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24930 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24931 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24932 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24933 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24934 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24935 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24936 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24937 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24938 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24939 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24940 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24941 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24942 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24943 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24944 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24945 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24946 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24947 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24948 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24951 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24952 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24953 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24954 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24955 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24956 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24957 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24958 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24959 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24960 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24961 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24962 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24963 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24964 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24965 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24966
24967 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24968
24969 * math/tst-CMPLX.c: Include <stdio.h>.
24970
24971 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24972
24973 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24974 float.
24975 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24976 * sysdeps/sparc/bits/mathdef.h: Likewise.
24977
24978 2012-01-31 Marek Polacek <polacek@redhat.com>
24979
24980 * libio/libio.h: Don't define _PARAMS.
24981 * locale/programs/config.h: Don't define PARAMS.
24982 * stdlib/strtol_l.c: Likewise.
24983 (__strtol_l): Remove PARAMS from the prototype.
24984
24985 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24986
24987 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24988 names. Just use the correct names. Remove unnecessary wrapper
24989 functions.
24990 * malloc/arena.c: Likewise.
24991 * malloc/hooks.c: Likewise.
24992
24993 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24994 ARENA_TEST says not to. Simplify test for creation of a new arena.
24995 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24996
24997 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24998
24999 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25000 into tail calls.
25001 (update_get_addr): New function.
25002 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25003 GET_ADDR_MODULE parameter.
25004
25005 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25006
25007 * crypt/cert.c: Remove __STDC__ conditionals.
25008 * crypt/crypt-entry.c: Likewise.
25009 * crypt/crypt_util.c: Likewise.
25010 * libio/filedoalloc.c: Likewise.
25011 * libio/fileops.c: Likewise.
25012 * libio/genops.c: Likewise.
25013 * libio/iofclose.c: Likewise.
25014 * libio/iofdopen.c: Likewise.
25015 * libio/iofopen.c: Likewise.
25016 * libio/iofopen64.c: Likewise.
25017 * libio/iogetdelim.c: Likewise.
25018 * libio/iopopen.c: Likewise.
25019 * libio/obprintf.c: Likewise.
25020 * libio/oldfileops.c: Likewise.
25021 * libio/oldiofclose.c: Likewise.
25022 * libio/oldiofdopen.c: Likewise.
25023 * libio/oldiofopen.c: Likewise.
25024 * libio/oldiopopen.c: Likewise.
25025 * libio/wfiledoalloc.c: Likewise.
25026 * libio/wgenops.c: Likewise.
25027 * locale/programs/xmalloc.c: Likewise.
25028 * misc/syslog.c: Likewise.
25029 * stdio-common/xbug.c: Likewise.
25030 * string/memchr.c: Likewise.
25031 * string/memcmp.c: Likewise.
25032 * string/memrchr.c: Likewise.
25033 * string/rawmemchr.c: Likewise.
25034 * sysdeps/posix/getcwd.c: Likewise.
25035 * time/strftime_l.c: Likewise.
25036
25037 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25038
25039 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25040 * config.make.in (config-cflags-sse2avx): Define.
25041 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25042 Fix typo.
25043
25044 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25045
25046 * scripts/config.guess: Update from upstream config git repository.
25047 * scripts/config.sub: Likewise.
25048
25049 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25050
25051 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25052 (EM_NUM): Update.
25053 (R_TILEPRO_*, R_TILEGX_*): New macros.
25054
25055 * scripts/firstversions.awk: Fix bug in version range handling.
25056
25057 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25058
25059 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25060
25061 * include/sys/epoll.h: New file.
25062 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25063 libc_hidden_def.
25064
25065 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25066
25067 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25068 Avoid unnecessary __WORDSIZE == 64 test.
25069 (fmaxf): Use VEX format if possible.
25070 (fmax): Likewise.
25071 (fminf): Likewise.
25072 (fmin): Likewise.
25073
25074 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25075 * math/math_private.h: Remove libc_fegetround* and
25076 libc_fesetround*.
25077 * sysdeps/i386/configure.in: Check for -msse2avx.
25078 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25079 also if SSE2AVX is defined.
25080 Remove libc_fegetround* and libc_fesetround*.
25081 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25082 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25083 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25084 of HAS_YMM_USABLE.
25085 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25086 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25087 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25089 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25090
25091 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25092
25093 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25094
25095 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25096 size is not set.
25097 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25098
25099 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25100
25101 [BZ #13618]
25102 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25103 relocation.
25104 * Makeconfig (libm): Define.
25105 * elf/Makefile: Add rules to build and run tst-relsort1.
25106 * elf/tst-relsort1.c: New file.
25107 * elf/tst-relsort1mod1.c: New file.
25108 * elf/tst-relsort1mod2.c: New file.
25109
25110 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25111
25112 * math/s_ldexp.c: Remove __STDC__ conditionals.
25113 * math/s_ldexpf.c: Likewise.
25114 * math/s_ldexpl.c: Likewise.
25115 * math/s_nextafter.c: Likewise.
25116 * math/s_nexttowardf.c: Likewise.
25117 * math/s_significand.c: Likewise.
25118 * math/s_significandf.c: Likewise.
25119 * math/s_significandl.c: Likewise.
25120 * math/w_jnl.c: Likewise.
25121 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25122 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25123 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25124 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25125 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25126 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25127 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25128 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25129 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25130 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25131 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25132 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25133 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25134 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25135 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25136 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25137 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25138 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25139 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25140 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25141 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25142 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25143 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25144 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25145 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25146 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25147 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25148 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25149 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25150 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25151 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25152 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25153 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25154 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25155 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25156 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25157 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25158 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25159 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25160 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25161 * sysdeps/ieee754/k_standard.c: Likewise.
25162 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25163 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25164 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25165 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25166 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25167 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25168 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25169 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25170 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25171 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25172 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25173 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25174 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25175 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25176 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25177 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25178 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25179 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25180 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25181 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25182 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25183 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25184 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25186 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25187 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25189 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25190 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25191 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25192 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25193 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25194 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25195 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25196 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25197 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25198 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25199 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25200 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25201 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25202 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25203 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25206 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25207 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25211 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25212 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25219 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25223 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25224 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25228 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25229 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25230 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25231 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25232 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25233 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25234 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25235 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25236 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25237 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25238 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25239 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25240 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25241 * sysdeps/ieee754/s_matherr.c: Likewise.
25242 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25243 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25244 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25246
25247 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25248
25249 * crypt/md5.h: Remove __STDC__ conditionals.
25250 * libio/libioP.h: Likewise.
25251 * locale/programs/config.h: Likewise.
25252 * sysdeps/generic/sysdep.h: Likewise.
25253 * sysdeps/i386/asm-syntax.h: Likewise.
25254 * sysdeps/s390/asm-syntax.h: Likewise.
25255 * sysdeps/unix/sysdep.h: Likewise.
25256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25258
25259 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25260
25261 * libio/libio.h: Remove __STDC__ conditionals.
25262 * malloc/obstack.h: Likewise.
25263 * math/complex.h: Likewise.
25264 * math/math.h: Likewise.
25265 * sysdeps/generic/_G_config.h: Likewise.
25266 * sysdeps/gnu/_G_config.h: Likewise.
25267 * sysdeps/mach/hurd/_G_config.h: Likewise.
25268 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25269 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25270 * sysdeps/sparc/bits/mathdef.h: Likewise.
25271
25272 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25273
25274 [BZ #13583]
25275 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25276 Clean up HAS_* macros.
25277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25278 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25279 possible.
25280 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25281 HAS_AVX.
25282 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25283 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25284 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25285 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25286 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25287
25288 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25289
25290 * elf/tst-unique3.cc (gets): Remove declaration.
25291 * elf/tst-unique3lib.cc (gets): Likewise.
25292 * elf/tst-unique3lib2.cc (gets): Likewise.
25293 * elf/tst-unique4.cc (gets): Likewise.
25294
25295 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25296
25297 * include/stdio.h: Add C++ protection. Add gets declarations and
25298 definitions.
25299 * debug/tst-chk1.c: Don't declare gets here.
25300 * stdio-common/tst-gets.c: Likewise.
25301
25302 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25303
25304 * posix/glob: Remove directory.
25305
25306 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25307
25308 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25309
25310 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25311
25312 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25313 of the non-standard EPFNOSUPPORT.
25314
25315 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25316
25317 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25318 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25319 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25320
25321 2012-01-21 Ulrich Drepper <drepper@gmail.com>
25322
25323 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25324
25325 2012-01-20 Ulrich Drepper <drepper@gmail.com>
25326
25327 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25328 transient errors.
25329 * nscd/grpcache.c (cache_addgr): Likewise.
25330 * nscd/hstcache.c (cache_addhst): Likewise.
25331 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25332 * nscd/pwdcache.c (cache_addpw): Likewise.
25333 * nscd/servicescache.c (cache_addserv): Likewise.
25334
25335 2012-01-16 Ulrich Drepper <drepper@gmail.com>
25336
25337 * malloc/malloc.c: Various cleanups.
25338 * malloc/hooks.c: Likewise.
25339
25340 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25341 * stdlib/bug-fmtmsg1.c: New file.
25342
25343 * stdlib/fmtmsg.c (init): Add missing unlock.
25344 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25345
25346 2012-01-12 Marek Polacek <polacek@redhat.com>
25347
25348 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25349 and _GNU_SOURCE.
25350
25351 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25352
25353 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25354 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25355 macro to ensure uniqueness of label name.
25356 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25357 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25358
25359 2012-01-11 Ulrich Drepper <drepper@gmail.com>
25360
25361 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25362
25363 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25364 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25365 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25366 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25367
25368 2012-01-10 Ulrich Drepper <drepper@gmail.com>
25369
25370 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25371
25372 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25373 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25374 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25375
25376 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25377
25378 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25379 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25380 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25382
25383 * math/bits/math-finite.h: Add ldexp support.
25384
25385 2012-01-10 Marek Polacek <polacek@redhat.com>
25386
25387 * locale/programs/localedef.h (show_archive_content): Add noreturn
25388 attribute.
25389
25390 2012-01-09 Ulrich Drepper <drepper@gmail.com>
25391
25392 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25393
25394 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25395
25396 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25397
25398 * io/Makefile (headers): Add bits/poll2.h.
25399
25400 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25401
25402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25403 typo #include statement.
25404
25405 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25406
25407 * include/sys/cdefs.h: Define __attribute_alloc_size.
25408 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25409 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25410 * elf/pldd.c: Likewise.
25411 * iconv/iconv_charmap.c: Likewise.
25412 * iconv/iconvconfig.c: Likewise.
25413 * iconv/strtab.c: Likewise.
25414 * locale/programs/locale.c: Likewise.
25415 * locale/programs/localedef.h: Likewise.
25416 * locale/programs/simple-hash.c: Likewise.
25417 * nscd/nscd.h: Likewise.
25418 * nss/makedb.c: Likewise.
25419 * sysdeps/generic/ldconfig.h: Likewise.
25420 * locale/programs/localedef.c: Remove xmalloc prototype.
25421 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25422
25423 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25424
25425 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25426 appropriate.
25427
25428 2012-01-08 Ulrich Drepper <drepper@gmail.com>
25429
25430 * math/Makefile (tests): Add tst-CMPLX.
25431 * math/tst-CMPLX.c: New file.
25432
25433 * math/complex.h (CMPLXL): Fix typo.
25434
25435 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25436 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25437 GLIBC_2.16.
25438 * debug/tst-chk1.c: Add poll and ppoll tests.
25439 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25440 * include/sys/poll.h: Add hidden proto for ppoll.
25441 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25442 * sysdeps/mach/hurd/ppoll.c: Likewise.
25443 * io/ppoll.c: Likewise.
25444 * debug/poll_chk.c: New file.
25445 * debug/ppoll_chk.c: New file.
25446 * include/bits/poll2.h: New file.
25447 * io/bits/poll2.h: New file.
25448
25449 [BZ #1350]
25450 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25451
25452 * configure.in: static is always set to yes. Remove.
25453 * config.make.in: Don't set build-static.
25454 * Makeconfig: Remove use of build-static.
25455 * dlfcn/Makefile: Likewise.
25456 * elf/Makefile: Likewise.
25457 * math/Makefile: Likewise.
25458 * misc/Makefile: Likewise.
25459 * nptl/Makefile: Likewise.
25460 * sysdeps/mach/hurd/Makefile: Likewise.
25461
25462 * configure.in: PWD_P is not used anymore.
25463 * config.make.in: Remove PWD_P entry.
25464
25465 * configure.in: Remove last remnants of RANLIB.
25466 No need to check for signed size_t anymore.
25467 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25468 and IA-64.
25469 Remove __builtin_expect test because we require at least gcc 3.4.
25470 * aclocal.m4: Likewise.
25471
25472 * wcsmbs/mbrtoc16.c: Implement using towc function.
25473 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25474 * wcsmbs/wcsmbsload.c: Likewise.
25475 * iconv/gconv_simple.c: Likewise.
25476 * iconv/gconv_int.h: Likewise.
25477 * iconv/gconv_builtin.h: Likewise.
25478 * iconv/iconv_prog.c: Remove CHAR16 handling.
25479
25480 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25481
25482 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25483
25484 * configure.in: Remove --with-elf and --enable-bounded options.
25485 Dont set base_machine for ia64. More non-ELF conditions removed.
25486 Remove testing and setting of leading underscore information.
25487 * config.make.in (build-bounded): Set to no.
25488 * config.h.in: Remove NO_UNDERSCORES entry.
25489 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25490 them.
25491 * csu/start.c: Remove !NO_UNDERSCORE code.
25492 * locale/localeinfo.h: Likewise.
25493 * sysdeps/generic/machine-gmon.h: Likewise.
25494 * sysdeps/generic/sysdep.h: Likewise.
25495 * sysdeps/i386/sysdep.h: Likewise.
25496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25497 * sysdeps/mach/sysdep.h: Likewise.
25498 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25499 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25500 * sysdeps/sh/sysdep.h: Likewise.
25501 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25502 * sysdeps/unix/i386/sysdep.S: Likewise.
25503 * sysdeps/unix/sparc/start.c: Likewise.
25504 * sysdeps/unix/sparc/sysdep.S: Likewise.
25505 * sysdeps/unix/sparc/sysdep.h: Likewise.
25506 * sysdeps/unix/start.c: Likewise.
25507 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25508 * sysdeps/x86_64/sysdep.h: Likewise.
25509
25510 2012-01-07 Ulrich Drepper <drepper@gmail.com>
25511
25512 [BZ #13553]
25513 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25514 for non-gcc.
25515 * argp/argp-fmtstream.h: Use const instead __const.
25516 * argp/argp.h: Likewise.
25517 * assert/assert.h: Likewise.
25518 * bits/fenv.h: Likewise.
25519 * bits/sched.h: Likewise.
25520 * bits/sigset.h: Likewise.
25521 * bits/sigthread.h: Likewise.
25522 * catgets/nl_types.h: Likewise.
25523 * conform/data/pthread.h-data: Likewise.
25524 * crypt/crypt-private.h: Likewise.
25525 * crypt/crypt.h: Likewise.
25526 * crypt/crypt_util.c: Likewise.
25527 * ctype/ctype.h: Likewise.
25528 * debug/execinfo.h: Likewise.
25529 * debug/mbsnrtowcs_chk.c: Likewise.
25530 * debug/mbsrtowcs_chk.c: Likewise.
25531 * debug/wcsnrtombs_chk.c: Likewise.
25532 * debug/wcsrtombs_chk.c: Likewise.
25533 * debug/wcstombs_chk.c: Likewise.
25534 * dirent/dirent.h: Likewise.
25535 * dlfcn/dlfcn.h: Likewise.
25536 * elf/neededtest4.c: Likewise.
25537 * grp/grp.h: Likewise.
25538 * gshadow/gshadow.h: Likewise.
25539 * iconv/gconv.h: Likewise.
25540 * iconv/gconv_int.h: Likewise.
25541 * iconv/gconv_simple.c: Likewise.
25542 * iconv/iconv.h: Likewise.
25543 * iconv/loop.c: Likewise.
25544 * iconv/skeleton.c: Likewise.
25545 * include/aio.h: Likewise.
25546 * include/aliases.h: Likewise.
25547 * include/argz.h: Likewise.
25548 * include/arpa/inet.h: Likewise.
25549 * include/assert.h: Likewise.
25550 * include/dirent.h: Likewise.
25551 * include/dlfcn.h: Likewise.
25552 * include/execinfo.h: Likewise.
25553 * include/fcntl.h: Likewise.
25554 * include/fenv.h: Likewise.
25555 * include/glob.h: Likewise.
25556 * include/grp.h: Likewise.
25557 * include/libintl.h: Likewise.
25558 * include/mntent.h: Likewise.
25559 * include/netdb.h: Likewise.
25560 * include/pwd.h: Likewise.
25561 * include/rpc/netdb.h: Likewise.
25562 * include/sched.h: Likewise.
25563 * include/search.h: Likewise.
25564 * include/shadow.h: Likewise.
25565 * include/signal.h: Likewise.
25566 * include/stdio.h: Likewise.
25567 * include/stdlib.h: Likewise.
25568 * include/string.h: Likewise.
25569 * include/sys/socket.h: Likewise.
25570 * include/sys/stat.h: Likewise.
25571 * include/sys/statfs.h: Likewise.
25572 * include/sys/statvfs.h: Likewise.
25573 * include/sys/syslog.h: Likewise.
25574 * include/sys/time.h: Likewise.
25575 * include/sys/uio.h: Likewise.
25576 * include/time.h: Likewise.
25577 * include/unistd.h: Likewise.
25578 * include/utmp.h: Likewise.
25579 * include/wchar.h: Likewise.
25580 * include/wctype.h: Likewise.
25581 * inet/aliases.h: Likewise.
25582 * inet/arpa/inet.h: Likewise.
25583 * inet/netinet/ether.h: Likewise.
25584 * inet/netinet/in.h: Likewise.
25585 * intl/libintl.h: Likewise.
25586 * io/bits/fcntl2.h: Likewise.
25587 * io/fcntl.h: Likewise.
25588 * io/ftw.h: Likewise.
25589 * io/sys/poll.h: Likewise.
25590 * io/sys/stat.h: Likewise.
25591 * io/sys/statfs.h: Likewise.
25592 * io/sys/statvfs.h: Likewise.
25593 * io/utime.h: Likewise.
25594 * libio/bits/stdio.h: Likewise.
25595 * libio/bits/stdio2.h: Likewise.
25596 * libio/libio.h: Likewise.
25597 * libio/libioP.h: Likewise.
25598 * libio/stdio.h: Likewise.
25599 * locale/lc-ctype.c: Likewise.
25600 * locale/locale.h: Likewise.
25601 * login/utmp.h: Likewise.
25602 * malloc/arena.c: Likewise.
25603 * malloc/malloc.c: Likewise.
25604 * malloc/malloc.h: Likewise.
25605 * malloc/mcheck.c: Likewise.
25606 * malloc/mtrace.c: Likewise.
25607 * math/bits/mathcalls.h: Likewise.
25608 * math/fenv.h: Likewise.
25609 * math/math_private.h: Likewise.
25610 * misc/bits/error.h: Likewise.
25611 * misc/bits/syslog.h: Likewise.
25612 * misc/err.h: Likewise.
25613 * misc/error.h: Likewise.
25614 * misc/fstab.h: Likewise.
25615 * misc/mntent.h: Likewise.
25616 * misc/regexp.h: Likewise.
25617 * misc/search.h: Likewise.
25618 * misc/sgtty.h: Likewise.
25619 * misc/sys/mman.h: Likewise.
25620 * misc/sys/syslog.h: Likewise.
25621 * misc/sys/uio.h: Likewise.
25622 * misc/sys/xattr.h: Likewise.
25623 * misc/ttyent.h: Likewise.
25624 * nis/rpcsvc/ypclnt.h: Likewise.
25625 * nss/nss.h: Likewise.
25626 * posix/bits/unistd.h: Likewise.
25627 * posix/fnmatch.h: Likewise.
25628 * posix/glob.h: Likewise.
25629 * posix/sched.h: Likewise.
25630 * posix/spawn.h: Likewise.
25631 * posix/sys/wait.h: Likewise.
25632 * posix/unistd.h: Likewise.
25633 * posix/wordexp.h: Likewise.
25634 * pwd/pwd.h: Likewise.
25635 * resolv/netdb.h: Likewise.
25636 * resource/sys/resource.h: Likewise.
25637 * rt/aio.h: Likewise.
25638 * rt/bits/mqueue2.h: Likewise.
25639 * rt/mqueue.h: Likewise.
25640 * shadow/shadow.h: Likewise.
25641 * signal/signal.h: Likewise.
25642 * socket/send.c: Likewise.
25643 * socket/sendto.c: Likewise.
25644 * socket/sys/socket.h: Likewise.
25645 * stdio-common/printf.h: Likewise.
25646 * stdlib/bits/stdlib.h: Likewise.
25647 * stdlib/fmtmsg.h: Likewise.
25648 * stdlib/monetary.h: Likewise.
25649 * stdlib/stdlib.h: Likewise.
25650 * stdlib/ucontext.h: Likewise.
25651 * streams/stropts.h: Likewise.
25652 * string/argz.h: Likewise.
25653 * string/bits/string2.h: Likewise.
25654 * string/string.h: Likewise.
25655 * string/strings.h: Likewise.
25656 * sunrpc/rpc/auth.h: Likewise.
25657 * sunrpc/rpc/auth_des.h: Likewise.
25658 * sunrpc/rpc/clnt.h: Likewise.
25659 * sunrpc/rpc/netdb.h: Likewise.
25660 * sunrpc/rpc/pmap_clnt.h: Likewise.
25661 * sunrpc/rpc/xdr.h: Likewise.
25662 * sysdeps/generic/inttypes.h: Likewise.
25663 * sysdeps/generic/net/if.h: Likewise.
25664 * sysdeps/generic/sys/swap.h: Likewise.
25665 * sysdeps/gnu/net/if.h: Likewise.
25666 * sysdeps/gnu/utmpx.h: Likewise.
25667 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25668 * sysdeps/i386/i486/bits/string.h: Likewise.
25669 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25670 * sysdeps/s390/bits/string.h: Likewise.
25671 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25672 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25673 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25674 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25675 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25676 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25677 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25678 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25679 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25680 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25681 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25682 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25683 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25684 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25685 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25686 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25687 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25689 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25690 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25691 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25692 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25693 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25694 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25695 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25696 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25697 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25698 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25699 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25700 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25701 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25702 * sysvipc/sys/ipc.h: Likewise.
25703 * sysvipc/sys/msg.h: Likewise.
25704 * sysvipc/sys/sem.h: Likewise.
25705 * sysvipc/sys/shm.h: Likewise.
25706 * termios/termios.h: Likewise.
25707 * time/sys/time.h: Likewise.
25708 * time/time.h: Likewise.
25709 * wcsmbs/bits/wchar2.h: Likewise.
25710 * wcsmbs/uchar.h: Likewise.
25711 * wcsmbs/wchar.h: Likewise.
25712 * wctype/wctype.h: Likewise.
25713
25714 [BZ #13551]
25715 * Makeconfig: Remove all but ELF support including AIX support.
25716 * Makerules: Likewise.
25717 * config.h.in: Likewise.
25718 * config.make.in: Likewise.
25719 * configure: Likewise.
25720 * configure.in: Likewise.
25721 * csu/Makefile: Likewise.
25722 * csu/version.c: Likewise.
25723 * debug/Makefile: Likewise.
25724 * dlfcn/Makefile: Likewise.
25725 * elf/Makefile: Likewise.
25726 * extra-lib.mk: Likewise.
25727 * iconv/Makefile: Likewise.
25728 * include/libc-symbols.h: Likewise.
25729 * include/shlib-compat.h: Likewise.
25730 * resolv/Makefile: Likewise.
25731 * resolv/res_libc.c: Likewise.
25732 * rt/Makefile: Likewise.
25733 * sysdeps/i386/asm-syntax.h: Likewise.
25734 * sysdeps/i386/sysdep.h: Likewise.
25735 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25736 * sysdeps/mach/sysdep.h: Likewise.
25737 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25738 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25739 * sysdeps/s390/asm-syntax.h: Likewise.
25740 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25741 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25742 * sysdeps/sh/sysdep.h: Likewise.
25743 * sysdeps/unix/sparc/sysdep.h: Likewise.
25744 * sysdeps/wordsize-32/divdi3.c: Likewise.
25745 * sysdeps/x86_64/sysdep.h: Likewise.
25746
25747 * argp/Versions: Remove _argp_unlock_xxx.
25748
25749 [BZ #13559]
25750 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25751 * abilist/libBrokenLocale.abilist: Likewise.
25752 * abilist/libanl.abilist: Likewise.
25753 * abilist/libc.abilist: Likewise.
25754 * abilist/libcrypt.abilist: Likewise.
25755 * abilist/libdl.abilist: Likewise.
25756 * abilist/libm.abilist: Likewise.
25757 * abilist/libnsl.abilist: Likewise.
25758 * abilist/libpthread.abilist: Likewise.
25759 * abilist/libresolv.abilist: Likewise.
25760 * abilist/librt.abilist: Likewise.
25761 * abilist/libthread_db.abilist: Likewise.
25762 * abilist/libutil.abilist: Likewise.
25763 * abilist/libnss_db.abilist: New file.
25764
25765 * scripts/abilist.awk: Add support for indirect functions.
25766
25767 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25768
25769 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25770
25771 * shlib-versions: Remove entries for ports architectures.
25772
25773 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25774 files in ports.
25775 * elf/stackguard-macros.h: Remove support for IA-64.
25776 * elf/tst-auditmod1.c: Likewise.
25777 * sysdeps/generic/ldsodefs.h: Likewise.
25778
25779 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25780 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25781 configure files.
25782
25783 [BZ #13552]
25784 * configure.in: Remove --enable-omitfp support.
25785 * FAQ.in: Adjust.
25786 * config.make.in: Likewise.
25787 * Makeconfig: Likewise.
25788 * manual/install.texi: Likewise.
25789
25790 In case anyone cares, the IA-64 architecture could move to ports.
25791 * sysdeps/ia64/*: Removed.
25792 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25793 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25794
25795 [BZ #13555]
25796 * configure.in: Remove entries for unsupported architectures.
25797
25798 [BZ #13533]
25799 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25800 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25801 routines.
25802 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25803 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25804 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25805 fall back to using wcrtomb.
25806 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25807 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25808 renaming.
25809 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25810 * wcsmbs/tst-c16c32-1.c: New file.
25811
25812 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25813 local variable.
25814
25815 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25816
25817 * elf/tst-unique3.cc: Add explicit declaration of gets.
25818 * elf/tst-unique3lib.cc: Likewise.
25819 * elf/tst-unique3lib2.cc: Likewise.
25820 * elf/tst-unique4.cc: Likewise.
25821
25822 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25823
25824 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25825
25826 [BZ #13566]
25827 * assert/assert.h (static_assert): Don't define for C++.
25828 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25829 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25830
25831 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25832
25833 * iconv/loop.c (single loop): Fix assertion in storing of
25834 remaining bytes.
25835
25836 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25837
25838 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25839
25840 * posix/getconf.c: Update copyright year.
25841 * nss/getent.c: Likewise.
25842 * nss/makedb.c: Likewise.
25843 * iconv/iconvconfig.c: Likewise.
25844 * iconv/iconv_prog.c: Likewise.
25845 * elf/ldconfig.c: Likewise.
25846 * elf/pldd.c: Likewise.
25847 * elf/sotruss.ksh: Likewise.
25848 * catgets/gencat.c: Likewise.
25849 * csu/version.c: Likewise.
25850 * elf/ldd.bash.in: Likewise.
25851 * elf/sprof.c (print_version): Likewise.
25852 * locale/programs/locale.c: Likewise.
25853 * locale/programs/localedef.c: Likewise.
25854 * login/programs/pt_chown.c: Likewise.
25855 * nscd/nscd.c (print_version): Likewise.
25856 * debug/xtrace.sh: Likewise.
25857 * malloc/memusage.sh: Likewise.
25858 * malloc/mtrace.pl: Likewise.
25859 * debug/catchsegv.sh: Likewise.
25860
25861 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25862
25863 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25864 pure attribute.
25865
25866 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25867
25868 [BZ #13533]
25869 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25870 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25871 transformations.
25872 * iconv/gconv_int.h: Likewise.
25873 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25874 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25875 from libc for GLIBC_2.16.
25876 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25877 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25878 * wcsmbs/uchar.h: Really define mbstate_t.
25879 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25880 * wcsmbs/c16rtomb.c: New file.
25881 * wcsmbs/mbrtoc16.c: New file.
25882 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25883 for C/POSIX locale.
25884 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25885 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25886
25887 * wcsmbs/wchar.h: Add missing __restrict.
25888
25889 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25890
25891 [BZ #13532]
25892 * time/Makefile (routines): Add timespec_get.
25893 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25894 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25895 timespec for ISO C11.
25896 * time/timespec_get.c: New file.
25897 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25898 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25899
25900 [BZ #13531]
25901 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25902 * stdlib/stdlib.h: Declare aligned_alloc.
25903 * Versions.def: Add GLIBC_2.16 for libc.
25904 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25905
25906 [BZ 13527]
25907 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25908 ISO C11.
25909
25910 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25911 code.
25912
25913 [BZ #13528]
25914 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25915
25916 [BZ #13529]
25917 * assert/assert.h (static_assert): Define.
25918
25919 * version.h: Update for 2.16 development version.
25920
25921 [BZ #13526]
25922 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25923 _ISOC11_SOURCE.
25924
25925 * version.h (RELEASE): Bump for 2.15 release.
25926 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25927
25928 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25929 Patch by Marek Polacek <mpolacek@redhat.com>.
25930
25931 * bits/byteswap.h: Protect long long constants with __extension__.
25932 * sysdeps/i386/bits/byteswap.h: Likewise.
25933 * sysdeps/ia64/bits/byteswap.h: Likewise.
25934 * sysdeps/s390/bits/byteswap.h: Likewise.
25935 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25936
25937 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25938
25939 [BZ #13540]
25940 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25941 destination buffer.
25942 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25943
25944 2011-12-23 Marek Polacek <polacek@redhat.com>
25945
25946 * elf/dl-addr.c (determine_info): Add inline keyword.
25947 * elf/tst-auditmod4b.c (check_avx): Likewise.
25948 * elf/tst-auditmod6b.c (check_avx): Likewise.
25949 * elf/tst-auditmod6c.c (check_avx): Likewise.
25950 * elf/tst-auditmod7b.c (check_avx): Likewise.
25951
25952 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25953
25954 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25955 !__SSE_MATH__.
25956
25957 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25958
25959 [BZ #13540]
25960 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25961 processing for last bytes.
25962
25963 2011-08-06 Bruno Haible <bruno@clisp.org>
25964
25965 [BZ #13061]
25966 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25967 U+0385, not to U+1FEE.
25968
25969 [BZ #13062]
25970 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25971 entry for U+00A5 U+0301.
25972
25973 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25974
25975 [BZ #13166]
25976 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25977 buffer for the output is too small.
25978
25979 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25980 optimization.
25981
25982 [BZ #13185]
25983 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25984 SSE flags if possible.
25985
25986 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25987
25988 [BZ #13540]
25989 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25990 processing for last bytes.
25991
25992 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25993
25994 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25995 (syscall-list-default-options, syscall-list-default-condition)
25996 (syscall-list-includes): Define.
25997 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25998 list of ABIs and options and #if conditions for each ABI. Do not
25999 handle common syscalls between ABIs specially.
26000 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26001 Remove.
26002 (syscall-list-variants, syscall-list-32bit-options)
26003 (syscall-list-32bit-condition, syscall-list-64bit-options)
26004 (syscall-list-64bit-condition): Define.
26005 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26006 (syscall-list-variants, syscall-list-32bit-options)
26007 (syscall-list-32bit-condition, syscall-list-64bit-options)
26008 (syscall-list-64bit-condition): Define.
26009 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26010 Remove.
26011 (syscall-list-variants, syscall-list-32bit-options)
26012 (syscall-list-32bit-condition, syscall-list-64bit-options)
26013 (syscall-list-64bit-condition): Define.
26014 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26015 Remove.
26016 (syscall-list-variants, syscall-list-32bit-options)
26017 (syscall-list-32bit-condition, syscall-list-64bit-options)
26018 (syscall-list-64bit-condition): Define.
26019
26020 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26021
26022 * locale/iso-639.def: Add brx entry.
26023
26024 [BZ #13328]
26025 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26026 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26027
26028 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26029 __feraiseexcept_renamed.
26030
26031 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26032
26033 [BZ #13538]
26034 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26035 EPOLLET with unsigned values.
26036 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26037 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26038
26039 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26040 to large cancellation.
26041 * math/s_cacoshf.c: Likewise.
26042 * math/s_cacoshl.c: Likewise.
26043
26044 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26045
26046 [BZ #13305]
26047 [BZ #12786]
26048 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26049 * math/s_cacoshf.c: Likewise.
26050 * math/s_cacoshl.c: Likewise.
26051
26052 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26053
26054 [BZ #13439]
26055 * iconv/gconv.h: Define __GCONV_SWAP.
26056 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26057 * iconvdata/utf-16.c: Likewise.
26058 * iconvdata/utf-32.c: Likewise.
26059
26060 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26061
26062 [BZ #13524]
26063 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26064 numerator after shifting it by one limb.
26065
26066 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26067
26068 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26069 under [__USE_EXTERN_INLINES].
26070
26071 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26072
26073 [BZ #13446]
26074 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26075
26076 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26077
26078 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26079 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26080 optimized code.
26081 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26082 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26083 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26084 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26085 for strncasecmp/strncasecmp_l compilation.
26086 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26087 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26088
26089 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26090
26091 [BZ #13484]
26092 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26093 of __asm__.
26094
26095 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26096
26097 [BZ #13506]
26098 * time/tzfile.c (__tzfile_read): Check values from file header.
26099
26100 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26101
26102 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26103 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26104 * powerpc/powerpc32/dl-start.S: Likewise.
26105 * powerpc/powerpc32/elf/start.S: Likewise.
26106 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26107 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26108 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26109 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26110 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26111 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26112 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26113 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26114 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26115 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26116 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26117 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26118 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26119 * powerpc/powerpc32/memset.S: Likewise.
26120 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26121 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26122 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26123 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26124 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26125 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26126 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26127 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26128 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26129 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26130 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26131 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26132 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26133
26134 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26135
26136 * math/libm-test.inc: Added more nearbyint tests.
26137 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26138 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26139 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26140 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26141
26142 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26143
26144 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26145 FD_CLOEXEC.
26146
26147 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26148
26149 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26150 Add wcscpy-ssse3 wcscpy-c.
26151 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26152 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26153 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26154 * sysdeps/x86_64/wcschr.S: New file.
26155 * sysdeps/x86_64/wcsrchr.S: New file.
26156 * string/test-strcmp.c: Remove checking of wcscmp function for
26157 wrong alignments.
26158 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26159 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26160 wcsrchr-sse2 wcsrchr-c.
26161 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26162 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26163 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26164 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26165 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26166 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26167 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26168 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26169 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26170 * wcsmbc/wcschr.c (WCSCHR): New macro.
26171
26172 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26173
26174 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26175 * wcsmbs/test-wcsrchr.c: New file.
26176 * string/test-strrchr.c: Add wcsrchr support.
26177 (WIDE): New macro.
26178 * wcsmbs/test-wcscpy.c: New file.
26179 * string/test-strcpy.c: Add wcscpy support.
26180 (WIDE): New macro.
26181
26182 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26183
26184 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26185 the inner loop.
26186
26187 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26188
26189 [BZ #13472]
26190 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26191
26192 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26193
26194 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26195 Minor optimizations.
26196
26197 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26198 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26199 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26200
26201 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26202
26203 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26204 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26205 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26206 for gcc to avoid warnings.
26207 * inet/Makefile (tests): Add tst-checks.
26208 * inet/tst-checks.c: New file.
26209
26210 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26211 warning.
26212
26213 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26214 __wmemcmp_sse2.
26215
26216 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26217 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26218
26219 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26220
26221 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26222
26223 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26224 problem.
26225
26226 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26227
26228 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26229
26230 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26231 conditional on GCC version.
26232 (__arch_compare_and_exchange_val_8_acq)
26233 (__arch_compare_and_exchange_val_16_acq)
26234 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26235 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26236 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26237
26238 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26239
26240 * sysdeps/sh/backtrace.c: New file.
26241
26242 2011-12-02 Andreas Schwab <schwab@redhat.com>
26243
26244 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26245 parenthesis.
26246
26247 2011-12-01 Andreas Schwab <schwab@redhat.com>
26248
26249 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26250 falling back to utime.
26251
26252 2011-11-30 Andreas Schwab <schwab@redhat.com>
26253
26254 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26255 expectations for float.
26256
26257 2011-11-29 Andreas Schwab <schwab@redhat.com>
26258
26259 * locale/weight.h (findidx): Add parameter len.
26260 * locale/weightwc.h (findidx): Likewise.
26261 * posix/fnmatch_loop.c (FCT): Adjust caller.
26262 * posix/regcomp.c (build_equiv_class): Likewise.
26263 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26264 * posix/regexec.c (check_node_accept_bytes): Likewise.
26265 * string/strcoll_l.c (STRCOLL): Likewise.
26266 * string/strxfrm_l.c (STRXFRM): Likewise.
26267
26268 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26269
26270 * Makefile.in: Remove CVSOPT handling.
26271 * configure.in: Remove use of AC_REVISION.
26272 * iconvdata/Makefile (distribute): No need to filter out CVS.
26273 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26274 handling.
26275
26276 2011-11-16 Andreas Schwab <schwab@redhat.com>
26277
26278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26279 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26280 [USE_AS_STRNCASECMP_L]: Likewise.
26281 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26282 NO_TLS_DIRECT_SEG_REFS.
26283 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26284 Fix argument offsets for non-PIC.
26285 [USE_AS_STRNCASECMP_L]: Likewise.
26286 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26287 NO_TLS_DIRECT_SEG_REFS.
26288
26289 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26290
26291 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26292 O_CLOEXEC.
26293 * locale/loadlocale.c (_nl_load_locale): Likewise.
26294
26295 2011-11-15 Andreas Schwab <schwab@redhat.com>
26296
26297 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26298 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26299 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26300 (SYSCALL_GETTIME): Set errno on error.
26301
26302 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26303 count references to noai6ai_cached.
26304
26305 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26306
26307 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26308
26309 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26310 FD_CLOEXEC for /proc/self/maps.
26311
26312 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26313 FD_CLOEXEC for /proc/meminfo.
26314
26315 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26316 gai.conf.
26317
26318 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26319 FD_CLOEXEC for given file.
26320
26321 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26322
26323 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26324 FD_CLOEXEC for /etc/hosts.
26325 (_gethtent): Likewise.
26326
26327 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26328
26329 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26330 cancellation and set FD_CLOEXEC for /etc/netgroup.
26331
26332 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26333 reading /etc/publickey.
26334
26335 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26336 allow cancellation when reading /etc/group.
26337
26338 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26339 cancellation.
26340 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26341
26342 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26343 when using data file.
26344
26345 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26346
26347 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26348 (write_nis_obj): Use "c" and "e" in fopen.
26349
26350 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26351
26352 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26353
26354 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26355
26356 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26357
26358 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26359 locale.alias.
26360
26361 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26362
26363 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26364
26365 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26366
26367 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26368 file parsing and set FD_CLOEXEC.
26369
26370 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26371
26372 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26373
26374 2011-11-14 Andreas Schwab <schwab@redhat.com>
26375
26376 * malloc/arena.c (arena_get2): Don't call reused_arena when
26377 _int_new_arena failed.
26378
26379 2011-11-14 Ulrich Drepper <drepper@gmail.com>
26380
26381 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26382 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26383 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26384 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26385 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26386 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26387 to compile strcasecmp and strncasecmp.
26388 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26389 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26390
26391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26392
26393 2011-11-13 Ulrich Drepper <drepper@gmail.com>
26394
26395 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26396 locale-defines.sym to gen-as-const-headers.
26397 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26398 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26399 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26400 to compile strcasecmp and strncasecmp.
26401 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26402 strcasecmp_l and strncasecmp_l.
26403 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26404 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26405 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26406 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26407 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26408 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26409 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26410 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26411 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26412 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26413 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26414
26415 2011-11-12 Ulrich Drepper <drepper@gmail.com>
26416
26417 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26418 result of SYSDEP_GETTIME_CPU to retval.
26419 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26420 parameter list to macro. Remove trailing semicolon. Adjust users.
26421
26422 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26423 variable.
26424
26425 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26426 mantissa words.
26427 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26428
26429 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26430 from unused variable.
26431
26432 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26433 DWARF definitions.
26434 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26435 for assembling.
26436
26437 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26438 over namespaces.
26439
26440 * sunrpc/rpc_prot.c (rejected): Fix case value.
26441
26442 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26443 unsigned long long int to avoid warnings in shift.
26444
26445 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26446 of use of trans.
26447 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26448 variable tmp.
26449
26450 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26451 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26452 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26453
26454 * nis/nis_table.c (nis_list): Use variable of correct type for
26455 result of __follow_path call.
26456
26457 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26458
26459 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26460 of math functions ceil, trunc, floor, round, and sqrt, when
26461 avaliable on the platform.
26462 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26463 name clash.
26464 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26465 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26466 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26467
26468 2011-10-30 Marek Polacek <mpolacek@redhat.com>
26469
26470 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26471 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26472
26473 2011-11-11 Roland McGrath <roland@hack.frob.com>
26474
26475 * include/unistd.h: Fix __readlink return type.
26476 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26477
26478 2011-11-11 Ulrich Drepper <drepper@gmail.com>
26479
26480 * stdlib/ucontext.h: Undo last change for makecontext.
26481
26482 2011-11-11 Andreas Schwab <schwab@redhat.com>
26483
26484 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26485
26486 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26487 * setjmp/setjmp.h: Mark functions as non-leaf.
26488 * setjmp/bits/setjmp2.h: Likewise.
26489 * stdlib/ucontext.h: Likewise.
26490
26491 2011-11-10 Andreas Schwab <schwab@redhat.com>
26492
26493 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26494 (reused_arena): Don't check arena limit.
26495 (arena_get2): Atomically check arena limit.
26496
26497 2011-11-08 Ulrich Drepper <drepper@gmail.com>
26498
26499 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26500 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26501
26502 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26503 instructions.
26504
26505 2011-11-07 Andreas Schwab <schwab@redhat.com>
26506
26507 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26508 handler when locking.
26509
26510 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26511 Fix size of allocated buffer.
26512
26513 2011-11-04 Andreas Schwab <schwab@redhat.com>
26514
26515 [BZ #10103]
26516 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26517 declarations for long double functions.
26518 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26519
26520 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26521
26522 2011-11-03 Andreas Schwab <schwab@redhat.com>
26523
26524 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26525 installed.
26526
26527 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26528 is disabled.
26529
26530 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26531
26532 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26533
26534 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26535
26536 * include/alloca.h (stackinfo_alloca_round): Define.
26537 (extend_alloca): Use it.
26538 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26539 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26540 here.
26541
26542 * scripts/check-local-headers.sh: Ignore libaudit.h.
26543
26544 * nscd/Makefile (extra-objs): Make recursively expanded.
26545
26546 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26547
26548 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26549 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26550
26551 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26552 * posix/tst-rfc3484-2.c: Likewise.
26553 * posix/tst-rfc3484-3.c: Likewise.
26554
26555 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26556 process_vm_writev.
26557 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26558 process_vm_writev.
26559 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26560 process_vm_writev from libc using GLIBC_2.15 version.
26561
26562 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26563
26564 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26565
26566 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26567 stack usage.
26568
26569 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26570
26571 [BZ #13367]
26572 * nss/getent.c (initgroups_keys): Show error message in case no group
26573 names are given.
26574
26575 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26576 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26577 __bump_nl_timestamp.
26578 * nscd/connections (nscd_init): When host database is served open
26579 netlink socket and request notification about configuration changes.
26580 (main_loop_poll): Track netlink file descriptor and bump timestamp
26581 in case data becomes available.
26582 (main_loop_epoll): Likewise.
26583 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26584 (database_pers_head): Add extra_data fileds.
26585 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26586 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26587 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26588 Adjust caller.
26589 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26590 in6ai data, call __free_in6ai.
26591 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26592 Add -DHAVE_NETLINK.
26593 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26594 interface information. Reuse previous data if netlink timestamp
26595 is not changed.
26596 (__bump_nl_timestamp): New function.
26597 (__free_in6ai): New function.
26598
26599 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26600
26601 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26602 close_not_cancel_no_status here.
26603 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26604
26605 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26606
26607 [BZ #13276]
26608 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26609 return value.
26610
26611 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26612 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26613 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26614
26615 2011-07-03 Andreas Jaeger <aj@suse.de>
26616
26617 [BZ #10709]
26618 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26619 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26620 * math/libm-test.inc (sin_test): Add test case.
26621
26622 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26623
26624 [BZ #13337]
26625 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26626 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26627
26628 * elf/chroot_canon.c (chroot_canon): Cleanups.
26629
26630 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26631
26632 [BZ #13335]
26633 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26634 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26635
26636 * string/test-strchr.c: Make usable for strchrnul testing.
26637 * string/test-strchrnul.c: New file.
26638 * string/Makefile (strop-tests): Add strchrnul.
26639
26640 * po/it.po: Update from translation team.
26641 * po/es.po: Likewise.
26642
26643 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26644
26645 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26646 the three constants needed as parameters. Drop the others.
26647 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26648 __m128i_strloadu_tolower.
26649 Create and initialize variable zero and use it in all the places
26650 where _mm_setzero_si128 was used.
26651
26652 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26653 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26654 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26655 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26656 anymore.
26657 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26658 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26659 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26660 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26661 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26662 __mpranred, __mptan.
26663 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26664 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26665 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26666 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26667 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26668 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26669 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26670 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26671 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26672
26673 2011-10-28 Andreas Schwab <schwab@redhat.com>
26674
26675 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26676 redefine if SHARED.
26677 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26678
26679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26680 wide char related routines to wcsmbs subdir.
26681
26682 2011-10-27 Andreas Schwab <schwab@redhat.com>
26683
26684 [BZ #13344]
26685 * misc/sys/cdefs.h (__THROWNL): Define.
26686 * posix/unistd.h: Use __THREADNL instead of __THREAD
26687 for memory synchronization functions.
26688
26689 2011-10-26 Roland McGrath <roland@hack.frob.com>
26690
26691 [BZ #13349]
26692 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26693 doesn't exist.
26694 * manual/stdio.texi (Obstack Streams): Node removed.
26695
26696 2011-10-26 Andreas Schwab <schwab@redhat.com>
26697
26698 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26699 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26700 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26701
26702 * math/math_private.h (math_force_eval): Allow non-addressable
26703 arguments.
26704 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26705
26706 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26707
26708 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26709 file is not needed.
26710
26711 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26712 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26713 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26714 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26715 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26716 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26717 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26718 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26719 Add AVX variants.
26720 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26721 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26722 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26723 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26724 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26725 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26726 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26727 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26728 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26729 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26730 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26731 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26732 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26733 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26734 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26735 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26736 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26737 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26738 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26739
26740 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26741 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26742
26743 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26744 place. Use VEX encoding when compiling for AVX.
26745
26746 2011-10-25 Andreas Schwab <schwab@redhat.com>
26747
26748 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26749 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26750
26751 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26752
26753 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26754
26755 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26756 useless if() expression.
26757 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26758 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26759 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26760 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26761 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26762 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26763 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26764 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26766 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26767 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26768 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26769 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26770 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26771 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26772 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26773 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26775 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26776
26777 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26778
26779 2011-10-25 Andreas Schwab <schwab@redhat.com>
26780
26781 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26782 condition.
26783 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26784
26785 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26786
26787 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26788 .text section. Avoid duplicate constants.
26789 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26790 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26791 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26792 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26793 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26794 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26795 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26796 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26797 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26798 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26799 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26800 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26801 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26802 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26803 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26804 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26805 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26806 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26807 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26808 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26809 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26810 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26811 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26812 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26813 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26814 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26815 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26816 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26817 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26818 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26819 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26820 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26821 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26822 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26823 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26824 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26825 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26826 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26827 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26828 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26829 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26830 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26831 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26832 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26833 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26834
26835 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26836
26837 * sysdeps/x86_64/dla.h: Move to ...
26838 * sysdeps/x86_64/fpu/dla.h: ...here.
26839 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26840 situations. Use __builtin_fma only for gcc 4.6 and up.
26841
26842 * config.make.in: Add have-mfma4 entry.
26843 * configure.in: Substitute libc_cv_cc_fma4.
26844 * math/Makefile (dbl-only-routines): Add sincostab.
26845 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26846 Use __sincostab not sincos.
26847 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26848 name is a macro.
26849 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26853 using __copysign.
26854 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26855 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26856 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26857 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26858 and __inv.
26859 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26860 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26861 __copysign.
26862 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26863 define aliases when function name is a macro.
26864 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26865 sysdeps/ieee754/dbl-64/sincos.tbl.
26866 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26867 fma4-enabled routines.
26868 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26869 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26870 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26871 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26872 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26873 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26874 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26875 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26876 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26877 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26878 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26879 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26880 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26881 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26882 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26883 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26884 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26885 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26886 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26887 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26888 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26889 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26890 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26891 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26892 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26893 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26894 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26895 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26896 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26897 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26898
26899 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26900 rename.
26901 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26908 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26909
26910 2011-10-24 Andreas Schwab <schwab@redhat.com>
26911
26912 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26913
26914 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26915
26916 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26917
26918 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26919 prediction.
26920 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26921
26922 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26923 Remove unused variable magic_bits.
26924 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26925
26926 * string/strnlen.c: Define and use STRNLEN macro.
26927 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26928 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26929 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26930 * wcsmbs/wcslen.c: Define and use WCSLEN.
26931 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26932 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26933 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26934 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26935 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26936 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26937 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26938
26939 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26940
26941 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26942 strnlen-sse2-no-bsf.
26943 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26944 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26945 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26946 Add strnlen support.
26947 (USE_AS_STRNLEN): New macro.
26948 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26949 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26950 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26951 * sysdeps/x86_64/wcslen.S: New file.
26952
26953 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26954
26955 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26956 XMM-moves are used for copying on small sizes.
26957
26958 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26959
26960 * wcsmbs/Makefile (strop-tests): Add wcschr.
26961 * wcsmbs/test-wcschr.c: New file.
26962 * string/test-strchr.c: Update.
26963 Add wcschr support.
26964 (WIDE): New macro.
26965
26966 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26967
26968 * wcsmbs/Makefile (strop-tests): Add wcslen.
26969 * wcsmbs/test-wcslen.c: New file.
26970 * string/test-strlen.c: Update.
26971 Add wcslen support.
26972 (WIDE): New macro.
26973
26974 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26975
26976 * po/it.po: Update from translation team.
26977
26978 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26979
26980 * sysdeps/x86_64/wcscmp.S: Update.
26981 Fix wrong comparison semantics.
26982 wcscmp shall use signed comparison not unsigned.
26983 Don't use substraction to avoid overflow bug.
26984 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26985 * wcsmbc/wcscmp.c: Likewise.
26986 * string/test-strcmp.c: Likewise.
26987 Add new tests to check cases with negative values.
26988
26989 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26990
26991 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26992 * sysdeps/x86_64/dla.h: ...here. New file.
26993 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26994 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26995 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26998 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27002
27003 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27004
27005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27006 __ynl_finite aliases.
27007
27008 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27009
27010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27011
27012 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27013 define DLA_FMA.
27014 [DLA_FMA] (EMULV): Use DLA_FMA.
27015 [DLA_FMA] (MUL12): Use EMULV.
27016 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27017 that are not needed.
27018 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27019 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27022 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27023 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27024 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27025
27026 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27027
27028 * math/s_nan.c: Undef __nan.
27029 * math/s_nanf.c: Undef __nanf.
27030 * math/s_nanl.c: Undef __nanl.
27031 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27032 "math_private.h".
27033
27034 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27035
27036 * math/s_catan.c: Add branch predictions.
27037 * math/s_catanf.c: Likewise.
27038 * math/s_catanh.c: Likewise.
27039 * math/s_catanhf.c: Likewise.
27040 * math/s_catanhl.c: Likewise.
27041 * math/s_catanl.c: Likewise.
27042 * math/s_cexp.c: Likewise.
27043 * math/s_cexpf.c: Likewise.
27044 * math/s_cexpl.c: Likewise.
27045 * math/s_clog.c: Likewise.
27046 * math/s_clog10.c: Likewise.
27047 * math/s_clog10f.c: Likewise.
27048 * math/s_clog10l.c: Likewise.
27049 * math/s_clogf.c: Likewise.
27050 * math/s_clogl.c: Likewise.
27051 * math/s_csqrt.c: Likewise.
27052 * math/s_csqrtf.c: Likewise.
27053 * math/s_csqrtl.c: Likewise.
27054 * math/s_ctanf.c: Likewise.
27055 * math/s_ctanh.c: Likewise.
27056 * math/s_ctanhf.c: Likewise.
27057 * math/s_ctanhl.c: Likewise.
27058 * math/s_ctanl.c: Likewise.
27059
27060 * math/math_private.h: Define __nan, __nanf, __nanl.
27061 * math/s_cacosh.c: Include <math_private.h>.
27062 * math/s_cacoshl.c: Likewise.
27063 * math/s_casinh.c: Likewise.
27064 * math/s_casinhf.c: Likewise.
27065 * math/s_casinhl.c: Likewise.
27066 * math/s_ccos.c: Rely entire on ccosh.
27067 * math/s_ccosf.c: Rely entire on ccoshf.
27068 * math/s_ccosl.c: Rely entirely on ccoshl.
27069 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27070 Remove tests for FE_INVALID.
27071 * math/s_ccoshf.c: Likewise.
27072 * math/s_ccoshl.c: Likewise.
27073 * math/s_csin.c: Likewise.
27074 * math/s_csinf.c: Likewise.
27075 * math/s_csinh.c Likewise.
27076 * math/s_csinhf.c: Likewise.
27077 * math/s_csinhl.c: Likewise.
27078 * math/s_csinl.c: Likewise.
27079 * math/s_ctan.c: Likewise.
27080 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27081 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27082 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27083
27084 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27085
27086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27087 compilation problems.
27088
27089 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27090 __builtin_expect.
27091
27092 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27093
27094 * sysdeps/i386/configure.in: Test for -mfma4 option.
27095 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27096 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27097 COMMON_CPUID_INDEX_80000001.
27098 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27099 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27100 use it if FMA3 is not supported.
27101 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27102
27103 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27104 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27105
27106 2011-10-20 Andreas Schwab <schwab@redhat.com>
27107
27108 [BZ #12892]
27109 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27110 it would create a cycle with a link time dependency.
27111
27112 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27113
27114 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27115 instruction.
27116 * string/Makefile (strop-tests): Add rawmemchr.
27117 * string/test-rawmemchr.c: New file.
27118
27119 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27120 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27121 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27122 when compiling str{,n}casecmp and when AVX is available. Hook up
27123 new optimized code in initializers.
27124
27125 2011-10-19 Andreas Schwab <schwab@redhat.com>
27126
27127 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27128 __feraiseexcept instead of feraiseexcept.
27129
27130 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27131
27132 * math/math_private.h: Define defaults for libc_fetestexcept and
27133 libc_feupdateenv.
27134 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27135 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27136 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27137 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27138 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27139 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27140 libc_fetestexcept and libc_feupdateenv.
27141
27142 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27143 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27144 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27145 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27146 libc_feholdexcept_setround.
27147
27148 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27149 Add s_nearbyint-c and s_nearbyintf-c.
27150 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27151 nearbyintf inlines.
27152 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27153 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27154 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27155 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27156
27157 * math/math_private.h: Define defaults for libc_fegetround,
27158 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27159 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27160 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27161 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27162 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27163 standard functions.
27164 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27165 Remove comments and hacks for old compiler versions.
27166 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27167 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27168 libc_feholdexceptl.
27169
27170 2011-10-18 Andreas Schwab <schwab@redhat.com>
27171
27172 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27173 (__feraiseexcept_renamed): Add __NTH.
27174 (feraiseexcept): Add __NTH. Rename local variables to fix
27175 namespace violations.
27176
27177 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27178
27179 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27180
27181 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27182
27183 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27184 recently added interfaces.
27185 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27186
27187 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27188 about macro parameter expansion.
27189
27190 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27191 __NO_MATH_INLINES is defined. Cleanups.
27192
27193 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27194 and __floorf is target has SSE4.1.
27195 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27196 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27197 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27198 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27199
27200 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27201 name.
27202 (floorf): Likewise.
27203
27204 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27205
27206 2011-10-17 Andreas Schwab <schwab@redhat.com>
27207
27208 * misc/sys/cdefs.h: Fix last change.
27209
27210 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27211 database lookup.
27212
27213 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27214
27215 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27216
27217 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27218 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27219 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27221 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27223 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27224 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27225 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27226 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27227 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27228 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27229 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27230 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27231 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27232 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27233 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27234 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27235 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27236 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27237 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27238 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27239
27240 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27241 ceil, ceilf, floor, floorf.
27242
27243 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27244 Perform IRELATIVE relocations last.
27245
27246 * elf/do-rel.h: Add another parameter nrelative, replacing the
27247 local variable with the same name. Change name of the function
27248 to end in Rel or Rela (uppercase).
27249 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27250 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27251 elf_dynamic_do_##reloc function.
27252
27253 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27254
27255 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27256 is sufficient, at least on modern CPUs.
27257
27258 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27259
27260 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27261 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27262
27263 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27264 __expl_finite.
27265 * math/bits/math-finite.h: Add entries for exp.
27266 * math/e_expl.c: Add __*_finite alias.
27267 * sysdeps/i386/fpu/e_exp.S: Likewise.
27268 * sysdeps/i386/fpu/e_expf.S: Likewise.
27269 * sysdeps/i386/fpu/e_expl.c: Likewise.
27270 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27271 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27272 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27273 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27274 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27275 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27276 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27277
27278 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27279 is sufficient, at least on modern CPUs.
27280
27281 * ctype/ctype-info.c (__ctype_init): Define.
27282 * include/ctype.h (__ctype_init): Declare.
27283 (__ctype_b_loc): The variable is always initialized.
27284 (__ctype_toupper_loc): Likewise.
27285 (__ctype_tolower_loc): Likewise.
27286 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27287 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27288
27289 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27290
27291 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27292
27293 * configure.in: Also look in $cxxmachine/include for C++ system
27294 headers.
27295
27296 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27297
27298 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27299 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27300 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27301 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27302 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27303 (USE_AS_WMEMCMP): New macro.
27304 Fixing indents.
27305 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27306 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27307 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27308 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27310 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27311 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27312 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27313 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27314 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27315 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27316 (USE_AS_WMEMCMP): New macro.
27317 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27318 * sysdeps/string/test-memcmp.c: Update.
27319 Fix simple_wmemcmp.
27320 Add new tests.
27321 * wcsmbs/wmemcmp.c: Update.
27322 (WMEMCMP): New macro.
27323 Fix overflow bug.
27324
27325 2011-10-12 Andreas Jaeger <aj@suse.de>
27326
27327 [BZ #13268]
27328 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27329
27330 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27331
27332 * libio/iofwide.c (do_length): Avoid warning.
27333
27334 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27335
27336 2011-10-14 Ulrich Drepper <drepper@gmail.com>
27337
27338 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27339
27340 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27341 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27342 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27343 * sysdeps/i386/i686/fpu/e_log.S: New file.
27344 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27345 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27346
27347 * ctype/ctype.h: Add support for inlined isXXX functions when
27348 compiling C++ code.
27349
27350 2011-10-14 Andreas Schwab <schwab@redhat.com>
27351
27352 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27353
27354 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27355
27356 2011-10-13 Roland McGrath <roland@hack.frob.com>
27357
27358 [BZ #13291]
27359 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27360
27361 2011-10-13 Andreas Schwab <schwab@redhat.com>
27362
27363 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27364 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27365 feraiseexcept.
27366
27367 * sysdeps/x86_64/memrchr.S: Check for zero size.
27368
27369 * string/stratcliff.c: Add memrchr tests.
27370
27371 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27372
27373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27374 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27375 rawmemchr-sse2 rawmemchr-sse2-bsf.
27376 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27377 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27378 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27379 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27380 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27381 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27382 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27383 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27384 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27385 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27386 * string/memrchr.c (MEMRCHR): New macro.
27387
27388 2011-10-12 Ulrich Drepper <drepper@gmail.com>
27389
27390 Add integration with gcc's -ffinite-math-only and optimize wrapper
27391 functions in libm.
27392 * Versions.def: Define GLIBC_2.15 version for libm.
27393 * math/Makefile (headers): Add bits/math-finite.h.
27394 * math/bits/math-finite.h: New file.
27395 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27396 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27397 * math/e_acoshl.c: Add __*_finite alias.
27398 * math/e_acosl.c: Likewise.
27399 * math/e_asinl.c: Likewise.
27400 * math/e_atan2l.c: Likewise.
27401 * math/e_atanhl.c: Likewise.
27402 * math/e_coshl.c: Likewise.
27403 * math/e_exp10.c: Likewise.
27404 * math/e_exp10f.c: Likewise.
27405 * math/e_exp10l.c: Likewise.
27406 * math/e_exp2l.c: Likewise.
27407 * math/e_fmodl.c: Likewise.
27408 * math/e_gammal_r.c: Likewise.
27409 * math/e_hypotl.c: Likewise.
27410 * math/e_j0l.c: Likewise.
27411 * math/e_j1l.c: Likewise.
27412 * math/e_jnl.c: Likewise.
27413 * math/e_lgammal_r.c: Likewise.
27414 * math/e_log10l.c: Likewise.
27415 * math/e_log2l.c: Likewise.
27416 * math/e_logl.c: Likewise.
27417 * math/e_powl.c: Likewise.
27418 * math/e_sinhl.c: Likewise.
27419 * math/e_sqrtl.c: Likewise.
27420 * math/e_scalb.c: Completely rewritten and optimized.
27421 * math/e_scalbf.c: Likewise.
27422 * math/e_scalbl.c: Likewise.
27423 * math/w_acos.c: Likewise.
27424 * math/w_acosf.c: Likewise.
27425 * math/w_acosl.c: Likewise.
27426 * math/w_acosh.c: Likewise.
27427 * math/w_acoshf.c: Likewise.
27428 * math/w_acoshl.c: Likewise.
27429 * math/w_asin.c: Likewise.
27430 * math/w_asinf.c: Likewise.
27431 * math/w_asinl.c: Likewise.
27432 * math/w_atan2.c: Likewise.
27433 * math/w_atan2f.c: Likewise.
27434 * math/w_atan2l.c: Likewise.
27435 * math/w_atanh.c: Likewise.
27436 * math/w_atanhf.c: Likewise.
27437 * math/w_atanhl.c: Likewise.
27438 * math/w_exp10.c: Likewise.
27439 * math/w_exp10f.c: Likewise.
27440 * math/w_exp10l.c: Likewise.
27441 * math/w_fmod.c: Likewise.
27442 * math/w_fmodf.c: Likewise.
27443 * math/w_fmodl.c: Likewise.
27444 * math/w_j0.c: Likewise.
27445 * math/w_j0f.c: Likewise.
27446 * math/w_j0l.c: Likewise.
27447 * math/w_j1.c: Likewise.
27448 * math/w_j1f.c: Likewise.
27449 * math/w_j1l.c: Likewise.
27450 * math/w_jn.c: Likewise.
27451 * math/w_jnf.c: Likewise.
27452 * math/w_log.c: Likewise.
27453 * math/w_logf.c: Likewise.
27454 * math/w_logl.c: Likewise.
27455 * math/w_log10.c: Likewise.
27456 * math/w_log10f.c: Likewise.
27457 * math/w_log10l.c: Likewise.
27458 * math/w_log2.c: Likewise.
27459 * math/w_log2f.c: Likewise.
27460 * math/w_log2l.c: Likewise.
27461 * math/w_pow.c: Likewise.
27462 * math/w_powf.c: Likewise.
27463 * math/w_powl.c: Likewise.
27464 * math/w_remainder.c: Likewise.
27465 * math/w_remainderf.c: Likewise.
27466 * math/w_remainderl.c: Likewise.
27467 * math/w_scalb.c: Likewise.
27468 * math/w_scalbf.c: Likewise.
27469 * math/w_scalbl.c: Likewise.
27470 * math/w_sqrt.c: Likewise.
27471 * math/w_sqrtf.c: Likewise.
27472 * math/w_sqrtl.c: Likewise.
27473 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27474 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27475 used.
27476 * math/math_private.h: Declare __kernel_standard_f.
27477 * math/w_cosh.c: Remove cruft and optimize a bit.
27478 * math/w_coshf.c: Likewise.
27479 * math/w_coshl.c: Likewise.
27480 * math/w_exp2.c: Likewise.
27481 * math/w_exp2f.c: Likewise.
27482 * math/w_exp2l.c: Likewise.
27483 * math/w_hypot.c: Likewise.
27484 * math/w_hypotf.c: Likewise.
27485 * math/w_hypotl.c: Likewise.
27486 * math/w_lgamma.c: Likewise.
27487 * math/w_lgamma_r.c: Likewise.
27488 * math/w_lgammaf.c: Likewise.
27489 * math/w_lgammaf_r.c: Likewise.
27490 * math/w_lgammal.c: Likewise.
27491 * math/w_lgammal_r.c: Likewise.
27492 * math/w_sinh.c: Likewise.
27493 * math/w_sinhf.c: Likewise.
27494 * math/w_sinhl.c: Likewise.
27495 * math/w_tgamma.c: Likewise.
27496 * math/w_tgammaf.c: Likewise.
27497 * math/w_tgammal.c: Likewise.
27498 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27499 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27500 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27501 Minor optimizations. Pretty printing. Remove cruft.
27502 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27503 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27504 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27505 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27506 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27507 * sysdeps/i386/fpu/e_asin.S: Likewise.
27508 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27509 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27510 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27511 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27512 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27513 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27514 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27515 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27516 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27517 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27518 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27519 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27520 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27521 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27522 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27523 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27524 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27525 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27526 * sysdeps/i386/fpu/e_log.S: Likewise.
27527 * sysdeps/i386/fpu/e_log10.S: Likewise.
27528 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27529 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27530 * sysdeps/i386/fpu/e_log2.S: Likewise.
27531 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27532 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27533 * sysdeps/i386/fpu/e_logf.S: Likewise.
27534 * sysdeps/i386/fpu/e_logl.S: Likewise.
27535 * sysdeps/i386/fpu/e_pow.S: Likewise.
27536 * sysdeps/i386/fpu/e_powf.S: Likewise.
27537 * sysdeps/i386/fpu/e_powl.S: Likewise.
27538 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27539 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27540 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27541 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27542 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27543 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27544 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27545 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27546 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27547 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27548 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27550 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27551 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27552 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27553 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27554 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27555 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27556 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27557 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27558 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27560 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27561 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27563 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27564 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27565 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27567 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27568 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27569 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27570 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27571 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27572 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27573 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27574 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27575 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27576 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27577 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27578 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27579 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27580 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27581 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27582 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27583 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27584 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27585 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27586 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27587 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27588 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27589 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27590 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27591 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27592 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27593 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27594 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27595 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27596 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27597 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27598 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27599 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27600 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27601 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27602 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27603 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27604 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27605 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27606 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27607 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27608 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27610 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27611 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27612 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27613 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27615 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27616 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27617 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27618 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27619 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27620 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27621 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27623 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27624 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27626 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27627 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27628 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27629 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27630 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27631 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27632 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27633 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27634 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27635 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27636 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27637 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27638 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27639 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27640 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27641 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27642 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27643 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27644 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27645 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27646 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27647 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27648 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27649 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27650 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27651 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27652 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27653 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27654 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27655 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27656 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27657 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27658 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27659 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27660 (__isnanf): Likewise.
27661 (__isinf_ns): Likewise.
27662 (__isinf_nsf): Likewise.
27663 (__finite): Likewise.
27664 (__finitef): Likewise.
27665 (__ieee754_sqrt): Define as macro.
27666 (__ieee754_sqrtf): Define as macro.
27667 (__ieee754_sqrtl): Define as macro.
27668 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27669 inlined copy.
27670 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27671 __FINITE_MATH_ONLY__ consistent.
27672 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27673
27674 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27675
27676 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27677 of rawmemchr.
27678
27679 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27680
27681 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27682
27683 * po/ja.po: Update from translation team.
27684
27685 2011-10-08 Roland McGrath <roland@hack.frob.com>
27686
27687 * locale/programs/locarchive.c (prepare_address_space): New function.
27688 (create_archive, enlarge_archive, open_archive): Use it.
27689
27690 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27691 inside [SHARED], where it is used.
27692
27693 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27694
27695 * nss/getent.c (netgroup_keys): Remove unused variable.
27696 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27697
27698 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27699
27700 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27701 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27702 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27703 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27704 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27705 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27706 * math/Makefile (libm-calls): Add s_isinf_ns.
27707 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27708 * math/multc3.c: Likewise.
27709 * math/s_casin.c: Likewise.
27710 * math/s_casinf.c: Likewise.
27711 * math/s_casinl.c: Likewise.
27712 * math/s_ccos.c: Likewise.
27713 * math/s_ccosf.c: Likewise.
27714 * math/s_ccosl.c: Likewise.
27715 * math/s_ctan.c: Likewise.
27716 * math/s_ctanf.c: Likewise.
27717 * math/s_ctanh.c: Likewise.
27718 * math/s_ctanhf.c: Likewise.
27719 * math/s_ctanhl.c: Likewise.
27720 * math/s_ctanl.c: Likewise.
27721 * math/w_fmod.c: Likewise.
27722 * math/w_fmodf.c: Likewise.
27723 * math/w_fmodl.c: Likewise.
27724 * math/w_remainder.c: Likewise.
27725 * math/w_remainderf.c: Likewise.
27726 * math/w_remainderl.c: Likewise.
27727 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27728 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27729 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27730 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27731 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27732 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27733 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27734 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27735
27736 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27737 of the number.
27738 * stdio-common/printf_fphex.c: Likewise.
27739 * stdio-common/printf_size.c: Likewise.
27740
27741 * math/e_exp10.c: Include math_private.h using <...> not "...".
27742 * math/e_exp10f.c: Likewise.
27743 * math/e_exp10l.c: Likewise.
27744 * math/e_exp2l.c: Likewise.
27745 * math/e_j0l.c: Likewise.
27746 * math/e_j1l.c: Likewise.
27747 * math/e_jnl.c: Likewise.
27748 * math/e_lgammal_r.c: Likewise.
27749 * math/e_rem_pio2l.c: Likewise.
27750 * math/e_scalb.c: Likewise.
27751 * math/e_scalbf.c: Likewise.
27752 * math/e_scalbl.c: Likewise.
27753 * math/k_cosl.c: Likewise.
27754 * math/k_sinl.c: Likewise.
27755 * math/k_tanl.c: Likewise.
27756 * math/s_cacoshf.c: Likewise.
27757 * math/s_catan.c: Likewise.
27758 * math/s_catanf.c: Likewise.
27759 * math/s_catanh.c: Likewise.
27760 * math/s_catanhf.c: Likewise.
27761 * math/s_catanhl.c: Likewise.
27762 * math/s_catanl.c: Likewise.
27763 * math/s_ccosh.c: Likewise.
27764 * math/s_ccoshf.c: Likewise.
27765 * math/s_ccoshl.c: Likewise.
27766 * math/s_cexp.c: Likewise.
27767 * math/s_cexpf.c: Likewise.
27768 * math/s_cexpl.c: Likewise.
27769 * math/s_clog.c: Likewise.
27770 * math/s_clog10.c: Likewise.
27771 * math/s_clog10f.c: Likewise.
27772 * math/s_clog10l.c: Likewise.
27773 * math/s_clogf.c: Likewise.
27774 * math/s_clogl.c: Likewise.
27775 * math/s_csin.c: Likewise.
27776 * math/s_csinf.c: Likewise.
27777 * math/s_csinh.c: Likewise.
27778 * math/s_csinhf.c: Likewise.
27779 * math/s_csinhl.c: Likewise.
27780 * math/s_csinl.c: Likewise.
27781 * math/s_csqrt.c: Likewise.
27782 * math/s_csqrtf.c: Likewise.
27783 * math/s_csqrtl.c: Likewise.
27784 * math/s_ctan.c: Likewise.
27785 * math/s_ctanf.c: Likewise.
27786 * math/s_ctanh.c: Likewise.
27787 * math/s_ctanhf.c: Likewise.
27788 * math/s_ctanhl.c: Likewise.
27789 * math/s_ctanl.c: Likewise.
27790 * math/s_ldexp.c: Likewise.
27791 * math/s_ldexpf.c: Likewise.
27792 * math/s_ldexpl.c: Likewise.
27793 * math/s_significand.c: Likewise.
27794 * math/s_significandf.c: Likewise.
27795 * math/s_significandl.c: Likewise.
27796 * math/w_acos.c: Likewise.
27797 * math/w_acosf.c: Likewise.
27798 * math/w_acosh.c: Likewise.
27799 * math/w_acoshf.c: Likewise.
27800 * math/w_acoshl.c: Likewise.
27801 * math/w_acosl.c: Likewise.
27802 * math/w_asin.c: Likewise.
27803 * math/w_asinf.c: Likewise.
27804 * math/w_asinl.c: Likewise.
27805 * math/w_atan2.c: Likewise.
27806 * math/w_atan2f.c: Likewise.
27807 * math/w_atan2l.c: Likewise.
27808 * math/w_atanh.c: Likewise.
27809 * math/w_atanhf.c: Likewise.
27810 * math/w_atanhl.c: Likewise.
27811 * math/w_cosh.c: Likewise.
27812 * math/w_coshf.c: Likewise.
27813 * math/w_coshl.c: Likewise.
27814 * math/w_dremf.c: Likewise.
27815 * math/w_exp10.c: Likewise.
27816 * math/w_exp10f.c: Likewise.
27817 * math/w_exp10l.c: Likewise.
27818 * math/w_exp2.c: Likewise.
27819 * math/w_exp2f.c: Likewise.
27820 * math/w_fmod.c: Likewise.
27821 * math/w_fmodf.c: Likewise.
27822 * math/w_fmodl.c: Likewise.
27823 * math/w_hypot.c: Likewise.
27824 * math/w_hypotf.c: Likewise.
27825 * math/w_hypotl.c: Likewise.
27826 * math/w_j0.c: Likewise.
27827 * math/w_j0f.c: Likewise.
27828 * math/w_j0l.c: Likewise.
27829 * math/w_j1.c: Likewise.
27830 * math/w_j1f.c: Likewise.
27831 * math/w_j1l.c: Likewise.
27832 * math/w_jn.c: Likewise.
27833 * math/w_jnf.c: Likewise.
27834 * math/w_jnl.c: Likewise.
27835 * math/w_lgamma.c: Likewise.
27836 * math/w_lgamma_r.c: Likewise.
27837 * math/w_lgammaf.c: Likewise.
27838 * math/w_lgammaf_r.c: Likewise.
27839 * math/w_lgammal.c: Likewise.
27840 * math/w_lgammal_r.c: Likewise.
27841 * math/w_log.c: Likewise.
27842 * math/w_log10.c: Likewise.
27843 * math/w_log10f.c: Likewise.
27844 * math/w_log10l.c: Likewise.
27845 * math/w_log2.c: Likewise.
27846 * math/w_log2f.c: Likewise.
27847 * math/w_log2l.c: Likewise.
27848 * math/w_logf.c: Likewise.
27849 * math/w_logl.c: Likewise.
27850 * math/w_pow.c: Likewise.
27851 * math/w_powf.c: Likewise.
27852 * math/w_powl.c: Likewise.
27853 * math/w_remainder.c: Likewise.
27854 * math/w_remainderf.c: Likewise.
27855 * math/w_remainderl.c: Likewise.
27856 * math/w_scalb.c: Likewise.
27857 * math/w_scalbf.c: Likewise.
27858 * math/w_scalbl.c: Likewise.
27859 * math/w_sinh.c: Likewise.
27860 * math/w_sinhf.c: Likewise.
27861 * math/w_sinhl.c: Likewise.
27862 * math/w_sqrt.c: Likewise.
27863 * math/w_sqrtf.c: Likewise.
27864 * math/w_sqrtl.c: Likewise.
27865 * math/w_tgamma.c: Likewise.
27866 * math/w_tgammaf.c: Likewise.
27867 * math/w_tgammal.c: Likewise.
27868
27869 * po/ja.po: Update from translation team.
27870
27871 2011-09-29 Andreas Jaeger <aj@suse.de>
27872
27873 [BZ #13179]
27874 * sunrpc/netname.c (netname2host): Fix logic.
27875
27876 [BZ #6779]
27877 [BZ #6783]
27878 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27879 correctly.
27880 * math/w_remainder.c (__remainder): Likewise.
27881 * math/w_remainderf.c (__remainderf): Likewise.
27882 * math/libm-test.inc (remainder_test): Add test cases.
27883
27884 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27885
27886 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27887 sdiv_qrnnd.
27888
27889 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27890
27891 * string/test-memcmp.c: Avoid unncessary #defines.
27892 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27893
27894 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27895
27896 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27897 Use new sse2 version for core i3 - i7 as it's faster
27898 than sse42 version.
27899 (bit_Prefer_PMINUB_for_stringop): New.
27900 * sysdeps/x86_64/rawmemchr.S: Update.
27901 Replace with faster SSE2 version.
27902 * sysdeps/x86_64/memrchr.S: New file.
27903 * sysdeps/x86_64/memchr.S: Update.
27904 Replace with faster SSE2 version.
27905
27906 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27907
27908 * elf/dl-load.c (lose): Add cast to avoid warning.
27909
27910 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27911
27912 * po/ca.po: Update from translation team.
27913
27914 * inet/getnetgrent_r.c: Hook up nscd.
27915 * nscd/Makefile (routines): Add nscd_netgroup.
27916 (nscd-modules): Add netgroupcache.
27917 (CFLAGS-netgroupcache.c): Define.
27918 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27919 (cache_search): Add const to second parameter.
27920 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27921 INNETGR.
27922 (dbs): Add netgrdb entry.
27923 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27924 (verify_persistent_db): Handle netgrdb.
27925 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27926 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27927 GETFDNETGR.
27928 (netgroup_response_header): Define.
27929 (innetgroup_response_header): Define.
27930 (datahead): Add netgroup_response_header and innetgroup_response_header
27931 elements.
27932 * nscd/nscd.conf: Add entries for netgroup cache.
27933 * nscd/nscd.h (dbtype): Add netgrdb.
27934 (_PATH_NSCD_NETGROUP_DB): Define.
27935 (netgroup_iov_disabled): Declare.
27936 (xmalloc, xcalloc, xrealloc): Move declarations here.
27937 (cache_search): Adjust prototype.
27938 Add netgroup-related prototypes.
27939 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27940 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27941 (__nscd_innetgr): Declare.
27942 * nscd/selinux.c (perms): Use access_vector_t as element type and
27943 add netgroup-related initializers.
27944 * nscd/netgroupcache.c: New file.
27945 * nscd/nscd_netgroup.c: New file.
27946 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27947 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27948 For four parameters use innetgr.
27949 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27950 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27951 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27952 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27953
27954 * nscd/connections.c (register_traced_file): Don't register file
27955 for disabled databases.
27956
27957 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27958
27959 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27960
27961 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27962 from tree and freeing node.
27963
27964 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27965
27966 * nss/nsswitch.c (__nss_database_lookup): Handle
27967 nss_parse_service_list out of memory case.
27968
27969 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27970
27971 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27972 out of memory case.
27973
27974 2011-10-04 Andreas Schwab <schwab@redhat.com>
27975
27976 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27977 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27978 pass it down.
27979 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27980 elf_machine_rela, elf_machine_lazy_rel.
27981 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27982 (ELF_DYNAMIC_DO_REL): Likewise.
27983 (ELF_DYNAMIC_DO_RELA): Likewise.
27984 (ELF_DYNAMIC_RELOCATE): Likewise.
27985 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27986 to ELF_DYNAMIC_DO_REL.
27987 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27988 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27989 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27990 elf_machine_rela.
27991 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27992 skip_ifunc, don't call ifunc function if non-zero.
27993 (elf_machine_rela): Likewise.
27994 (elf_machine_lazy_rel): Likewise.
27995 (elf_machine_lazy_rela): Likewise.
27996 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27997 (elf_machine_lazy_rel): Likewise.
27998 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27999 Likewise.
28000 (elf_machine_lazy_rel): Likewise.
28001 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28002 Likewise.
28003 (elf_machine_lazy_rel): Likewise.
28004 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28005 (elf_machine_lazy_rel): Likewise.
28006 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28007 (elf_machine_lazy_rel): Likewise.
28008 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28009 (elf_machine_lazy_rel): Likewise.
28010 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28011 (elf_machine_lazy_rel): Likewise.
28012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28013 (elf_machine_lazy_rel): Likewise.
28014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28015 (elf_machine_lazy_rel): Likewise.
28016
28017 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28018
28019 * nss/nss_files/files-init.c (_nss_files_init): Use static
28020 initialization for all the *_traced_file variables.
28021
28022 2011-09-28 Andreas Schwab <schwab@redhat.com>
28023
28024 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28025
28026 2011-09-27 Roland McGrath <roland@hack.frob.com>
28027
28028 [BZ #13226]
28029 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28030
28031 2011-09-27 Andreas Schwab <schwab@redhat.com>
28032
28033 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28034 Reread the line before reparsing it.
28035
28036 2011-09-26 Andreas Schwab <schwab@redhat.com>
28037
28038 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28039
28040 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28041 Maxim Kuvyrkov <maxim@codesourcery.com>
28042 Joseph Myers <joseph@codesourcery.com>
28043
28044 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28045 if needed for __stack_chk_guard.
28046
28047 2011-09-19 Roland McGrath <roland@hack.frob.com>
28048
28049 * sysdeps/posix/spawni.c (script_execute): Always define it.
28050 It will be optimized away if unused.
28051 (maybe_script_execute): New function.
28052 (__spawni): Call it.
28053
28054 * Makerules: Don't include tls.make.
28055 (config-tls): Always set to thread.
28056 * tls.make.c: File removed.
28057
28058 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28059
28060 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28061 * config.make.in (CPPFLAGS-config): New substituted variable.
28062
28063 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28064
28065 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28066
28067 [BZ #13192]
28068 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28069 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28070
28071 2011-09-15 Roland McGrath <roland@hack.frob.com>
28072
28073 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28074 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28075 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28076 (CALL_FAIL): Likewise.
28077 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28078 (CALL_FAIL): Macro removed.
28079 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28080
28081 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28082
28083 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28084 for __FINITE_MATH_ONLY__ == 1.
28085
28086 2011-09-15 Andreas Schwab <schwab@redhat.com>
28087
28088 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28089 __ieee754_sqrt instead of sqrt.
28090 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28091 __ieee754_sqrtf instead of sqrtf.
28092 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28093 __floorf instead of floorf.
28094 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28095 __floorf, __truncf instead of floorf, truncf.
28096
28097 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28098
28099 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28100
28101 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28102 __extern_always_inline.
28103 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28104 32-bit.
28105
28106 2011-09-14 Andreas Schwab <schwab@redhat.com>
28107
28108 * elf/rtld.c (dl_main): Also relocate in dependency order when
28109 doing symbol dependency testing.
28110
28111 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28112
28113 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28114 Always define `refsym'.
28115
28116 2011-09-13 Andreas Schwab <schwab@redhat.com>
28117
28118 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28119 (__FD_ELT): Renamed from __FDELT.
28120 * misc/bits/select2.h (__FD_ELT): Likewise.
28121 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28122 __FD_MASK instead of __FDELT, __FDMASK.
28123 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28124 Likewise.
28125 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28126 Likewise.
28127
28128 * elf/Makefile (gen-ldd): Fix pattern.
28129
28130 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28131 (init_tls): Likewise.
28132
28133 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28134
28135 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28136
28137 2011-09-12 Andreas Schwab <schwab@redhat.com>
28138
28139 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28140 `struct cmsghdr *' instead of `void *'.
28141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28142 Likewise.
28143
28144 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28145
28146 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28147 if non-absolute.
28148 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28149 ldd_rewrite_script.
28150
28151 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28152
28153 * configure.in: Remove --with-tls option.
28154 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28155 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28156 out in case it is missing.
28157 * sysdeps/ia64/elf/configure.in: Likewise.
28158 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28159 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28160 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28161 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28162 * sysdeps/sh/elf/configure.in: Likewise.
28163 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28164 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28165 * sysdeps/x86_64/elf/configure.in: Likewise.
28166 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28167 * sysdeps/mach/hurd/tls.h: Likewise.
28168
28169 [BZ #13067]
28170 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28171
28172 [BZ #13090]
28173 * configure.in: Fix use of AC_INIT.
28174
28175 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28176
28177 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28178
28179 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28180 __set_errno.
28181 * malloc/hooks.c: Likewise.
28182
28183 [BZ #11929]
28184 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28185 variables statically.
28186 (narenas): Initialize.
28187 (list_lock): Initialize.
28188 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28189 initializtion of main_arena and list_lock. Small cleanups.
28190 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28191 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28192 Add initializers to main_arena and mp_.
28193 (malloc_state): Remove pagesize member. Change all users to use
28194 GLRO(dl_pagesize).
28195
28196 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28197 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28198 is always initialized.
28199
28200 * malloc/malloc.c: Removed unused configurations and dead code.
28201 * malloc/arena.c: Likewise.
28202 * malloc/hooks.c: Likewise.
28203 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28204
28205 * include/tls.h: Removed. USE___THREAD must always be defined.
28206 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28207 * elf/dl-libc.c: Likewise.
28208 * elf/dl-tsd.c: Likewise.
28209 * include/errno.h: Likewise.
28210 * include/netdb.h: Likewise.
28211 * include/resolv.h: Likewise.
28212 * inet/herrno-loc.c: Likewise.
28213 * inet/herrno.c: Likewise.
28214 * malloc/arena.c: Likewise.
28215 * malloc/hooks.c: Likewise.
28216 * malloc/malloc.c: Likewise.
28217 * resolv/res-state.c: Likewise.
28218 * resolv/res_libc.c: Likewise.
28219 * sysdeps/i386/dl-machine.h: Likewise.
28220 * sysdeps/ia64/dl-machine.h: Likewise.
28221 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28222 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28223 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28224 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28225 * sysdeps/sh/dl-machine.h: Likewise.
28226 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28227 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28228 * sysdeps/unix/i386/sysdep.S: Likewise.
28229 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28230 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28231 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28233 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28234 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28235 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28237 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28239 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28240 * sysdeps/x86_64/dl-machine.h: Likewise.
28241 * tls.make.c: Likewise.
28242
28243 * configure.in: Remove --with-__thread option. Make tests for
28244 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28245 tls_model attribute fail if no support is available. Remove
28246 USE_IN_LIBIO.
28247 * Makeconfig: Adjust for dropped configure option. All features are
28248 now mandatory.
28249 * Makerules: Likewise.
28250 * Versions.def: Likewise.
28251 * argp/argp-fmtstream.c: Likewise.
28252 * argp/argp-fmtstream.h: Likewise.
28253 * argp/argp-help.c: Likewise.
28254 * assert/assert.c: Likewise.
28255 * config.h.in: Likewise.
28256 * config.make.in: Likewise.
28257 * configure: Likewise.
28258 * configure.in: Likewise.
28259 * csu/Versions: Likewise.
28260 * csu/init.c: Likewise.
28261 * elf/tst-audit2.c: Likewise.
28262 * elf/tst-tls10.c: Likewise.
28263 * elf/tst-tls10.h: Likewise.
28264 * elf/tst-tls11.c: Likewise.
28265 * elf/tst-tls12.c: Likewise.
28266 * elf/tst-tls14.c: Likewise.
28267 * elf/tst-tlsmod11.c: Likewise.
28268 * elf/tst-tlsmod12.c: Likewise.
28269 * elf/tst-tlsmod13.c: Likewise.
28270 * elf/tst-tlsmod13a.c: Likewise.
28271 * elf/tst-tlsmod14a.c: Likewise.
28272 * elf/tst-tlsmod15b.c: Likewise.
28273 * elf/tst-tlsmod16a.c: Likewise.
28274 * elf/tst-tlsmod16b.c: Likewise.
28275 * elf/tst-tlsmod7.c: Likewise.
28276 * elf/tst-tlsmod8.c: Likewise.
28277 * elf/tst-tlsmod9.c: Likewise.
28278 * gmon/gmon.c: Likewise.
28279 * grp/fgetgrent_r.c: Likewise.
28280 * grp/putgrent.c: Likewise.
28281 * hurd/fopenport.c: Likewise.
28282 * include/libc-symbols.h: Likewise.
28283 * include/tls.h: Likewise.
28284 * intl/gettextP.h: Likewise.
28285 * intl/loadinfo.h: Likewise.
28286 * locale/global-locale.c: Likewise.
28287 * locale/localeinfo.h: Likewise.
28288 * mach/devstream.c: Likewise.
28289 * malloc/arena.c: Likewise.
28290 * malloc/set-freeres.c: Likewise.
28291 * misc/err.c: Likewise.
28292 * misc/getttyent.c: Likewise.
28293 * misc/mntent_r.c: Likewise.
28294 * posix/getopt.c: Likewise.
28295 * posix/wordexp.c: Likewise.
28296 * pwd/fgetpwent_r.c: Likewise.
28297 * resolv/Versions: Likewise.
28298 * resolv/res_hconf.c: Likewise.
28299 * shadow/fgetspent_r.c: Likewise.
28300 * shadow/putspent.c: Likewise.
28301 * stdio-common/printf_fphex.c: Likewise.
28302 * stdio-common/tmpfile.c: Likewise.
28303 * stdlib/abort.c: Likewise.
28304 * stdlib/fmtmsg.c: Likewise.
28305 * sunrpc/auth_unix.c: Likewise.
28306 * sunrpc/clnt_perr.c: Likewise.
28307 * sunrpc/clnt_tcp.c: Likewise.
28308 * sunrpc/clnt_udp.c: Likewise.
28309 * sunrpc/clnt_unix.c: Likewise.
28310 * sunrpc/openchild.c: Likewise.
28311 * sunrpc/svc_simple.c: Likewise.
28312 * sunrpc/svc_tcp.c: Likewise.
28313 * sunrpc/svc_udp.c: Likewise.
28314 * sunrpc/svc_unix.c: Likewise.
28315 * sunrpc/xdr.c: Likewise.
28316 * sunrpc/xdr_array.c: Likewise.
28317 * sunrpc/xdr_rec.c: Likewise.
28318 * sunrpc/xdr_ref.c: Likewise.
28319 * sunrpc/xdr_stdio.c: Likewise.
28320
28321 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28322
28323 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28324
28325 2011-07-03 Andreas Jaeger <aj@suse.de>
28326
28327 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28328 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28329 regenerate with gen-libm-tests.pl.
28330
28331 2010-05-12 Petr Baudis <pasky@suse.cz>
28332
28333 [BZ #11589]
28334 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28335 around j0() zero points by switching to j1().
28336 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28340
28341 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28342
28343 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28344 instead of 0.
28345 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28346 instead of 0.
28347 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28348 Patch in part by Pavel Roskin <proski@gnu.org>.
28349
28350 [BZ #13138]
28351 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28352 realloc.
28353 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28354 Free memory block if necessary.
28355
28356 [BZ #12847]
28357 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28358 be NULL. Don't lock in this case.
28359
28360 2011-09-09 Roland McGrath <roland@hack.frob.com>
28361
28362 * elf/elf.h (ELFOSABI_GNU): New macro.
28363 (ELFOSABI_LINUX): Define to that.
28364
28365 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28366
28367 * string/strncat.c (strncat): Undef the symbol in case it has been
28368 defined in bits/string.h.
28369
28370 2011-09-09 Ulrich Drepper <drepper@gmail.com>
28371
28372 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28373
28374 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28375 link map.
28376
28377 2011-08-17 Andreas Jaeger <aj@suse.de>
28378
28379 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28380
28381 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28382 Ian Lance Taylor <iant@google.com>
28383
28384 * math/libm-test.inc (lround_test): New testcase.
28385 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28386
28387 2011-09-08 Ulrich Drepper <drepper@gmail.com>
28388
28389 * Makefile: Remove support for automatic cvs check-ins.
28390 * Makerules: Likewise.
28391 * config.make.in: Likewise.
28392 * configure.in: Likewise.
28393 * intl/Makefile: Likewise.
28394 * locale/Makefile: Likewise.
28395 * po/Makefile: Likewise.
28396 * posix/Makefile: Likewise.
28397 * sysdeps/gnu/Makefile: Likewise.
28398 * sysdeps/mach/hurd/Makefile: Likewise.
28399 * sysdeps/sparc/sparc32/Makefile: Likewise.
28400
28401 [BZ #13118]
28402 * posix/Makefile (bug-regex32-ENV): Define.
28403 Patch by John Stanley <jpsinthemix@verizon.net>.
28404
28405 * misc/Makefile (headers): Add bits/select2.h.
28406 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28407 * misc/bits/select2.h: New file.
28408 * include/bits/select2.h: New file.
28409 * debug/Makefile (routines): Add fdelt_chk.
28410 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28411 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28412 FD_ISSET.
28413 * debug/fdelt_chk.c: New file.
28414
28415 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28416 * wcsmbs/test-wmemcmp.c: Likewise.
28417 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28418 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28419
28420 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28421
28422 * string/Makefile (strop-tests): Add memcmp.
28423 * string/test-wmemcmp.c: New file.
28424 * string/test-memcmp.c: Add wmemcmp support.
28425
28426 2011-09-08 Roland McGrath <roland@hack.frob.com>
28427
28428 [BZ #13153]
28429 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28430 2011-07-19 change.
28431
28432 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28433 garbage value in a __mach_port_mod_refs call in the cases of the
28434 task-self and thread-self ports.
28435
28436 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28437
28438 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28439
28440 2011-09-08 Andreas Schwab <schwab@redhat.com>
28441
28442 * elf/dl-load.c (lose): Check for non-null L.
28443
28444 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28445
28446 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28447
28448 * elf/dl-libc.c (dlerror_run): Pass back error code from
28449 dl_catch_error.
28450
28451 [BZ #13123]
28452 * elf/dl-load.c (lose): Free l_origin if it is valid.
28453
28454 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28455 names.
28456 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28457 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28458 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28459 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28460 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28461 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28462
28463 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28464
28465 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28466 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28467 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28468 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28469 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28470 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28471 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28472 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28473 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28474 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28475
28476 2011-08-15 Alan Modra <amodra@gmail.com>
28477
28478 [BZ #13092]
28479 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28480 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28481 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28482 ppc_mcount to static-only-routines.
28483 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28484 __mcount_internal.
28485 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28486 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28487
28488 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28489
28490 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28491 for finite and infinity parameters.
28492
28493 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28494
28495 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28496 and add nop instructions for throughput optimization.
28497 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28498
28499 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28500
28501 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28502 aligned copy for power7 with vector-scalar instructions.
28503 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28504
28505 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28506
28507 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28508 AVX check.
28509
28510 2011-09-07 Andreas Schwab <schwab@redhat.com>
28511
28512 [BZ #13144]
28513 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28514 last change.
28515
28516 2011-09-07 Ulrich Drepper <drepper@gmail.com>
28517
28518 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28519 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28520 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28521 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28522 clock_gettime.
28523
28524 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28525
28526 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28527 Forgot to demangle the pointer.
28528
28529 * sysdeps/i386/sysdep.h: Define atom_text_section.
28530 * sysdeps/x86_64/sysdep.h: Likewise.
28531 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28532 section with atom_text_section.
28533 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28534 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28535 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28536 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28537 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28538
28539 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28540 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28541 already be defined. Change to take two parameters and don't assign
28542 result to variable. Adjust all users.
28543 Define INTERNAL_GETTIME if not already defined.
28544 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28545 call.
28546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28547 HAVE_CLOCK_GETTIME_VSYSCALL.
28548 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28549
28550 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28551 gettimeofday vsyscall, just use time.
28552
28553 2011-09-06 Andreas Schwab <schwab@redhat.com>
28554
28555 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28556 <errno.h>.
28557
28558 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28559
28560 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28561 syscall on x86-64.
28562 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28563 syscall.
28564 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28565 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28566 syscall if possible.
28567
28568 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28569
28570 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28571 e_ident. Don't pass to find_mapsXX.
28572 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28573
28574 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28575
28576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28577 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28578 * sysdeps/x86_64/multiarch/strchr.S: Update.
28579 Check bit_slow_BSF bit.
28580 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28581 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28582 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28583
28584 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28585
28586 [BZ #13134]
28587 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28588 before glibc 2.15.
28589 (tryshell): Define.
28590 (__spawni): Change last parameter to be flag. Test
28591 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28592 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28593 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28594 * posix/spawni.c: Likewise.
28595 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28596 * posix/spawnp.c: Likewise. Change normal version to use
28597 SPAWN_XFLAGS_USE_PATH.
28598 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28599 SPAWN_XFLAGS_TRY_SHELL.
28600
28601 [BZ #13150]
28602 * posix/glob.h: Remove gcc 1.x support.
28603
28604 [BZ #13068]
28605 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28606
28607 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28608
28609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28610 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28611 strrchr-sse2-bsf
28612 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28613 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28614 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28615 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28616 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28617 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28618
28619 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28620
28621 * sysdeps/x86_64/wcscmp.S: New file.
28622
28623 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28624 wcscmp-c wcscmp-sse2
28625 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28626 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28627 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28628 * wcsmbs/wcscmp.c: Allow renaming.
28629
28630 2011-09-05 David S. Miller <davem@davemloft.net>
28631
28632 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28633 stack slot, rather than the struct return pointer slot.
28634 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28635 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28637 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28638
28639 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28640
28641 * po/ja.po: Update from translation team.
28642
28643 [BZ #13144]
28644 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28645 kernel in 64-bit binaries.
28646
28647 2011-09-01 David S. Miller <davem@davemloft.net>
28648
28649 * elf/elf.h (HWCAP_SPARC_*): Move to..
28650 * sysdeps/sparc/sysdep.h: this new file and add new values.
28651 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28652 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28653 _DL_HWCAP_COUNT to 24.
28654 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28655 entries.
28656 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28657 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28658 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28659 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28660 instead of magic constants.
28661 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28662
28663 2011-08-31 David S. Miller <davem@davemloft.net>
28664
28665 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28667 Reimplement to do errno handling inline.
28668 (SYSCALL_ERROR_HANDLER): New macro.
28669 (__SYSCALL_STRING): Do not do errno handling in asm.
28670 (__CLONE_SYSCALL_STRING): Delete.
28671 (__INTERNAL_SYSCALL_STRING): Delete.
28672 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28673 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28674 (PSEUDO): Reimplement to do errno handling inline.
28675 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28676 (SYSCALL_ERROR_HANDLER): New macro.
28677 (__SYSCALL_STRING): Do not do errno handling in asm.
28678 (__CLONE_SYSCALL_STRING): Delete.
28679 (__INTERNAL_SYSCALL_STRING): Delete.
28680 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28681 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28682 i386.
28683 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28684 (inline_syscall*): Add 'err' argument.
28685 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28686 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28687 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28688 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28689
28690 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28691 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28692
28693 2011-08-30 Andreas Schwab <schwab@redhat.com>
28694
28695 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28696
28697 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28698
28699 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28700 directive.
28701
28702 2011-08-24 David S. Miller <davem@davemloft.net>
28703
28704 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28705
28706 2011-08-24 Andreas Schwab <schwab@redhat.com>
28707
28708 * elf/Makefile: Add rules to build and run unload8 test.
28709 * elf/unload8.c: New file.
28710 * elf/unload8mod1.c: New file.
28711 * elf/unload8mod1x.c: New file.
28712 * elf/unload8mod2.c: New file.
28713 * elf/unload8mod3.c: New file.
28714
28715 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28716 it wasn't used.
28717
28718 2011-08-23 David S. Miller <davem@davemloft.net>
28719
28720 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28721 subtract stack bias.
28722 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28723 %sp not %fp in calculations.
28724 (_JMPBUF_UNWINDS_ADJ): Likewise.
28725
28726 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28727 (aio_suspend): Call it to force an exception region around the
28728 AIO_MISC_WAIT() invocation.
28729
28730 2011-08-23 Andreas Schwab <schwab@redhat.com>
28731
28732 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28733 backslash.
28734
28735 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28736
28737 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28738 protection macro.
28739 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28740 and <dl-machine.h>.
28741 (Elf64_FuncDesc): Remove.
28742
28743 2011-08-22 David S. Miller <davem@davemloft.net>
28744
28745 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28746 sigaltstack check, add missing cfi directives.
28747 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28748 missing cfi directives, and sigaltstack handling.
28749
28750 2011-08-16 Andreas Schwab <schwab@redhat.com>
28751
28752 [BZ #11724]
28753 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28754 object is seen twice.
28755 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28756
28757 * elf/Makefile (distribute): Add tst-initorder2.c.
28758 (tests): Add tst-initorder2.
28759 (modules-names): Add tst-initorder2a tst-initorder2b
28760 tst-initorder2c tst-initorder2d. Add rules to build them.
28761 ($(objpfx)tst-initorder2.out): New rule.
28762 * elf/tst-initorder2.c: New file.
28763 * elf/tst-initorder2.exp: New file.
28764
28765 2011-08-22 Andreas Schwab <schwab@redhat.com>
28766
28767 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28768
28769 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28770 dependencies back to end of function.
28771
28772 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28773 $(elfobjdir)/ld.so.
28774
28775 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28776
28777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28778 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28780 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28781 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28782 of __vdso_gettimeofday.
28783 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28784 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28785 attribute_hidden.
28786 (_libc_vdso_platform_setup): Remove initialization of
28787 __vdso_gettimeofday and __vdso_time.
28788
28789 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28790
28791 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28792 and fgetc_unlocked.
28793 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28794 getc_unlocked.
28795
28796 * elf/dl-open.c (add_to_global): Report additions to the global scope
28797 for LD_DEBUG=scopes.
28798 (dl_open_worker): Also print scope of newly loaded dependencies.
28799 (_dl_show_scope): Indicate if there is no scope.
28800
28801 [BZ #13114]
28802 * stdio-common/Makefile (tests): Add bug24.
28803 * stdio-common/bug24.c: New file.
28804
28805 2011-08-19 Andreas Jaeger <aj@suse.de>
28806
28807 [BZ #13114]
28808 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28809 non-existant file when using close-on-exec mode.
28810
28811 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28812
28813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28814 the very first instruction.
28815
28816 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28817 the CFI state in the end.
28818 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28819 inclusion of dl-trampoline.h.
28820 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28821
28822 2011-08-19 Andreas Schwab <schwab@redhat.com>
28823
28824 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28825 expectations for long double.
28826
28827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28828 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28829
28830 2011-08-14 David S. Miller <davem@davemloft.net>
28831
28832 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28833 artificual limit depends upon the system page size.
28834
28835 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28836
28837 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28838 * resolv/Makefile: Define CFLAGS-libresolv.
28839
28840 2011-08-17 Andreas Schwab <schwab@redhat.com>
28841
28842 * nss/makedb.c (compute_tables): Make variables used in nested
28843 function static.
28844
28845 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28846
28847 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28848 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28849 if buffer was too small.
28850
28851 * elf/pldd.c (main): Attach to all threads in the process.
28852 Rewrite /proc handling to use *at functions.
28853
28854 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28855
28856 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28857 specifies first scope to show.
28858 (dl_open_worker): Update callers. Move printing scope of new
28859 object to before the relocation.
28860 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28861 * sysdeps/generic/ldsodefs.h: Update declaration.
28862
28863 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28864 string for the scope number.
28865
28866 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28867
28868 * nscd/servicescache.c (cache_addserv): Make sure written is always
28869 initialized.
28870
28871 2011-08-14 Roland McGrath <roland@hack.frob.com>
28872
28873 * sysdeps/i386/i486/bits/atomic.h
28874 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28875 statement expression, so as to suppress "set but not used" warning.
28876 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28877
28878 * string/strncat.c (STRNCAT): Use prototype definition.
28879
28880 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28881 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28882 -Iprograms here.
28883 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28884 (localedef-modules): Add localedef.
28885 (locale-modules): Add locale.
28886
28887 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28888 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28889 to avoid a warning.
28890
28891 2011-08-14 David S. Miller <davem@davemloft.net>
28892
28893 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28894 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28895
28896 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28897
28898 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28899 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28900 * elf/rtld.c (dl_main): Set l_name of vDSO.
28901 Call _dl_show_scope when DL_DEBUG_SCOPES.
28902 (process_dl_debug): Recognize scopes flag and also set it for all.
28903 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28904 Declare _dl_show_scope.
28905
28906 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28907 (do_dlopen): Pass caller_dlopen to dl_open.
28908 (__libc_dlopen_mode): Initialize caller_dlopen.
28909
28910 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28911 of libc. Make tolower call locale-independent. Optimize a bit by
28912 using isdigit instead of isalnum.
28913 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28914
28915 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28916
28917 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28918 was a dependency or dynamically loaded.
28919
28920 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28921
28922 * intl/l10nflist.c: Allow architecture-specific pop function.
28923 * sysdeps/x86_64/l10nflist.c: New file.
28924
28925 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28926 classification.
28927
28928 2011-08-10 Andreas Schwab <schwab@redhat.com>
28929
28930 * include/dirent.h: Add libc_hidden_proto for scandirat and
28931 scandirat64. Don't declare __scandirat64.
28932 * dirent/scandirat.c: Add libc_hidden_def.
28933 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28934 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28935
28936 2011-08-10 David S. Miller <davem@davemloft.net>
28937
28938 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28939 enum.
28940 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28941 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28943
28944 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28945
28946 * Versions.def [libc]: Add GLIBC_2.15.
28947 * dirent/Makefile (routines): Add scandirat and scandirat64.
28948 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28949 GLIBC_2.15.
28950 * dirent/dirent.h: Declare scandirat and scandirat64.
28951 * dirent/scandirat.c: New file.
28952 * dirent/scandirat64.c: New file.
28953 * sysdeps/wordsize-64/scandirat.c: New file.
28954 * sysdeps/wordsize-64/scandirat64.c: New file.
28955 * dirent/opendir.c: Define opendirat.
28956 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28957 using scandirat.
28958 * dirent/scandir64.c: Adjust for scandir.c change.
28959 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28960 __scandirat64, and __scandir_cancel_handler.
28961 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28962 additional parameter and use openat instead of open (outside of ld.so).
28963 Add new __opendir as wrapper around __opendirat.
28964 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28965 here without requiring old scandirat implementation.
28966
28967 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28968
28969 * dirent/scandir.c (cancel_handler): Renamed to
28970 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28971 defined. Adjust users.
28972 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28973 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28974
28975 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28976
28977 * string/test-string.h (IMPL): Use __STRING to expand name and then
28978 stringify it.
28979
28980 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28981 of cleanups.
28982
28983 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28984
28985 * string/Makefile: Update.
28986 (strop-tests): Append strncat.
28987 * string/test-wcscmp.c: New file.
28988 New comprehensive test for wcscmp.
28989 * string/test-strcmp.c: Update.
28990 (WIDE): New define.
28991
28992 2011-07-22 Andreas Schwab <schwab@redhat.com>
28993
28994 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28995 line.
28996
28997 2011-07-26 Andreas Schwab <schwab@redhat.com>
28998
28999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29000 encoding to ACE if AI_IDN.
29001
29002 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29003
29004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29005 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29006
29007 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29008
29009 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29010 Fix overflow bug in strncat.
29011 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29012
29013 * string/test-strncat.c: Update.
29014 Add new tests for checking overflow bugs.
29015
29016 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29017
29018 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29019 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29020 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29021 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29022 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29023 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29024 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29025 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29026 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29027
29028 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29029 (USE_AS_STRCAT): Define.
29030 Add strcat and strncat support.
29031 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29032
29033 2011-07-25 Andreas Schwab <schwab@redhat.com>
29034
29035 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29036 __n bigger than INT_MAX+1.
29037 (__strncmp_g): Likewise.
29038
29039 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29040
29041 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29042 * libio/stido.h: Likewise.
29043
29044 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29045 (AF_NFC): Define.
29046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29047 (AF_NFC): Define.
29048
29049 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29050 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29051 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29052 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29053 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29054
29055 [BZ #13021]
29056 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29057 installed.
29058
29059 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29060 typo.
29061 (_dl_x86_64_save_sse): Likewise.
29062
29063 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29064
29065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29066 OSXSAVE.
29067 (_dl_x86_64_save_sse): Likewise.
29068
29069 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29070
29071 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29072
29073 2011-07-21 Andreas Schwab <schwab@redhat.com>
29074
29075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29076 change.
29077 (_dl_x86_64_save_sse): Use correct AVX check.
29078
29079 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29080
29081 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29082 bug in strncpy/strncat.
29083 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29084
29085 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29086
29087 * string/tester.c (test_strcat): Add tests for different alignments
29088 of source and destination.
29089 (test_strncat): Likewise.
29090
29091 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29092
29093 [BZ #12852]
29094 * posix/glob.c (glob): Check passed in values before using them in
29095 expressions to avoid some overflows.
29096 (glob_in_dir): Likewise.
29097
29098 [BZ #13007]
29099 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29100 check for AVX enablement so that we don't crash with old kernels and
29101 new hardware.
29102 * elf/tst-audit4.c: Add same checks here.
29103 * elf/tst-audit6.c: Likewise.
29104
29105 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29106
29107 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29108
29109 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29110
29111 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29112
29113 * po/cs.po: Update from translation team.
29114 * po/bg.po: Likewise.
29115
29116 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29117
29118 * misc/sys/cdefs.h: Add support for const attribute.
29119 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29120 to gnu_dev_{major,minor,makedev} functions.
29121
29122 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29123
29124 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29125
29126 2011-07-20 Andreas Schwab <schwab@redhat.com>
29127
29128 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29129 strlen results.
29130
29131 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29132
29133 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29134 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29135 register in order to avoid conflicts with the soft frame pointer
29136 being held in r11 when necessary.
29137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29138 (INTERNAL_VSYSCALL_NCS): Likewise.
29139
29140 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29141
29142 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29143 * elf/dl-fini.c (_dl_fini): Adjust caller.
29144 * elf/dl-close.c (_dl_close_worker): Likewise.
29145 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29146
29147 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29148
29149 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29150 "aux_cache->nlibs < 0".
29151
29152 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29153 in the reload-count case.
29154
29155 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29156
29157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29158 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29159 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29160 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29161 * sysdeps/x86_64/multiarch/strcat.S: New file.
29162 * sysdeps/x86_64/multiarch/strncat.S: New file.
29163 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29164 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29165 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29166 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29167 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29168 (USE_AS_STRCAT): Define.
29169 Add strcat and strncat support.
29170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29171 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29172 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29173 * string/strncat.c: Update.
29174 (USE_AS_STRNCAT): Define.
29175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29176 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29177 and i7.
29178 * sysdeps/x86_64/multiarch/init-arch.h
29179 (bit_Prefer_PMINUB_for_stringop): New.
29180 (index_Prefer_PMINUB_for_stringop): Likewise.
29181 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29182 bit_Prefer_PMINUB_for_stringop.
29183
29184 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29185
29186 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29187 buffer64.
29188 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29189 of casting of buffer.
29190 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29191 buffer32 and buffer64.
29192 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29193 writes instead of casting of buffer.
29194 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29195 buffer32.
29196 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29197 casting of buffer.
29198
29199 2011-07-19 Andreas Schwab <schwab@redhat.com>
29200
29201 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29202
29203 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29204
29205 * nscd/nscd.c (termination_handler): Don't do anything for a database
29206 if it has not yet been initialized.
29207
29208 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29209
29210 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29211
29212 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29213
29214 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29215
29216 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29217
29218 * po/nl.po: Update from translation team.
29219 * po/sv.po: Likewise.
29220
29221 2011-07-16 Roland McGrath <roland@hack.frob.com>
29222
29223 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29224 now disallowed by GCC.
29225
29226 * configure.in (use-default-link): Default to yes if a test -shared
29227 link meets our qualifications.
29228 * configure: Regenerated.
29229
29230 * config.make.in (output-format): New variable.
29231 * configure.in: Check for ld --print-output-format support.
29232 * configure: Regenerated.
29233 * Makerules ($(common-objpfx)format.lds)
29234 [$(output-format) != unknown]: Just use $(output-format),
29235 instead of the linker-script munging.
29236
29237 2011-07-14 Roland McGrath <roland@hack.frob.com>
29238
29239 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29240 of $(common-objpfx)shlib.lds.
29241 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29242
29243 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29244 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29245
29246 * configure.in (-z relro check): Adjust test code to add a large
29247 writable data section after it.
29248 * configure: Regenerated.
29249
29250 2011-07-11 Roland McGrath <roland@hack.frob.com>
29251
29252 * configure.in (-z relro check): Fix test code to make the variable
29253 truly const.
29254 * configure: Regenerated.
29255
29256 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29257
29258 * nscd/nscd.h (struct traced_file): Define.
29259 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29260 elements. Add traced_files.
29261 (inotify_fd): Declare.
29262 (register_traced_file): Declare.
29263 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29264 (inotify_fd): Export.
29265 (resolv_conf_descr): Remove.
29266 (nscd_init): Move inotify descriptor creation to main.
29267 Don't register files for notification here.
29268 (register_traced_file): New function.
29269 (invalidate_cache): Don't use reset_res to determine whether to call
29270 res_init, go through the list of registered files.
29271 (main_loop_poll): The inotify descriptors are now stored in the
29272 structures for the traced files.
29273 (main_loop_epoll): Likewise
29274 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29275 to __nss_disable_nscd.
29276 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29277 for a database anymore. Check the records for all the registered
29278 files instead.
29279 * nss/Makefile (libnss_files-routines): Add files-init.
29280 (libnss_db-routines): Add db-init.
29281 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29282 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29283 * nss/nss_db/db-init.c: New file.
29284 * nss/nss_files/files-init.c: New file.
29285 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29286 __nss_lookup_function.
29287 (__nss_lookup_function): Call nss_load_library.
29288 (nss_load_all_libraries): New function.
29289 (__nss_disable_nscd): Take parameter with callback function for files
29290 to register. Set is_nscd. Load all the DSOs for the NSS modules
29291 used for the cached services.
29292 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29293 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29294 options for features to all the files in nscd.
29295
29296 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29297
29298 2011-07-10 Roland McGrath <roland@hack.frob.com>
29299
29300 * csu/elf-init.c (__libc_csu_init): Comment typo.
29301
29302 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29303
29304 * po/pl.po: Update from translation team.
29305 * po/ja.po: Likewise.
29306 * po/ru.po: Likewise.
29307 * po/ko.po: Likewise.
29308 * po/fr.po: Likewise.
29309
29310 2011-07-09 Roland McGrath <roland@hack.frob.com>
29311
29312 * configure.in (.ctors/.dtors header and trailer check):
29313 Use an empirical test on a built program.
29314 * configure: Regenerated.
29315
29316 * configure.in (-z relro check): Use an empirical test on a built DSO.
29317 Detect, but do not require, on ia64.
29318 * configure: Regenerated.
29319
29320 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29321 Update tests that use readelf to use $READELF instead.
29322 * configure: Regenerated.
29323
29324 2011-07-08 Ulrich Drepper <drepper@gmail.com>
29325
29326 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29327 if the result is not used.
29328
29329 2011-07-05 Andreas Jaeger <aj@suse.de>
29330
29331 [BZ#9696]
29332 * stdlib/tst-strtod.c: Add testcase.
29333
29334 2011-07-07 Ulrich Drepper <drepper@gmail.com>
29335
29336 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29337 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29338 The latter has a higher limit. Take additional parameter to pass to
29339 the new function.
29340 (__pathconf): Pass file to __statfs_link_max.
29341 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29342 __statfs_link_max.
29343 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29344 __statfs_link_max.
29345
29346 [BZ #12868]
29347 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29348 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29349 Handle Lustre.
29350 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29351 (__statfs_filesize_max): Likewise.
29352 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29353
29354 2011-07-05 Andreas Jaeger <aj@suse.de>
29355
29356 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29357
29358 2011-07-06 Marek Polacek <mpolacek@redhat.com>
29359
29360 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29361 `status' variable.
29362 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29363 Likewise.
29364
29365 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29366
29367 * Makefile (strop-tests): Add strncat.
29368 * string/test-strncat.c: New file.
29369
29370 2011-06-30 Marek Polacek <mpolacek@redhat.com>
29371
29372 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29373
29374 2011-06-21 Andreas Jaeger <aj@suse.de>
29375
29376 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29377 Copy rule from iconvdata/Makefile.
29378
29379 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29380
29381 [BZ #12922]
29382 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29383 but no long options are defined, just return 'W'.
29384
29385 2011-06-22 Marek Polacek <mpolacek@redhat.com>
29386
29387 [BZ #9696]
29388 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29389
29390 2011-07-06 Ulrich Drepper <drepper@gmail.com>
29391
29392 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29393 netgroups to read.
29394 (innetgr): Likewise.
29395
29396 2011-07-05 Roland McGrath <roland@hack.frob.com>
29397
29398 * config.make.in (install_root): Default to $(DESTDIR).
29399
29400 2011-07-05 Ulrich Drepper <drepper@gmail.com>
29401
29402 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29403
29404 2011-07-02 Roland McGrath <roland@hack.frob.com>
29405
29406 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29407
29408 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29409 containing directory rather than embedding absolute directory names.
29410
29411 * scripts/check-local-headers.sh: Rewritten using awk.
29412 Match by word, not by line. Print error messages for matches.
29413 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29414
29415 * Makerules [shlib-lds-flags empty]:
29416 ($(common-objpfx)libc_pic.opts): New target.
29417 ($(common-objpfx)libc_pic.os.clean): New target.
29418 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29419
29420 * config.make.in (OBJCOPY): New variable.
29421 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29422 * configure: Regenerated.
29423
29424 * config.make.in (use-default-link): New variable.
29425 * configure.in (use_default_link): Grok --with-default-link to set it.
29426 * configure: Regenerated.
29427 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29428 (shlib-lds, shlib-lds-flags): Define to empty.
29429
29430 * Makerules (shlib-lds): New variable.
29431 (shlib-lds-flags): New variable.
29432 (build-shlib, build-moduile, build-module-asneeded): Use it.
29433 ($(common-objpfx)libc.so): Use $(shlib-lds).
29434 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29435 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29436
29437 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29438 DT_FLAGS/DT_FLAGS_1 with zero flags.
29439
29440 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29441 linker script munging.
29442
29443 2011-07-02 Ulrich Drepper <drepper@gmail.com>
29444
29445 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29446 as 128-bit value.
29447 * crypt/sha512.c (sha512_process_block): Perform total addition using
29448 128-bit if possible.
29449 (__sha512_finish_ctx): Likewise.
29450 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29451 as 64-bit value.
29452 * crypt/sha256.c (SWAP64): Define.
29453 (sha256_process_block): Perform total addition using 64-bit if
29454 possible.
29455 (__sha256_finish_ctx): Likewise.
29456
29457 2011-07-01 Ulrich Drepper <drepper@gmail.com>
29458
29459 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29460 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29461 * nscd/hstcache.c (cache_addhst): Likewise.
29462 * nscd/grpcache.c (cache_addgr): Likewise.
29463 * nscd/aicache.c (addhstaiX): Likewise
29464 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29465
29466 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
29467
29468 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29469 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29470 * nscd/hstcache.c (cache_addhst): Likewise.
29471 * nscd/grpcache.c (cache_addgr): Likewise.
29472 * nscd/aicache.c (addhstaiX): Likewise
29473
29474 2011-07-01 Andreas Schwab <schwab@redhat.com>
29475
29476 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29477 domain only when needed.
29478
29479 2011-06-30 Andreas Schwab <schwab@redhat.com>
29480
29481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29482 is always restored.
29483
29484 2011-06-29 Ulrich Drepper <drepper@gmail.com>
29485
29486 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29487 are re-adding the entry.
29488 * nscd/servicescache.c (cache_addserv): Likewise.
29489
29490 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29491
29492 * sysdeps/generic/dl-irel.h: fix protection against multiple
29493 inclusions.
29494 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29495
29496 2011-06-28 Ulrich Drepper <drepper@gmail.com>
29497
29498 [BZ #12935]
29499 * malloc/memusage.sh: Fix quoting in message.
29500 * debug/xtrace.sh: Likewise.
29501
29502 * configure.in: Remove support for --experimental-malloc option, make
29503 it the default.
29504 * config.make.in: Likewise.
29505 * malloc/Makefile: Likewise.
29506
29507 2011-06-27 Andreas Schwab <schwab@redhat.com>
29508
29509 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29510 two-byte characters.
29511
29512 2011-06-27 Roland McGrath <roland@hack.frob.com>
29513
29514 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29515 AC_CACHE_CHECK invocation.
29516 * configure: Regenerated.
29517
29518 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29519
29520 2011-06-27 Ulrich Drepper <drepper@gmail.com>
29521
29522 [BZ #12350]
29523 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29524 bit from old_res_options.
29525
29526 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29527
29528 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29529 value type for setfct.
29530
29531 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29532
29533 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29534 __gettimeofday instead of gettimeofday.
29535
29536 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29537
29538 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29539
29540 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29541
29542 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29543
29544 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29545 info.
29546
29547 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29548
29549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29550 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29551 strcpy-sse2-unaligned strncpy-sse2-unaligned
29552 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29553 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29554 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29555 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29556 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29557 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29558 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29559 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29560 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29561 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29562 (STRCPY): Support SSE2 and SSSE3 versions.
29563
29564 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29565
29566 [BZ #12874]
29567 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29568 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29569 kernels which artificially limit size of requests.
29570
29571 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29572
29573 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29574 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29575 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29576 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29577 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29578 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29579 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29580 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29581 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29582 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29583 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29584 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29585 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29586 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29587 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29589 Enable unaligned load optimization for Intel Core i3, i5 and i7
29590 processors.
29591 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29592 Define.
29593 (index_Fast_Unaligned_Load): Define.
29594 (HAS_FAST_UNALIGNED_LOAD): Define.
29595
29596 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29597
29598 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29599
29600 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29601
29602 [BZ #12907]
29603 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29604 until it is clear that the information is realy needed.
29605 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29606
29607 2011-06-22 Andreas Schwab <schwab@redhat.com>
29608
29609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29610
29611 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29612
29613 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29614 /sys/devices/system/cpu/online if it is usable.
29615
29616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29617 reading the information from the /proc filesystem to once a second.
29618
29619 2011-06-21 Andreas Jaeger <aj@suse.de>
29620
29621 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29622 NULL after inclusion of kernel headers.
29623
29624 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29625
29626 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29627 calls to internal_setent.
29628
29629 [BZ #12885]
29630 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29631 addresses using gethostbyname4_r ignore IPv4 addresses.
29632
29633 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29634 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29635
29636 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29637
29638 2011-06-20 David S. Miller <davem@davemloft.net>
29639
29640 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29641 inclusions.
29642 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29643
29644 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29645 (elf_irel): Use it.
29646 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29647 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29648 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29649 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29650 * sysdeps/x86_64/dl-irel.h: Likewise.
29651
29652 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29653 * elf/dl-sym.c: Likewise.
29654
29655 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29656
29657 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29658 need to dereference resplen2.
29659
29660 2011-06-14 Andreas Schwab <schwab@redhat.com>
29661
29662 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29663
29664 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29665
29666 * Makeconfig: Define vardbdir and inst_vardbdir.
29667 * nss/Makefile: Add rules to install db-Makefile.
29668
29669 * nss/nss_db/db-XXX.c: Cleanup.
29670
29671 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29672 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29673 GLIBC_PRIVATE.
29674 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29675 * nss/makedb.c: Implement -g option to specify that value strings
29676 are generated and should not be added to table iterated over for
29677 get*ent calls.
29678 * nss/nss_db/db-initgroups.c: New file.
29679
29680 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29681 interface.
29682
29683 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29684 (internal_getgrouplist): Adjust to name change.
29685 Update use_initgroups_entry if this is not the first call.
29686 * nss/databases.def: Add initgroups entry.
29687
29688 * nss/makedb.c (compute_tables): Check result of multiple hash table
29689 sizes to minimize maximum chain length.
29690
29691 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29692
29693 * Versions.def: Add entry for libnss_db.
29694 * shlib-versions: Likewise.
29695 * nss/Makefile: Add rules to build libnss_db.
29696 * nss/Versions: Add libnss_db information. Organize libnss_files
29697 entries better.
29698 * nss/db-Makefile: Add gshadow support. Change rules for the new
29699 makedb progra. Some minor improvements to generate smaller files.
29700 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29701 here from...
29702 * nss/makedb.c: ...here.
29703 Improve database format to be smaller and require less memory at
29704 runtime.
29705 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29706 db anymore.
29707 * nss/nss_db/db-netgrp.c: Likewise.
29708 * nss/nss_db/db-open.c: Likewise.
29709 * nss/nss_files/flies-XXX.x: Adjust comments.
29710 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29711 * nss/nss_files/files-grp.c: Likewise.
29712 * nss/nss_files/files-hosts.c: Likewise.
29713 * nss/nss_files/files-network.c: Likewise.
29714 * nss/nss_files/files-proto.c: Likewise.
29715 * nss/nss_files/files-pwd.c: Likewise.
29716 * nss/nss_files/files-rpc.c: Likewise.
29717 * nss/nss_files/files-service.c: Likewise.
29718 * nss/nss_files/files-sgrp.c: Likewise.
29719 * nss/nss_files/files-spwd.c: Likewise.
29720 * nss/nss_db/db-alias.c: Removed.
29721 * nss/nss_db/dummy-db.h: Removed.
29722
29723 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29724
29725 * nss/makedb.c: Rewritten to not use database library.
29726 * nss/Makefile: Update to build new makedb program.
29727
29728 2011-06-14 Andreas Jaeger <aj@suse.de>
29729
29730 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29731 memset declaration.
29732
29733 2011-06-10 Andreas Schwab <schwab@redhat.com>
29734
29735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29736 tmpbuf.
29737
29738 2011-06-10 Roland McGrath <roland@hack.frob.com>
29739
29740 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29741 * elf/Makefile ($(objpfx)ld.so): Likewise.
29742
29743 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29744 Don't list ld.so twice in dependencies.
29745
29746 * posix/bug-regex31.c: Include <stdlib.h>.
29747
29748 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29749
29750 * nis/nss_compat/compat-spwd.c
29751 (getspent_next_nss_netgr): Remove unused variable.
29752 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29753
29754 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29755 nonmembers" output to use the right array.
29756
29757 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29758
29759 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29760
29761 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29762 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29763 * catgets/gencat.c (read_input_file): Likewise.
29764 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29765
29766 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29767 variable definition inside #if's controlling its use.
29768
29769 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29770
29771 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29772
29773 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29774
29775 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29776 unreachable code.
29777
29778 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29779
29780 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29781 * configure: Regenerated.
29782
29783 * Makerules: Revert last change.
29784 * elf/Makefile: Likewise.
29785
29786 2011-06-09 Roland McGrath <roland@hack.frob.com>
29787
29788 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29789 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29790 (reloc-link): Likewise.
29791
29792 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29793
29794 * elf/Makefile: Add rules to build pldd.
29795 * elf/pldd.c: New file.
29796 * elf/pldd-xx.c: New file.
29797
29798 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29799
29800 * version.h: Update for 2.15 development version.
29801
29802 2011-06-07 David S. Miller <davem@davemloft.net>
29803
29804 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29805 ifuncs.
29806 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29807 elf_machine_lazy_rel): Likewise.
29808 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29809 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29810 elf_machine_lazy_rel): Likewise.
29811 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29812 dl_hwcap via passed in argument.
29813 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29814 Likewise.
29815
29816 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29817
29818 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29819
29820 2011-06-06 Roland McGrath <roland@hack.frob.com>
29821
29822 [BZ #12849]
29823 * manual/fdl-1.1.texi: New file, verbatim from:
29824 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29825 * manual/lgpl-2.1.texi: New file, verbatim from:
29826 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29827 * manual/Makefile (licenses): New variable, list those new file names.
29828 (texis): Use it.
29829 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29830
29831 * manual/fdl.texi: File removed.
29832 * manual/lesser.texi: File removed.
29833 * manual/libc.texinfo (Copying, Documentation License):
29834 Use new @include file names, put @appendix directive before @include.
29835
29836 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29837
29838 [BZ #12841]
29839 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29840 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29841 (mq_open): Add __NTH.
29842
29843 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29844
29845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29846 Assume Intel Core i3/i5/i7 processor if AVX is available.
29847
29848 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29849
29850 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29851 typo.
29852
29853 2011-05-31 Andreas Schwab <schwab@redhat.com>
29854
29855 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29856 memory. Use alloca_account. Fix memory leak when retrying.
29857
29858 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29859
29860 * version.h (RELEASE): Bump for 2.14 release.
29861 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29862
29863 * config.make.in (RANLIB): Remove entry.
29864
29865 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29866
29867 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29868 (libc.pot): Work around missing support for .ksh extension in xgettext.
29869
29870 [BZ #12684]
29871 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29872 if both request failed.
29873 (send_dg): In case of server errors clear resplen or *resplen2.
29874
29875 [BZ #12454]
29876 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29877 when there are multiple maps.
29878 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29879 (_dl_fini): Remove test here.
29880
29881 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29882
29883 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29884
29885 [BZ #12350]
29886 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29887 bit from old_res_options.
29888 (gaih_inet): Likewise.
29889
29890 [BZ #11099]
29891 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29892 as signed.
29893
29894 * resolv/res_init.c (res_setoptions): Make the code more compact.
29895
29896 [BZ #11558]
29897 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29898 set RES_USEVC.
29899
29900 [BZ #11634]
29901 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29902
29903 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29904
29905 [BZ #11781]
29906 * malloc/malloc.h: Declare malloc hook variables as volatile.
29907
29908 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29909 in last patch.
29910
29911 [BZ #11799]
29912 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29913 raise in the comment.
29914 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29915 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29916 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29917
29918 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29919
29920 [BZ #12811]
29921 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29922 grow the buffers more if it already has to be sufficient.
29923 (build_wcs_upper_buffer): Likewise.
29924 * posix/regexec.c (check_matching): Likewise.
29925 (clean_state_log_if_needed): Likewise.
29926 (extend_buffers): Don't enlarge buffers beyond size of the input
29927 buffer.
29928 Patches mostly by Emil Wojak <emil@wojak.eu>.
29929 * posix/bug-regex32.c: New file.
29930 * posix/Makefile (tests): Add bug-regex32.
29931
29932 * locale/findlocale.c (_nl_find_locale): Return right away if
29933 _nl_explode_name failed.
29934 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29935
29936 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29937
29938 * debug/xtrace.sh: Unify messages.
29939 * malloc/memusage.sh: Likewise.
29940
29941 [BZ #12813]
29942 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29943 time symbol from vDSO. Substitute with vsyscall if not available.
29944 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29945 __vdso_time.
29946
29947 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29948 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29949 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29950 Add sendmmsg and internal_sendmmsg.
29951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29952 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29953 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29954
29955 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29956 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29957 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29958
29959 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29960
29961 [BZ #12813]
29962 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29963 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29964 available.
29965 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29966 __vdso_getcpu.
29967
29968 [BZ #12814]
29969 * iconvdata/Makefile (tests): Add bug-iconv9.
29970 * iconvdata/bug-iconv9.c: New file.
29971
29972 2011-05-27 Andreas Schwab <schwab@redhat.com>
29973
29974 [BZ #12814]
29975 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29976
29977 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29978
29979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29980 (struct user_regs_struct): Change intcs field back to cs.
29981
29982 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29983
29984 * po/ja.po: Update from translation team.
29985
29986 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29987
29988 [BZ #12795]
29989 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29990 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29991
29992 2011-05-20 Andreas Schwab <schwab@redhat.com>
29993
29994 * stdlib/longlong.h: Update from GCC.
29995
29996 2011-05-23 Andreas Schwab <schwab@redhat.com>
29997
29998 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29999 parameter name.
30000 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30001 Add parameter name.
30002 (__sysconf): Pass it down.
30003
30004 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30005
30006 [BZ #12671]
30007 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30008 some situations.
30009 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30010 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30011 add in in __libc_use_alloca calls. Adjust callers.
30012 (glob): Use malloc in some situations.
30013
30014 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30015 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30016 pltexit.
30017
30018 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30019
30020 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30021 and CLOCK_BOOTTIME_ALARM.
30022
30023 [BZ #12782]
30024 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30025 is returned.
30026
30027 * string/_strerror.c (__strerror_r): Print negative errors as signed
30028 numbers.
30029
30030 [BZ #12777]
30031 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30032 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30033 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30034
30035 * configure.in: Fix typo in redirection and correct removal of test
30036 files in two cases.
30037
30038 [BZ #12788]
30039 * locale/setlocale.c (new_composite_name): Fix test to check for
30040 identical name of all categories.
30041
30042 [BZ #12792]
30043 * libio/filedoalloc.c (local_isatty): New function.
30044 (_IO_file_doallocate): Use local_isatty.
30045 * stdio-common/perror.c (perror): In case a new stream is used
30046 forward the stream error.
30047 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30048 error flag.
30049
30050 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30051
30052 [BZ #11869]
30053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30054 alloca.
30055 * include/alloca.h (extend_alloca_account): Define.
30056
30057 [BZ #11857]
30058 * posix/regex.h: Fix comments with documentation of user-accessible
30059 fields after compilation and describe correct free'ing of pattern
30060 after re_compile_pattern.
30061 Patch by Reuben Thomas <rrt@sc3d.org>.
30062
30063 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30064
30065 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30066 and -mno-altivec to prevent the compiler from using Altivec and/or
30067 VSX instructions when the corresponding registers are not available.
30068
30069 2011-05-19 Andreas Schwab <schwab@redhat.com>
30070
30071 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30072
30073 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30074
30075 * libio/freopen.c (freopen): Use __dup2, not dup2.
30076 * libio/freopen64.c (freopen64): Likewise.
30077
30078 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30079
30080 [BZ #12775]
30081 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30082 * math/Makefile (tests): Add test-powl.
30083 (CFLAGS-test-powl.c): Define.
30084 * math/test-powl.c: New file.
30085
30086 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30087
30088 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30089
30090 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30091
30092 [BZ #11837]
30093 * iconvdata/gb18030.c: Update to GB18020-2005.
30094
30095 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30096
30097 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30098 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30099 Patch by Aharon Robbins <arnold@skeeve.com>.
30100
30101 [BZ #11892]
30102 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30103 on the stack.
30104
30105 [BZ #11895]
30106 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30107 through underflows.
30108
30109 [BZ #12766]
30110 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30111 point to strings before performing equality test for error_one_per_line
30112 mode.
30113
30114 [BZ #11697]
30115 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30116
30117 [BZ #11820]
30118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30119 (struct user_fpregs_struct): Avoid __uint*_t types.
30120
30121 [BZ #6420]
30122 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30123 symbol info. Use it instead of calling _dl_addr locally.
30124 (lock_and_info): New function.
30125 (tr_freehook): Call lock_and_info and pass symbol info as additional
30126 parameter to tr_where.
30127 (tr_mallochook): Likewise.
30128 (tr_reallochook): Likewise.
30129 (tr_memalignhook): Likewise.
30130
30131 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30132 used and couldn't be at all thread-safe.
30133
30134 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30135
30136 * libio/freopen.c (freopen): Don't close old file descriptor
30137 before the new one is opened. Instead dup the new file descriptor
30138 to the old one after the new stream is created.
30139 * libio/freopen64.c (freopen64): Likewise.
30140 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30141 * libio/fileops.c (_IO_new_file_close_it): Handle new
30142 _IO_FLAGS2_NOCLOSE flag.
30143 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30144 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30145 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30146 _IO_FLAGS2_NOCLOSE flag.
30147 * include/unistd.h: Add hidden_proto for dup3.
30148 Define __have_dup3.
30149 * io/dup3.c: Define hidden symbol.
30150 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30151
30152 [BZ #7101]
30153 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30154 when an incomplete long option is used.
30155 * posix/tst-getopt_long1.c: New file.
30156 * posix/Makefile (tests): Add tst-getopt_long1.
30157
30158 [BZ #10138]
30159 * scripts/config.guess: Update from autoconf-2.68.
30160 * scripts/config.sub: Likewise.
30161
30162 [BZ #10157]
30163 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30164 tests into ...
30165 (has_cpuclock): ...this. New function.
30166 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30167 macro here based on has_cpuclock code.
30168
30169 [BZ #10149]
30170 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30171 First byte (not low byte) is now always NUL.
30172 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30173
30174 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30175 Use non-cancelable interfaces.
30176
30177 [BZ #9809]
30178 * locale/iso-639.def: Add entry for Sorani.
30179
30180 [BZ #11901]
30181 * include/stdlib.h: Move include protection to the right place.
30182 Define abort_msg_s. Declare __abort_msg with it.
30183 * stdlib/abort.c (__abort_msg): Adjust type.
30184 * assert/assert.c (__assert_fail_base): New function. Majority
30185 of code from __assert_fail. Allocate memory for __abort_msg with
30186 mmap.
30187 (__assert_fail): Now call __assert_fail_base.
30188 * assert/assert-perr.c: Remove bulk of implementation. Use
30189 __assert_fail_base.
30190 * include/assert.hL Declare __assert_fail_base.
30191 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30192 mmap.
30193 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30194
30195 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30196
30197 [BZ #11952]
30198 [BZ #12453]
30199 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30200 until all modules are registered in the DTV.
30201 * elf/Makefile: Add rules to build and run tst-tls19.
30202 * elf/tst-tls19.c: New file.
30203 * elf/tst-tls19mod1.c: New file.
30204 * elf/tst-tls19mod2.c: New file.
30205 * elf/tst-tls19mod3.c: New file.
30206 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30207
30208 [BZ #12083]
30209 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30210 correctly.
30211
30212 [BZ #12601]
30213 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30214 two-byte sequence errors.
30215 * iconvdata/Makefile (tests): Add bug-iconv8.
30216 * iconvdata/bug-iconv8.c: New file.
30217
30218 [BZ #12626]
30219 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30220 buf2 definition.
30221
30222 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30223
30224 [BZ #12432]
30225 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30226 (dummy_getcfa): New function.
30227 (init): Get _Unwind_GetCFA address, use dummy if not found.
30228 (backtrace_helper): In recursion check, also check whether CFA changes.
30229 (__backtrace): Completely initialize arg.
30230
30231 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30232 storing incomplete byte sequence in state object. Avoid testing for
30233 guaranteed too small input if we know there is enough data available.
30234
30235 2011-05-11 Andreas Schwab <schwab@redhat.com>
30236
30237 * Makeconfig (+link-pie): Indent.
30238 * Rules (binaries-pie): Define if $(have-fpie) and
30239 $(build-shared).
30240 (binaries-shared): Also filter out $(binaries-pie).
30241 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30242 * nscd/Makefile (others-pie): Add nscd.
30243 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30244 ($(objpfx)nscd): Remove command override.
30245 * login/Makefile (others-pie): Add pt_chown.
30246 ($(objpfx)pt_chown): Remove command override.
30247 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30248 remove command overrides.
30249
30250 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30251
30252 * libio/tst_putwc.c: Fix error messages.
30253
30254 [BZ #12724]
30255 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30256 currently writing and seek to current position when not.
30257 * libio/Makefile (tests): Add bug-fclose1.
30258 * libio/bug-fclose1.c: New file.
30259
30260 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30261
30262 [BZ #12511]
30263 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30264 don't set DF_1_NODELETE here.
30265 (do_lookup_x): When entering new entry test for copy relocation
30266 and if necessary set DF_1_NODELETE flag.
30267 * elf/tst-unique4.cc: New file.
30268 * elf/tst-unique4.h: New file.
30269 * elf/tst-unique4lib.cc: New file.
30270 * elf/Makefile: Add rules to build and run tst-unique4.
30271 Patch by Piotr Bury <pbury@goahead.com>.
30272
30273 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30274
30275 [BZ #12052]
30276 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30277
30278 [BZ #12625]
30279 * misc/mntent_r.c (addmntent): Flush the stream after the output
30280
30281 [BZ #12393]
30282 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30283 (is_trusted_path_normalize): Skip initial colon. Append slash
30284 to empty buffer. Duplicate is_trusted_path code but allow
30285 constructed patch to be prefix.
30286 (is_dst): Allow $ORIGIN followed by /.
30287 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30288 Correct testing of result of is_trusted_path_normalize
30289 (decompose_rpath): Fix warning.
30290
30291 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30292
30293 [BZ #11257]
30294 * grp/initgroups.c (internal_getgrouplist): When we found the service
30295 list through the initgroups entry in nsswitch.conf do not always
30296 continue on a successful lookup. Don't always use the
30297 __nss_group_database value if it is set.
30298 * nss/nsswitch.conf (initgroups): Change action for successful db
30299 lookup to continue for compatibility.
30300
30301 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30302
30303 [BZ #11532]
30304 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30305 and CP774 modules.
30306 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30307 and CP774 modules.
30308 * iconvdata/tst-tables.sh: Likewise.
30309 * iconvdata/cp770.c: New file.
30310 * iconvdata/cp771.c: New file.
30311 * iconvdata/cp772.c: New file.
30312 * iconvdata/cp773.c: New file.
30313 * iconvdata/cp774.c: New file.
30314 * iconvdata/testdata/CP770: New file.
30315 * iconvdata/testdata/CP770..UTF8: New file.
30316 * iconvdata/testdata/CP771: New file.
30317 * iconvdata/testdata/CP771..UTF8: New file.
30318 * iconvdata/testdata/CP772: New file.
30319 * iconvdata/testdata/CP772..UTF8: New file.
30320 * iconvdata/testdata/CP773: New file.
30321 * iconvdata/testdata/CP773..UTF8: New file.
30322 * iconvdata/testdata/CP774: New file.
30323 * iconvdata/testdata/CP774..UTF8: New file.
30324
30325 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30326 END CHARMAP line.
30327 * iconvdata/gen-8bit-gap.sh: Likewise.
30328 * iconvdata/gen-8bit.sh: Likewise.
30329
30330 * locale/iso-639.def: Add ary entry.
30331
30332 [BZ #11258]
30333 * locale/C-translit.h.in: Add U20A1 transliteration.
30334
30335 [BZ #12178]
30336 * locale/iso-639.def: Add wae entry.
30337 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30338
30339 [BZ #12545]
30340 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30341 for n.
30342
30343 [BZ #12711]
30344 * locale/C-translit.h.in: Add entry for U20B9.
30345 Patch by pravin.d.s@gmail.com.
30346
30347 2011-05-08 Ulrich Drepper <drepper@gmail.com>
30348
30349 [BZ #12713]
30350 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30351 ENAMETOOLONG use generic getcwd.
30352 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30353 in rtld. Use *stat64.
30354 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30355 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30356 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30357 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30358 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30359 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30360 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30361 __fstatat64 macros.
30362 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30363 * dirent/rewinddir.c: Add libc_hidden_def.
30364 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30365 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30366
30367 * include/dirent.h (__alloc_dir): Add flags parameter.
30368 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30369 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30370 __alloc_dir.
30371 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30372 from fdopendir if O_CLOEXEC is already set.
30373
30374 2011-03-15 Alan Modra <amodra@gmail.com>
30375
30376 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30377 l_tls_firstbyte_offset non-zero. Save padding offset in
30378 l_tls_firstbyte_offset for later use.
30379 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30380 freeing static tls block.
30381
30382 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30383
30384 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30385 where #ifdef was intended. The intent is to prevent ARG_MAX from
30386 being defined by the kernel headers.
30387
30388 2011-05-07 Ulrich Drepper <drepper@gmail.com>
30389
30390 [BZ #12734]
30391 * resolv/resolv.h: Define RES_NOTLDQUERY.
30392 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30393 no-tld-query and set RES_NOTLDQUERY.
30394 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30395 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30396 modern BIND to search name as TLD unless forbidden.
30397
30398 2011-05-07 Petr Baudis <pasky@suse.cz>
30399 Ulrich Drepper <drepper@gmail.com>
30400
30401 [BZ #12393]
30402 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30403 (is_trusted_path): ...to here.
30404 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30405 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30406 using is_trusted_path_normalize() in setuid scripts.
30407
30408 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30409
30410 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30411 __BEGIN/__END_DECLS.
30412
30413 2011-05-06 Ulrich Drepper <drepper@gmail.com>
30414
30415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30416 NSS_STATUS_NOTFOUND if no record was found.
30417
30418 2011-05-05 Andreas Schwab <schwab@redhat.com>
30419
30420 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30421 (headers-not-in-tirpc): Remove rpc/netdb.h
30422 * resolv/netdb.h: Revert last change.
30423
30424 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30425
30426 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30427 circular dependency between libgcc.a and libc.a.
30428
30429 2011-05-05 Andreas Schwab <schwab@redhat.com>
30430
30431 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30432 * nis/Makefile: Don't install rpcsvc/*.
30433 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30434 instead of <rpc/types.h>.
30435 (MAXHOSTNAMELEN): Define.
30436
30437 2011-05-03 Andreas Schwab <schwab@redhat.com>
30438
30439 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30440
30441 2011-04-28 Maciej Babinski <mbabinski@google.com>
30442
30443 [BZ #12714]
30444 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30445 gethostbyname4_r when IPv6 results are possible.
30446
30447 2011-05-02 Ulrich Drepper <drepper@gmail.com>
30448
30449 [BZ #12723]
30450 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30451 _PC_PIPE_BUF handling.
30452
30453 2011-04-30 Bruno Haible <bruno@clisp.org>
30454
30455 [BZ #12717]
30456 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30457 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30458 to 'int'.
30459 * inet/getnameinfo.c (getnameinfo): Likewise.
30460
30461 2011-04-29 Ulrich Drepper <drepper@gmail.com>
30462
30463 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30464 to groups setting in database lookup.
30465 * nss/nsswitch.conf: Add initgroups entry.
30466
30467 2011-04-22 Ulrich Drepper <drepper@gmail.com>
30468
30469 [BZ #12685]
30470 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30471 mode string.
30472 Patch by Eric Blake <eblake@redhat.com>.
30473
30474 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30475
30476 * sunrpc/Makefile (need-export-routines): Add svc_run.
30477 (routines): Remove svc_run.
30478 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30479 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30480 * sunrpc/svc_run.c (svc_run): Likewise.
30481 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30482
30483 2011-04-21 Ulrich Drepper <drepper@gmail.com>
30484
30485 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30486 problem in reallocation in last patch.
30487
30488 2011-04-20 Ulrich Drepper <drepper@gmail.com>
30489
30490 * sunrpc/Makefile: Move inclusion of Rules.
30491
30492 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30493
30494 * nss/nss_files/files-initgroups.c: New file.
30495 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30496 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30497 _nss_files_initgroups_dyn.
30498
30499 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30500
30501 * elf/elf.h (R_ARM_IRELATIVE): Define.
30502
30503 2011-04-19 Ulrich Drepper <drepper@gmail.com>
30504
30505 * po/ru.po: Update from translation team.
30506
30507 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30508
30509 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30510 dependencies.
30511
30512 2011-02-06 Mike Frysinger <vapier@gentoo.org>
30513
30514 [BZ #12653]
30515 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30516 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30517 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30518 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30519 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30520
30521 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30522
30523 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30524 differing bytes.
30525 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30526 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30527 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30528
30529 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30530
30531 [BZ #12420]
30532 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30533 storing it.
30534 * stdlib/bug-getcontext.c: New file.
30535 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30536
30537 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30538
30539 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30540 instructions into .machine "z9-109".
30541 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30542 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30543
30544 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30545
30546 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30547 between environment variables and auxiliary vector.
30548
30549 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30550
30551 * Makefile: Add rules to build linkobj/libc.so.
30552 * include/libc-symbols.h: Define libc_hidden_nolink.
30553 * include/rpc/auth.h: Mark functions which are to be hidden.
30554 * include/rpc/auth_des.h: Likewise.
30555 * include/rpc/auth_unix.h: Likewise.
30556 * include/rpc/clnt.h: Likewise.
30557 * include/rpc/des_crypt.h: Likewise.
30558 * include/rpc/key_prot.h: Likewise.
30559 * include/rpc/pmap_clnt.h: Likewise.
30560 * include/rpc/pmap_prot.h: Likewise.
30561 * include/rpc/pmap_rmt.h: Likewise.
30562 * include/rpc/rpc_msg.h: Likewise.
30563 * include/rpc/svc.h: Likewise.
30564 * include/rpc/svc_auth.h: Likewise.
30565 * include/rpc/xdr.h: Likewise.
30566 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30567 * nss/Makefile: Likewise.
30568 * sunrpc/Makefile: Don't install headers. Build library with normal
30569 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30570 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30571 for the compat linking library. Remove use of INTDEF/INTUSE.
30572 * sunrpc/auth_none.c: Likewise.
30573 * sunrpc/auth_unix.c: Likewise.
30574 * sunrpc/authdes_prot.c: Likewise.
30575 * sunrpc/authuxprot.c: Likewise.
30576 * sunrpc/clnt_gen.c: Likewise.
30577 * sunrpc/clnt_perr.c: Likewise.
30578 * sunrpc/clnt_raw.c: Likewise.
30579 * sunrpc/clnt_simp.c: Likewise.
30580 * sunrpc/clnt_tcp.c: Likewise.
30581 * sunrpc/clnt_udp.c: Likewise.
30582 * sunrpc/clnt_unix.c: Likewise.
30583 * sunrpc/des_crypt.c: Likewise.
30584 * sunrpc/des_soft.c: Likewise.
30585 * sunrpc/get_myaddr.c: Likewise.
30586 * sunrpc/key_call.c: Likewise.
30587 * sunrpc/key_prot.c: Likewise.
30588 * sunrpc/netname.c: Likewise.
30589 * sunrpc/pm_getmaps.c: Likewise.
30590 * sunrpc/pm_getport.c: Likewise.
30591 * sunrpc/pmap_clnt.c: Likewise.
30592 * sunrpc/pmap_prot.c: Likewise.
30593 * sunrpc/pmap_prot2.c: Likewise.
30594 * sunrpc/pmap_rmt.c: Likewise.
30595 * sunrpc/publickey.c: Likewise.
30596 * sunrpc/rpc_cmsg.c: Likewise.
30597 * sunrpc/rpc_common.c: Likewise.
30598 * sunrpc/rpc_dtable.c: Likewise.
30599 * sunrpc/rpc_prot.c: Likewise.
30600 * sunrpc/rpc_thread.c: Likewise.
30601 * sunrpc/rtime.c: Likewise.
30602 * sunrpc/svc.c: Likewise.
30603 * sunrpc/svc_auth.c: Likewise.
30604 * sunrpc/svc_authux.c: Likewise.
30605 * sunrpc/svc_raw.c: Likewise.
30606 * sunrpc/svc_run.c: Likewise.
30607 * sunrpc/svc_simple.c: Likewise.
30608 * sunrpc/svc_tcp.c: Likewise.
30609 * sunrpc/svc_udp.c: Likewise.
30610 * sunrpc/svc_unix.c: Likewise.
30611 * sunrpc/svcauth_des.c: Likewise.
30612 * sunrpc/xcrypt.c: Likewise.
30613 * sunrpc/xdr.c: Likewise.
30614 * sunrpc/xdr_array.c: Likewise.
30615 * sunrpc/xdr_float.c: Likewise.
30616 * sunrpc/xdr_intXX_t.c: Likewise.
30617 * sunrpc/xdr_mem.c: Likewise.
30618 * sunrpc/xdr_rec.c: Likewise.
30619 * sunrpc/xdr_ref.c: Likewise.
30620 * sunrpc/xdr_sizeof.c: Likewise.
30621 * sunrpc/xdr_stdio.c: Likewise.
30622
30623 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30624
30625 [BZ #12650]
30626 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30627 * sysdeps/ia64/dl-tls.h: Likewise.
30628 * sysdeps/powerpc/dl-tls.h: Likewise.
30629 * sysdeps/s390/dl-tls.h: Likewise.
30630 * sysdeps/sh/dl-tls.h: Likewise.
30631 * sysdeps/sparc/dl-tls.h: Likewise.
30632 * sysdeps/x86_64/dl-tls.h: Likewise.
30633 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30634
30635 2011-03-14 Andreas Schwab <schwab@redhat.com>
30636
30637 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30638 rpath element also skip the following colon.
30639 (expand_dynamic_string_token): Add is_path parameter and pass
30640 down to DL_DST_REQUIRED and _dl_dst_substitute.
30641 (decompose_rpath): Call expand_dynamic_string_token with
30642 non-zero is_path. Ignore empty rpaths.
30643 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30644 with zero is_path.
30645
30646 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30647
30648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30649 Make cancelable.
30650
30651 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30652
30653 [BZ #12655]
30654 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30655 Patch by Filipe David Manana <fdmanana@apache.org>.
30656
30657 2011-04-07 Andreas Schwab <schwab@redhat.com>
30658
30659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30660 Maintain aligned stack.
30661 (CHECK_RSP): Remove unused macro.
30662
30663 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30664
30665 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30666 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30667
30668 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30669
30670 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30671
30672 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30673
30674 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30675
30676 [BZ #12518]
30677 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30678 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30679 * sysdeps/x86_64/memmove.c: New file.
30680 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30681 (memcpy): Renamed to ...
30682 (__new_memcpy): This.
30683 (memcpy): Provide GLIBC_2_14 memcpy.
30684 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30685 (memcpy): Provide GLIBC_2_2_5 memcpy.
30686
30687 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30688
30689 [BZ #12631]
30690 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30691
30692 2011-03-30 Andreas Schwab <schwab@redhat.com>
30693
30694 * misc/syncfs.c: New file.
30695 * misc/Makefile (routines): Add syncfs.
30696 * posix/unistd.h: Declare syncfs.
30697 * sysdeps/unix/syscalls.list: Add syncfs.
30698
30699 2011-04-01 Andreas Schwab <schwab@redhat.com>
30700
30701 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30702 open_by_handle_at.
30703 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30704 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30706 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30708 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30709 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30710
30711 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30712
30713 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30714 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30715 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30719 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30720
30721 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30722 sync_file_range.c with -fexceptions.
30723 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30724 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30725 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30726 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30727 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30728 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30729 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30730 sync_file_range as cancellation point
30731 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30732 now a wrapper around __call_sync_file_range with cancellation handling.
30733 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30734 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30735 function name to __call_sync_file_range.
30736 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30737 Add call_sync_file_range.
30738
30739 2011-04-01 Andreas Schwab <schwab@redhat.com>
30740
30741 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30742 bits/timex.h.
30743
30744 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30745
30746 * iconv/iconv.h: Fix typo in comment.
30747 * io/fcntl.h: Likewise.
30748 * libio/stdio.h: Likewise.
30749 * posix/spawn.h: Likewise.
30750 * posix/unistd.h: Likewise.
30751 * stdlib/stdlib.h: Likewise.
30752 * time/time.h: Likewise.
30753 * wcsmbs/wchar.h: Likewise.
30754
30755 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30756 open_by_handle): Add.
30757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30758 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30759 Augment a few comments.
30760 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30762 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30764 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30765 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30766 open_by_handle.
30767
30768 * io/fcntl.h (AT_EMPTY_PATH): Define.
30769
30770 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30771
30772 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30773 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30774 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30775 to...
30776 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30777 * Versions.def: Add GLIBC_2.14.
30778 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30779 Export.
30780
30781 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30782
30783 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30784 round counter.
30785 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30786
30787 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30788
30789 [BZ #12597]
30790 * string/test-strncmp.c (do_page_test): New function.
30791 (check2): Likewise.
30792 (test_main): Call check2.
30793 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30794
30795 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30796
30797 [BZ #12587]
30798 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30799 Handle cache information in CPU leaf 4.
30800 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30801
30802 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30803
30804 [BZ #12583]
30805 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30806 character representation.
30807 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30808
30809 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30810
30811 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30812 END(__isnan) to END(__isnanf) to match function entry point/label
30813 EALIGN(__isnanf,...).
30814
30815 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30816
30817 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30818
30819 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30820
30821 [BZ #12510]
30822 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30823 copy from the symbol referenced in the relocation to initialize the
30824 used variable.
30825 Patch by Piotr Bury <pbury@goahead.com>.
30826 * elf/Makefile: Add rules to build and tst-unique3.
30827 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30828 * elf/tst-unique3.cc: New file.
30829 * elf/tst-unique3.h: New file.
30830 * elf/tst-unique3lib.cc: New file.
30831 * elf/tst-unique3lib2.cc: New file.
30832
30833 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30834
30835 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30836
30837 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30838 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30839 to _start.
30840
30841 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30842
30843 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30844 to-be-loaded object along a path to loader is ld.so.
30845
30846 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30847 Ulrich Drepper <drepper@gmail.com>
30848
30849 * sysdeps/x86_64/memset.S: After aligning destination, code
30850 branches to different locations depending on the value of
30851 misalignment, when multiarch is enabled. Fix this.
30852
30853 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30854
30855 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30856 Set _x86_64_preferred_memory_instruction for AMD processsors.
30857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30858 Set bit_Prefer_SSE_for_memop for AMD processors.
30859
30860 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30861
30862 * libio/fmemopen.c (fmemopen): Optimize a bit.
30863
30864 2011-03-03 Andreas Schwab <schwab@redhat.com>
30865
30866 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30867
30868 2011-03-03 Roland McGrath <roland@redhat.com>
30869
30870 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30871
30872 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30873
30874 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30875 __bzero_ultra1 instead of __memset_ultra1.
30876
30877 2011-02-23 Andreas Schwab <schwab@redhat.com>
30878 Ulrich Drepper <drepper@gmail.com>
30879
30880 [BZ #12509]
30881 * include/link.h (struct link_map): Add l_orig_initfini.
30882 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30883 returning unsuccessfully.
30884 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30885 close of a file loaded at startup, restore the original l_initfini
30886 list.
30887 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30888 list, store the pointer.
30889 * elf/Makefile ($(objpfx)noload-mem): New rule.
30890 (noload-ENV): Define.
30891 (tests): Add $(objpfx)noload-mem.
30892 * elf/noload.c: Include <memcheck.h>.
30893 (main): Call mtrace. Close all opened handles.
30894
30895 2011-02-17 Andreas Schwab <schwab@redhat.com>
30896
30897 [BZ #12454]
30898 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30899 dependencies are missing.
30900
30901 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30902
30903 Fix __if_freereq crash: Unlike the generic version which uses free,
30904 Hurd needs munmap.
30905 * sysdeps/mach/hurd/ifreq.h: New file.
30906
30907 2011-01-27 Petr Baudis <pasky@suse.cz>
30908 Ulrich Drepper <drepper@gmail.com>
30909
30910 [BZ 12445]#
30911 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30912 to extend_alloca().
30913 * stdio-common/bug23.c: New file.
30914 * stdio-common/Makefile (tests): Add bug23.
30915
30916 2010-09-28 Andreas Schwab <schwab@redhat.com>
30917 Ulrich Drepper <drepper@gmail.com>
30918
30919 [BZ #12489]
30920 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30921 before performing relro protection. At old place add assertion
30922 to make sure nothing changed.
30923
30924 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30925 Glauber de Oliveira Costa <glommer@gmail.com>
30926
30927 * elf/elf.h: Add new ARM TLS relocs.
30928
30929 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30930
30931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30932 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30933 cast from r3.
30934 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30935 'tests' variable.
30936 * sysdeps/wordsize-64/tst-writev.c: New file.
30937
30938 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30939
30940 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30941 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30942 insns in _dl_start to prevent a TOC reference before relocs are
30943 resolved.
30944
30945 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30946
30947 [BZ #12469]
30948 * Makeconfig: Remove RANLIB definition.
30949 * Makerules: Don't use RANLIB.
30950 * aclocal.m4: Remove ranlib test.
30951 * configure.in: No need to check for ranlib.
30952 * elf/rtld-Rules: Don't use RANLIB.
30953
30954 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30955
30956 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30957 protection macro.
30958 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30959 inclusion protection macro.
30960
30961 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30962 SIGRTMIN and SIGRTMAX and print information in that case only when
30963 SIGRTMIN is defined.
30964
30965 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30966
30967 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30968 arginfo fn returning -1.
30969
30970 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30971 and thousands string is zero terminated.
30972
30973 2011-02-03 Andreas Schwab <schwab@redhat.com>
30974
30975 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30976 sysdeps/unix/sysv/linux/bits/socket.h.
30977
30978 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30979
30980 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30981 (__CPU_COUNT): Remove old macros.
30982 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30983 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30984 (__CPU_ALLOC, __CPU_FREE): Add macros.
30985 (__sched_cpualloc, __sched_cpufree): Add declarations.
30986
30987 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30988
30989 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30990 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30991 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30992 (readdhstai): Return value of addhstaiX call.
30993 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30994 (addgrbyX): Return value returned by cache_addgr.
30995 (readdgrbyname): Return value returned by addgrbyX.
30996 (readdgrbygid): Likewise.
30997 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30998 (addpwbyX): Return value returned by cache_addpw.
30999 (readdpwbyname): Return value returned by addhstbyX.
31000 (readdpwbyuid): Likewise.
31001 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31002 (addservbyX): Return value returned by cache_addserv.
31003 (readdservbyname): Return value returned by addservbyX:
31004 (readdservbyport): Likewise.
31005 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31006 (addhstbyX): Return value returned by cache_addhst.
31007 (readdhstbyname): Return value returned by addhstbyX.
31008 (readdhstbyaddr): Likewise.
31009 (readdhstbynamev6): Likewise.
31010 (readdhstbyaddrv6): Likewise.
31011 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31012 (readdinitgroups): Return value returned by addinitgroupsX.
31013 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31014 (prune_cache): Keep track of timeout value of re-added entries.
31015 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31016 * nscd/nscd.h: Adjust prototypes of readd* functions.
31017
31018 2011-02-04 Roland McGrath <roland@redhat.com>
31019
31020 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31021 (nis_stats): Likewise.
31022 * nis/nis_modify.c (nis_modify): Likewise.
31023 * nis/nis_remove.c (nis_remove): Likewise.
31024 * nis/nis_add.c (nis_add): Likewise.
31025
31026 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31027
31028 * posix/fnmatch_loop.c: Add some consts.
31029
31030 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31031
31032 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31033
31034 [BZ #12460]
31035 * config.make.in (config-cflags-novzeroupper): Define.
31036 * configure.in: Substitute libc_cv_cc_novzeroupper.
31037 * elf/Makefile (AVX-CFLAGS): Define.
31038 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31039 (CFLAGS-tst-auditmod4a.c): Likewise.
31040 (CFLAGS-tst-auditmod4b.c): Likewise.
31041 (CFLAGS-tst-auditmod6b.c): Likewise.
31042 (CFLAGS-tst-auditmod6c.c): Likewise.
31043 (CFLAGS-tst-auditmod7b.c): Likewise.
31044 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31045
31046 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31047
31048 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31049 function to the callback.
31050 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31051
31052 2011-02-02 Andreas Schwab <schwab@redhat.com>
31053
31054 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31055 of errno.
31056
31057 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31058
31059 [BZ #11724]
31060 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31061 of constructors.
31062 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31063 of destructors.
31064 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31065
31066 [BZ #11724]
31067 * elf/Makefile: Add rules to build and run new test.
31068 * elf/tst-initorder.c: New file.
31069 * elf/tst-initorder.exp: New file.
31070 * elf/tst-initordera1.c: New file.
31071 * elf/tst-initordera2.c: New file.
31072 * elf/tst-initordera3.c: New file.
31073 * elf/tst-initordera4.c: New file.
31074 * elf/tst-initorderb1.c: New file.
31075 * elf/tst-initorderb2.c: New file.
31076 * elf/tst-order-a1.c: New file.
31077 * elf/tst-order-a2.c: New file.
31078 * elf/tst-order-a3.c: New file.
31079 * elf/tst-order-a4.c: New file.
31080 * elf/tst-order-b1.c: New file.
31081 * elf/tst-order-b2.c: New file.
31082 * elf/tst-order-main.c: New file.
31083 New test case by George Gensure <werkt0@gmail.com>.
31084
31085 2010-10-01 Andreas Schwab <schwab@redhat.com>
31086
31087 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31088 decoding ACE if AI_CANONIDN.
31089
31090 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31091
31092 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31093
31094 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31095
31096 * version.h (RELEASE): Bump for 2.13 release.
31097 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31098
31099 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31100
31101 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31102 MADV_NOHUGEPAGE.
31103 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31104 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31105 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31106 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31107 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31108 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31109
31110 * posix/getconf.c: Update copyright year.
31111 * catgets/gencat.c: Likewise.
31112 * csu/version.c: Likewise.
31113 * debug/catchsegv.sh: Likewise.
31114 * debug/xtrace.sh: Likewise.
31115 * elf/ldconfig.c: Likewise.
31116 * elf/ldd.bash.in: Likewise.
31117 * elf/sprof.c (print_version): Likewise.
31118 * iconv/iconv_prog.c: Likewise.
31119 * iconv/iconvconfig.c: Likewise.
31120 * locale/programs/locale.c: Likewise.
31121 * locale/programs/localedef.c: Likewise.
31122 * malloc/memusage.sh: Likewise.
31123 * malloc/mtrace.pl: Likewise.
31124 * nscd/nscd.c (print_version): Likewise.
31125 * nss/getent.c: Likewise.
31126
31127 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31128 PF_CAIF, and PF_ALG.
31129 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31130
31131 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31132
31133 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31134 (modules-names): Use them.
31135 (ifunc-test-modules, ifunc-pie-tests): Define.
31136 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31137 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31138 (test-extras): Likewise.
31139 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31140 $(compile-command.c).
31141 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31142 (all-built-dso): Define.
31143 (check-textrel.out, check-execstack.out): Depend on it.
31144
31145 * configure.in: Don't override --enable-multi-arch.
31146
31147 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31148
31149 [BZ #6812]
31150 * nscd/hstcache.c (tryagain): Define.
31151 (cache_addhst): Return tryagain not notfound for temporary errors.
31152 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31153 failed.
31154
31155 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31156
31157 [BZ #10563]
31158 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31159 to make the syscall.
31160 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31161
31162 [BZ #12378]
31163 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31164 and fall back to matching as normal character if the string ends before
31165 the matching ']' is found. This is what POSIX requires.
31166 * posix/testfnm.c: Adjust test result.
31167 * posix/globtest.sh: Adjust test result. Add new test.
31168 * posix/tst-fnmatch.input: Likewise.
31169 * posix/tst-fnmatch2.c: Add new test.
31170
31171 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31172
31173 * elf/Makefile (check-execstack): Revert last change. Depend on
31174 check-execstack.h.
31175 (check-execstack.h): New target.
31176 (generated): Add check-execstack.h.
31177 * elf/check-execstack.c: Include "check-execstack.h".
31178 (main): Revert last change.
31179 (handle_file): Return zero if GNU_STACK is absent and
31180 DEFAULT_STACK_PERMS doesn't include PF_X.
31181
31182 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31183
31184 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31185 in child fails because the descriptor is already closed.
31186 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31187 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31188 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31189
31190 [BZ #12397]
31191 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31192 syscall.
31193
31194 [BZ #10484]
31195 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31196 temporary buffer used to handle multi lookups locally.
31197 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31198
31199 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31200
31201 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31202 loader is ld.so.
31203
31204 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31205
31206 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31207 alignment for SSE2.
31208
31209 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31210
31211 [BZ #12394]
31212 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31213 characters. When rounding increased number of integer digits recompute
31214 number of groups.
31215 * stdio-common/tst-grouping.c: New file.
31216 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31217
31218 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31219
31220 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31221 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31222
31223 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31224 void.
31225 * bits/select.h: Likewise.
31226
31227 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31228
31229 * po/ja.po: Update from translation team.
31230
31231 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31232
31233 [BZ #11155]
31234 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31235 implementation just like for lxstat, fxstatat, et al.
31236
31237 2010-12-27 Jim Meyering <meyering@redhat.com>
31238
31239 [BZ #12348]
31240 * posix/regexec.c (build_trtable): Return failure indication upon
31241 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31242
31243 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31244
31245 [BZ #12201]
31246 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31247 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31248 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31249 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31250
31251 [BZ #12207]
31252 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31253
31254 [BZ #12204]
31255 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31256 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31257
31258 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31259
31260 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31261 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31262 script has SORT_BY_INIT_PRIORITY.
31263 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31264 NO_CTORS_DTORS_SECTIONS is defined.
31265 * elf/soinit.c: Likewise.
31266 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31267 NO_CTORS_DTORS_SECTIONS is defined.
31268 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31269 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31270 * sysdeps/sh/init-first.c: Likewise.
31271 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31272
31273 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31274
31275 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31276 always use the slow path.
31277
31278 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31279
31280 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31281 similar rule which adds the sysdep directories to the header search in
31282 order to pick up the correct platform stackinfo.h.
31283 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31284 perform test if it is, otherwise return successfully without testing.
31285 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31286 DEFAULT_STACK_PERMS define in stackinfo.h.
31287 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31288 defined in stackinfo.h.
31289 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31290 DEFAULT_STACK_PERMS defined in stackinfo.h.
31291 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31292 * sysdeps/ia64/stackinfo.h: Likewise.
31293 * sysdeps/s390/stackinfo.h: Likewise.
31294 * sysdeps/sh/stackinfo.h: Likewise.
31295 * sysdeps/sparc/stackinfo.h: Likewise.
31296 * sysdeps/x86_64/stackinfo.h: Likewise.
31297 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31298 PF_X for powerpc64. Retain PF_X for powerpc32.
31299
31300 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31301
31302 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31303 accurately.
31304 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31305 GETDENTS_64BIT_ALIGNED.
31306
31307 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31308
31309 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31310
31311 2010-12-10 Andreas Schwab <schwab@redhat.com>
31312
31313 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31314 _GNU_SOURCE.
31315
31316 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31317 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31318 Remove __restrict.
31319 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31320 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31321
31322 2010-12-09 Ulrich Drepper <drepper@gmail.com>
31323
31324 [BZ #11655]
31325 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31326 are initialized.
31327
31328 2010-12-09 Jakub Jelinek <jakub@redhat.com>
31329
31330 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31331
31332 2010-12-03 Ulrich Drepper <drepper@gmail.com>
31333
31334 * po/it.po: Update from translation team.
31335
31336 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31337
31338 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31339 unused codes.
31340
31341 2010-11-30 Ulrich Drepper <drepper@gmail.com>
31342
31343 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31344
31345 2010-11-24 Andreas Schwab <schwab@redhat.com>
31346
31347 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31348 specially.
31349 (gaih_getanswer_slice): Likewise.
31350
31351 2010-10-20 Jakub Jelinek <jakub@redhat.com>
31352
31353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31354
31355 2010-05-31 Petr Baudis <pasky@suse.cz>
31356
31357 [BZ #11149]
31358 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31359 silently even in the chroot mode.
31360
31361 2010-11-22 Ulrich Drepper <drepper@gmail.com>
31362
31363 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31364 last patch a bit. Pretty printing
31365
31366 2010-05-31 Petr Baudis <pasky@suse.cz>
31367
31368 [BZ #10085]
31369 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31370 initialization of skip_initgroups_dyn.
31371
31372 2010-11-19 Ulrich Drepper <drepper@gmail.com>
31373
31374 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31375 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31376
31377 2010-11-16 Ulrich Drepper <drepper@gmail.com>
31378
31379 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31380
31381 2010-11-11 Andreas Schwab <schwab@redhat.com>
31382
31383 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31384 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31385 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31386 ($(objpfx)tst-fnmatch-mem): New rule.
31387 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31388 * posix/tst-fnmatch.c (main): Call mtrace.
31389
31390 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31391
31392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31393 Support Intel processor model 6 and model 0x2c.
31394
31395 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
31396
31397 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31398 signed comparison.
31399
31400 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31401
31402 [BZ #12205]
31403 * string/test-strncasecmp.c (check_result): New function.
31404 (do_one_test): Use it.
31405 (check1): New function.
31406 (test_main): Use it.
31407 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31408 Support strcasecmp and strncasecmp.
31409
31410 2010-11-08 Ulrich Drepper <drepper@gmail.com>
31411
31412 [BZ #12194]
31413 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31414 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31415
31416 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31417
31418 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31419 IFUNC support.
31420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31421 memset-x86-64.
31422 * sysdeps/x86_64/multiarch/bzero.S: New file.
31423 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31424 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31425 * sysdeps/x86_64/multiarch/memset.S: New file.
31426 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31428 Set bit_Prefer_SSE_for_memop for Intel processors.
31429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31430 Define.
31431 (index_Prefer_SSE_for_memop): Define.
31432 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31433
31434 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
31435
31436 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31437 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31438
31439 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31440
31441 [BZ #12191]
31442 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31443 (__x86_64_raw_data_cache_size_half): Likewise.
31444 (__x86_64_raw_shared_cache_size): Likewise.
31445 (__x86_64_raw_shared_cache_size_half): Likewise.
31446
31447 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31448 (__x86_64_raw_data_cache_size_half): Likewise.
31449 (__x86_64_raw_shared_cache_size): Likewise.
31450 (__x86_64_raw_shared_cache_size_half): Likewise.
31451 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31452 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31453 and __x86_64_raw_shared_cache_size_half. Round
31454 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31455 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31456 to multiple of 256 bytes.
31457
31458 2010-11-03 Ulrich Drepper <drepper@gmail.com>
31459
31460 [BZ #12167]
31461 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31462 of inacessible symlinks. Verify result of symlink before returning it.
31463 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31464 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31465
31466 2010-10-28 Erich Ritz <erichritz@gmail.com>
31467
31468 * math/math.h (isinf): Fix typo in comment.
31469
31470 2010-11-01 Ulrich Drepper <drepper@gmail.com>
31471
31472 * po/da.po: Update from translation team.
31473
31474 2010-10-26 Ulrich Drepper <drepper@gmail.com>
31475
31476 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31477 is added to the list.
31478
31479 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31480 Ulrich Drepper <drepper@gmail.com>
31481
31482 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31483 the global list here. Move code to...
31484 (_dl_add_to_namespace_list): ...here. New function.
31485 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31486 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31487 * elf/dl-load.c (lose): Don't remove the element from the list.
31488 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31489 (_dl_map_object): Likewise.
31490
31491 2010-10-25 Ulrich Drepper <drepper@gmail.com>
31492
31493 [BZ #12159]
31494 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31495 into all bytes of SSE register.
31496 Patch by Richard Li <richardpku@gmail.com>.
31497
31498 2010-10-24 Ulrich Drepper <drepper@gmail.com>
31499
31500 [BZ #12140]
31501 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31502 perturbing.
31503
31504 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31505
31506 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31507 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31508 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31509 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31511 submachine.
31512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31513
31514 2010-10-22 Andreas Schwab <schwab@redhat.com>
31515
31516 * include/dlfcn.h (__RTLD_SECURE): Define.
31517 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31518 mode & __RTLD_SECURE instead.
31519 (open_path): Rename preloaded parameter to secure.
31520 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31521 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31522 * elf/dl-deps.c (openaux): Likewise.
31523 * elf/rtld.c (struct map_args): Remove is_preloaded.
31524 (map_doit): Don't use it.
31525 (dl_main): Likewise.
31526 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31527 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31528
31529 2010-09-09 Andreas Schwab <schwab@redhat.com>
31530
31531 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31532 (sysd-rules-targets): Remove duplicates.
31533 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31534 rtld-%.$o dependency.
31535
31536 2010-10-18 Andreas Schwab <schwab@redhat.com>
31537
31538 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31539 _dl_map_object do it.
31540
31541 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31542
31543 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31544 fast fma builtins, define the macros in the C99 standard.
31545 (FP_FAST_FMAF): Likewise.
31546 (FP_FAST_FMAL): Likewise.
31547 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31548
31549 * bits/mathdef.h: Update copyright year.
31550 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31551
31552 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31553
31554 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31555 builtins, define the macros in the C99 standard.
31556 (FP_FAST_FMAF): Likewise.
31557 (FP_FAST_FMAL): Likewise.
31558 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31559 multiply/add.
31560 (FP_FAST_FMAF): Likewise.
31561
31562 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31563
31564 [BZ #3268]
31565 * math/libm-test.inc (fma_test): Some new testcases.
31566 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31567 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31568 y and infinite z. Do multiplication by C already in long double.
31569 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31571 y and infinite z. Do bitwise or of inexact bit into u.d.
31572 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31573 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31574 * sysdeps/i386/fpu/s_fma.S: Removed.
31575 * sysdeps/i386/fpu/s_fmal.S: Removed.
31576
31577 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31578
31579 [BZ #3268]
31580 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31581 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31582 computation is not scheduled after fetestexcept. Fix value
31583 of minimum denormal long double.
31584
31585 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31586
31587 [BZ #3268]
31588 * math/libm-test.inc (fma_test): Add some more tests.
31589 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31590 correctly.
31591
31592 2010-10-15 Andreas Schwab <schwab@redhat.com>
31593
31594 * scripts/data/localplt-s390-linux-gnu.data: New file.
31595 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31596
31597 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31598
31599 [BZ #3268]
31600 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31601 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31602 instead of dbl-64.
31603 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31604 inlines.
31605 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31607 if one of x and y is very large and the other is subnormal.
31608 * sysdeps/s390/fpu/s_fmaf.c: New file.
31609 * sysdeps/s390/fpu/s_fma.c: New file.
31610 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31611 * sysdeps/powerpc/fpu/s_fma.S: New file.
31612 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31613 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31614 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31615
31616 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31617
31618 [BZ #3268]
31619 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31620 fma tests.
31621 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31622 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31623 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31624 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31625 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31626 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31627 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31628
31629 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31630
31631 [BZ #12078]
31632 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31633 * posix/bug-regex31.input: Add test case.
31634
31635 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31636
31637 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31638 * posix/bug-regex31.input: New file.
31639
31640 [BZ #12078]
31641 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31642 (parse_sub_exp): Fix last change, use postorder.
31643
31644 * posix/bug-regex31.c: New file.
31645 * posix/Makefile: Add rules to build and run bug-regex31.
31646
31647 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31648
31649 [BZ #12078]
31650 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31651
31652 [BZ #12108]
31653 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31654 to have entries in sys_siglist.
31655
31656 [BZ #12093]
31657 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31658 be NULL.
31659
31660 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31661
31662 [BZ #3268]
31663 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31664 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31665 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31666 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31667 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31668 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31669 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31670 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31671 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31672 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31673 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31674 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31675 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31676 * math/ftestexcept.c (fetestexcept): Likewise.
31677 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31678 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31679 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31680 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31681 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31682 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31683 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31684
31685 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31686
31687 [BZ #12107]
31688 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31689 newline.
31690
31691 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31692
31693 * string/bug-strstr1.c: New file.
31694 * string/Makefile: Add rules to build and run bug-strstr1.
31695
31696 2010-10-05 Eric Blake <eblake@redhat.com>
31697
31698 [BZ #12092]
31699 * string/str-two-way.h (two_way_long_needle): Always clear memory
31700 when skipping input due to the shift table.
31701
31702 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31703
31704 [BZ #12005]
31705 * malloc/mcheck.c: Handle large requests.
31706
31707 [BZ #12077]
31708 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31709 for strncmp and strncasecmp.
31710 * string/stratcliff.c: Add tests for strcmp and strncmp.
31711 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31712
31713 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31714
31715 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31716 __set_fpscr.
31717
31718 2010-09-30 Andreas Jaeger <aj@suse.de>
31719
31720 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31721 (CGROUP_SUPER_MAGIC): Define.
31722 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31723 Handle btrfs and cgroup file systems.
31724 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31725 Likewise.
31726
31727 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31728
31729 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31730 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31731
31732 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31733
31734 [BZ #12067]
31735 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31736 trying to locate the ELF header.
31737
31738 2010-09-27 Andreas Schwab <schwab@redhat.com>
31739
31740 [BZ #11611]
31741 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31742 Mask out sign-bit copies when constructing f_fsid.
31743
31744 2010-09-24 Petr Baudis <pasky@suse.cz>
31745
31746 * debug/stack_chk_fail_local.c: Add missing licence exception.
31747 * debug/warning-nop.c: Likewise.
31748
31749 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31750
31751 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31752 implementing getdents64 using getdents syscall, set d_type if
31753 __ASSUME_GETDENTS32_D_TYPE.
31754
31755 2010-09-16 Andreas Schwab <schwab@redhat.com>
31756
31757 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31758 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31759
31760 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31761
31762 [BZ #12037]
31763 * posix/unistd.h: Undo change of feature selection for ftruncate from
31764 2010-01-11.
31765
31766 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31767
31768 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31769 detection.
31770
31771 2010-09-20 Andreas Schwab <schwab@redhat.com>
31772
31773 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31774 fanotify_mark.
31775 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31776
31777 2010-09-14 Andreas Schwab <schwab@redhat.com>
31778
31779 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31780 variables after CHECK_SP call.
31781 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31782
31783 2010-09-13 Andreas Schwab <schwab@redhat.com>
31784 Ulrich Drepper <drepper@redhat.com>
31785
31786 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31787 re-relocationg ld.so.
31788 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31789 _dl_init_paths call.
31790 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31791 here anymore.
31792
31793 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31794
31795 * resolv/res_init.c (__res_vinit): Count the default server we added.
31796
31797 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31798 Ulrich Drepper <drepper@redhat.com>
31799
31800 [BZ #11968]
31801 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31802 (____longjmp_chk): Use %ebx for saving value across system call.
31803 Add unwind info.
31804
31805 2010-09-06 Andreas Schwab <schwab@redhat.com>
31806
31807 * manual/Makefile: Don't mix pattern rules with normal rules.
31808
31809 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31810
31811 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31812 operation.
31813 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31814 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31815 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31816 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31818 Likewise.
31819
31820 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31821
31822 [BZ #11979]
31823 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31824 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31825
31826 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31827
31828 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31829 * sysdeps/x86_64/addmul_1.S: Likewise.
31830 * sysdeps/x86_64/lshift.S: Likewise.
31831 * sysdeps/x86_64/mul_1.S: Likewise.
31832 * sysdeps/x86_64/rshift.S: Likewise.
31833 * sysdeps/x86_64/sub_n.S: Likewise.
31834 * sysdeps/x86_64/submul_1.S: Likewise.
31835
31836 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31837
31838 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31839 Define __sched_param instead of SCHED_* and sched_param when
31840 <bits/sched.h> is included with __need_schedparam defined.
31841 * bits/sched.h [__need_schedparam]
31842 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31843 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31844 (__defined_schedparam): Define to 1.
31845 (__sched_param): New structure, identical to sched_param.
31846 (__need_schedparam): Undefine.
31847
31848 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31849
31850 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31851 (epoll_create1): Declare.
31852
31853 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31854
31855 2010-08-31 Andreas Schwab <schwab@redhat.com>
31856
31857 [BZ #7066]
31858 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31859 shifting retval into place.
31860
31861 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31862
31863 * nis/rpcsvc/nis.h: Update copyright notice.
31864 * nis/rpcsvc/nis.x: Likewise.
31865 * nis/rpcsvc/nis_callback.h: Likewise.
31866 * nis/rpcsvc/nis_callback.x: Likewise.
31867 * nis/rpcsvc/nis_object.x: Likewise.
31868 * nis/rpcsvc/nis_tags.h: Likewise.
31869 * nis/rpcsvc/yp.h: Likewise.
31870 * nis/rpcsvc/yp.x: Likewise.
31871 * nis/rpcsvc/ypupd.h: Likewise.
31872 * nis/yp_xdr.c: Likewise.
31873 * nis/ypupdate_xdr.c: Likewise.
31874
31875 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31876 mainly the body of pmap_getport. Add parameters to specify timeouts.
31877 (pmap_getport): Use __libc_rpc_getport.
31878 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31879 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31880 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31881
31882 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31883
31884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31885 fanotify_mark.
31886
31887 2010-08-27 Roland McGrath <roland@redhat.com>
31888
31889 * sysdeps/i386/i686/multiarch/Makefile
31890 (CFLAGS-varshift.c): New variable.
31891
31892 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31893
31894 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31895 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31896
31897 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31898
31899 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31900
31901 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31902
31903 * sysdeps/x86_64/strlen.S: Unroll the loop.
31904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31905 strlen-sse2 strlen-sse2-bsf.
31906 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31907 __strlen_no_bsf if bit_Slow_BSF is set.
31908 (__strlen_sse42): Removed.
31909 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31910 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31911
31912 2010-08-25 Roland McGrath <roland@redhat.com>
31913
31914 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31915 * sysdeps/x86_64/multiarch/varshift.c: New file.
31916 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31917 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31918 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31919 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31920
31921 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31922
31923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31924 strlen-sse2 strlen-sse2-bsf.
31925 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31926 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31927 (__strlen_sse2): Removed.
31928 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31929 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31931 bit_Slow_BSF for Atom.
31932 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31933 (index_Slow_BSF): Define.
31934 (HAS_SLOW_BSF): Define.
31935
31936 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31937
31938 [BZ #10851]
31939 * resolv/res_init.c (__res_vinit): When no server address at all
31940 is given default to loopback.
31941
31942 2010-08-24 Roland McGrath <roland@redhat.com>
31943
31944 * configure.in: Remove config-name.h generation.
31945 * configure: Regenerated.
31946 * config-name.in: File removed.
31947 * scripts/config-uname.sh: New file.
31948 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31949 ($(objdir)config-name.h): New target.
31950
31951 * sunrpc/rpc_parse.h: Avoid nested comment.
31952
31953 2010-08-24 Richard Henderson <rth@redhat.com>
31954 Ulrich Drepper <drepper@redhat.com>
31955 H.J. Lu <hongjiu.lu@intel.com>
31956
31957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31959 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31960 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31961 _mm_alignr_epi8 with _mm_loadu_si128.
31962 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31963 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31964 (__m128i_shift_right): Removed.
31965 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31966 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31967 * sysdeps/x86_64/multiarch/varshift.h: New file.
31968 * sysdeps/x86_64/multiarch/varshift.S: New file.
31969
31970 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31971
31972 * configure.in: Move assembler checks to before sysdep dir checking.
31973
31974 2010-08-20 Petr Baudis <pasky@suse.cz>
31975
31976 * LICENSES: Sync the sunrpc license.
31977
31978 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31979
31980 * sunrpc/auth_des.c: Update copyright notice once again.
31981 * sunrpc/auth_none.c: Likewise.
31982 * sunrpc/auth_unix.c: Likewise.
31983 * sunrpc/authdes_prot.c: Likewise.
31984 * sunrpc/authuxprot.c: Likewise.
31985 * sunrpc/bindrsvprt.c: Likewise.
31986 * sunrpc/clnt_gen.c: Likewise.
31987 * sunrpc/clnt_perr.c: Likewise.
31988 * sunrpc/clnt_raw.c: Likewise.
31989 * sunrpc/clnt_simp.c: Likewise.
31990 * sunrpc/clnt_tcp.c: Likewise.
31991 * sunrpc/clnt_udp.c: Likewise.
31992 * sunrpc/clnt_unix.c: Likewise.
31993 * sunrpc/des_crypt.c: Likewise.
31994 * sunrpc/des_soft.c: Likewise.
31995 * sunrpc/get_myaddr.c: Likewise.
31996 * sunrpc/getrpcport.c: Likewise.
31997 * sunrpc/key_call.c: Likewise.
31998 * sunrpc/key_prot.c: Likewise.
31999 * sunrpc/openchild.c: Likewise.
32000 * sunrpc/pm_getmaps.c: Likewise.
32001 * sunrpc/pm_getport.c: Likewise.
32002 * sunrpc/pmap_clnt.c: Likewise.
32003 * sunrpc/pmap_prot.c: Likewise.
32004 * sunrpc/pmap_prot2.c: Likewise.
32005 * sunrpc/pmap_rmt.c: Likewise.
32006 * sunrpc/rpc/auth.h: Likewise.
32007 * sunrpc/rpc/auth_unix.h: Likewise.
32008 * sunrpc/rpc/clnt.h: Likewise.
32009 * sunrpc/rpc/des_crypt.h: Likewise.
32010 * sunrpc/rpc/key_prot.h: Likewise.
32011 * sunrpc/rpc/netdb.h: Likewise.
32012 * sunrpc/rpc/pmap_clnt.h: Likewise.
32013 * sunrpc/rpc/pmap_prot.h: Likewise.
32014 * sunrpc/rpc/pmap_rmt.h: Likewise.
32015 * sunrpc/rpc/rpc.h: Likewise.
32016 * sunrpc/rpc/rpc_des.h: Likewise.
32017 * sunrpc/rpc/rpc_msg.h: Likewise.
32018 * sunrpc/rpc/svc.h: Likewise.
32019 * sunrpc/rpc/svc_auth.h: Likewise.
32020 * sunrpc/rpc/types.h: Likewise.
32021 * sunrpc/rpc/xdr.h: Likewise.
32022 * sunrpc/rpc_clntout.c: Likewise.
32023 * sunrpc/rpc_cmsg.c: Likewise.
32024 * sunrpc/rpc_common.c: Likewise.
32025 * sunrpc/rpc_cout.c: Likewise.
32026 * sunrpc/rpc_dtable.c: Likewise.
32027 * sunrpc/rpc_hout.c: Likewise.
32028 * sunrpc/rpc_main.c: Likewise.
32029 * sunrpc/rpc_parse.c: Likewise.
32030 * sunrpc/rpc_parse.h: Likewise.
32031 * sunrpc/rpc_prot.c: Likewise.
32032 * sunrpc/rpc_sample.c: Likewise.
32033 * sunrpc/rpc_scan.c: Likewise.
32034 * sunrpc/rpc_scan.h: Likewise.
32035 * sunrpc/rpc_svcout.c: Likewise.
32036 * sunrpc/rpc_tblout.c: Likewise.
32037 * sunrpc/rpc_util.c: Likewise.
32038 * sunrpc/rpc_util.h: Likewise.
32039 * sunrpc/rpcinfo.c: Likewise.
32040 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32041 * sunrpc/rpcsvc/key_prot.x: Likewise.
32042 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32043 * sunrpc/rpcsvc/mount.x: Likewise.
32044 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32045 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32046 * sunrpc/rpcsvc/rex.x: Likewise.
32047 * sunrpc/rpcsvc/rstat.x: Likewise.
32048 * sunrpc/rpcsvc/rusers.x: Likewise.
32049 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32050 * sunrpc/rpcsvc/spray.x: Likewise.
32051 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32052 * sunrpc/rtime.c: Likewise.
32053 * sunrpc/svc.c: Likewise.
32054 * sunrpc/svc_auth.c: Likewise.
32055 * sunrpc/svc_authux.c: Likewise.
32056 * sunrpc/svc_raw.c: Likewise.
32057 * sunrpc/svc_run.c: Likewise.
32058 * sunrpc/svc_simple.c: Likewise.
32059 * sunrpc/svc_tcp.c: Likewise.
32060 * sunrpc/svc_udp.c: Likewise.
32061 * sunrpc/svc_unix.c: Likewise.
32062 * sunrpc/svcauth_des.c: Likewise.
32063 * sunrpc/xcrypt.c: Likewise.
32064 * sunrpc/xdr.c: Likewise.
32065 * sunrpc/xdr_array.c: Likewise.
32066 * sunrpc/xdr_float.c: Likewise.
32067 * sunrpc/xdr_mem.c: Likewise.
32068 * sunrpc/xdr_rec.c: Likewise.
32069 * sunrpc/xdr_ref.c: Likewise.
32070 * sunrpc/xdr_sizeof.c: Likewise.
32071 * sunrpc/xdr_stdio.c: Likewise.
32072
32073 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32074 handling.
32075
32076 2010-08-19 Andreas Schwab <schwab@redhat.com>
32077
32078 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32079
32080 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32081
32082 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32083 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32084 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32085 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32086 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32087 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32088 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32089 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32090 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32091 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32092 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32093 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32094 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32095 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32096
32097 2010-07-26 Anton Blanchard <anton@samba.org>
32098
32099 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32100 * malloc/arena.c (heap_trim): Likewise.
32101
32102 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32103
32104 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32105 here. Not...
32106 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32107 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32108
32109 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32110
32111 * sysdeps/i386/elf/Makefile: New file.
32112
32113 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32114
32115 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32116 from fanotify_init.
32117 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32118 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32119
32120 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32121
32122 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32123 of strncasecmp_l.
32124 * sysdeps/multiarch/strcmp.S: Likewise.
32125
32126 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32127
32128 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32129 strncase_l-nonascii.
32130 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32131 Add strncase_l-ssse3.
32132 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32133 * sysdeps/x86_64/strcmp.S: Likewise.
32134 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32135 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32136 * sysdeps/x86_64/strncase.S: New file.
32137 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32138 * sysdeps/x86_64/strncase_l.S: New file.
32139 * string/Makefile (strop-tests): Add strncasecmp.
32140 * string/test-strncasecmp.c: New file.
32141
32142 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32143 warning.
32144
32145 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32146 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32147
32148 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32149
32150 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32151
32152 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32153
32154 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32155 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32156 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32157
32158 2010-05-01 Alan Modra <amodra@gmail.com>
32159
32160 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32161 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32162 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32163 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32164 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32165 tidying. Don't tail-call __sigjmp_save for static lib.
32166 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32167 save location.
32168 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32169 (CALL_MCOUNT): Add eh info, and nop after bl.
32170 (TAIL_CALL_SYSCALL_ERROR): New macro.
32171 (PSEUDO_RET): Use it.
32172 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32173 Correct save location of integer regs and cr.
32174 (_dl_profile_resolve): Correct cr save location. Delete nops
32175 after bl when SHARED. Reduce cfi size a little by better
32176 placement of cfi directives.
32177 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32178 make a stack frame. Instead use parm save area as a temp.
32179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32180 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32182 Don't make a stack frame for parent, use parm save area.
32183 Increase child stack frame to 112 bytes. Don't save unused reg,
32184 and adjust reg usage. Set up cfi on error recovery and
32185 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32187 (__makecontext): Add dummy nop after jump to exit.
32188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32189 Use correct parm save area and cr save, reduce stack frame.
32190 Correct cfi for possible PSEUDO_RET frame setup.
32191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32192 Branch to local label emitted by PSEUDO_RET rather than
32193 __syscall_error.
32194
32195 2010-08-12 Andreas Schwab <schwab@redhat.com>
32196
32197 [BZ #11904]
32198 * locale/programs/locale.c (print_assignment): New function.
32199 (show_locale_vars): Use it.
32200
32201 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32202
32203 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32204 field.
32205 (struct statfs64): Likewise.
32206 (_STATFS_F_FLAGS): Define.
32207 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32208 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32209 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32210 (ST_VALID): Define locally.
32211 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32212 __statvfs_getflags, use the provided value.
32213 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32214 __ASSUME_STATFS_F_FLAGS.
32215
32216 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32217
32218 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32219 Add sys/fanotify.h.
32220 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32221 fanotify_mask for GLIBC_2.13.
32222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32223 fanotify_init and fanotify_mark.
32224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32225 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32226
32227 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32228 Add prlimit.
32229 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32230 prlimit64 for GLIBC_2.13.
32231 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32232 prlimit64.
32233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32234 syscall.
32235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32236 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32237 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32238 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32240 add prlimit alias.
32241 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32242
32243 [BZ #11903]
32244 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32245 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32246
32247 * nss/Makefile: Add rules to build and run tst-nss-test1.
32248 * shlib-versions: Add entry for libnss_test1.
32249 * nss/nss_test1.c: New file.
32250 * nss/tst-nss-test1.c: New file.
32251
32252 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32253 (__nss_configure_lookup): Set appropriate entry in
32254 __nss_configure_lookup to true.
32255 * nss/nsswitch.h: Define enum with indeces of databases in
32256 databases and __nss_database_custom arrays. Declare
32257 __nss_database_custom.
32258 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32259 to avoid using nscd when custom rules are installed.
32260 * nss/getXXbyYY_r.c: Likewise.
32261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32262
32263 * nss/nss_files/files-parse.c: Whitespace fixes.
32264
32265 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32266
32267 [BZ #11883]
32268 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32269 * posix/fnmatch_loop.c: Likewise.
32270
32271 2010-07-17 Andi Kleen <ak@linux.intel.com>
32272
32273 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32274 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32275 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32276 * Versions.def [GLIBC_2.13]: Add.
32277
32278 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32279
32280 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32281 Also fail if tpwd after pwuid call is NULL.
32282
32283 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32284
32285 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32286 when converting to ms.
32287
32288 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32289
32290 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32291 EOPNOTSUPP errors with ENOTTY.
32292 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32293 EOPNOTSUPP errors with ENOTTY.
32294
32295 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32296
32297 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32298 Add strcasecmp_l-ssse3.
32299 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32300 strcasecmp.
32301 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32302 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32303 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32304
32305 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32306
32307 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32308
32309 * string/Makefile (strop-tests): Add strcasecmp.
32310 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32311 strcasecmp_l-nonascii.
32312 (gen-as-const-headers): Add locale-defines.sym.
32313 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32314 * sysdeps/x86_64/strcasecmp.S: New file.
32315 * sysdeps/x86_64/strcasecmp_l.S: New file.
32316 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32317 * sysdeps/x86_64/locale-defines.sym: New file.
32318 * string/test-strcasecmp.c: New file.
32319
32320 * string/test-strcasestr.c: Test both ends of the range of characters.
32321 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32322
32323 2010-07-29 Roland McGrath <roland@redhat.com>
32324
32325 [BZ #11856]
32326 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32327
32328 2010-07-27 Ulrich Drepper <drepper@redhat.com>
32329
32330 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32331 for ld.so.
32332
32333 2010-07-27 Andreas Schwab <schwab@redhat.com>
32334
32335 * manual/memory.texi (Malloc Tunable Parameters): Document
32336 M_PERTURB.
32337
32338 2010-07-26 Roland McGrath <roland@redhat.com>
32339
32340 [BZ #11840]
32341 * configure.in (-fgnu89-inline check): Set and substitute
32342 gnu89_inline, not libc_cv_gnu89_inline.
32343 * configure: Regenerated.
32344 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32345
32346 2010-07-26 Ulrich Drepper <drepper@redhat.com>
32347
32348 * string/test-strnlen.c: New file.
32349 * string/Makefile (strop-tests): Add strnlen.
32350 * string/tester.c (test_strnlen): Add a few more test cases.
32351 * string/tst-strlen.c: Better error reporting.
32352
32353 * sysdeps/x86_64/strnlen.S: New file.
32354
32355 2010-07-24 Ulrich Drepper <drepper@redhat.com>
32356
32357 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32358 lower-latency instructions.
32359
32360 2010-07-23 Ulrich Drepper <drepper@redhat.com>
32361
32362 * string/test-strcasestr.c: New file.
32363 * string/test-strstr.c: New file.
32364 * string/Makefile (strop-tests): Add strstr and strcasestr.
32365 * string/str-two-way.h: Don't undefine MAX.
32366 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32367
32368 2010-07-21 Andreas Schwab <schwab@redhat.com>
32369
32370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32371 strcasestr-nonascii.
32372 (CFLAGS-strcasestr-nonascii.c): Define.
32373 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32375 Remove unused attribute.
32376
32377 2010-07-20 Roland McGrath <roland@redhat.com>
32378
32379 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32380 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32381 ld.so.cache was broken. With it, there is no way to disable dsocaps
32382 like LD_HWCAP_MASK can disable hwcaps.
32383
32384 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32385
32386 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32387
32388 2010-07-16 Ulrich Drepper <drepper@redhat.com>
32389
32390 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32391 call in strcasestr.
32392 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32393 __strcasestr_sse42_nonascii.
32394 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32395 strcasestr-nonascii.c.
32396 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32397
32398 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
32399
32400 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32401 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32402 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32403 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32404
32405 2010-07-09 Ulrich Drepper <drepper@redhat.com>
32406
32407 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32408 fcntl.
32409
32410 2010-07-06 Andreas Schwab <schwab@redhat.com>
32411
32412 [BZ #11577]
32413 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32414 dl_signal_cerror.
32415
32416 2010-07-06 Ulrich Drepper <drepper@redhat.com>
32417
32418 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32419 _PC_PIPE_BUF using F_GETPIPE_SZ.
32420
32421 2010-07-05 Roland McGrath <roland@redhat.com>
32422
32423 * manual/arith.texi (Rounding Functions): Fix rint description
32424 implicit in round description.
32425
32426 2010-07-02 Ulrich Drepper <drepper@redhat.com>
32427
32428 * elf/Makefile: Fix linking for a few tests to make recent linker
32429 happy.
32430
32431 2010-06-30 Andreas Schwab <schwab@redhat.com>
32432
32433 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32434 $(common-objpfx)libc_nonshared.a.
32435
32436 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
32437
32438 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32439 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32440 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32441 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32442 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32443 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32444 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32445 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32460 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32461 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32462 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32463 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32464 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32465 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32466 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32467 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32468 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32469 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32470 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32471 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32486
32487 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32488
32489 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32490 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32491 * string/memmove.c (memmove): Renamed to ...
32492 (MEMMOVE): ...this. Default to memmove.
32493 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32494 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32495 (END_CHK): Define.
32496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32497 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32498 mempcpy-ssse3-back memmove-ssse3-back.
32499 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32500 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32501 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32502 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32503 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32504 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32505 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32506 * sysdeps/x86_64/multiarch/memmove.c: New file.
32507 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32508 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32509 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32510 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32511 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32513 Define.
32514 (index_Fast_Copy_Backward): Define.
32515 (HAS_ARCH_FEATURE): Define.
32516 (HAS_FAST_REP_STRING): Define.
32517 (HAS_FAST_COPY_BACKWARD): Define.
32518
32519 2010-06-21 Andreas Schwab <schwab@redhat.com>
32520
32521 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32522 Restore proper fallback handling.
32523
32524 2010-06-19 Ulrich Drepper <drepper@redhat.com>
32525
32526 [BZ #11701]
32527 * posix/group_member.c (__group_member): Correct checking loop.
32528
32529 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32530 OOM in getpwuid_r correctly. Return error number when the caller
32531 should return, otherwise -1.
32532 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32533 call returning > 0 value.
32534 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32535
32536 2010-06-07 Andreas Schwab <schwab@redhat.com>
32537
32538 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32539 libc_nonshared.a from targets in modules-names.
32540
32541 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32542
32543 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32544 requires it.
32545
32546 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32547
32548 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32550 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32551 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32552
32553 2010-06-02 Andreas Schwab <schwab@redhat.com>
32554
32555 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32556
32557 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32558
32559 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32560 and F_GETPIPE_SZ.
32561 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32562 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32563 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32564 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32565 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32566 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32567
32568 2010-06-14 Roland McGrath <roland@redhat.com>
32569
32570 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32571
32572 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32573
32574 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32575 __REDIRECT followed by __THROW.
32576 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32577 * posix/getopt.h (getopt): Likewise.
32578
32579 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32580
32581 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32582 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32583 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32584 in AT_FLAGS.
32585 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32586 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32587
32588 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32589
32590 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32591
32592 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32593
32594 [BZ #11640]
32595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32596 Properly check family and model.
32597
32598 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32599
32600 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32601
32602 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32603
32604 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32605
32606 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32607
32608 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32609 symbol reference.
32610
32611 2010-05-19 Andreas Schwab <schwab@redhat.com>
32612
32613 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32614 symbol reference.
32615
32616 2010-05-21 Andreas Schwab <schwab@redhat.com>
32617
32618 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32619 and internal_recvmmsg.
32620 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32621 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32622 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32623 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32624
32625 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32626 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32627 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32628
32629 2010-05-20 Andreas Schwab <schwab@redhat.com>
32630
32631 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32632
32633 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32634
32635 POWER7 optimizations.
32636 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32637 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32638
32639 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32640
32641 * version.h: Update for 2.13 development version.
32642
32643 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32644
32645 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32646 exceptions. Return 0.
32647
32648 2010-05-07 Roland McGrath <roland@redhat.com>
32649
32650 * elf/ldconfig.c (main): Add a const.
32651
32652 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32653
32654 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32655 (args_options): Add no-idn option.
32656 (ahosts_keys_int): Add idn_flags to ai_flags.
32657 (parse_option): Handle 'i' option to clear idn_flags.
32658
32659 * malloc/malloc.c (_int_free): Possible race in the most recently
32660 added check. Only act on the data if no current modification
32661 happened.
32662
32663 See ChangeLog.17 for earlier changes.
This page took 1.402215 seconds and 6 git commands to generate.